![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414140.webp)
2-5
Section
CPM2A/CPM2C Pulse Output Functions
119
Make the following settings in the PC Setup.
Word
Bits
Function
Setting
DM 6629
00 to 03
Pulse 0 PV
coordinate
system
0: Relative coordinate system
1: Absolute coordinate system
Either 0 or 1
DM 6642
08 to 15
High-speed
counter
setting
00: Do not use.
01: Use as high-speed counter
02: Use as synchronized pulse
control (10 to 500 Hz).
03: Use as synchronized pulse
control (20 Hz to 1 kHz).
04: Use as synchronized pulse
control (300 Hz to 20 kHz).
Either 00 or
01
If absolute pulses are specified with PULS(65), be sure to set the absolute coor-
dinate system (1).
Synchronized pulse control cannot be used simultaneously.
The settings will go into effect when the mode is changed (from PROGRAM to
MONITOR/RUN) or when the power supply is turned ON to the PC.
The following table shows the instruction operations related to pulse outputs
with trapezoidal acceleration and deceleration (fixed duty ratio).
Instruction
Control
Operation
(@)PULS(65)
Set number of pulses
Sets the number of pulses to be output
in independent mode.
(@)ACC(––)
Set frequency and start
pulse outputs
Sets the target frequency, starting
frequency, and acceleration/deceleration
rate for outputs in independent mode or
continuous mode, and starts the pulse
outputs.
Change frequency
Changes the frequency during pulse
output in continuous mode by
accelerating or decelerating according
to the specified
acceleration/deceleration rate.
Stop pulse outputs
Decelerates pulse outputs to a stop
according to the specified
acceleration/deceleration rate.
(@)INI(61)
Stop (decelerate stop)
pulse outputs
Stops the pulse outputs.
Change pulse output PV
Changes the pulse output PV.
(@)PRV(62)
Read pulse output PV
Reads the pulse output PV.
(
)
(
)
Read pulse output status
Reads the pulse output status.
The following table shows which instructions can be executed during pulse out-
puts with trapezoidal acceleration and deceleration.
PULS(65)
SPED(64)
INI(61)
PRV(62)
ACC(––)
PWM(––)
Continuous mode
No
No
Yes (See note 1.)
Yes
No
No
Independent mode
No
No
Yes (See note 1.)
Yes
Yes (See note 2.)
No
Note
1. This instruction can be executed only while pulse outputs are stopped. The
PV cannot be changed while pulses are being output. If the PV needs to be
changed, be sure to stop the pulse output first.
2. This instruction can be used only for changing the frequency and stopping
the pulse output. It cannot be used for switching between independent
mode and continuous mode. Moreover, ACC(––) cannot be received during
acceleration or deceleration.
PC Setup
Ladder Diagram
Programming