Checking The Program; Bit, Digit, Word Monitor - Omron SYSMAC CPM2B Operation Manual

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

Advertisement

Programming Console Operations
Corrected Program
00100
00101
00201
00102

6-2-11 Checking the Program

1, 2, 3...

6-2-12 Bit, Digit, Word Monitor

94
After completing the insertion and deletion procedures, use the Up and Down
Arrow Keys to scroll through the program and verify that it has been changed
correctly, as shown in the following diagram.
00104
00105
01000
END(01)
This operation checks for programming errors and displays the program
address and error when errors are found. It is possible in PROGRAM mode
only.
RUN
No
No
1. Press the CLR Key to bring up the initial display.
2. Press the SRCH Key. An input prompt will appear requesting the desired
check level.
3. Input the desired check level (0, 1, or 2). The program check will begin when
the check level is input, and the first error found will be displayed.
4. Press the SRCH Key to continue the search. The next error will be dis-
played. Continue pressing the SRCH Key to continue the search.
The search will continue until an END instruction or the end of Program
Memory is reached. A display like this will appear if the end of Program
Memory is reached:
A display like this will appear if an END instruction is reached:
If errors are displayed, edit the program to correct the errors and check the pro-
gram again. Continue checking the program by pressing the SRCH Key again
until all errors have been corrected.
This operation is used to monitor the status of up to 16 bits and words,
although only 3 can be shown on the display at any one time. Operation is
possible in any mode.
RUN
OK
OK
Address Instruction
00205
AND
00206
AND NOT
00207
OUT
00208
END(01)
MONITOR
PROGRAM
OK
00000PROG CHK
SRCH
CHK LBL
00178CIRCUIT ERR
A
0
OUT
00300NO END INST
SRCH
END
00310PROG CHK
SRCH
END (001)00.3KW
No more errors exist if the END
instruction is displayed.
MONITOR
PROGRAM
OK
Section
6-2
Operands
00105
00104
01000
-
(0 2)?
00200

Advertisement

Table of Contents
loading

Table of Contents