
84
Example 2
This example shows STOP execution if the target position is not exceeded
when the target position is designated from the origin (i.e., not an increment).
When START is next executed, the data from the positioning action at the
time of STOP is taken as the target position.
0
1
0
1
0
1
0
1
0
1
0
1
Time
2
START
word n, bit 00
STOP
word n, bit 15
(or external interrupt)
Pulse output
Positioning completed flag
word n+5, bit 00
Busy flag
word n+5, bit 12
Positioning action number
word n+7, bits 07-00
Output code
word n+7, bits 11-08
Target position
for action #0
Stops at target position
for action #1.
Output code of
action #0
Output code of
action #1
#0
#0
#1
Target speed #5
External Interrupt Commands
Section 4–10