AdvancedHMI Software
General Category => Support Questions => Topic started by: betilly on December 18, 2018, 06:56:05 AM
-
Hi, i found with newest version 3.99y beta that OmronEthernetFINSCom driver , option TreatDataAsHex dont give right values in barlevel control.
-
Can you give an example? Does a value of 16 in the PLC show as a 10 n the bar?
-
Value in holding register D1 #10 is shown as 16, with 399x version it shows right .
-
Anyone try and have same problem?
-
You mentioned barlevel, what about basic label? Try a basic label and report back.
-
basic label is working ok because you have option in properties InterpretValueAsBCD.
-
Then it's not the driver. Your initial post makes it seem like it's the drivers fault.
So, open the basic label, copy the code for interpret BCD and paste that into the bar level.
-
Is your objective to show the value in the Barlevel in Hex format?
-
I didnt say that something is wrong with driver, just that in older versions just need to set parameter treatdataashex set to true and got displayed numbers as i want ( in hex). In latest version dont. I compare both fins drivers and omron base, and saw that some code was commented in latest beta version, maybe thats the point....?
-
The TreatAsHex property is being phased out because if it sends a hex value to a control that is expecting a numeric value, it will not be able to process it. The replacement for this is the modified addresses such as 000@B for a BCD address
-
Thank you for explanation Archie.