9-3
9 PWM Outputs
CJ2M CPU Unit Pulse I/O Module User’s Manual
9-1 PWM Outputs (Variable Duty Ratio Pulse Outputs)
9
9-1-2 Application Procedure
The outputs listed in the following table can be used as PWM outputs. The outputs terminals that are
used for PWM outputs are also used for normal outputs and origin searches. The same output terminal
can be used for only one of these functions.
For example, if PWM output 1 is used, normal output 5 and the error counter reset for pulse output 1
(when performing origin searches) cannot be used.
9-1-2 Application Procedure
1
PWM outputs 0 to 3 use OUT04, OUT05, OUT14, and
OUT15.
2
• Execute a PWM(891) instruction.
• PWM outputs are stopped with the INI(880) instruc-
tion.
Applicable Output Terminals
Terminal
symbol
Word Bit
Function
Other functions that cannot be used at the same time
Pulse outputs
Normal
outputs
PWM
output
CW/CCW
outputs
Pulse +
direction
outputs
Origin search
OUT04 CIO
2961
04 PWM out-
put 0
--- --- Pulse output 0 error counter
reset output (operation
modes 1 and 2)
Normal out-
put 4
OUT05 05 PWM out-
put 1
--- --- Pulse output 1 error counter
reset output (operation
modes 1 and 2)
Normal out-
put 5
OUT14 CIO
2963
04 PWM out-
put 2
--- --- Pulse output 2 error counter
reset output (operation
modes 1 and 2)
Normal out-
put 10
OUT15 05 PWM out-
put 3
--- --- Pulse output 3 error counter
reset output (operation
modes 1 and 2)
Normal out-
put 11
Creating
ladder
program
Cyclic task,
interrupt task
Setting the pulse output port number,
assigning pulse output terminals, and
wiring