M
i have three devices with an IP address 192.168.0.125, port 502 and device IDs 1, 2 and 3 on modbus protocol. I need to write a software routine that after a fixed interval polls to check the health status of the connection with three devices. which function code should i use? all the devices have the same ip and port number... I can't use the diagnostic functions as they are only supported on serial line... Any directions??