This implies that a distance of 10 inches equals 6370 counts, and a slew speed of 5 inches per second,
for example, equals 3185 count/sec.
The input signal may be applied to input 1, for example, and the output signal is chosen as output 1.
The motor velocity profile and the related input and output signals are shown in Fig. 7.1.
The program starts at a state that we define as #A. Here the controller waits for the input pulse on I1.
As soon as the pulse is given, the controller starts the forward motion.
Upon completion of the forward move, the controller outputs a pulse for 20 ms and then waits an
additional 80 ms before returning to #A for a new cycle.
Instruction
#A
AI1
PR 6370
SP 3185
BGX
AMX
SB1
WT 20
CB1
WT 80
JP #A
START PULSE I1
MOTOR VELOCITY
OUTPUT PULSE
TIME INTERVALS
Figure 7.1 - Motor Velocity and the Associated Input/Output signals
X-Y Table Controller
An X-Y-Z system must cut the pattern shown in Fig. 7.2. The X-Y table moves the plate while the Z-
axis raises and lowers the cutting tool.
144 ● Chapter 7 Application Programming
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Function
Label
Wait for input 1
Distance
Speed
Start Motion
After motion is complete
Set output bit 1
Wait 20 ms
Clear output bit 1
Wait 80 ms
Repeat the process
output
move
wait
ready
move
DMC-18x2