How to Setup a HMI as a Modbus Client to a Specific IP addresshttps://forum.weintekusa.com/uploads/db0776/original/2X/2/25750bf806acea496ced3c76f805369bd12f711f.png
I have a device that resides on an machine IP address of 192.168.1.113. I want to read a select amount of Modbus registers, such as 40001 (Start/Stop), 30011 (Current Temperature) and
30042 (Bath Level).
I know the device supports Modbus TCP/IP, as I have connected successfully with it outside of the Weintek Product Suites, but I am struggling to understand the setup on the HMI’s Modbus TCP settings.
As the device itself would be the server, my thought was the HMI would be the client since it wants to request this information above. Following the manual, as there is not much on the Client side, it seemed straight forward except for one area (I can’t seem to understand the address mapping being the 0x and 1x).
Using the numeric object to get the current level, I tried to directly tie to Input Register number 30042:
Device manual:
Overall problem however: when I download the program, the numeric display does not show and it comes up with “device not responding”.
According to the Modbus manual of this device, it does not support 0x or 1x registers. So, please remove the “Address mapping” entry shown below from your program:
Also, if possible can you please let me know if you’ve changed any of these attributes?
Lastly, can you please connect the heater to your PC and test using the “Online simulation” feature within EasyBuilder Pro or using 3rd party Modbus client software like “CAS Modbus Scanner” and advise if you can communicate with the device?
This unit is in the field already and can confirm it is reachable via another 3rd party software (Ignition!) that is reading/writing data as expected. To prove out communication, connected this unit the other machines network, then disconnected and moved back to the Weintek system.
Thank you for testing this. When you have time, can you please PM me a link to your EasyBuilder Pro project file so that we can review this project in our office? Also, can you please send me a screenshot of the configuration used within Ignition software to establish communication with the heater for our reference?