I am having some trouble with variable declaration on a siemens 810 control and was just looking for some advice. I am not foreign to variables or macro programming but am quite new to siemens controllers. So far I have worked out that you can't declare a variable once you have activated a fixture offset, or am I wrong?? I am just looking for some tips on the correct structure to use when declaring and using variables. Any help would be appreciated.

Cheers