Setting COMx - SysLibCom

Note

For AC500-eCo Processor Modules the serial interface COM2 cannot be configured as SysLibCom mode.

Right-click COMx_Online_Access ‣ Add object
and select COMx_SysLibCom from the list.

The serial interface COMx is prepared for operation with the blocks contained in the library SysLibCom.lib and the according protocols. Details see : The library SysLibCom.lib

The following parameters are available:

Parameter

Default

value

Value Meaning
Enable login, see ASCII protocol description Setting COMx - ASCII Disabled Disabled There is no check with regard to the Control Builder login telegram.
Enabled Telegrams received are checked with regard to the Control Builder login sequence. If the sequence is detected, the protocol setting is changed to ‘Online access’.
RTS control, see ASCII protocol description Setting COMx - ASCII None None No RTS control (direction control, not for PM55x and PM56x)
telegram

RTS control activated

(absolutely necessary for RS 485!)

TLS, see ASCII protocol description Setting COMx - ASCII 0 0…65535

Carrier lead time in [ms]

(TLS > CDLY)

CDLY, see ASCII protocol description Setting COMx - ASCII 0 0…65535

Carrier delay time in [ms]

(CDLY <= TLS)

Character timeout Setting COMx - SysLibCom 0 0…65535 Character timeout in characters (must be 0 if Telegram ending selection = Character timeout)
Telegram ending selection Setting COMx - SysLibCom None None No telegram ending identifier

String

(check

receive)

2 characters, e.g. <CR><LF> (16#0d, 16#0a -> 16#0d0a) in parameter “Telegram ending value”

Setting not recommended!

(not supported with COM2 of AC500-eCo Processor Modules)

Telegram

length

Telegram ending identifier set by telegram length

Setting not recommended!

Duration

Telegram ending identifier set by time

Setting not recommended!

Character

timeout

Telegram ending identifier set by character timeout
Telegram ending character Setting COMx - SysLibCom 0 0…1 Number of end characters in case of telegram ending selection “String”
Telegram ending value Setting COMx - SysLibCom 0 0…65535 Telegram ending identifier value for settings “Duration”, “Character timeout” and “String”
Baudrate 19200

300

1200

4800

9600

19200

38400

57600

115200

125000

187500

Character length in bits/s
Parity None None No parity check
Odd Odd parity
Even Even parity
Mark Parity bit := TRUE
Space Parity bit := FALSE
Data bits 8 5, 6, 7, 8 Character length in bits/character
Stop bits 1 1, 2 Number of stop bits