31
Pulse Output Function (CQM1 Only) Section 1-3
The following diagram shows the frequency of pulse outputs from port 2 as
the program is executed.
Example 6: ACC(––)
Mode 2
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, but the pulse output cannot be stopped at the correct number
of pulses, so this method should not be used except for emergency stops.
Example 7: ACC(––)
Mode 3
The following example shows mode 3 of ACC(––) used 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
00001
goes ON
1 kHz
About 500 Hz/4 ms
00000
goes ON
DM 0000 0050
DM 0001 0001
@ACC(––)
002
001
DM 0000
When 00000 goes ON, ACC(––) begins deceler ating the
port 1 pulse output at about 500 Hz/4 ms until it reaches the
target frequency of 10 Hz.
00000
Frequency
Time
2 kHz
Specified number
of pulses output
1 kHz
About 500 Hz/4 ms
00000
goes ON
DM 0000 0100
DM 0001 0500
@ACC(––)
003
001
DM 0000
When 00000 goes ON, ACC(––) begins deceler ating the
port 1 pulse output at about 1 kHz/4 ms until it reaches the
target frequency of 5 kHz.
00000