Omron SYSMAC CS Series Instruction & Reference Manual page 688

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
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)
654
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
@DM
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
DR
@EM
*EM
---
---
OK
---
OK
OK
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
OK
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents