SYNCCFG
Description:
Sets the synchronization output condition
1 – Encoder position is EQUAL to sync position
2 – Encoder position is LESS than sync position
3 – Encoder position is GREATER than sync position
Syntax:
SYNCCFG=[1,2,3]
Examples:
EX=0
EO=1
SYNCPOS= -1000
SYNCCFG=2
;***When encoder is less than -1000 sync output done
SYNCON
JOGX-
;***Jog negative
WHILE SYNCSTAT!=2
ENDWHILE
STOPX
SYNCOFF
END
SYNCOFF
Description:
Turns off synchronization output feature
Syntax:
SYNCOFF
Examples:
EX=0
;***Reset the encoder position to zero
EO=1
;***Enable the motor
SYNCPOS=10000
;***Set sync position to 10000
SYNCCFG=1
;***Trigger output when position equal
SYNCON
;***Turn the sync feature on
JOGX+
;***Jog the motor
WHILE SYNCSTAT!=2
;***Wait until trigger happened
ENDWHILE
DMX K-SA Manual
page 79
rev 3.07
Summary of Contents for DMX-K-SA
Page 5: ...ZOMEX 85 DMX K SA Manual page 5 rev 3 07 ...
Page 11: ......