Input protection lines, Software protection – Galil DMC-2X00 User Manual

Page 182

Advertising
background image

3. There is a failure on the controller and the processor is resetting itself.

4. There is a failure with the output IC which drives the error signal.

Input Protection Lines

General 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.

Selective Abort - The controller can be configured to provide an individual abort for each axis.

Activation of the selective abort signal will act the same as the Abort Input but only on the
specific axis. To configure the controller for selective abort, issue the command CN,,,1. This
configures the inputs 5,6,7,8,13,14,15,16 to act as selective aborts for axes A,B,C,D,E,F,G,H
respectively.

Forward Limit Switch - Low input inhibits motion in forward direction. 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). The CN command can be used to change the polarity of the limit
switches.

Reverse Limit Switch - Low input inhibits motion in reverse direction. 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).
The CN command can be used to change the polarity of the limit switches.

Software Protection

The DMC-2x00 provides a programmable error limit. The error limit can be set for any number
between 1 and 32767 using the ER n command. The default value for ER is 16384.

ER 200,300,400,500

Set A-axis error limit for 200, B-axis error limit to 300, C-axis error limit to
400 counts, D-axis error limit to 500 counts

ER,1,,10

Set B-axis error limit to 1 count, set D-axis error limit to 10 counts.

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-2x00 will generate several 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

Error Light

Turns on

OE Function

Shuts motor off if OE1

AEN Output Line

Goes low

The Jump on Condition statement is useful for branching on a given error within a program. The
position error of A,B,C and D can be monitored during execution using the TE command.

172

Chapter 8 Hardware & Software Protection

DMC-2X00

Advertising