Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 768

Table of Contents

Advertisement

3. Instructions
P: Port specifier
0000 or 0001 hex:
Pulse output
0010 or 0011 hex:
High-speed counter input
0100, 0101, 0102, or 0103 hex:
Interrupt input in counter mode
1000 or 1001 hex:
PWM (891) output
Note CJ1M CPU Units with unit version 3.0 or later only.
Reading a PV (C = 0000 hex)
Port and mode
Pulse output (P = 0000 or 0001 hex)
High-speed counter
Linear Mode
input (P = 0010 or 0011
hex)
Ring Mode
Interrupt inputs in counter mode
(P = 0100, 0101, 0102, or 0103 hex)
732
0003 hex: Pulse output
read high-speed counter
frequency
OK (See note.)
OK
(high-speed counter 0
only)
Not allowed.
Not allowed.
Operation
The present value of the pulse output is stored in
D and D+1.
The present value of the high-speed counter is
stored in D and D+1.
The present value of the interrupt input is stored
in D.
00 3 hex: Read frequency
0013 hex: 10-ms
0013 hex: 100-ms
sampling method
sampling method
Not allowed.
Not allowed.
OK (See note.)
OK (See note.)
(high-speed counter 0
(high-speed counter 0
only)
only)
Not allowed.
Not allowed.
Not allowed.
Not allowed.
8000 0000 to 7FFF FFFF hex
( 2,147,483,648 to 2,147,483,647)
8000 0000 to 7FFF FFFF hex
( 2,147,483,648 to 2,147,483,647)
0000 0000 to FFFF FFFF hex
(0 to 4,294,967,295)
0000 to FFFF hex
(0 to 65,535)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
0013 hex:
1-s sampling method
Not allowed.
OK (See note.)
(high-speed counter 0
only)
Not allowed.
Not allowed.
Setting range

Advertisement

Table of Contents
loading

Table of Contents