COM port - overview
The library includes function blocks that enable data exchange between the BXxxxx Bus Controller and a remote partner. The maximum COM buffer is 512 bytes for both directions.
Function blocks
Name |
Description |
---|---|
Opens a serial connection to a partner. | |
Closes a serial connection to a partner. |
Functions
Name |
Description |
---|---|
Reading data from the COM buffer | |
Writing data into the COM buffer |
Supported baud rates
Baud rate [baud] |
COM 1 |
COM 2 |
---|---|---|
300 |
NO |
YES |
600 |
NO |
YES |
1200 |
NO |
YES |
2400 |
NO |
YES |
4800 |
NO |
YES |
9600 |
YES |
YES |
19200 |
YES |
YES |
38400 |
YES |
YES |
57600 |
YES |
YES |
115200 |
NO |
YES |
Further helpful function blocks can be found in TcComPortBX.lbx.
- Function block for using ComLib, ModbusRTU etc. for the BX COM ports
- Function block for communication with the BK8x00 Bus Couplers
- Function block for emulation of a BK8x00 slave