Checking The Program - Omron CPM2C-S100C Operation Manual

Sysmac cpm2c-s series
Table of Contents

Advertisement

Programming Example
(6) Inputting the END(001)
Instruction
8-3-4

Checking the Program

1,2,3...
198
2. Input the normally closed AND condition T001.
(It isn't necessary to input leading zeroes.)
AND
TIM
NOT
3. Input the OUT instruction IR 01000.
(It isn't necessary to input leading zeroes.)
B
A
A
OUT
1
0
0
Input END(01). (The display shows three digits in the function code, but only
the last two digits are input for CPM2C-S PCs.)
A
0
Check the program syntax in PROGRAM mode to make sure that the program
has been input correctly.
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 9-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.
15
B
AND NOT TIM 001
1
16READ
NOP (000)
WRITE
16
OUT
A
0
17READ
NOP (000)
WRITE
17
FUN (0??)
FUN
17
END (001)
B
1
18READ
NOP (000)
WRITE

CLR
PROG CHK
CHK LBL
SRCH
17PROG CHK
END (001)00.1KW
A
0
Section 8-3
01000
(0-2)?

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Cpm2c-s110cCpm2c-s100c-drtCpm2c-s110c-drt

Table of Contents