Modbus RTU (Remote terminal unit)
Configuring a Modbus communication block
This is a description of the parameters.
PORT - ID of the communications port
BAUD - Baud rate selection: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 76800, 115200. All other values are invalid.
PARITY - Parity selection: 0 – None, 1 – Odd, 2 – Even
MB_DB - A reference to the instance data block of the "MB_MASTER" or "MB_SLAVE" instructions. After you insert "MB_SLAVE" or "MB_MASTER" in your program, the DB identifier appears in the drop-down list at the MB_DB box connection.
DONE - Execution of instruction completed without error.
ERROR - Error: 0 – No error detected. 1 – Indicates that an error was detected. An error code is output in the STATUS parameter.
STATUS - Port configuration error code
コメント