EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #816 background image
3. Instructions
778
CS/CJ/NSJ Series Instructions Reference Manual (W474)
D: Duty factor
z Operand Specifications
Flags
Function
PWM(891) outputs the frequency specified in F at the duty factor specified in D from the port specified
in P.
PWM(891) can be executed during duty-factor PWM output to change the duty factor without stopping
PWM output. Any attempts to change the frequency will be ignored. PWM output is started each time
PWM(891) is executed. It is thus normally sufficient to use the differentiated version (@PWM(891)) of
the instruction or an execution condition that is turned ON only for one scan.
The PWM output will continue until stopped using one of the following occurs:
(1) INI(880) is executed to stop it (C = 0003 hex: stop PWM output).
(2) The CPU Unit is switched to PROGRAM mode.
Numeric unit Setting range
Setting support
CJ1M-CPU2@
(pre-version 2.0)
CJ1M-CPU2@ with unit
version 2.0 or later or
CJ2M + MD21@
1% 0% to 100%
0 to 100 (0000 to 0064 hex)
OK OK
0.1% 0.0% to 100.0%
0 to 1,000 (0000 to 03E8 hex)
Not allowed. OK
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
P --- --- --- --- --- --- --- --- --- ---
OK
---
---
---
--- --- --- ---
F, D OKOKOKOKOKOKOKOK OK OK OK OK
Name Label Operation
Error Flag P_ER • ON if the specified range for P, F, or D is exceeded.
• ON if the origin search function is assigned to the PWM output terminal in the PLC Setup.
• ON if PWM(891) is executed in an interrupt task for the same port number when PWM(891) is already being exe-
cuted.
• For a CJ2M CPU Unit, ON for any function that uses I/O on the Pulse I/O Module even if a Pulse I/O Module is not
mounted.
• OFF in all other cases.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals