
5
CJ1M-CPU2@
Function Specifications
Work Area
8,192 bits (512 words): W00000 to W51115 (W000 to W511)
Controls the programs only. (I/O from external I/O terminals is not possible.)
Note: When using work bits in programming, use the bits in the Work Area first before using bits from other areas.
Holding Area
8,192 bits (512 words): H00000 to H51115 (H000 to H511)
Holding bits are used to control the execution of the program, and maintain their ON/OFF status when the PLC is turned OFF
or theoperating mode is changed.
Note: The Function Block Holding Area words are allocated from H512 to H1535. These words can be used only for the
function block instance area (internally allocated variable area).
Auxiliary Area
Read only: 7,168 bits (448 words): A00000 to A44715 (words A000 to A447)
Read/write: 8,192 bits (512 words): A44800 to A95915 (words A448 to A959)
Auxiliary bits are allocated specific functions.
Temporary Area 16 bits (TR0 to TR15)
Temporary bits are used to temporarily store the ON/OFF execution conditions at program branches.
Timer Area 4,096: T0000 to T4095 (used for timers only)
Counter Area 4,096: C0000 to C4095 (used for counters only)
DM Area
32 Kwords: D00000 to D32767
Used as a general-purpose data area for reading and writing data in word units (16 bits). Words in the DM Area maintain their
status when the PLC is turned OFF or the operating mode is changed.
Internal Special I/O Unit DM Area: D20000 to D29599 (100 words × 96 Units)
Used to set parameters for Special I/O Units.
CPU Bus Unit DM Area: D30000 to D31599 (100 words × 16 Units)
Used to set parameters for CPU Bus Units.
EM Area None
Index Registers
IR0 to IR15
Store PLC memory addresses for indirect addressing. Index registers can be used independently in each task. One register is
32 bits (2words).
Setting to use index registers either independently in each task or to share them between tasks.
Task Flag Area
32 (TK0000 to TK0031)
Task Flags are read-only flags that are ON when the corresponding cyclic task is executable and OFF when the corresponding
task is not executable or in standby status.
Trace Memory 4,000 words (trace data: 31 bits, 6 words)
File Memory Memory Cards: Compact flash memory cards can be used (MS-DOS format).
OMRON Memory Cards can be used.
Item Specifications
Constant cycle time 1 to 32,000 ms (Unit: 1 ms)
Cycle time monitoring Possible (Unit stops operating if the cycle is too long): 10 to 40,000 ms (Unit: 10 ms)
I/O refreshing
Cyclic refreshing, immediate refreshing, refreshing by IORF(097).
IORF(097) refreshes I/O bits allocated to Basic I/O Units and Special I/O Units.
The CPU BUS UNIT I/O REFRESH (DLNK(226)) instruction can be used to refresh bits allocated to CPU Bus Units in the CIO
and DM Areas whenever required.
Timing of special refreshing for
CPU Bus Units
Data links for Controller Link Units and SYSMAC LINK Units, remote I/O for DeviceNet Units, and other special refreshing for
CPU Bus Units is performed at the following times:
I/O refresh period and when the CPU BUS UNIT I/O REFRESH (DLNK(226)) instruction is executed.
I/O memory holding when
changing operating modes Depends on the ON/OFF status of the IOM Hold Bit in the Auxiliary Area.
Load OFF All outputs on Output Units can be turned OFF when the CPU Unit is operating in RUN, MONITOR, or PROGRAM mode.
Timer/Counter PV refresh
method BCD or binary (CX-Programmer Ver. 3.0 or higher).
Input response time setting Time constants can be set for inputs from Basic I/O Units. The time constant can be increased to reduce the influence of noise
and chattering or it can be decreased to detect shorter pulses on the inputs.
Mode setting at power-up Possible (By default, the CPU Unit will start in RUN mode if a Programming Console is not connected.)
Flash memory
The user program and parameter area data (e.g., PLC Setup) are always backed up automatically in flash memory. (automatic
backup and restore.)
• CPU Units with unit version 3.0 or later only:
When downloading projects from CX-Programmer Ver. 5.0 or higher, symbol table files (including CX-Programmer symbol names,
I/O comments), comment files (CX-Programmer rung comments, other comments), and program index files (CX-Programmer
section names, section comments, or program comments) are stored in comment memory within the flash memory.
Memory Card functions
Automatically reading programs (autoboot) from the Memory
Card when the power is turned ON. Possible
Program replacement during PLC operation Possible
Format in which data is stored in Memory Card
User program: Program file format
PLC Setup and other parameters: Data file format
I/O memory: Data file format (binary format), text format, or
CSV format
Functions for which Memory Card read/write is supported User program instructions, Programming Devices (including
CX-Programmer and Programming Consoles), Host Link
computers, AR Area control bits, easy backup operation
Filing Memory Card data and the EM (Extended Data Memory) Area can be handled as files.
Debugging Control set/reset, differential monitoring, data tracing (scheduled, each cycle, or when instruction is executed), instruction error
tracing, storing location generating error when a program error occurs.
Item Specifications