Page 77 of 112
DMM-0200 Product User Guide
159 Swanson Road
Boxborough, MA 01719
Tel: 508-475-3400
Email: sales@dovermotion.com
X8000
END
PRG 1 ;***Program 1
Y1000
END
PS[axis]
Description:
Read: Get the current pulse position of an axis
Syntax:
Read: Variable = PS[Axis]
Conditional: IF PS[axis]=[variable]
ENDIF
IF PS[axis]=[value]
ENDIF
Examples:
JOGX+ ;***Jogs X axis to positive direction
DELAY= 1000 ;***Wait 1 second
ABORT ;***Stop without deceleration all axes including X axis
V1=PSX ;***Sets variable 1to pulse X
JOGY+ ;***Jogs Y axis to positive direction
V2=PSY ;***Sets variable 2 to pulse Y
SCV[axis]
Description:
Read: Get individual s-curve enable. Value is 0 or 1.
Write: Set individual s-curve enable.
Range is from 0 or 1
Syntax:
Read: [variable]=SCV[axis]
Write: SCV[axis]=[0 or 1]
SCV[axis]=[variable]
Note: Ifs-curve is enabled for an axis, on-the-fly speed feature cannot be used for the corresponding axis.
Examples:
SCVX=1 ;***Sets X axis to use s-curve acceleration: on-the-fly speed
; change is NOT allowed for this axis.
SCVY=0 ;***Sets Y axis to use s-curve acceleration: on-the-fly speed
; change is allowed for this axis.
SL[axis]
Description:
Write: Set individual StepNLoop enable. Range is from 0 or 1
Syntax:
Write: SL[axis]=[0 or 1]
Examples:
SLX=1 ;***Enables StepNLoop control for the X axis.
SLY=0 ;***Disables StepNLoop control for the Y axis.
SLS[axis]