Example: Find Edge
#EDGE Label
AC 2000000 Acceleration rate
DC 2000000 Deceleration rate
SP 8000 Speed
FE Find edge command
BG Begin motion
AM After complete
MG “FOUND HOME”
Send message
DP 0 Define position as 0
EN End
Command Summary - Homing Operation
command description
FE XYZW Find Edge Routine. This routine monitors the Home Input
FI XYZW Find Index Routine - This routine monitors the Index Input
HM XYZW Home Routine - This routine combines FE and FI as Described Above
SC XYZW Stop Code
TS XYZW Tell Status of Switches and Inputs
Operand Summary - Homing Operation
operand Description
_HMx Contains the value of the state of the Home Input
_SCx Contains stop code
_TSx Contains status of switches and inputs
High Speed Position Capture (The Latch Function)
Often it is desirable to capture the position precisely for registration applications. The DMC-40x0 provides a
position latch feature. This feature allows the position of the main or auxiliary encoders of X,Y,Z or W to be
captured within 25 microseconds of an external low input signal (or index pulse). The general inputs 1 through 4
and 9 thru 12 correspond to each axis.
1 through 4: 9 through 12
IN1 X-axis latch IN9 E-axis latch
IN2 Y-axis latch IN10 F-axis latch
IN3 Z-axis latch IN11 G-axis latch
IN4 W-axis latch IN12 H-axis latch
Note: To insure a position capture within 25 microseconds, the input signal must be a transition from high to low.
The DMC-40x0 software commands, AL and RL, are used to arm the latch and report the latched position. The
steps to use the latch are as follows:
Chapter 6 Programming Motion • 127 DMC-40x0 User Manual