Page 69 of 112
DMM-0200 Product User Guide
159 Swanson Road
Boxborough, MA 01719
Tel: 508-475-3400
Email: sales@dovermotion.com
X-1000 ;***If V1 is not 1, then move to -
1000 WAITX
ENDIF
ELSEIF
Description:
Perform ELSEIF condition check as a part of the IF statement
Syntax:
ELSEIF [Argument 1] [Comparison] [Argument 2]
[Argument] can be any of the following:
Numerical value
Pulse or Encoder Position
Digital Output
Digital Input
Enable Output
Motor Status
[Comparison] can be any of the following
= Equal to
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
=! Not Equal to
Examples:
IF V1=1
X1000
WAITX
ELSEIF V1=2
X2000
WAITX
ELSE
X0
WAITX
ENDIF
END
Description:
Indicate end of program.
Program status changes to idle when END is reached.
Note: Subroutine definitions should be written AFTER the END statement
Syntax:
END
Examples:
X0
WAITX
X1000
WAITX
END