I have a sensor that uses an RS-422 signal that contains multiple data types in the rs-422 message. The sensor is connected to my Micrologix 1100, and everything is sent and received in hex format. I'm using an integer array (set to Hex/BCD Radix) to store the incoming and outgoing messages. One of the pieces of data is in double format, and I have a question about how to get this to work with the AdvancedHMI screen.
I want to add a text box or label where the user can input a number in double format (lets say, 1234.5678). In hex format this would be (40934A456D5CFAAD). Then, I need to write this value to the integer array (say N1:1-N1:4). So in the end, N1:1 will contain 4093, N1:2 - 4A45, N1:3 - 6D5C, N1:4 - FAAD.
Anyone have any tips on how to accomplish this? Thanks.