2-5
Section
CPM2A/CPM2C Pulse Output Functions
104
The following table shows the words and bits related to pulse outputs without
acceleration and deceleration (fixed duty ratio).
Word
Bits
Name
Contents
228
00 to 15
Pulse output PV 0, rightmost 4 digits
Cannot be used as
k bi
h
229
00 to 15
Pulse output PV 0, leftmost 4 digits
work bits even when
not used as pulse
230
00 to 15
Pulse output PV 1, rightmost 4 digits
not used as pulse
outputs.
231
00 to 15
Pulse output PV 1, leftmost 4 digits
outputs.
252
04
Pulse output 0 PV reset
Clears PV 0 when ON.
05
Pulse output 1 PV reset
Clears PV 1 when ON.
AR 11
12
Pulse output 0 PV overflow/underflow
ON: Occurred
OFF: Normal
13
Number of pulses set for pulse output 0
ON: Set (by PULS(65))
OFF: Not set
14
Pulse output completed for pulse
output 0
ON: Completed (by
SPED(64))
OFF: Not completed
15
Pulse output in progress for pulse
output 0
ON: In progress (by
SPED(64))
OFF: Stopped
AR 12
12
Pulse output 1 PV overflow/underflow
ON: Occurred
OFF: Normal
13
Number of pulses set for pulse output 1
ON: Set (by PULS(65))
OFF: Not set
14
Pulse output completed for pulse
output 1
ON: Completed (by
SPED(64))
OFF: Not completed
15
Pulse output in progress for pulse
output 0
ON: In progress (by
SPED(64))
OFF: Stopped
Set Number of Pulses
Specify the number of pulses to be output in independent mode.
Port specifier (000: Pulse output 0; 010: Pulse output 1)
Type of Pulse Output (000: Relative pulses; 001: Absolute pulses) (See note.)
Beginning word of setting for number of pulses
Rightmost 4 digits
Leftmost 4 digits
Number of pulses (Rightmost, leftmost digits)
Register the number of pulses to be set.
96,777,215 to 16,777,215
Negative numbers are expressed by turning ON
the leftmost bit.
Type of Pulse Output
000:
Relative pulses (SV for number of pulses = Number of pulses moved)
001:
Absolute pulses (SV for number of pulses = The next PV on the absolute coordinate system,
i.e., the pulse output PV + number of pulses moved)*
*Absolute pulses can only be specified by PULS(65) when the PV coordinate system
in the PC Setup is set for an absolute coordinate system.
(@)PULS(65)
P
D
N
N
N+1
Set Frequency and Start Pulse Outputs
Change Frequency
These functions set the pulse output number, the output mode, and the frequen-