Clearing Memory - Omron SYSMAC CPM2B Operation Manual

Programmable controller
Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Programming Console Operations
Name
Displaying the cycle time
Reading and setting the clock Reads or sets the internal clock.

6-2-2 Clearing Memory

All Clear
1, 2, 3...
!
Caution
Partial Clear
1, 2, 3...
Displays the current average cycle time (scan time.)
This operation is used to clear all or part of the Program Memory and data areas,
as well as the contents of the Programming Console's memory. This operation is
possible in PROGRAM mode only.
RUN
No
No
Before beginning to program for the first time or when installing a new program,
clear all areas.
The following procedure is used to clear memory completely, including the pro-
gram, all data areas, counter PVs, Data Memory, and the PC Setup (DM 6600 to
DM 6655).
1. Bring up the initial display by pressing the CLR Key repeatedly.
2. Press the SET, NOT, and then the RESET Key to begin the operation.
SET
NOT
3. Press the MONTR Key to clear memory completely.
The PC Setup (DM 6600 through DM 6655) will be cleared when this operation is
performed.
It is possible to retain the data in specified areas or part of the Program Memory.
To retain the data in the HR, TC, or DM Areas, press the appropriate key after
pressing SET, NOT, and RESET. Any data area that still appears on the display
will be cleared when the MONTR Key is pressed.
The HR Key is used to specify both the AR and HR Areas, the CNT Key is used to
specify the entire timer/counter area, and the DM Key is used to specify the DM
Area.
It is also possible to retain a portion of the Program Memory from the first
memory address to a specified address. After designating the data areas to
be retained, specify the first Program Memory address to be cleared. For
example, input 030 to leave addresses 000 to 029 untouched, but to clear
addresses from 030 to the end of Program Memory.
As an example, follow the procedure below to retain the timer/counter area and
Program Memory addresses 000 through 122:
1. Press the CLR Key to bring up the initial display.
2. Press the SET, NOT, and then the RESET Key to begin the operation.
3. Press the CNT Key to remove the timer/counter area from the data areas
shown on the display. (Counter PVs will not be cleared.)
4. Press 123 to specify 123 as the starting program address.
B
C
1
2
Function
MONITOR
PROGRAM
OK
00000MEMORY CLR?
RESET
HR
CNT DM
00000MEMORY CLR
MONTR
END HR
CNT DM
00000MEMORY CLR?
CNT
HR
00123MEMORY CLR?
D
3
HR
Section
6-2
Page
105
106
DM
DM
85

Advertisement

Table of Contents
loading

Table of Contents