AGG Software
Top  Previous  Next

Port parameters

To configure port parameters, go to the "Port/Port parameters" tab in the options window (fig. 1).

 

port settings

Fig.1 Configuring port and general parameters

 

Main parameter settings

 

Serial port – the number of the serial port via which the PC and the NC in the list are connected. .

 

Polling mode – there are two query modes:

 

Event – when the program waits for a signal from Windows that the communications driver has received data and only after that it requests the size of the received data;
Polling – when the program is constantly querying the communication driver if there are any data inside the internal buffer.

 

In the first mode the computer resources are saved, but some slow computers can "skip" events and therefore lose data. That is why by default this mode is recommended for fast computers by default. Though if you notice any problems in data transmission, we recommend that you choose the second mode.

 

The second mode uses relatively more computer resources, but this mode is more stable.

 

Baud rate – data transmission rate, bits per second. This rate should match that specified on the machine.

 

Stop bits – the amount of bits added after each transmitted character and indicating the end of the character transmission. The amount of stop bits should match the one selected on the NC.

 

Data bits – the amount of bits in each character. The amount of stop bits should match the one selected on the NC.

 

Parity – parity is a mechanism used to track errors while transmitting data. The parity settings should match the settings on the NC:

 

None: no error tracking is done.
Even: One additional bit is sent after each character.
Odd: One additional bit is sent after each character.
Mark: the evenness bit is always '1'. Errors cannot be tracked if this type of evenness is selected.
Space: the evenness bit is always '0'. Errors cannot be tracked if this type of evenness is selected.

 

RS-485 interface mode – sometimes the communication line between the computer and the NC can be very long, in that case the RS-485 connection standard using a twin-core cable line can be used. In this mode the program will not send data while they are being received, which it is possible according to RS-232.

 

Clear the buffer when an error occurs while receiving data – when you are just configuring a machine, you may need to see all the data (even if they contain errors) that arrive at the serial port. If it is the case, you should turn this option off. You do not have to do it in the usual working mode. That is why this option is off by default.


Copyright © 2004-2006, AGG Software.
All rights reserved.