01-12-2018 02:29 PM
Hello LabVIEW software users,
I am trying to write a very simple program to switch on/off a compressor motor which is connected through Ethernet cable and Saavy.. (modbus).. I am new to TCP connection program.. a simple program has been created but it gives an error. Can you please check the attached file and screenshot, am I missing something?
Any help will be appreciated..
Thanks,
01-15-2018 09:34 AM
It's hard to tell without knowing what Modbus device you are trying to connect to but most of the TCP Modbus I've worked with default to port 502 so it might be worth trying that before linking a manual to your device.
Also because you are using LabVIEW 2016, you may want to check out the NI Modbus Library on VI Package Manager if you want to make use of a Modbus API someone already built.