Omron CQM1H - PROGRAM Programming Manual page 140

Programmable controllers; inner boards
Table of Contents

Advertisement

Pulse I/O Board
Example 4: Using
ACC(––) to Accelerate/
Decelerate the Frequency
at Different Rates
Example 5: Using
ACC(––) to Accelerate the
Frequency at a Specified
Rate
The following example shows Mode 0 of ACC(––) used to output 10,000 CW
pulses from port 1. The frequency is accelerated to 10 kHz at approximately
1 kHz/4 ms and decelerated to 1 kHz at approximately 250 Hz/4 ms. Deceler-
ation begins after 9,100 pulses have been output.
DM 0000 0000
DM 0001 0001
DM 0002 9100
DM 0003 0000
00000
The following diagram shows the frequency of pulse outputs from port 1 as
the program is executed.
Frequency
10 kHz
1 kHz
IR 00000
turns ON
The following example shows Mode 1 of ACC(––) used to increase the fre-
quency of a pulse output from port 1. The frequency is accelerated from 1 kHz
to 20 kHz at approximately 500 Hz/4 ms.
DM 0000 0050
DM 0001 2000
00000
00001
DM 0004 0100
DM 0005 1000
DM 0006 0025
DM 0007 0050
@PULS(65)
When IR 00000 turns ON, PULS(65) sets port 1 for CW
pulse output. The total number of pulses is set to 10,000
001
and the deceleration point is set to 9,100 pulses.
002
DM 0000
@ACC(−−)
Starts CW pulse output from port 1.
Acceleration rate: Approx. 1000 Hz/4 ms
001
Target frequency after acceleration: 10,000 Hz
Deceleration rate: Approx. 250 Hz/4 ms
000
Target frequency after deceleration: 1 kHz
Following deceleration, pulse output starts at target fre-
DM 0004
quency of approx. 500 Hz/4 ms.
About 1 kHz/4 ms
9,100
pulses
@PULS(65)
When IR 00000 turns ON, PULS(65) sets port 2 for CCW
pulse output. The number of pulses is not set.
002
005
000
@SPED(64)
Starts 1,000 Hz (1 kHz) pulse output from port 2 in Continu-
ous Mode.
002
001
#0100
@ACC(−−)
When IR 00001 turns ON, ACC(−−) begins accelerating the
port 2 pulse output at about 500 Hz/4 ms until it reaches the
target frequency of 20,000 Hz.
002
001
DM 0000
Section 2-2
About 250 Hz/4 ms
Time
10,000
pulses
115

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents