
105
1
0
1
0
1 pulse (2.5 ms)
ON for 1 scan when scan time is 12 ms or more.
ON for 2 scans when scan time is less than 12 ms.
Time
INCH
IR n, bit 14
Pulse output
Busy flag
IR n+5, bit 12
Approx. 5 ms
4–11 External Interrupt Commands
You can stop positioning or change speeds with either the bits set in the IR
area or by external interrupt signal input, depending on your DIP switch set-
tings. It is possible to set the pins so that both of these methods (command
bits and external interrupts) are available at the same time for either STOP or
CHANGE SPEED.
As illustrated in the following diagrams, positioning decelerates to a stop
when STOP is executed. When CHANGE SPEED is executed, positioning
accelerates or decelerates to the designated speed. Specify the target speed
to be used for CHANGE SPEED by setting the speed numbers in bits 05 to
00 of IR word n+2. If those bits are set to 00, the next speed number after the
one currently being executed will be taken as the target speed. The target
speeds used during CHANGE SPEED are taken in order, beginning with the
lowest speed number, from the DM area.
When executing CHANGE SPEED with an external input, designate the
speed number from IR word n+2 at least one scan time in advance or it will
not be effective. Otherwise, when designating the speed number, use an IR
area work bit. (See
IR Area Settings below).
External Interrupt Commands