WagoLibModbus IP 01 en
WagoLibModbus IP 01 en
lib
WagoLibModbus_IP_01.lib
Content
WagoLibModbus_IP_01.lib 3
ETHERNET_MODBUSMASTER_UDP ................................................... 3
ETHERNET_MODBUSMASTER_TCP .................................................... 5
WagoLibModbus_IP_01.lib
ETHERNET_MODBUSMASTER_UDP
Graphical description:
Description:
Using ETHERNET_MODBUSMASTER_UDP the IPC becomes a Modbus-Master.
First a socket has to be opened by the input xOPEN_SOCKET. If the socket could be opend
the output xIS_OPEN will show TRUE. Otherwise the wERROR output will display 0x79.
Modbus requests can be send by setting the IN_OUT variable xSEND to True. The function
block will reset this variable after execution of the command.
If the slave does not respond within the time tTIME_OUT error code 0x99 will be displayed.
ETHERNET_MODBUSMASTER_TCP
Graphical description:
Description:
Warning: This function block may block on the 750-841. It is therefore strongly recommended
to use this function block in an own task.