Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 30 of 48

SYSMAC CJ Series CJ2H-CPU6_-EIP, CJ2H-CPU6_, CJ2M-CPU_ CJ2 CPU Unit Hardware User's Manual: Section 8 Backup Operations, pages 247 to 254

Pages 247 to 254 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 247

Backup Operations This section describes operations used to back up and restore data.

8-1 Backing Up Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 8-2 Using a Computer to Back Up Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3 8-2-1 8-2-2

PLC Backup Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3 PLC Backup Tool Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4

8-3 Simple Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7 8-3-1 8-3-2 8-3-3 8-3-4 8-3-5 8-3-6

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7 Operating Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8 Verifying Backup Operations with Indicators . . . . . . . . . . . . . . . . . . . . . . . . . 8-10 Related Auxiliary Bits/Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12 Time Required for Simple Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12 Data Backed Up Using Simple Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12

8

CJ2 CPU Unit Hardware User’s Manual

8-1

Page 248

8 Backup Operations

8-1

Backing Up Data There are two methods for backing up PLC data.

Using a Computer to Back Up Data to the Computer • Operation: PLC Backup Tool running on the personal computer • Backup destination: Computer hard disk PLC Backup Tool

CPU Unit

Backup

All PLC data

Using Front-panel Switches on the CPU Unit to Back Up Data to a Memory Card • Operation: DIP switch and Memory Card Power Switch • Backup destination: A Memory Card inserted in the CPU Unit

Back up data by pressing the Memory Card Power Switch. All PLC data

Memory Card

Backup

8-2

CJ2 CPU Unit Hardware User’s Manual

Page 249

8 Backup Operations

8-2

Using a Computer to Back Up Data

8-2-1

PLC Backup Tool The PLC Backup Tool can be used to back up, compare, and restore data, such as programs and unit parameters, of all the Units or of only specified Units in a PLC that is connected online.

Backup folder Default name: C\Backup\yymmdd_hhmmss

PLC Backup Tool

CJ2

CPU Unit + Configuration Units 8-2 Using a Computer to Back Up Data

Restore or Compare

(CPU Bus Units and Special I/O Units)

Back up z Applications The PLC Backup Tool can be used for the following applications. • Backing up all of the data from the PLC • Comparing all of the data in the PLC with the data backed up in the computer • Transferring all of the data to a PLC that has the same system configuration as another PLC • Transferring data to a Unit that has been replaced, e.g., when the Unit has failed z Applicable Units Applicable Unit CPU Unit

8

Description CS/CJ/CP-series PLCs, all models and all versions

8-2-1 PLC Backup Tool

Data in the following Units is not backed up: • Screen data for an NSJ Controller • SYSMAC SPU Unit data • Customizable Counter Unit data Special I/O Units and CPU Bus Units

Refer to the list of backup Units in the help files for the PLC Backup Tool.

z Applicable Data Applicable Unit

Description

CPU Unit

User program, symbols tables, rung comments, program index, parameters (PLC Setup, registered I/O tables, routing tables, Ethernet settings, and all other data in the initial setting areas), I/O memory, forced status (backup and comparison only), and EM file memory data (backup only)

Special I/O Units and CPU Bus Units

Parameter settings and data stored inside the Unit (e.g., programming created with Support Software)

CJ2 CPU Unit Hardware User’s Manual

8-3

Page 250

8 Backup Operations z Restrictions The following restrictions apply. • Forced Status Forced status cannot be restored. If you attempt to restore forced status, the address of the forceset/reset bits will be displayed in the log display area. Use the CX-Programmer or Switch Box to manually force-set/reset the displayed bits. • Data Stored in EM File Memory (Part of the EM Area Converted to File Memory) EM file memory cannot be compared or resorted. EM file memory backups are saved in the CPU\EM_FILES Folder that will be created within the backup file destination folder. Restore EM file memory manually by using the PLC Memory Card Window in the CX-Programmer to write the data to memory. • Restrictions in Comparing and Restoring I/O Memory The CIO Area and Auxiliary Area data in the I/O memory cannot be compared or restored.

8-2-2

PLC Backup Tool Operations An overview of the PLC Backup Tool is provided below. For details on specific procedures and functions, refer to the CX-Programmer Operation Manual (Cat. No. W446).

z Starting the PLC Backup Tool Either of the following methods can be used to start the PLC Backup Tool. • Select PLC Backup Tool from the CX-Programmer Tools Menu. • Select Programs − OMRON− CX-One − CX Programmer − PLC Backup Tool from the Windows Start Menu. The PLC Backup Tool Dialog Box will be displayed.

8-4

CJ2 CPU Unit Hardware User’s Manual

Page 251

8 Backup Operations z Backing Up Data The data in the connected PLC can be backed up to the computer as a batch. A folder named with the date and time will be automatically created under the user-specified folder, and the backup files will be created in that folder.

z Comparing Data Data in backup files can be compared with data from other backup files or data from connected PLC. The comparison results will be displayed.

8-2 Using a Computer to Back Up Data

All Units in the PLC are displayed here. Individual Units can be selected for backup.

8 8-2-2 PLC Backup Tool Operations

Specify the source backup file on the computer.

Specify the target PLC or backup file to compare. PLC: The currently connected PLC will be displayed as the target. File: Specify another backup file on the computer as the target.

Backup files can be restored after the comparison results have been displayed. Also, the comparison results can be saved in a CSV file.

CJ2 CPU Unit Hardware User’s Manual

8-5

Page 252

