Galil DMC-3425 Home Security System User Manual


 
152 • Chapter 8 Hardware & Software Protection DMC-3425
4. There is a failure with the output IC that drives the error signal.
Input Protection Lines
Abort - A low input stops commanded motion instantly without a controlled deceleration. For any
axis in which the Off-On-Error function is enabled, the amplifiers will be disabled. This could cause
the motor to ‘coast’ to a stop. If the Off-On-Error function is not enabled, the motor will
instantaneously stop and servo at the current position. The Off-On-Error function is further discussed
in this chapter.
Forward Limit Switch - Low input inhibits motion in forward direction. (The CN command can be
used to change the polarity of the limit switches.) If the motor is moving in the forward direction when
the limit switch is activated, the motion will decelerate and stop. In addition, if the motor is moving in
the forward direction, the controller will automatically jump to the limit switch subroutine, #LIMSWI
(if such a routine has been written by the user).
Reverse Limit Switch - Low input inhibits motion in reverse direction. (The CN command can be
used to change the polarity of the limit switches.) If the motor is moving in the reverse direction when
the limit switch is activated, the motion will decelerate and stop. In addition, if the motor is moving in
the reverse direction, the controller will automatically jump to the limit switch subroutine, #LIMSWI
(if such a routine has been written by the user).
Software Protection
The DMC-3425 provides a programmable error limit. The error limit refers to a difference in the
actual and commanded position of the motor. This limit can be set for any number between 1 and
32767 using the ER n command. The default value for ER is 16384.
Example:
ER 200,300 Set A-axis error limit for 200, B-axis error limit to 300
ER,1 Set B-axis error limit to 1 count.
The units of the error limit are quadrature counts. The error is the difference between the command
position and actual encoder position. If the absolute value of the error exceeds the value specified by
ER, the DMC-3425 will generate signals to warn the host system of the error condition. These signals
include:
Signal or Function State if Error Occurs
# POSERR
Jumps to automatic excess position error subroutine (if included in
program)
Error Light Turns on
OE Function Shuts motor off if OE1
AEN Output Line Goes low
The Jump if Condition statement is useful for branching within the program due to an error. The
position error of A and B can be monitored during execution using the TE command.
Programmable Position Limits
The DMC-3425 provides programmable forward and reverse position limits. These are set by the BL
(Backwards Limit) and FL (Forward Limit) software commands. Once a position limit is specified, the
DMC-3425 will not accept position commands beyond the limit. Motion beyond the limit is also
prevented.