116
Pulse I/O Board
Section 2-2
The following diagram shows the frequency of pulse outputs from port 2 as
the program is executed.
Example 6: Using
ACC(––) to Decelerate the
Frequency at a Specified
Rate and Stop Output
The following example shows Mode 2 of ACC(––) used decrease the fre-
quency of a pulse output from port 1. The 2-kHz pulse output is already in
progress in independent mode and stops automatically when the number of
pulses is reached.
The following diagram shows the frequency of pulse outputs from port 1 as
the program is executed.
Note
The pulse output can be stopped by executing ACC(––) Mode 2 with a target
frequency of 0. However, since the pulse output cannot be stopped at the cor-
rect number of pulses, this method should not be used except for emergency
stops.
Example 7: Using
ACC(––) to Decelerate the
Frequency at a Specified
Rate
The following example shows Mode 3 of ACC(––) used to decrease the fre-
quency of a pulse output from port 1. The 20-kHz pulse output is already in
progress in Continuous Mode.
Frequency
Time
20 kHz
IR 00001
turns ON
1 kHz
About 500 Hz/4 ms
IR 00000
turns ON
@ACC(
−−
)
002
001
DM 0000
When IR 00000 turns ON, ACC(
−−
) begins decelerating the
port 1 pulse frequency at about 500 Hz/4 ms until it reaches
the target frequency of 10 Hz. Pulse output stops when the
specified number of pulses is reached.
00000
DM 0000 0050
DM 0001 0001
Frequency
Time
2 kHz
Specified number
of pulses output
1 kHz
About 500 Hz/4 ms
IR 00000
turns ON
@ACC(
−−
)
003
001
DM 0000
When IR 00000 turns ON, ACC(
−−
) begins decelerating the
port 1 pulse output at about 1,000 Hz/4 ms until it reaches
the target frequency of 5,000 Hz.
00000
DM 0000 0100
DM 0001 0500