Author Topic: Omron PLC BCD double register read  (Read 492 times)

kabir

  • Newbie
  • *
  • Posts: 8
    • View Profile
Omron PLC BCD double register read
« on: August 01, 2018, 09:41:34 PM »
Hello Guys
Quick question I am trying to read a BCD value from an omron CQM1 PLC via RS232 port, I have found that the BCD value is spread across two consecutive 'DM' registers each, containing 4 digits. I can use a label in advanced HMI to display each of the registers individually however before I do some sort of code to join these together then display I would like to know if there is a way for advanced hmi to read these values and display them correctly without code.

I have tried using 'LDXXXX' instead of just DXXXX but these two options show the same result.

Regards   :-[

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5270
    • View Profile
    • AdvancedHMI
Re: Omron PLC BCD double register read
« Reply #1 on: August 01, 2018, 10:11:42 PM »
I don't remember if this will work, but in the 3.99y beta version, you can use address modifiers like this:

D1000@B


They can be combined, so maybe

D1000@LB  (which is what I am not sure about working)

kabir

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Omron PLC BCD double register read
« Reply #2 on: August 11, 2018, 09:15:54 AM »
Still have not had any luck with this im thinking about using the datasubscriber2 with some code but currently looking for info on how to code for the datasubscriber2