I am facing some issues while I am trying to write bit value for Siemens PLC. I am having a Word Datatype in which I need the second bit value should be written via Ignition but as I am writing the value it is going in the first bit of Word so anyone please suggest how to solve this issue.
Whether using an OPC connection or an Ignition driver connection (and whether you followed the white paper instructions if the latter) - Siemens 1500 Driver
Structure of your datatype and the element involved - Dword Structure
In case zxcslo’s brief reply confuses you, it means there isn’t support in the PUT/GET protocol to change just one bit of a word or dword. You have to write the whole value. (Which can conflict with PLC logic writing to other bits–so don’t if that would apply.)
I used the XOR function with Left Shift Bit so its good now. But I have a another doubt regarding WString Datatype how to fetch this String Datatype in ignition.