05-08-2012 05:15 PM
I have a Yaskawa MP2300 controller which is configured as a Modbus slave at IP address 192.168.1.1. I have downloaded the NI Modbus toolkit and trying to use the Ethernet Modbus Master example to verify that the LabVIEW program can communicate to the Yaskawa controller via Ethernet Modbus. When I run the Ethernet Modbus Master example VI I do not get an error opening up a connection at port 502. However when ever I try to read a Discrete Input or an Input Register I get a timeout error (error 56). According to the documentation the Yaskawa sets up the discrete input register addresses to %QB24560 - %QB24575 and the Input Registers to %QB28672 - %QB30719. I have tried several other address but keep gettign the same error. How can I get the communications to work properly?
05-09-2012 12:06 PM
Hi Kevin,
The NI Modbus Toolkit is an example program and not officially supported. I would recommend downloading the Datalogging and Supervisory Control module. This is a fully supported NI product. You will be able to evaluate it for 30 days. This will let us see a few things. The first we will confirm that we are connected properly to the device. We will also be able to confirm that you can read from those registers, and that the device is properly putting data in the registers. Once we have guaranteed that this is happening, we will have more confidence moving forward to troubleshoot the library. I will caution though, that neither I nor my teammates are trained to use the library, so I cannot guarantee how successful our efforts will be.
Thanks
Ryan
03-07-2024 12:47 PM
were you able to resolve this issue? I know it happened long time ago but I am also new to using modbus and I am running into the same or similar issue.
03-07-2024 02:11 PM
You would be best suited both starting your own post as well as posting the code of yours that fails, as VI files, back-saved to 2019 edition if you're using a newer one.
It's good that you saw it was a while ago, but that user hasn't posted in about 12 years and will not be coming back to reply.