Update cookies preferences
Promotic

Setting the parameters of the serial link - configuration window

Description:
Serial link communication parameters executed by the PmaComm object can be defined in this window.
The window can be opened from the "Basic communication parameters" configurator, if the communication protocol is assigned for serial link.
Setting the parameters of the serial link:
Serial portSelection of the communication serial port.
The value can be change by the OpenPort method.
The value can be detected by method GetProtParam("SerPort").
Not set - The object is not connected to any port after the application is launched and the serial port can be selected dynamically by the algorithm (by the PmaComm.OpenPort method).
COM1, COM2,..,COM66 - The specified serial port is opened after the application is launched. This port must be correctly configured and accessible in Windows OS (no one can use it).
For serial link each PmaComm object must have defined another communication port. For example, if one PmaComm object communicates through COM1, then next PmaComm object can communicate for example through COM2 (COM3, ...) but it mustn't communicate through COM1.
Baud rateSelection of the baud rate (bps, bit per second).
This configurator sets the initial value of the BaudRate property.
Number data bitsAppropriate value for the device, which it is communicated with, must be selected.
This configurator sets the initial value of the ByteSize property.
5
6
7
8
ParityParity selection. Appropriate value for the device, which it is communicated with, must be selected.
This configurator sets the initial value of the Parity property.
NO
ODD
EVEN
Number of stop bitsAppropriate value for the device to communicate with, must be selected.
This configurator sets the initial value of the StopBits property.
1 stopbit
1.5 stopbit
2 stopbit
Number of repeats after unsuccessful transmissionSelection of the number of repeating the message transmission if the response has been defective or it hasn't been received at all. This setting is meaningful only for the communication messages of the Master type.
The default value is 0 (i.e. without repeat).
Timeout between receiving 2 charactersMaximum waiting time (in milliseconds) between receiving two characters. After the expiration of the time the transmission of the message is terminated.
For many protocols it is not possible to specify in advance how many characters shell be really received. In this case the receiving is terminated just after elapsing this timeout, which is not considered as an error but the detection of the end of the message. That's why it is not suitable to set the value of this timeout too high because this timeout is performed after every (even errorless) receiving the message.
Delay between receive-sendTime (in milliseconds) that the object is waiting after receiving the message until next message is sent.
Filter ECHO charsSpecifies whether the received data have to be removed (filtered) because it goes about repeating characters transmitted from the message.
Note: Received filtered ECHO characters are recorded together with other characters in the "/COMM/Driver/Monitor" item of the INFO system.
No (default) - No filtr
Yes - Filter. As many first received characters are removed as many characters were transmitted last. Must be set, if the port (converter) returns transmitted characters.
RTS flow controlThe output signal RTS behavior and the usage of the input signal CTS. See the PmaComm.Rts property.
log.0 - RTS is always set to 0, CTS is ignored.
log.1 - RTS is always set to 1, CTS is ignored.
handshake - RTS is used for handshaking, CTS is ignored. If an overflow of the input buffer threatens, then the signal is set to 0, otherwise to 1.
log.1+CTS - RTS is always set to 1, CTS serves for the output flow control. The transmission is intercepted for the time when the signal is set to 0.
handshake+CTS - RTS serves for handshaking, CTS serves for the output flow control.
The transmission is intercepted for the time when the signal is set to 0. If an overflow of the input buffer threatens, then the signal is set to 0, otherwise to 1.
toggle - RTS serves for controlling of the transfer direction. This is important in particular for the non-intelligent converter RS485 that requires to control the direction of the transfer by the signal RTS. For details to the issue of the RTS signal control see Warning for serial link RS485.
DTR flow controlThe output signal DTR behavior and the usage of the input signal DSR. See the PmaComm.Dtr property.
log.0 - DTR is always set to 0, DSR is ignored.
log.1 - DTR is always set to 1, DSR is ignored.
handshake - DTR is used for handshaking, DSR is ignored. If an overflow of the input buffer threatens, then the signal is set to 0, otherwise to 1.
log.1+DSR - DTR is always set to 1, DSR serves for the output flow control.
The transmission is intercepted for the time when the signal is set to 0.
handshake+DSR - DTR serves for handshaking, DSR serves for the output flow control.
If an overflow of the input buffer threatens, then the signal is set to 0, otherwise to 1.
The transmission is intercepted for the time when the signal is set to 0.
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.