
adccommunitymod (AutomationDirect) asked a question.
Created Date: March 21,2015
Created By: flash053069
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Hello everyone. I have a EA9 touch panel communicating to a Click PLC. I have several Numeric Display objects displaying the value of various single Integer values in the plc. It displays the value fine unless the value in the PLC becomes a negative value Then it displays an incorrect really high value Example: PLC address DS1 has a value of -11. The numeric display on the touch screen displays a value of 543. If the value in DS1 becomes positive such as a 1, the touch screen displays a 1. How do I correct this?
Created Date: March 21,2015
Created by: Do-more PE
Check the data type that is assigned to the PLC Address in the HMI tag database. If it is a DS register, the correct data type should be Signed_Int_16.
Created Date: March 21,2015
Created by: kewakl
It seems that the tag in the CMore is UNSIGNED and the DS in the CLICK is SIGNED
I cant make the bit patterns work out for -11 and 543.
DS1 is a Signed 16-bit integer with a range of -32768 to +32767
Created Date: March 22,2015
Created by: flash053069
Thanks everyone
That was it. I had it as an unsigned.
The 543 number was not an exact number, it was just one of the very high displayed numbers and when I logged into the PLC and seen they were negative values I just picked one. I'm sure that's why you couldn't make the numbers work out.
I appreciate it very much.
Jim
Created Date: March 21,2015
Created by: flash053069
Hello everyone.
I have a EA9 touch panel communicating to a Click PLC.
I have several Numeric Display objects displaying the value of various single Integer values in the plc.
It displays the value fine unless the value in the PLC becomes a negative value
Then it displays an incorrect really high value
Example: PLC address DS1 has a value of -11. The numeric display on the touch screen displays a value of 543. If the value in DS1 becomes positive such as a 1, the touch screen displays a 1.
How do I correct this?