Hello,
I would like to make a script in WinCC 7.2 to read and write data from internal binary tags to specified bit in external(TCP,MPI etc.) DWORD.
For Example if I set a internal BOOL to 1 by some button I would like a script which sets 3rd bit of external DWORD; if I set a internal BOOL to 0 by the same button, 3rd bit of DWORD should be 0.
I was trying to make a script with GetTagBit, SetTagWord but I cent these to work.
I would appriciate any help in this matter.
I would like to make a script in WinCC 7.2 to read and write data from internal binary tags to specified bit in external(TCP,MPI etc.) DWORD.
For Example if I set a internal BOOL to 1 by some button I would like a script which sets 3rd bit of external DWORD; if I set a internal BOOL to 0 by the same button, 3rd bit of DWORD should be 0.
I was trying to make a script with GetTagBit, SetTagWord but I cent these to work.
I would appriciate any help in this matter.