21
CJ1-H and CJ1M CPU Unit Features Section 1-3
EXPANDED BLOCK COMPARE (BCMP2(502)) for Comparison Judgements for Up to 256 Ranges
(Upper/Lower Limits) with One Instruction
This instruction determines if a value is within any of up to 256 ranges defined
by upper and lower limits. When used with the GRAY CODE CONVERSION
(GRY(474)) instruction, the same operation as a cam switch can be achieved
by determining if an angle input from an Absolute Encoder is in a comparison
table.
Easier Processing of I/O Devices with Special I/O Instructions
Previously many instructions were required to read or write data for external
input devices such as digital switches and 7-segment displays connected to
Basic I/O Units. Now, I/O processing for these devices can be achieved with a
single instruction. These are sometimes call Combination Instructions.
These instructions are the same as those supported by the C200HX/HG/HE
and CQM1H PLCs, with the exception that more than one of each of these
instructions can be executed in a single user program.
TEN KEY INPUT (TKY(211))
Sequentially reads numbers input from a ten-key connected to an Input Unit.
HEXADECIMAL KEY INPUT (HKY(212))
Sequentially reads numbers input from a hexadecimal keypad connected to
an Input Unit and an Output Unit for a maximum of 8 digits.
DIGITAL SWITCH INPUT (DSW(213))
Reads numbers input from a digital switch or thumbwheel switch connected to
an Input Unit and an Output Unit. Either 4 or 8 digits are read.
MATRIX INPUT (MTR(210))
Sequentially reads 64 input points input from a 8 x 8 matrix connected to an
Input Unit and an Output Unit.
7-SEGMENT DISPLAY OUTPUT (7SEG(214))
Converts 4-digit or 8-digit values to data for a 7-segment display and outputs
the result.
Read/Write CPU Bus Unit Memory Areas with IORD(222)/IOWR(223)
Although INTELLIGENT I/O READ (IORD(222)) and INTELLIGENT I/O
WRITE (IOWR(223)) could previously be used only for Special I/O Units,
these instructions can now be used to read and write data for CPU Bus Units.
Operation Start/End Times
The times that operation is started and ended are automatically stored in
memory in the Auxiliary Area (A515 to A517). This enables easier manage-
ment of the operating times of the PLC System.
1-3-8 Upgrades for CJ1M CPU Unit Ver. 2.0
This section describes the upgrades accompanying Ver. 2.0 of the CJ1M CPU
Units.
Pulse Outputs
S-curve Accelerations/
Decelerations
S-curves can be specified for the acceleration/deceleration rates for Pulse
Output Instructions with accelerations/decelerations (ACC(888), PLS2(883),
and ORG(889)). When there is leeway in the maximum allowable speed, S-
curve accelerations/decelerations will help control shock and vibration by
reducing the initial acceleration rate in comparison with linear acceleration/
deceleration.