6. COMMAND REFERENCE 161
Example 2START:
2PROFILE1(10,10,40000,5)
2PROFILE2(20,20,20000,10)
2REG1(1,1,10000)
2USE(2)
2G
2END
2REG:
2O(XX1) ; Turn output 3 on : increment batch counter
2T0.5 ; Delay execution for 500mS
2O(XX0) ; Turn off output 3
2END
2NOREG: ; if we come here we didn’t have a valid reg mark
2O(X1X) ; Turn op2 on :push unlabelled product off conveyor
2T0.25 ; Delay execution for 250mS
2O(X0X) ; Turn off output 2
2END