Hi all,
To make this work I have the following solution, that unfortunately does not work for INT.bit, only for DINT.bit. Is there a way to get the datatype from the driver read response? Then I can do it right.
The CIP message should as I understand it (1756-PM020A-EN-P, page 12) report the datatype, so it would be nice to be able to get that one too when calling AdvancedHMIDrivers.EthernetIPforCLXCom.Read().
This is my current solution, not usable for INT - only DINT.
1. Detect if the tag has a dot suffix - Tag.x
2. Read Tag as DINT and bit mask to desired value
3. Write tag as DINT