Page 71 of 112
DMM-0200 Product User Guide
159 Swanson Road
Boxborough, MA 01719
Tel: 508-475-3400
Email: sales@dovermotion.com
ENDIF
IF EO= [value]
ENDIF
Examples:
EO=3 ;***Turn first 2 bits of enable outputs
IF V1=1
EO=V2 ;***Enable output according to variable 2
ENDIF
EO[1-2J
Description:
Read: Gets the individual enable output value
Write: Sets the individual enable output value
Performax 2EX has 2 enable outputs.
Syntax:
Read: [variable] = EO[1-2]
Write: EO[1-2] = [0 or 1]
EO[1-2] = [variable]
Conditional: IF EO= [variable]
ENDIF
IF EO= [value]
ENDIF
Examples:
EO1=1 ;***Turn enable output 1 on
IF V1=1
EO2=V2 ;***Enable output 2 according to variable 2
ENDIF
GOSUB
Description:
Perform go to subroutine operation
Subroutine range is from 1to 32.
Note: Subroutine definitions should be written AFTER the END statement
Subroutine 31 is reserved for error handling
Syntax:
GOSUB [subroutine number]
[Subroutine Number] range is 1 to 32
Examples:
GOSUB 1
END
SUB 1
X0
WAITX X1000
WAITX ENDSUB
HLHOME[axisJ[+ or-J
Description:
Command: Perform low speed homing using current high speed, low speed, and acceleration.
Syntax:
HLHOME[Axis][+ or -]
Examples: