Specifications

Chapter 5 - AsconMBCommLib
121
5-2-1 Communication port configuration
The
SERIAL_PORTS/MP_SERIAL_PORT
and
TCP_IP_PORT
FBs enable the
communication port configuration. The communication parameters (baudrate, logic
ports), the desired protocol type (MODBUS SLAVE, MODBUS MASTER), the
desired communication port (RS232, RS485 or Ethernet connection) can be thus
assigned. The figure below shows an example of port communication configuration.
For further details on the labels to be used for Function Blocks input parameter
configuration, see individual module documentation.
TRUE
X1
B19200
NOPAR
8
1
SLAVE1
1
ERROR
ERCODE
TRUE
X4
B9600
NOPAR
8
1
MASTER
SERIAL_PORTS
ENABLE
PORT
BAUD
PARITY
DATA
STOP
PROTOCOL
ADDR
T_OUT
ERROR
ERCODE
TRUE
502
TCP_IP_PORT
ENABLE
PORT
USESEC
T_OUT
ERROR
ERCODE
SERIAL_PORTS
ENABLE
PORT
BAUD
PARITY
DATA
STOP
PROTOCOL
ADDR
T_OUT