Hi,
I plan to continuously switch between four positions like that:
- First I create a variable called COUNTER and assign it a value of 1.
- In the same program I create an IF statemet...
IF COUNTER < 4
COUNTER = COUNTER + 1
ELSE
COUNTER = 1
ENDIF
In my mind this would result in the counter going 1 - 2 - 3 - 4 - 1 - 2 - 3 - 4 ... moving every time the program is run.
- Then in the same program I use a SWITCH statement to create cases depending on the COUNTER.
SWITCH COUNTER
CASE 1
PTP_1
CASE 2
PTP_2
CASE 3
PTP_3
CASE 4
PTP_4
ENDSWITCH
Will this work and if so, is it reasonable?