CPM2A/CPM2C Pulse Output Functions
PC Setup
Ladder Diagram
Programming
PULS(65)
Continuous mode
No
Independent mode
No
Make the following settings in the PC Setup.
Word
Bits
DM 6629
00 to 03
04 to 07
DM 6642
08 to 15
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
without acceleration and deceleration (fixed duty ratio).
Instruction
(@)PULS(65)
Set number of pulses
(@)SPED(64) Set frequency and start
pulse outputs
Change frequency
Stop pulse outputs
(@)INI(61)
( )
(
)
Stop pulse outputs
Change pulse output PV
(@)PRV(62)
( )
(
)
Read 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 without acceleration and deceleration.
SPED(64)
Yes (See note 2.)
Yes (See note 2.)
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.
Function
Pulse 0 PV coordinate
0: Relative coordinate
system
system
Pulse 1 PV coordinate
1: Absolute coordinate
system
system
High-speed counter
00: Do not use.
setting
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).
Control
Sets the number of pulses to be output
in independent mode.
Sets the frequency for outputs in the
independent mode or continuous mode,
and starts the pulse outputs.
Changes the frequency for outputs in
the independent mode or continuous
mode.
Stops the pulse outputs (by changing
the speed to a frequency of 0 Hz).
Stops the pulse outputs.
Changes the pulse output PV.
Reads the pulse output PV.
INI(61)
PRV(62)
Yes (See note 1.)
Yes
Yes (See note 1.)
Yes
Section
Setting
Either 0 or
y
1
Either 00 or
01
Operation
ACC(––)
PWM(––)
No
No
No
No
2-5
103
Need help?
Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?