I'm working on simple structured text program which takes in DWORD values, does some math on them and then outputs in DWORD type. What data type should I be using and how can I make this work?
This is one of the lines from the code(everything DWORD) and I get 'operator not supported by DWORD data type'
XPos3 := XPos1 + (2*XIncrement);