The text of a manual · part 9 of 48
SYSMAC CJ Series CJ2H-CPU6_-EIP, CJ2H-CPU6_, CJ2M-CPU_ CJ2 CPU Unit Hardware User's Manual: Section 1 Overview, pages 63 to 70
Pages 63 to 70 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 63
1 Overview
Function Specifications Functions
Cycle Time Management
Description
Minimum Cycle Time
A minimum cycle time can be set. (0.2 to 32,000 ms; Unit: 0.1 ms) The minimum cycle time setting can be changed in MONITOR mode*1
Cycle Time Monitoring
The cycle time is monitored. (0.01 to 40,000 ms; Unit: 0.01 ms)
Background Processing
Instructions with long execution times can be executed over multiple cycles to prevent fluctuations in the cycle time. Cyclic Refreshing
Cyclic refreshing of Basic I/O Units, Special I/O Units, and CPU Bus Units
Immediate Refreshing
I/O refreshing by immediate refreshing instructions
Refreshing by IORF
I/O refreshing by IORF instruction
1
Basic I/O Units, Special I/O Units, and CPU Bus Units
I/O Refreshing
Unit Recognition at Startup
The number of units recognized when the power is turned ON is displayed.
Basic I/O Units
Input Response Time Setting
The input response times can be set for Basic I/O Units. The response time can be increased to reduce the effects of chattering and noise at input contacts. The response time can be decreased to enable detecting shorter input pulses.
Load OFF Function
All of the outputs on Basic I/O Units can be turned OFF when an error occurs in RUN or MONITOR mode.
Basic I/O Unit Status Monitoring
Alarm information can be read from Basic I/O Units and the number of Units recognized can be read.
Reading/writing data using instructions for specific Units*1
Special instructions can be used to read/write required data for specific Units at high speed.
Unit Restart Bits to Restart Units
A Special I/O Unit or CPU Bus Unit can be restarted.
Synchronous Unit Operation*2
The start of processing for all the specified Units can be synchronized at a fixed interval.
Special I/O Units and CPU Bus Units
Maximum number of Units: 10 Units (Only Units that support Synchronous Operation Mode can be used.) Synchronous operation cycle: 0.5 to 10 ms (default: 2 ms) Maximum number of words for synchronous data refreshing: 96 words (total of all Units)
Configuration Management
Automatic I/O Allocation at Startup
I/O words can be automatically allocated to the Basic I/O Units that are connected in the PLC to start operation automatically without registering Units into I/O tables.
I/O Table Creation
The current unit configuration can be registered in I/O tables to prevent it from being changed, to reserve words, and to set words.
Rack/Slot First Word Settings
The first words allocated to a Units on the Racks can be set.
*1 Supported only by CJ2H CPU Units with unit version 1.1 or later and CJ2M CPU Units. *2 Supported only by CJ2H CPU Units with unit version 1.1 or later.
CJ2 CPU Unit Hardware User’s Manual
1-21
1-3-3 Function Specifications
Unit (I/O) Management
1-3 Specifications
1-3-3
Page 64
1 Overview
Functions Pulse I/O Functions*3
Pulse Input Functions
Pulse Output Functions
Memory Management
Memory Cards
Description
Normal Inputs
Input signals are read during I/O refreshing and stored in I/O memory.
Interrupt Inputs
An interrupt task can be started when an input signal turns ON or turns OFF.
Quick-response Inputs
Input signals that are shorter than the cycle time are read and stored in I/O memory.
High-speed Counter Inputs
High-speed pulse signals are counted. Interrupt tasks can also be started.
Normal Outputs
The status of I/O memory is output during I/O refreshing.
Pulse Outputs
A pulse signal is output with the specified frequency and number of pulses at a fixed duty ratio (50%).
PWM Outputs
A pulse signal is output at the specified duty ratio.
Origin Searches
The origin point of the machine is determined according to the specified origin search parameters while actually outputting pulses and using the origin and origin proximity input signals as conditions. (Pulse inputs and outputs are also used for this function.)
Holding I/O Memory when Changing Operating Modes
The status of I/O memory can be held when the operating mode is changed or power is turned ON. The forced-set/reset status can be held when the operating mode is changed or power is turned ON.
File Memory
Files (such as program files, data files, and symbol table files) can be stored in Memory Card, EM File Memory, or Comment Memory.
Built-in Flash Memory
The user program and Parameter Area can be backed up to an internal flash memory when they are transferred to the CPU Unit.
EM File Function
Parts of the EM Area can be treated as file memory.
Storing Comments
I/O comments can be stored as symbol table files in a Memory Card, EM file memory, or comment memory.
EM Configuration
EM Area can be set as trace memory or EM file memory.
Automatic File Transfer at Startup
A program file and parameter files can be read from a Memory Card when the power is turned ON.
Program Replacement during PLC Operation
User programs can be transferred from a Memory Card to CPU Unit during operation.
Function for Reading and Writing Data from a Memory Card
Data in I/O memory in the CPU Unit can be written to a Memory Card in CSV/TXT format. Data in CSV/TXT format in the Memory Card can be read to I/O memory in the CPU Unit.
*3 Supported only by CJ2M CPU Unit with unit version 2.0 or later. A Pulse I/O Module must be mounted.
1-22
CJ2 CPU Unit Hardware User’s Manual
Page 65
1 Overview
Communications Peripheral (USB) Port
Description ---
Peripheral Bus
Bus for communications with various kinds of Support Software running on a personal computer. High-speed communications are supported. ---
Serial Port*4
Host Link commands or FINS commands placed between Host Link headers and terminators can be sent from a host computer or PT to read/write I/O memory, read/control the operating mode, and perform other operations for PLC.
No-protocol Communications
I/O instructions for communications ports (such as TXD/RXD instructions) can be used for data transfer with peripheral devices such as bar code readers and printers.
NT Link Communications
I/O memory in the PLC can be allocated and directly linked to various PT functions, including status control areas, status notification areas, touch switches, lamps, memory tables, and other objects.
Peripheral Bus
Bus for communications with various kinds of Support Software running on a personal computer. High-speed communications are supported.
Serial Gateway
This gateway enables receiving and automatically converting FINS to the CompoWay/F.
Serial PLC Links*5
Data is exchanged between CPU Units using serial ports without communications programming. PTs set to the 1:N NT Link protocol can be included in the network. 100Base-TX/10Base-T Protocols: TCP/IP, UDP, ARP, ICMP (ping only), BOOTP
EtherNet/IP Port*6
Applications: FINS, CIP, SNTP, DNS (Client), FTP (Server) CIP Communications Service
Tag Data Links
Programless cyclic data exchanges with the devices on the EtherNet/IP network.
Message Communications
Any CIP commands can be received from the devices on the EtherNet/IP network.
FINS Communications Service
Message Communications
Any FINS commands can be transferred with the devices on the EtherNet/IP network.
*4 A Serial Option Board is required to use a serial port for the CJ2M-CPU3@ CPU Unit. *5 A Serial Option Board is required to use the CJ2M-CPU3@ CPU Unit in Serial PLC Links. *6 Supported only by CJ2H-CPU6@-EIP and CJ2M-CPU3@.
CJ2 CPU Unit Hardware User’s Manual
1-23
1 1-3-3 Function Specifications
Host Link (SYSWAY) Communications
1-3 Specifications
Function
Page 66
1 Overview
Function Interrupt
Scheduled Interrupts
Description A task is executed at a specified interval.
Resetting and restarting with MSKS(690)*7
When MSKS(690) is executed, the internal timer is restarted and the time to first interrupt is set to a fixed value.
Reading present value of internal timer with MSKS(690)*7
MSKS(690) can be used to read the time that has elapsed until the scheduled interrupt is started or since the previous scheduled interrupt.
Power OFF Interrupts
A task can be executed when CPU Unit's power turns OFF.
I/O Interrupts
A task can be executed when an input signal is input to an Interrupt Input Unit.
External Interrupts
A task can be executed when interrupts are requested from a Special I/O Unit or a CPU Bus Unit.
Input Interrupt Function*8
A task is started for an interrupt input from a Pulse I/O Module or for a highspeed counter input.
Input Interrupts
Interrupt tasks are executed when the interrupt input turns ON or turns OFF. Direct Mode: An interrupt task is executed each time an input signal changes. Counter Mode: Changes in the input signal are counted up or down and the interrupt task is executed when the counter counts out. (The maximum response frequency is 3 kHz.)
High-speed Counter Interrupts
An interrupt task is executed when preset comparison conditions for a highspeed counter are met. Target-value comparison: The interrupt task is executed when the count matches a specified value. Range comparison: The interrupt task is executed when the count enters or leaves a specified range of values.
High-speed Interrupt Function*9 Clock
Clock Function
Improves performance for executing interrupt tasks with certain restrictions. Clock data is stored in memory. Accuracy (Accuracy depends on the temperature.) Ambient temperature of 55°C: −3.5 to +0.5 min error per month Ambient temperature of 25°C: −1.5 to +1.5 min error per month Ambient temperature of 0°C: −3 to +1 min error per month
Operation Start Time Storage
The time when operating mode was last changed to RUN mode or MONITOR mode is stored.
Operation Stop Time Storage
The last time a fatal error occurred or the last time the operating mode was changed to PROGRAM mode is stored.
Startup Time Storage
The time when the power was turned ON is stored.
Power Interruption Time Storage
The time when the power is turned OFF is stored.
Total Power ON Time Calculation
The total time that the PLC has been ON is stored in increments of 10 hours.
Power ON Clock Data Storage
A history of the times when the power was turned ON is stored.
User Program Overwritten Time Storage
The time that the user program was last overwritten is stored.
Parameter Date Storage
The time when the Parameter Area was overwritten is stored.
*7 Supported only by the CJ2M CPU Units. *8 Pulse I/O Modules are supported only by CJ2M CPU Units with unit version 2.0 or later. *9 Supported only by CJ2H CPU Units with unit version 1.1 or later.
1-24
CJ2 CPU Unit Hardware User’s Manual
Page 67
1 Overview
Power Supply Management
Description
Memory Protection
Holding Area data, DM Area data, EM Area data, Counter Completion Flags, and counter present values are held even when power is turned OFF. CIO Area, Work Area, some Auxiliary Area data, and Timer Completion Flags, timer present values, index registers, and data registers can be protected by turning ON the IOM Hold Bit in the Auxiliary Area, and by also setting the IOM Hold Bit to “Hold” in the PLC Setup.
1-3 Specifications
Function
Power OFF Detection Time Setting
The detection time for power interruptions can be set. AC power supply: 10 to 25 ms (variable) DC power supply: 2 to 5 ms (CJ1W-PD022) or 2 to 20 ms (CJ1W-PD025)
1
Power OFF Detection Delay Time
The detection of power interruptions can be delayed: 0 to 10 ms
Number of Power Interruptions Counter Function Blocks
Debugging
The number of times power has been interrupted is counted. Standard programming can be encapsulated as function blocks.
Languages in Function Block Definitions
Ladder programming or structured text
Online Editing
The program can be changed during operation (in MONITOR or PROGRAM mode), except for block programming areas.
Force-Set/Reset
Specified bits can be set or reset. A parameter can be set to enable force-setting/resetting bits in EM Area banks. Force-setting/resetting is enabled for the specified bank and all the banks after it.*10
Self-diagnosis and Restoration
Differentiate Monitoring
ON/OFF changes in specified bits can be monitored.
Data Tracing
The specified I/O memory data can be stored in the trace memory in the CPU Unit. The triggers can be set.
Continuous Tracing
The trace data can be uploaded during data tracing using the CX-Programmer. This enables continuously logging the data by constantly uploading the trace data.
Automatically starting tracing when operation starts
Data tracing can be automatically started when operation is started (i.e., when the operating mode is changed from PROGRAM mode to MONITOR or RUN mode).
Storing Location of Error when an Error Occurs
The location and task number where execution stopped for a program error is recorded.
Program Check
The programs can be checked for items such as no END instruction and FALS/FAL errors at startup.
Error Log
A function is provided to store predefined error codes in CPU Unit, error information, and time at which the error occurred.
CPU Error Detection
CPU Unit WDT errors are detected.
User-defined Failure Diagnosis
Errors can be generated for user-specified conditions: Non-fatal errors (FAL) and fatal errors (FALS). Program section time diagnosis and program section logic diagnosis are supported (FPD instruction).
Load OFF Function
This function turns OFF all outputs from Output Units when an error occurs.
RUN Output
The RUN output from the CJ1W-PA205R turns ON while CPU Unit is in RUN mode or MONITOR mode.
Basic I/O Load Short-circuit Detection
This function provides alarm information from Basic I/O Units that have load short-circuit protection.
Failure Point Detection
The time and logic of an instruction block can be analyzes using the FPD instruction.
CPU Standby Detection
This function indicates when the CPU Unit is on standby because all Special I/O Units and CPU Bus Units have not been recognized at the startup in RUN or MONITOR mode.
*10 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-25
1-3-3 Function Specifications
(Not supported by the CJ1W-PD022.)
Page 68
1 Overview
Function Self-diagnosis and Restoration (Continued from previous page)
Non-fatal Error Detection
Fatal Error Detection
Description
System FAL Error Detection (User-defined nonfatal error)
This function generates a non-fatal (FAL) error when the user-defined conditions are met in program.
Duplicated Refreshing Error Detection
This function detects an error when an immediate refreshing Instruction in an interrupt task is competing with I/O refreshing of a cyclic task.
Basic I/O Unit Error Detection
This function detects the errors in Basic I/O Units.
Backup Memory Error Detection
This function detects errors in the memory backup of the user programs and parameter area (backup memory).
PLC Setup Error Detection
This function detects setting errors in the PLC Setup.
CPU Bus Unit Error Detection
This function detects an error when there is an error in data exchange between the CPU Unit and a CPU Bus Unit.
Special I/O Unit Error Detection
This function detects an error when there is an error in data exchange between the CPU Unit and a Special I/O Unit.
Tag Memory Error Detection*11
This function detects errors in tag memory.
Battery Error Detection
This function detects an error when a battery is not connected to the CPU Unit or when the battery voltage drops.
CPU Bus Unit Setting Error Detection
This function detects an error when the model of a CPU Bus Unit in the registered I/O tables does not agree with the model that is actually mounted in the PLC.
Special I/O Unit Setting Error Detection
This function detects an error when the model of a Special I/O Unit in the registered I/O tables does not agree with the model of Unit that is actually mounted.
Option Board Error Detection*12
This function detects the errors in Serial Option Board mounting status.
Memory Error Detection
This function detects errors that occur in memory of the CPU Unit.
I/O Bus Error Detection
This function detects when an error occurs in data transfers between the Units mounted in Rack slots and the CPU Unit and detects when the End Cover is not connected to the CPU Rack or an Expansion Rack.
Unit/Rack Number Duplication Error
This function detects an error when the same unit number is set for two or more Units, the same word is allocated to two or more Basic I/O Units, or the same rack number is set for two or more Racks.
Too Many I/O Points Error Detection
This function detects an error when the total number of I/O points set in the I/O tables or the number of Units per Rack exceeds the specified range.
I/O Setting Error Detection
The registered I/O tables are used to detect errors if the number of Units in the registered I/O tables does not agree with the actual number of Units that are connected or an Interrupt Unit has been connected in the wrong position.
*11 Supported only by CJ2H-CPU6@-EIP and CJ2M-CPU3@. *12 Supported only by the CJ2M-CPU3@.
1-26
CJ2 CPU Unit Hardware User’s Manual
Page 69
1 Overview
Self-diagnosis and Restoration (Continued from previous page)
Program Error Detection
This function detects errors in programs.
Instruction Processing Error Detection
This function detects an error when the given data value is invalid when executing an instruction, or execution of instruction between tasks was attempted.
Indirect DM/EM BCD Error Detection
This function detects an error when an indirect DM/EM address in BCD mode is not BCD.
Illegal Area Access Error Detection
This function detects an error when an attempt is made to access an illegal area with an instruction operand.
No END Error Detection
This function detects an error when there is no END instruction at the end of the program.
Task Error Detection
This function detects an error when there are no tasks that can be executed in a cycle, there is no program for a task, or the execution condition for an interrupt task was met but there is no interrupt task with the specified number.
Differentiation Overflow Error Detection
This function detects an error when too many differentiated instructions are entered or deleted during online editing (131,072 times or more).
Invalid Instruction Error Detection
This function detects an error when an attempt is made to execute an instruction that is not defined in the system.
User Program Area Overflow Error Detection
This function detects an error when instruction data is stored after the last address in user program area.
Cycle Time Exceeded Error Detection
This function monitors the cycle time (10 to 40,000 ms) and stops the operation when the set value is exceeded.
System FALS Error Detection (User-defined Fatal Error)
This function generates a fatal (FALS) error when the user-defined conditions are met in program.
Version Error Detection
This function detects an error when a user program includes a function that is not supported by the current unit version.
Memory Card Transfer Error Detection
This function detects an error when the automatic file transfer from Memory Card fails at startup.
Memory Self-restoration Function
This function performs a parity check on the user program area and self-restoration data.*13
Simple Backup Function
This function collectively backs up the data in CPU Unit (user programs, parameters, and I/O memory) and internal backup data in the I/O Units.
Unsolicited Communications
A function that allows the PLC to use Network Communications Instruction to send required FINS commands to a computer connected via a Host Link
Remote Programming and Monitoring
Host Link communications can be used for remote programming and remote monitoring through a Controller Link, Ethernet, DeviceNet, or SYSMAC LINK Network. Communications across network layers can be performed. Controller Link or Ethernet: 8 layers DeviceNet or SYSMAC LINK: 3 layers
Automatic Online Connection via Network
Security
Read Protection using Password
Direct Serial Connection
This function enables automatically connecting to the PLC online when the CXProgrammer is directly connected by a serial connection (peripheral (USB) port or serial port).
Via Networks
This function enables connecting the CX-Programmer online to a PLC that is connected via an EtherNet/IP network. This function protects reading and displaying programs and tasks using passwords. Write protection: Set using the DIP switch. Read protection: Set a password using the CX-Programmer.
FINS Write Protection
This function prohibits writing by using FINS commands sent over the network.
Unit Name Function
This function allows the users to give any names to the Units. Names are verified at online connection to prevent wrong connection
Hardware ID Using Lot Numbers
This function sets operation protection by identifying hardware using the user programs according to lot numbers stored in the Auxiliary Area.
*13 This function can be used only with CJ2H CPU Units.
CJ2 CPU Unit Hardware User’s Manual
1-27
1 1-3-3 Function Specifications
Maintenance
Fatal Error Detection
Description
1-3 Specifications
Function
Page 70
1 Overview
1-28
CJ2 CPU Unit Hardware User’s Manual