EasyManuals Logo
Home>Omron>Controller>CPM2C

Omron CPM2C User Manual

Omron CPM2C
325 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #213 background imageLoading...
Page #213 background image
190
Programming Example Section 4-3
(6) Inputting the END(001)
Instruction
Input END(01). (The display shows three digits in the function code, but only
the last two digits are input for CPM2C PCs.)
4-3-4 Checking the Program
Check the program syntax in PROGRAM mode to make sure that the program
has been input correctly.
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.
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. If
no errors are found, the following display will appear.
Note Refer to
5-4 Programming Errors for details on check levels and the
programming errors that may be displayed during a program check.
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(01) instruction or the end of Program
Memory is reached.
If errors are displayed, edit the program to correct the errors and check the
program again. Continue checking the program until all errors have been cor-
rected.
4-3-5 Test Run in MONITOR Mode
Switch the CPM2C in MONITOR mode and check the operation of the pro-
gram.
1,2,3... 1. Set the Programming Consoles mode switch to MONITOR mode.
2. Press the CLR Key to bring up the initial display.
3. Force-set the start input bit (IR 00000) from the Programming Console to
start the program.
FUN

17
FUN (0??)
A
0
B
1

17
END (001)
WRITE

18READ
NOP (000)
CLR

SRCH

PROG CHK
CHK LBL (0-2)?
A
0

17PROG CHK
END (001)00.1KW
RUN
MONITOR
PROGRAM
<MONITOR> BZ
CLR

LD

LD 00000

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM2C and is the answer not in the manual?

Omron CPM2C Specifications

General IconGeneral
BrandOmron
ModelCPM2C
CategoryController
LanguageEnglish

Related product manuals