120
PULSE WITH VARIABLE DUTY FACTOR: PWM(891)
Section 5-10
The PLC Setup parameters are as follows:
5-10 PULSE WITH VARIABLE DUTY FACTOR: PWM(891)
Purpose
PWM(891) is used to output pulses with the specified duty factor from the
specified port.
This instruction is supported by the CJ1M-CPU21/CPU22/CPU23 CPU Units
only.
Ladder Symbol
Variations
Applicable Program Areas
Operands
P: Port Specifier
The port specifier specifies the port where the pulses will be output.
Note
Pulse output 1 can be used only with the CJ1M-CPU22/23.
F: Frequency
F specifies the frequency of the pulse output between 0.1 and 6,553.5 Hz
(0.1 Hz units, 0001 to FFFF hex). The accuracy of the PMW(891) waveform
that is actually output (ON duty +5%/
−
0%) applies only to 0.1 to 1,000.0 Hz
due to limitations in the output circuits.
D: Duty Factor
D specifies the duty factor of the pulse output, i.e., the percentage of time that
the output is ON. D must be between 0% and 100% (0000 to 0064 hex)
Parameter
Setting
Pulse Output 0 Starting Speed for Origin Search and
Origin Return
0000 0064 hex: 100 pps
Pulse Output 0 Origin Return Target Speed
0000 00C8 hex: 200 pps
Pulse Output 0 Origin Return Acceleration Rate
0032 hex: 50 hex/4 ms
Pulse Output 0 Origin Return Deceleration Rate
0032 hex: 50 hex/4 ms
PWM
P
F
D
P: Port specifier
F: Frequency
D: Duty factor
Variations
Executed Each Cycle for ON Condition
PWM(891)
Executed Once for Upward Differentiation
@PWM(891)
Executed Once for Downward Differentiation
Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
P
Port
0000 hex
Pulse output 0 (duty factor: in increments of 1%)
0001 hex
Pulse output 1 (duty factor: in increments of 1%)
1000 hex
(CJ1M CPU Unit Ver. 2.0 only)
Pulse output 0 (duty factor: in increments of 0.1%)
1001 hex
(CJ1M CPU Unit Ver. 2.0 only)
Pulse output 1 (duty factor: in increments of 0.1%)
Summary of Contents for CJ1M-CPU21
Page 1: ...Cat No W395 E1 03 CJ series Built in I O CJ1M CPU21 22 23 CJ1M CPU Units...
Page 2: ...CJ series Built in I O CJ1M CPU21 22 23 CPU Units Operation Manual Revised August 2004...
Page 3: ...iv...
Page 19: ...xx...
Page 79: ...50 Wiring Examples Section 3 3...
Page 217: ...188 Origin Search and Origin Return Functions Section 6 3...
Page 220: ...191 Built in Outputs Section 7 1...
Page 247: ...218 Built in Outputs Section 7 1...
Page 251: ...222 Combinations of Pulse Control Instructions Appendix A...
Page 255: ...226 Using Pulse Instructions in other CPU Units Appendix B...
Page 263: ...234 Index...
Page 265: ...236 Revision History...