Setting COMx - SysLibCom¶
Note
For PM55x and PM56x the interface COM2 cannot be configured as SysLibCom mode.
Double-click COMx_SysLibCom to configure the parameters.
If the protocol COMx SysLibCom is selected for the serial interface COMx, the interface is prepared for operation with the blocks contained in the library SysLibCom.lib and the according protocols. See the library SysLibCom.lib for details.
The following parameters are available:
Parameter | Default value |
Value | Meaning |
---|---|---|---|
Enable login, see remark 1 of 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 remark 2 of 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 remark 2 of ASCII protocol description Setting COMx - ASCII | 0 | 0…65535 | Carrier lead time in [ms] (TLS > CDLY) |
CDLY, see remark 2 of ASCII protocol description Setting COMx - ASCII | 0 | 0…65535 | Carrier delay time in [ms] (CDLY <= TLS) |
Character timeout, see remark 3 Setting COMx - SysLibCom | 0 | 0…65535 | Character timeout in characters (must be 0 if Telegram ending selection = Character timeout) |
Telegram ending selection, see remark 3 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 CPUs) |
||
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, see remark 3 | 0 | 0…1 | Number of end characters in case of telegram ending selection “String” |
Telegram ending value, see remark 3 | 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 |