142 VIX IM MICROSTEPPER INDEXER DRIVE USER GUIDE
LIMITS
Configure limit inputs
Syntax aLIMITS(mask,type,mode,LD)
Description The LIMITS command allows the user to define whether the LIM+/- inputs
are used as limit inputs or user inputs via the LIM_MASK.
The mask field takes the following values:
0 Enable limits (default setting)
1 Disable limit +
2 Disable limit -
3 Disable limit + & -
The +ve limit switch is the switch that is reached when the motor reaches the
end of travel for a move with +ve distance/velocity (CW).
The -ve limit switch is the switch that is reached when the motor reaches the
end of travel for a move with -ve distance/velocity (CCW).
type field takes the following values:
1 Limits normally closed (default setting)
0 Limits normally open
mode field takes the following values:
0 Stop motion when a limit is hit and abort the program, then go
to a predefined fault sequence, otherwise stop (default setting).
1 Stop motion when a limit is hit but continue the program. In
certain applications this allows the limit switch to define a
home position.
The optional LD parameter sets the required deceleration rate after hitting a
limit, the default deceleration is 200 rps
2
.
Changing this value will alter the
KILL deceleration rate.
Properties
Immediate or buffered, can be used in labelled block, saved by SV
Example 3LIMITS(0,1,0,100) ;both limits enabled, normally closed switch
;stop motion when hit
; deceleration 100rps
2
3LIMITS(1,1,0,100) ; +ve limit disabled, normally closed switch
; stop motion when hit
; deceleration 100rps
2