I am having on heck of a time trying to get my float tag in ignition to display the correct value from the PLC I’m using. I’m using a ClickPLC, which is modbus TCP. These are my tag properties:
Data Type: Float
Access Rights: Read Only
OPC Server: Ignition OPC-UA Server
OPC Path: [MyDevicesName]HRF28673
Source Data Type: Automatic
I’m 95% sure I have my modbus address correct for the address I’m trying to read. My PLC tells me that the modbus address is 428673 with Function Code 03,06,16. From what I understand, I need to disregard the first 4 in the address, which I have.
With this current setup, I am seeing my tag value in ignition change in real time as I adjust my 0-10v signal to the plc. However, it is showing all sorts of funky values. It will jump from 0, to extremely large numbers in the billions, to negative billions numbers, etc. I have tried scaling with the highest and lowest integer values that my PLC will display, but still no luck. I don’t understand, especially since the values in my PLC are displaying just fine.
Any help on this would be great! Thanks