Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 792

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

PWM
Instruction
PULSE WITH VARIABLE
DUTY FACTOR
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
P
Port specifier
F
Frequency
D
Duty factor
P: Port Specifier
P
0000 hex
PWM output 0 (duty factor: in increments of 1%)
0001 hex
PWM output 1 (duty factor: in increments of 1%)
• CJ1M CPU Unit Ver. 2.0 or later only
P
1000 hex
PWM output 0 (duty factor: in increments of 1%)
1001 hex
PWM output 1 (duty factor: in increments of 1%)
Note On the CJ1M-CPU21, only PWM output 0 can be used.
F: Frequency
F specifies the frequency of the PWM 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
• Ver. 2.0 CJ1M CPU Units
0.0% and 100.0% (0.1% units, 0000 to 03E8 hex)
• Pre-Ver. 2.0 CJ1M CPU Units
0% and 100% (1% units, 0000 to 0064 hex)
D specifies the duty factor of the PWM output, i.e., the percentage of time that the output is ON.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
PWM
@PWM
Block program areas
Step program areas
OK
OK
Description
Function
code
PWM(891) is used to output pulses with the speci-
891
fied duty factor from the specified port.
PWM
PWM
P: Port specifier
P
F: Frequency
F
D
D: Duty factor
Subroutines
Interrupt tasks
OK
OK
Data type
Port
Port
3. Instructions
Function
SFC action or transition
programs
OK
Size
---
1
---
1
---
1
755
3

Advertisement

Table of Contents
loading

Table of Contents