4
Fea t ur e s Section 1-1
1-1-2 Configuration of the Built-in I/O Functions
Built-in I/O Functions
Built-in Input Functions
Any function can be selected in
the PLC Setup.
General-purpose inputs 2/3, inter-
rupt inputs 2/3, and quick-re-
sponse inputs 2/3 cannot be used
if high-speed counters 0 and 1
are being used with the phase-Z
signal input as the reset signal.
General-purpose Inputs
10 inputs
Allocated bits 00 to 09 of CIO 2960.
Immediate refreshing is supported.
Interrupt Inputs
4 inputs (Interrupt inputs 0 to 3)
Allocated bits 00 to 03 of CIO 2960.
Interrupt Inputs (Direct Mode)
Interrupt tasks 140 to 143 are controlled
by bits 00 to 03 of CIO 2960. The
interrupt tasks can be set to start on the
rising or falling edge of the control bits
(up or down differentiation.)
Response time: 0.3 ms
Interrupt Inputs (Counter Mode)
The incrementing or decrementing counters
in bits 00 to 03 of CIO 2960 are used to
control interrupt tasks 140 to 143.
Response frequency: 1 kHz max.
Built-in Output Functions
Any function can be selected with
the ladder instructions.
General-purpose outputs 4 and 5
and variable duty ratio (PWM) out-
puts 0 and 1 cannot be used if the
origin search function is being
used with pulse outputs 0 and 1.
Origin Functions
High-speed Counters
2 inputs (high-speed counters 0 and 1)
Allocated bits 08, 09, and 03 of CIO 2960.
Allocated bits 06, 07, and 02 of CIO 2960.
• Differential phase pulse inputs: 30 kHz
• Pulse plus direction inputs: 60 kHz
• Up/down pulse inputs: 60 kHz
• Increment pulse inputs: 60 kHz
• Count start/stop (gate function)
• Frequency measurement function (High-
speed counter 0 only)
Quick-response Inputs
4 inputs
Allocated bits 00 to 03 of CIO 2960.
Minimum input signal width: 30 µs
General-purpose Outputs
6 outputs
Allocated bits 00 to 05 of CIO 2961.
Immediate refreshing is supported.
2 outputs (pulse outputs 0 and 1)
Allocated bits 00, 01, 02, and 03 of
CIO 2961.
Select "CW/CCW pulse output" or
"Pulse plus direction output". (The
same method must be used for
pulses 0 and 1.)
• Pulse output without
acceleration/deceleration: 1 Hz to
100 kHz
• Pulse output with trapezoidal
acceleration/deceleration: 1 Hz to
100 kHz
Variable Duty Ratio Pulse
Outputs (PWM Outputs)
2 outputs (CJ1M-CPU22/23)
1 output (CJ1M-CPU21)
Allocated bits 04 and 05 of CIO 2961.
Variable duty ratio pulse outputs
Origin Search
Bits 04 and 05 of CIO 2961 are used as Error Counter Reset
Outputs (modes 1 and 2 only.)
CIO 2960 is used for inputs related to the origin search operation.
•
Bits 00 and 02 of CIO 2960 are used as the Origin Inputs.
•
Bits 01 and 03 of CIO 2960 are used as the Origin Origin Inputs.
•
Bits 04 and 05 of CIO 2960 are used as the Positioning
Completed Inputs (mode 2 only.)
Origin Return
Execute the ORG(889) instruction to
return to the origin from any position.
No Interrupts
High-speed Counter Interrupts
•
Target value comparison interrupt
•
Range comparison interrupt
Note 1: When pulse output 0 or the origin
search function is being used, it is not possible
to use general-purpose inputs 0 and 1,
interrupt inputs 0 and 1, quick-response inputs
0 and 1, or high-speed counter 0.
Note 2: When pulse output 1 or the origin
search function is being used, it is not possible
to use general-purpose inputs 2 and 3,
interrupt inputs 2 and 3, quick-response inputs
2 and 3, or high-speed counters 0 and 1.
• Duty ratio 0% to 100%
CJ1M Pre-Ver. 2.0 CPU Units:
0% to 100% in 1% increments
CJ1M CPU Units version 2.0:
0.0% to 100.0% in 0.1% increments
• Frequency
0.1 Hz to 6,553.5 Hz
Pulse Outputs