CPM2A/CPM2C Pulse Output Functions
(@)PULS(65)
N
N+1
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.
104
The following table shows the words and bits related to pulse outputs without
acceleration and deceleration (fixed duty ratio).
Word
Bits
228
00 to 15 Pulse output PV 0, rightmost 4 digits
229
00 to 15 Pulse output PV 0, leftmost 4 digits
230
00 to 15 Pulse output PV 1, rightmost 4 digits
231
00 to 15 Pulse output PV 1, leftmost 4 digits
252
04
05
AR 11
12
13
14
15
AR 12 12
13
14
15
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)
P
D
Type of Pulse Output (000: Relative pulses; 001: Absolute pulses) (See note.)
Beginning word of setting for number of pulses
N
Number of pulses (Rightmost, leftmost digits)
Rightmost 4 digits
Register the number of pulses to be set.
Leftmost 4 digits
96,777,215 to 16,777,215
Negative numbers are expressed by turning ON
the leftmost bit.
Set Frequency and Start Pulse Outputs
Change Frequency
These functions set the pulse output number, the output mode, and the frequen-
Name
Pulse output 0 PV reset
Pulse output 1 PV reset
Pulse output 0 PV overflow/underflow
Number of pulses set for pulse output 0 ON: Set (by PULS(65))
Pulse output completed for pulse
output 0
Pulse output in progress for pulse
output 0
Pulse output 1 PV overflow/underflow
Number of pulses set for pulse output 1 ON: Set (by PULS(65))
Pulse output completed for pulse
output 1
Pulse output in progress for pulse
output 0
Section
2-5
Contents
Cannot be used as
work bits even when
k bi
h
not used as pulse
not used as pulse
outputs.
outputs.
Clears PV 0 when ON.
Clears PV 1 when ON.
ON: Occurred
OFF: Normal
OFF: Not set
ON: Completed (by
SPED(64))
OFF: Not completed
ON: In progress (by
SPED(64))
OFF: Stopped
ON: Occurred
OFF: Normal
OFF: Not set
ON: Completed (by
SPED(64))
OFF: Not completed
ON: In progress (by
SPED(64))
OFF: Stopped
Need help?
Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?