Author Topic: OmronEthernetFINSCom  (Read 1778 times)

betilly

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
OmronEthernetFINSCom
« 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.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OmronEthernetFINSCom
« Reply #1 on: December 18, 2018, 07:25:46 AM »
Can you give an example? Does a value of 16 in the PLC show as a 10 n the bar?

betilly

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: OmronEthernetFINSCom
« Reply #2 on: December 18, 2018, 07:31:57 AM »
Value in holding register D1 #10 is shown as 16, with 399x version it shows right .

betilly

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: OmronEthernetFINSCom
« Reply #3 on: December 24, 2018, 04:31:28 PM »
Anyone try and have same problem?

Phrog30

  • Guest
Re: OmronEthernetFINSCom
« Reply #4 on: December 24, 2018, 06:35:20 PM »
You mentioned barlevel, what about basic label? Try a basic label and report back.

betilly

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: OmronEthernetFINSCom
« Reply #5 on: December 25, 2018, 05:45:24 AM »
basic label is working ok because you have option in properties InterpretValueAsBCD.

Phrog30

  • Guest
Re: OmronEthernetFINSCom
« Reply #6 on: December 25, 2018, 08:43:46 AM »
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.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OmronEthernetFINSCom
« Reply #7 on: December 25, 2018, 08:56:30 AM »
Is your objective to show the value in the Barlevel in Hex format?

betilly

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: OmronEthernetFINSCom
« Reply #8 on: December 25, 2018, 10:50:17 AM »
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....?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OmronEthernetFINSCom
« Reply #9 on: December 25, 2018, 11:25:55 AM »
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

betilly

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: OmronEthernetFINSCom
« Reply #10 on: December 25, 2018, 12:18:44 PM »
Thank you for explanation Archie.