09-01-2022 12:04 PM
Hi!
I'm trying to write data from LabiVIEW to the Zeliosft PLC from Schneider. My program looks like this:
The IP adress for the PLC is given as follows:
But when I run the program I get the following error message:
I'm using the DSC module. And I'm using Ethernet Modbus.
Any suggestions?
Svein-Tore
Solved! Go to Solution.
09-02-2022 12:45 AM
Hi Svein,
can you ping the PLC from your LabVIEW computer?
Have you tried to use one of those available Modbus libraries instead of DSC?
Have you tried to use plain UDP or TCP functions to handle the "Modbus over Ethernet" messages on your own?
09-02-2022 04:42 AM
Hi GerdW!
Honestly I am a bit noob when it comes to this. I have found a youtube video and have followed the instructions from it. The problem here I guess is the ip adress for the PLC. I'm not sure, but I have found it to be 85.16.110.236. So to your questions:
can you ping the PLC from your LabVIEW computer?
I'm not sure on how to do it.
Have you tried to use one of those available Modbus libraries instead of DSC?
I'm going to try. I have started on a code that looks like this:
I think, if things is OK I will not get any error on the error out from the program. I haven't tested this program though.
Have you tried to use plain UDP or TCP functions to handle the "Modbus over Ethernet" messages on your own? I don't know how to do this.
BTW: I have to use Ethernet, so I think New TCP Master means ethernet?
Svein-Tore
09-09-2022 01:44 AM
Finally I solved the problemn. I did some mistakes with setting the IP adresses.