Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 947

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
Operand Specifications
Description
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. The value of D must be between the following range.
• Pre-Ver. 2.0 CJ1m CPU Units
0% and 100% (1% units, 0000 to 0064 hex)
• Ver. 2.0 CJ1m CPU Units
0.0% and 100.0% (0.1% units, 0000 to 03E8 hex)
Area
CIO Area
---
Work Area
---
Holding Bit Area
---
Auxiliary Bit Area
---
Timer Area
---
Counter Area
---
DM Area
---
EM Area without bank ---
EM Area with bank
---
Indirect DM/EM
---
addresses in binary
Indirect DM/EM
---
addresses in BCD
Constants
See
descrip-
tion of
operand.
Data Registers
---
Index Registers
---
Indirect addressing
---
using Index Registers
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
pulse output to change the duty factor without stopping pulse output. Any
attempts to change the frequency will be ignored.
Pulse 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 pulse output will continue either until INI(880) is executed to stop it (C =
0003 hex: stop pulse output) or until the CPU Unit is switched to PROGRAM
mode.
P
F
CIO 0000 to CIO 6143 CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
---
---
@ D00000 to @
D32767
*D00000 to *D32767
0000 to FFFF hex
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-21
D
W000 to W511
H000 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
---
---
@ D00000 to @
D32767
*D00000 to *D32767
0000 to 0064 hex
DR0 to DR15
---
907

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents