2-5
Section
CPM2A/CPM2C Pulse Output Functions
99
•
Instructions:
PULS(65) and SPED(64)
•
With PULS(65), the number of pulses is set for each point (in independent
mode only).
•
With SPED(64), the output mode and target frequency are set for each
point, and pulses are output.
Instruction execution: PULS(65) + SPED(64) (Independent mode)
Number of set pulses
The output is stopped automatically when the set number of pulses has been output.
Instruction execution: SPED(64) (Continuous mode)
Independent mode
Continuous mode
Pulses continue to be output at the set frequency until stopped by the instruction.
Variable Duty Ratio Pulse Outputs
•
Duty ratio:
0% to 100% (Set in units of 1%.)
•
Frequency:
0.1 to 999.9 Hz (Set in units of 0.1 Hz.)
•
Output destination:
Output number 01000 (Word 010, bit 00)
Output number 01001 (Word 010, bit 01)
(Pulses can be output simultaneously and indepen-
dently from two points.)
•
Output mode:
Continuous
•
Instruction:
PWM(––)
With PWM(––), pulses are output with a variable duty ratio.
Instruction execution: PWM(––)
Pulses are output at the set frequency until stopped.
Duty ratio (D) =
t
on
T
t
on
Single-phase Pulse Outputs With Trapezoidal Acceleration/Deceleration
•
Frequency:
10 Hz to 10 kHz (Set in units of 10 Hz.)
•
Acceleration/deceleration rate: 10 Hz/10 ms to 10 kHz/10 ms (Set in units of
10 Hz.)
Pulse + Direction Outputs
•
For CW Output:
Output number 01001 (Word 010, bit 01) turned OFF.
Pulses output from output number 01000 (Word 010, bit 00).
•
For CCW Output:
Output number 01001 (Word 010, bit 01) turned ON.
Pulses output from output number 01000 (Word 010, bit 00).
01000
Pulse outputs
01001
Direction outputs (OFF: CW operation; ON: CCW operation)