Omron CPM1A operation manual Checking the Program, Delete END, 00178CIRCUIT ERR, Corrected Program

Models: CPM1A

1 176
Download 176 pages 15.47 Kb
Page 101
Image 101

Programming Console Operations

 

Section 4-3

 

 

 

 

 

3. Press the DEL Key.

 

 

 

 

 

 

 

 

 

00205DELETE?

 

 

DEL

AND

00103

 

 

 

 

 

 

 

4.Press the Up Arrow Key to delete the specified instruction.

If the instruction has more operands, the operands will be deleted automati- cally with the instruction.

00205 DELETE END

AND

00105

 

 

 

 

Corrected Program

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.

00100 00101

00201 00102

00105 00104

01000

END(01)

Address Instruction

Operands

00205

AND

00105

00206

AND NOT

00104

00207

OUT

01000

00208

END(01)

-

4-3-10 Checking the Program

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

MONITOR

PROGRAM

No

No

OK

1, 2, 3... 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.

SRCH

00000PROG CHK CHK LBL (0)2)?

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.

A 00178CIRCUIT ERR

0 OUT

00200

Note Refer to 5-5 Programming Errors for details on check levels and the errors that may be detected when the program is checked.

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:

SRCH

00300NO END INST END

89

Page 101
Image 101
Omron CPM1A operation manual Checking the Program, Delete END, 00178CIRCUIT ERR, Corrected Program