Datasheet

7
CJ1M-CPU2@
I/O Specifications of CJ1M CPU Units (CJ1M-CPU21/22/23)
CJ1M-CPU2@ CPU Units have 10 built-in inputs and 6 built-in outputs.
The 10 inputs can be used as general-purpose inputs, interrupt inputs, quick-response inputs, high-speed counters, or origin search origin input
signals.
The 6 outputs can be used as general-purpose outputs, pulse outputs, or origin search deviation counter reset outputs.
Data Area Allocations for Built-in I/O
Note: CJ1M-CPU21 CPU Units have one PWM output only and do not have PWM output 1.
Built-in Input Specifications
Interrupt Inputs and Quick-response Inputs
High-speed Counter Inputs
I/O Code IN 0 IN 1 IN 2 IN 3 IN 4 IN 5 IN 6 IN 7 IN 8 IN 9 OUT 0 OUT 1 OUT 2 OUT 3 OUT 4 OUT 5
Address 2960 2961
Bit 0123456789012345
Inputs
General
purpose
inputs
General
purpose
input 0
General
purpose
input 1
General
purpose
input 2
General
purpose
input 3
General
purpose
input 4
General
purpose
input 5
General
purpose
input 6
General
purpose
input 7
General
purpose
input 8
General
purpose
input 9
−−−−−−
Interrupt
inputs
Interrupt
input 0
Interrupt
input 1
Interrupt
input 2
Interrupt
input 3
−−−−−−
Quick
response
inputs
Quick
response
input 0
Quick
response
input 1
Quick
response
input 2
Quick
response
input 3
−−−−−−
Highspeed
counters
−−
High-
speed
counter 1
(phase- Z/
reset)
High-
speed
counter 0
(phase- Z/
reset)
−−
High-
speed
counter 1
(phase-
A, incre-
ment, or
count in-
put)
High-
speed
counter 1
(phase-
B, decre-
ment, or
direction
input)
High-
speed
counter 0
(phase-
A, incre-
ment, or
count in-
put)
High-
speed
counter 0
(phase-
B, decre-
ment, or
direction
input)
−−−−−−
Outputs
General-
purpose
outputs
−−−−
General-
purpose
output 0
General-
purpose
output 1
General-
purpose
output 2
General-
purpose
output 3
General-
purpose
output 4
General-
purpose
output 5
Pulse outputs
CW/
CCW
outputs
−−−−
Pulse
output 0
(CW)
Pulse
output 0
(CCW)
Pulse
output 1
(CW)
Pulse
output 1
(CCW)
−−
Pulse +
direction
outputs
−−−−
Pulse
output 0
pulse)
Pulse
output 1
(pulse)
Pulse
output 0
(direc-
tion)
Pulse
output 1
(direc-
tion)
−−
Variable
duty
ratio
outputs
−−−−
PWM
(891)
output 0
PWM
(891)
output 1
Origin search
Origin
search 0
(Origin
Input
Signal)
Origin
search 0
(Origin
Proximity
Input
Signal)
Origin
search 1
(Origin
Input
Signal)
Origin
search 1
(Origin
Proximity
Input
Signal)
Origin
search 0
(Posi-
tioning
Com-
pleted
Signal)
Origin
search 1
(Posi-
tioning
Com-
pleted
Signal)
−−−−
Origin
search
0 (Error
Counter
Reset
Output)
Origin
search
1 (Error
Counter
Reset
Output)
Item Specifications
No. of interrupt inputs/
quick-response inputs
4 total
Input
interrupts
Direct (Input
Interrupt)
Mode
Execution of an interrupt task is started at the interrupt input's rising or falling edge. Interrupt numbers 140 to 143 are used (fixed).
Response time from meeting input condition to start of interrupt task execution: 93 μs min.
High-speed
Counter
Mode
Rising or falling edges of the interrupt are counted using either an incrementing or decrementing counter, and an interrupt task is
started when the input count reaches the set value. Interrupt numbers 140 to 143 are used (fixed).
I/O response frequency: 1 kHz
Quick-response inputs
Signals that are shorted than the cycle time (30 μs min.) can be read and treated the same as signals that are one for more than one
cycle time.
Item Specifications
Number of high-speed
counters
2 (High-speed counters 0 and 1)
Pulse input mode (Selected
in PLC Setup)
Differential phase inputs
(phase-A, phase-B, and phase-
Z input)
Up/down inputs (up inputs,
down inputs, reset inputs)
Pulse + direction inputs (pulse
inputs, direction inputs, reset
inputs)
Increment inputs (increment
inputs, reset inputs)
Response
frequency
Line-driver
inputs
50 kHz 100 kHz 100 kHz 100 kHz
24-V DC inputs 30 kHz 60 kHz 60 kHz 60 kHz
Counting mode Linear mode or Ring mode (Select in the PLC Setup.)