8 Backup Operations z Restoring Data PLC data can be restored to a previous state by transferring backup file data to a connected PLC. Before the data is restored, a comparison will be made automatically with the applicable PLC and the results will be displayed.

@:

Check boxes will appear for Units to which data can be restored. Configuration: Indicates whether the configurations match between the backup file and the PLC.

Before the data is restored, the contents of the data can be checked by starting the Support Software for that Unit. Precautions for Correct Use The CPU Unit will be changed to PROGRAM mode before restoring the data. This will stop operation. Be sure it is safe to stop CPU Unit operation before restoring the data.

Precautions for Safe Use • Sufficiently check the data that is selected for restoring before performing the next step. If the correct data is not restored, unexpected operation may occur in the controlled system after the data is restored. • Some Special I/O Units and CPU Bus Units operate with parameters that are stored in the CPU Unit. If one of these Units is selected for backup, restrictions will be displayed in the Comments Area of the Backup from PLC Dialog Box. Confirm the restrictions, and always select the Special I/O Unit or CPU Bus Unit together with the CPU Unit when backing up or restoring data. If the data from both Units is not backed up or restored together, unexpected operation may occur in the controlled system. • If there are any backup restrictions for the Units to which data is being restored, the restrictions will be displayed in the Comments Area of the Backup from PLC Dialog Box. Confirm the restrictions, and always take the required measures. If required measures are not taken, unexpected operation may occur in the controlled system after the data is restored. • Confirm that stopping PLC operation will not create any problems before restoring data during PLC operation. If the PLC stops at an unanticipated time, unexpected operation may occur in the controlled system. • Always turn the power supply to the PLC OFF and then ON after restoring data. If the power supply is not turned OFF and then ON, memory in the PLC may not be updated to the restored data, which may cause unexpected operation of the controlled system. • Forced status can be backed up, but it cannot be restored. If you restored data that contained forced status, use the CX-Programmer after restoring the data to force-set or force-reset bits as required. If required bits are not force-set or force-reset, differences in the forced status in memory may cause unexpected operation of the controlled system.

8-6

CJ2 CPU Unit Hardware User’s Manual

Page 253

8 Backup Operations

8-3

Simple Backup

8-3-1

Overview The simple backup operation can be used to back up all PLC data to a Memory Card, or to restore or compare the data, by using a simple DIP switch setting and the Memory Card Power Supply Switch. No Support Software is required. Backing Up Data

1. Turn ON pin 7 on

Power Supply Unit the DIP switch.

CPU Unit the Memory Card 2. Press Power Supply Switch.

Memory Card Power Supply Switch

Memory Card

8-3 Simple Backup

All PLC data, including the following data. Data in the CPU Unit: User programs Parameters I/O memory Symbol tables Comment files Program index file Data in mounted Special I/O Units and CPU Bus Units Backup

Backup operation

DIP switch on front of CPU Unit

8

Procedure

Pin 7 ON

Restoring data from the Memory Card

Comparing data to the Memory Card

OFF

CJ2 CPU Unit Hardware User’s Manual

Press the Memory Card Power Supply Switch for three seconds.

The data can be backed up regardless of the CPU Unit operating mode.

Turn the PLC OFF and ON again. (Data restoration is given priority over the automatic transfer at startup.)

After the data has been restored, the operating mode will remain in PROGRAM mode until the PLC power is turned OFF.

Press the Memory Card Power Supply Switch for three seconds.

The data can be compared regardless of the CPU Unit operating mode.

8-7

8-3-1 Overview

Backing up data to the Memory Card

Page 254

8 Backup Operations

8-3-2

Operating Procedures

Backing Up Data from the CPU Unit to the Memory Card Pin 7: ON Press the Memory Card Power Supply Switch for three seconds.

Memory Card

1 Insert the Memory Card into the CPU Unit. The MCPWR indicator will light and the BUSY indicator will flash (meaning the Memory Card is being accessed) and then turn OFF.

2 Turn ON pin 7 on the CPU Unit's DIP switch. 3 Press the Memory Card Power Supply Switch for three seconds until the BUSY indicator lights, and then release the switch. The PLC will start backing up data to the Memory Card. The MCPWR indicator will flash once and then light while the data is being written. At the same time the BUSY indicator will flash. The MCPWR and BUSY indicators will both turn OFF when the operation is completed normally.

4 Turn OFF pin 7 on the CPU Unit's DIP switch. Restoring Data from the Memory Card to the CPU Unit

1 Turn OFF the PLC power supply. 2 Insert the Memory Card containing the backup files into the CPU Unit. 3 Turn ON pin 7 on the CPU Unit's DIP switch. 4 Turn ON the PLC power supply. The PLC will start restoring the data from the Memory Card. The MCPWR indicator will flash once and then light while the data is being read. At the same time the BUSY indicator will flash. The MCPWR and BUSY indicators will both turn OFF when the operation is completed normally. If the MCPWR indicator flashes five times, or if only the BUSY signal turns OFF, it means that an error has occurred. (Refer to 8-3-3 Verifying Backup Operations with Indicators.)

5 Turn OFF pin 7 on the CPU Unit's DIP switch. Note 1 The backup function will override the automatic transfer at startup function, so the backup files will be read to the CPU Unit when the PLC is turned ON even if pin 2 of the DIP switch is ON. 2 Data will not be read from the Memory Card to the CPU Unit if pin 1 of the DIP switch is ON (write-protecting program memory).

8-8

CJ2 CPU Unit Hardware User’s Manual