Omron CJ - INSTRUCTIONS Reference Manual page 775

Table of Contents

Advertisement

C: Control Data
C
0000 hex
0001 hex
0002 hex
00 3 hex
D: First Destination Word
15
Lower word of PV
D
D+1
Upper word of PV
2-word PV
Pulse output PV, high-speed counter input PV, pulse output frequency,
high-speed counter input frequency, high-speed counter input for
high-speed counter input 0, or range comparison results for 1 to 32
ranges
15
D
1-word PV
Interrupt input PV in counter mode, status, range comparison results
for 8 ranges
Operand Specifications
Word addresses
Area
CIO
WR
HR
P, C
---
---
---
D
OK
OK
OK
Flags
Name
Label
Error Flag
P_ER
Carry Flag
P_CY
(CJ2M CPU Units
Only)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Reads the PV.
Reads status.
Reads range comparison results.
P = 0000 to 0003: Reads the output frequency of pulse output 0 to 3.
C = 0003 hex: Standard operation
P = 0010: Reads the frequency of high-speed counter input 0 (high-speed counter 0 only).
C = 0003 hex: Standard operation
C = 0013 hex: 10-ms sampling method for high frequency (supported only by CJ1M CPU Units with unit version 3.0 or
later or CJ2M CPU Units)
C = 0023 hex: 100-ms sampling method for high frequency (supported only by CJ1M CPU Units with unit version 3.0 or
later or CJ2M CPU Units)
C = 0033 hex: 1-s sampling method for high frequency (supported only by CJ1M CPU Units with unit version 3.0 or
later or CJ2M CPU Units)
0
0
PV
AR
T
C
DM
EM
---
---
---
---
---
OK
OK
OK
OK
OK
• ON if the specified range for P or C is exceeded.
• ON if the combination of P and C is not allowed.
• ON if reading range comparison results is specified even though range comparison is not being executed.
• ON if reading the output frequency is specified for anything except for high-speed counter 0.
• ON if specified for a port not set for a high-speed counter.
• ON if executed for a port not set for an input interrupt in counter mode.
• 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.
• ON if a high-frequency method is specified for reading the frequency of high-speed counter 0 and the data could
not be read dependably within the sampling time because the counter value was reset.
• OFF in all other cases.
PRV(881) function
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
---
OK
OK
---
Operation
3. Instructions
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
OK
3
TR
bits
---
---
737

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF