Reading Individual bits from holding registers of VFDs in OCMC

How to read individual bits from holding registers of VFDs in OCMC Configuration ? , I've tried typing the address like that 403201:0 or 403201.1 but it doesn't work .

Parents
  • I understand, I know Integers in system platform resolve bits by doing this so it was just a guess :)

    But if it is a register in the PLC it might require you to check to see if there is anything mentioned in the documentation, but since I don't know the driver you are using I got some mentions from the SoMac driver, perhaps this could help.

    As a workaround, if you pull the integer value from the driver using an Integer tag, then you reference your IO tag from a boolean tag using datasource (view/tagname) and use the tagname.00 for bit 1 as item.

    But I would believe finding the correct documentation for the driver is the best thing to do. 

    Examples of SoMachine Item References

Reply
  • I understand, I know Integers in system platform resolve bits by doing this so it was just a guess :)

    But if it is a register in the PLC it might require you to check to see if there is anything mentioned in the documentation, but since I don't know the driver you are using I got some mentions from the SoMac driver, perhaps this could help.

    As a workaround, if you pull the integer value from the driver using an Integer tag, then you reference your IO tag from a boolean tag using datasource (view/tagname) and use the tagname.00 for bit 1 as item.

    But I would believe finding the correct documentation for the driver is the best thing to do. 

    Examples of SoMachine Item References

Children
No Data