MotionSuite™ Series Machine Controller Programming Manual
Chapter 3: Advanced Programming Methods
3-23
! Program Example
IF MB
–
= =1;
MOV [axis1]10000;
← when MB— is ON, position the axis1.
ELSE;MOV [axis2]10000;
← when MB— is OFF, position the axis2.
IEND;