2-5
Section
CPM2A/CPM2C Pulse Output Functions
109
PC Setup
Sets the coordinate system for pulse output 0 as relative.
Set for other than synchronized pulse control.
(Set to 01
when using the high-speed counter.)
DM 6629
0
15
0
DM 6642
0
0
Programming
00005 (Execution condition)
Detects turning ON of execution condition.
Sets number of pulses.
Pulse output 0
Relative pulses
Beginning word for pulse
SV data
DM 0000
DM 0001
Number of pulses:
100
Sets frequency and starts pulse output.
Pulse output 0
Independent mode
Frequency: 60 Hz
PLUS(65)
SPED(64)
(13)
JOG Operation
Explanation
In this example, when the execution condition (00005) turns ON, JOG pulses are
output at a frequency of 100 Hz from either output 01000 (pulse output 0) or out-
put 01001 (pulse output 1). When the execution condition (00005) turns OFF,
the output is stopped. Switching between output 01000 (pulse output 0) and out-
put 01001 (pulse output 1) is performed by means of the direction designator
(00006).
Frequency
(direction)
Execution condition
(00005)
Direction designator
(00006)
Time
Wiring
Wire the CPM2A to the motor driver as shown in the following illustration.
Motor Driver