The text of a manual · part 7 of 48
SYSMAC CJ Series CJ2H-CPU6_-EIP, CJ2H-CPU6_, CJ2M-CPU_ CJ2 CPU Unit Hardware User's Manual: Section 1 Overview, pages 43 to 52
Pages 43 to 52 of 422, from SYSMAC CJ Series CJ2H-CPU6_-EIP, CJ2H-CPU6_, CJ2M-CPU_ CJ2 CPU Unit Hardware User's Manual
The original document is the PDF (14 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Omron C200H-OD21A, Omron CQM1-ID211, Omron CQM1-ID213, Omron CQM1-OD211 and Omron CQM1-OD213
Page 43
1
Overview This section provides an overview of the CJ2 CPU Units.
1-1 Overview of CJ2 CPU Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1-1-1 1-1-2
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 CJ2 CPU Unit Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
1-2 Basic Operating Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12 1-3 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13 1-3-1 1-3-2 1-3-3
CJ2 CPU Unit Hardware User’s Manual
General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14 Function Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21
1-1
Page 44
1 Overview
1-1
Overview of CJ2 CPU Units
1-1-1
Overview The SYSMAC CJ2-series CPU Units are multi-functional CPU Units that provide the following features.
z Fast, with Large Memory Capacity Basic performance is faster and memory capacity has been increased to provide ample capability for machine control.
z Built-in EtherNet/IP Port (CJ2H-CPU6@-EIP and CJ2M-CPU3@ Only) The CJ2 CPU Units support the EtherNet/IP open network as a standard feature. Universal Ethernet communications, such as data links between PLCs, message communications between PLCs, and FTP transfers, are all possible from a peripheral device connection.
z General-purpose Networks for Support Software Interface Support Software and devices can be easily connected using commercially available cable to general-purpose networks via USB and EtherNet/IP ports. (The EtherNet/IP port is provided only on the CJ2H-CPU6@-EIP and CJ2M-CPU3@.)
z Tag Access (CJ2H-CPU6@-EIP and CJ2M-CPU3@ Only) CJ2 CPU Units have a tag name server to manage tag names and I/O addresses. This enables access from external devices using tag names, without needing to know the I/O addresses.
z Synchronous Unit Operation (CJ2H CPU Unit with Unit Version 1.1 or Later) The timing of processing performed by CPU Bus Units and Special I/O Units can be synchronized. This minimizes fluctuations in timing from input and processing to outputs, making it easier to ensure application performance.
z Easier Programming CJ2 CPU Units offer a highly readable programming environment, including features such as addressing DM and EM Area bits, setting address offsets, and using array variables.
z Improved Debugging Online editing and data tracing have been improved, greatly increasing the efficiency of debugging.
z Increased Pulse I/O Capacity (CJ2M CPU Unit with Unit Version 2.0 or Later) With the CJ2M CPU Units, optional Pulse I/O Modules can be mounted to enable pulse I/O for up to four axes.
z More Serial Communications Ports (CJ2M-CPU3@ Only) With the standard CJ2M CPU Unit (CJ2M-CPU3@) you can add an RS-232C or RS-422A/485 Option Board to the standard-feature EtherNet/IP port to increase the number of serial communications ports.
1-2
CJ2 CPU Unit Hardware User’s Manual
Page 45
1 Overview 1-1 Overview of CJ2 CPU Units
CJ2H CPU Units Tag access
Easier programming
Faster, with greater capacity
Improved debugging
Synchronous unit operation (CJ2H CPU Unit with Unit Version 1.1 or Later)
1 1-1-1 Overview
General-purpose networks for Support Software interface
Built-in EtherNet/IP port (CJ2H-CPU6@-EIP)
CJ2M CPU Units Standard CPU Unit (CJ2M-CPU3@)
Tag access
Simple CPU Unit (CJ2M-CPU1@)
Easier programming
Easier programming
Improved debugging
Expandable pulse I/O
General-purpose networks for Support Software interface
Built-in EtherNet/IP port General-purpose networks for Support Software interface Optional serial communications ports Expandable pulse I/O
RS-232C
CJ2 CPU Unit Hardware User’s Manual
RS-422A/485
1-3
Page 46
1 Overview
1-1-2
CJ2 CPU Unit Features
Fast, with Large Memory Capacity z High-speed Processing High-speed processing is possible for basic instructions (0.016 µs min. for CJ2H and 0.04 µs min. for CJ2M), special instructions (0.05 µs min. for CJ2H and 0.06 µs min. for CJ2M), and immediate refreshing (0.99 µs min. for CJ2H and 1.26 µs min. for CJ2M).
z Large Program Capacity The CJ2 CPU Units provide a large program capacity of up to 400 Ksteps.
z Special Function Block Definition Area (CJ2M Only) With a CJ2M CPU Unit, a special area called the FB Program Area is provided to store function block definitions. (The FB Program Area holds 20K steps.) This allows you to use function blocks to make program components and structures from previous programs while reducing the usage of the User Program Area. And any function block definitions that would exceed the FB Program Area are stored in the User Program Area.
z Large Data Memory Capacity The CJ2 CPU Units provide a large EM Area capacity of up to 800 Kwords (25 banks).
z Up to 128 Cyclic Tasks The user program can be divided into up to 128 tasks. Using smaller task programs makes it easier to structure programs and contributes to shorter cycle times.
z Enhanced Performance for Executing Interrupt Tasks (CJ2H CPU Units with Unit Version 1.1 or Later) With CJ2H CPU Units with unit version 1.1, overhead time for interrupt tasks is approximately 20% less than for unit version 1.0 even for normal usage. Also, by using High-speed interrupt function, it is possible to improve execution performance as shown below with certain restrictions. • Greatly reduce overhead time for interrupt tasks (interrupt task startup time + return time to cyclic tasks). Example: For I/O interrupt tasks, the time for normal operation is 37 µs but the time is 25 µs if High-speed interrupt function is used. • Minimum interval setting of 0.1 ms for one of Scheduled Interrupt Tasks (For unit version 1.0, the minimum interval is 0.2 ms.)
1-4
CJ2 CPU Unit Hardware User’s Manual
Page 47
1 Overview
The CJ2 CPU Units provide as standard equipment a built-in EtherNet/IP port that supports the same FINS Ethernet functions as an Ethernet Unit (including features such as an FTP server and time coordination) as well as the EtherNet/IP open network.
z High-speed, High-capacity Data Links with User-set Refresh Cycles The CJ2 CPU Units provide high-speed, high-capacity data links, and refresh cycles can be set individually for each data link area.
CJ2 CPU Unit
CJ2 CPU Unit
High speed High capacity
The refresh cycle can be set individually for each area.
In addition, using the EtherNet/IP DataLink Tool makes it possible to set the data links using an interface similar to that of the Controller Link automatic data link setup.
General-purpose Networks for Support Software Interface z Built-in USB and EtherNet/IP Ports A commercially available USB cable can be used to connect to the PLC directly from a USB port on a personal computer. In addition, with the CJ2H-CPU6@-EIP or CJ2M-CPU3@, a PLC on the EtherNet/IP network can be accessed via USB.
z Prevent Connecting to the Wrong PLC by Using PLC Names from Support Software A user-set PLC name can be recorded in a CJ2 CPU Unit. When using Support Software to connect online to a PLC, verification of the PLC name prevents incorrect connections from the Support Software.
CJ2 CPU Unit Hardware User’s Manual
1 1-1-2 CJ2 CPU Unit Features
EtherNet/IP
1-1 Overview of CJ2 CPU Units
Built-in EtherNet/IP Port (CJ2H-CPU6@-EIP and CJ2M-CPU3@ Only)
1-5
Page 48
1 Overview
Tag Access (CJ2H-CPU6@-EIP and CJ2M-CPU3@ Only) z Network Symbols (Tags) for Flexible Support of Program Changes The CJ2 CPU Units support network symbols (tags). They have an internal tag name server that enables them to store tag names and addresses in advance in symbol tables in the CPU Units. Tags enable the following features.
Data links can be set using tags. With data links on an EtherNet/IP network, send and receive areas can be specified using symbols rather than addresses. This enables flexible support for design changes by allowing the data link areas set by tags to remain unchanged, while simply changing the symbol tables that contain the tag names and addresses. Data links enabled by names Examples: Inputs from a to b Inputs from c to d EtherNet/IP CJ2 CPU Unit
CJ2 CPU Unit
Access from host devices is enabled using tags. Tags can be used for access from host devices, such as touch panel NS-series Programmable Terminals. This makes the creation of host screens and programs at devices such as PTs much more convenient. Touch Panel Access is possible using tags. NS-series PT Examples: Writing to a Reading from b
Host application, such as SCADA
Middleware Supporting EtherNet/IP
EtherNet/IP CJ2 CPU Unit
CJ2 CPU Unit
Automatic tag allocation makes it unnecessary to know the addresses. Automatic allocation of tags in the high-capacity EM Area, using automatic address allocation in CXProgrammer symbol tables, enables data link design and access from host devices without having to pay attention to addresses. EtherNet/IP
CJ2 CPU Unit
SYSMAC CJ2H CPU64-EIP
RUN ERR/AL M
PROGRAMMABLE CONTROLLER
INH PRPHL COMM BKUP
OPEN
Specified by tag a.
MCPWR BUSY
MS NS COMM 100M 10M
Tags are allocated in a high-capacity area.
PERIPHERAL
PORT
1-6
Designing is performed by using only tags, with no need to pay attention to addresses.
CJ2 CPU Unit Hardware User’s Manual
Page 49
1 Overview z A CJ2 CPU Unit can synchronize the start of the processing performed by CPU Bus Units and Special I/O Units to a specified cycle. Synchronous data refreshing can be used between the CJ2H CPU Unit and Synchronous Units,* and the refreshed data can be used in operations in a synchronous interrupt task. This enables multiaxis control with minimal fluctuations in the timing from inputs and processing to outputs. This provides support for motion applications that require precise timing, such as electronic cam control. * Synchronous Units are CPU Bus Units and Special I/O Units that support the synchronous unit operation function. The following Synchronous Units are available as of July 2010: CJ1W-NC214/234/414/434 Position Control Units.
CJ2H CPU Units (with unit version 1.1 or later)
Synchronous Units Example: Position Control Units
Example: Electronic cam control
Synchronous data refreshing
Motor drive Servomotor
Several servomotors are controlled synchronously based on the operation of the encoder.
Easier Programming z Address offsets can be specified. When an address is specified for an instruction operand, an offset can be specified in brackets after the address to offset it. For example, by setting a word address in brackets to specify the offset, the address can be dynamically specified according to the contents of that word. Example W0.00[D0]: W0.00 is the starting address and the contents of D0 is the offset. If D0 is &3, then W0.03 is specified.
z Symbols can be specified for array variable subscripts. By specifying symbols for array variable subscripts, elements can be dynamically specified according to the values of the symbols. Example a[b]: The value of symbol b specifies the element for array variable a[ ].
CJ2 CPU Unit Hardware User’s Manual
1-7
1-1 Overview of CJ2 CPU Units
Synchronous Unit Operation (CJ2H CPU Units with Unit Version 1.1 or Later)
1
Page 50
1 Overview z Create and Use Data Structures With CX-Programmer version 9.0 or higher, data structures can be created and used. This enables easily using I/O memory in the CPU Unit as a database or for library data.
z Bit addresses can be used in the DM Area and EM Area. Previously the DM Area and the EM Area could be addressed only by words, and bit addresses could not be specified. The work area for bits can now be expanded by enabling bit addresses in the DM and EM Areas. For example, D10.00 specifies bit 00 of D10.
z The format for timer/counter PV refreshing can be selected individually for each instruction. Either BCD or binary can be selected individually for each instruction as the format for timer/counter PV refreshing. For example, the TIM (BCD) and TIMX (binary) instructions can be used together.
z The optimum languages can be combined for structured programming. Ladder diagrams, ST, and SFC languages can be freely combined in the user program. Being able to use the optimum languages for a particular process helps reduce the time involved in programming. User program Ladder diagram Control of equipment and external devices
Task
Task a := a + 1;
The programming language suited to the process can be used.
ST Math processing
Task
Task
SFC Step progression control
In addition, ladder diagrams and ST language can be freely used for function blocks (FBs) in ladder diagrams and ST programs, and for transition and action programs in SFC. This feature makes it possible to optimize structured programming. Ladder diagram FB in ladder diagram
FB in ST program FB_(A:=B,C=>D);
ST
The programming language suited to the process can be used.
a := a + 1;
Transition and action programs in SFC
1-8
CJ2 CPU Unit Hardware User’s Manual
Page 51
1 Overview z Reduced Effect on Cycle Time from Online Editing The additional cycle time due to online editing has been reduced to approx. 1 ms, minimizing the effects on equipment operation during debugging.
z Fast, High-capacity Data Tracing Up to 32 Kwords of data can be traced (8 times more than previously), with ample trigger conditions, and data can be traced continuously for long periods of time.
With CX-Programmer version 9.12 or higher, data to be traced can be easily selected from lists.
z Force-set/Reset Bits in Specified EM Area Banks With CX-Programmer version 8.3 or higher, a parameter can be set to enable force-setting/resetting bits in specified EM Area banks. (This function is supported only by CJ2H CPU Units with unit version 1.2 or later and CJ2M CPU Units.)
CJ2 CPU Unit Hardware User’s Manual
1-9
1 1-1-2 CJ2 CPU Unit Features z I/O Module Auxiliary Area Selection with CX-Programmer 9.12 or Higher (CJ2M CPU Units Only)
1-1 Overview of CJ2 CPU Units
Improved Debugging
Page 52
1 Overview
Add a Serial Option Board (CJ2M-CPU3@ Only) With the CJ2M-CPU3@, one Serial Communications Option Board with one RS-232C port or one RS422A/485 port can be added. With the serial port, it is easy to connect to general components, such as barcode readers, and other components such as PTs, other CJ/CP-series PLCs, and Inverters. Example: NS-series PT Serial Option Boards CP1W-CIF01
CJ2M-CPU3@
CP1W-CIF12 COMM
COMM
CP1W-CIF11 COMM
RDA- RDB+ SDA- SDB+ FG
RDA- RDB+ SDA- SDB+ FG
RS-232C NT Link or other protocol
RS-232C COMM
RS-422A/485 port (not RS-422A/485 port (isolated, max. transmis- isolated, max. transmission distance: 50 m) sion distance: 500 m)
EtherNet/IP
RS-232C
Barcode reader or other general-purpose component Or RS-422A/485 Example: Serial PLC Links
CJ2M, CP1E, CP1L or CJ1M
1-10
CJ2 CPU Unit Hardware User’s Manual