![background image](http://html.mh-extra.com/html/omron/sysmac-cpm2b/sysmac-cpm2b_operation-manual_1633427177.webp)
159
Programming Example
Section 7-3
3.
Input the OUT instruction IR 01000.
(It isn’t necessary to input leading zeroes.)
(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 CPM2B PLCs.)
7-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 the Programming Manual 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.
OUT
B
1
A
0
A
0
A
0
00016
OUT 01000
WRITE
00017READ
NOP (000)
FUN
00017
FUN (0??)
A
0
B
1
00017
END (001)
WRITE
00018READ
NOP (000)
CLR
00000
SRCH
00000PROG CHK
CHK LBL (0-2)?
A
0
00017PROG CHK
END (001)00.1KW
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание SYSMAC CPM2B
Страница 4: ...iv Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 6: ...vi Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 216: ...198 Index Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...