Harini Adisetti
Sir, i am unable to open runtime dashboard it is showing 404 error can u please help me to to rectify this.
Reply 0 0
Harini Adisetti
In Modbus poll i saw data. But in editor how can i verify that the data is receving from slave. In debugger it is showing only 0 .
Reply 0 0
Harini Adisetti
[203128%2F9752918%2Fmceclip0]
Reply 0 0
thiagoralves
If debugger shows zero then the value is zero. Debugger shows actual values read from PLC runtime memory. It is not tied to Modbus registers.
Reply 0 0
Harini Adisetti
This is the data getting from Modbuspoll. This data i want to see in OPENPLC
Reply 0 0
thiagoralves
What is Modbus Poll reading from? Directly from your slave or from OpenPLC runtime? What are the addresses you're trying to read? What is the configuration of the Modbus settings on your PLC project? Which variables are mapped to the addresses you are interested in reading/writing?
Reply 0 0
Harini Adisetti
From Modbus poll data directly coming from slave i disconnected runtime. i need to read the ELMESURE (energy meter) Frequency which is register number 157. I want to read the data. I will send the screenshot of Modbus configuration in OPENPLC editor. We can read the data without using Modbus poll IN OPENPLC editor??
[203128%2F9752937%2Fmceclip0]
Reply 0 0
thiagoralves
From modbus poll screenshot it seems you are reading a REAL value, which uses 2 modbus registers per value. Your OpenPLC configuration is reading only one integer register, so there is an inconsistency right there on the setup of both softwares. OpenPLC does not allow reading REAL, so you will have to read two registers and convert them. See the video from Code and Compile for more info: https://www.youtube.com/watch?v=IMyKHp3iog0
Reply 0 0
Harini Adisetti
[203128%2F9763681%2Fmceclip0] I am getting this error sir
Reply 0 0
Harini Adisetti
The link which u sended was TCP\IP but i am trying RTU
Reply 0 0
Harini Adisetti
sir please send ur mail id i will share the file
Reply 0 0
thiagoralves
This error means that the runtime can’t talk to your RTU device. Check the wiring, power supply, and configuration to ensure they are properly set
Reply 0 0
Harini Adisetti
[203128%2F9767289%2Fmceclip0]This is function block
Reply 0 0
Harini Adisetti
[203128%2F9767290%2Fmceclip0]
This is my main program
Reply 0 0
Harini Adisetti
[203128%2F9767292%2Fmceclip0]
And this is my modbus communication . I am going to read the register number 40157 which is frequency form elmeasure energy meter (In modbus poll the value shows in register 156 ). i am not getting where i am going wrong please help me..
Reply 0 0
thiagoralves
Make sure your serial port configuration on your PLC project matches the configuration you’re using on Modbus Poll and that Modbus Poll is not active while you’re trying to use the serial port
Reply 0 0
Reply