![background image](http://html1.mh-extra.com/html/omron/cpm2c-s100c/cpm2c-s100c_operation-manual_742520194.webp)
172
Programming Console Operations
Section 8-2
4.
Press the Up and Down Arrow Keys to scroll through the program.
8-2-9
Entering or Editing Programs
This operation is used enter or edit programs. It is possible in PROGRAM
mode only.
The same procedure is used to either input a program for the first time or to
change a program that already exists. In either case, the current contents of
Program Memory is overwritten.
The program shown in the following diagram will be entered to demonstrate
this operation.
1,2,3...
1.
Press the CLR Key to bring up the initial display.
2.
Specify the address where the program will begin.
3.
Input the address where the program will begin and press the Down Arrow
Key. It is not necessary to input leading zeroes.
4.
Input the first instruction and operand.
5.
Press the WRITE Key to write the instruction to Program Memory. The next
program address will be displayed.
If a mistake was made inputting the instruction, press the Up Arrow Key to
return to the previous program address and input the instruction again. The
mistaken instruction will be overwritten
↓
00201READ
ON
AND
00001
↑
00200READ
OFF
LD
00000
RUN
MONITOR
PROGRAM
No
No
OK
00002
MOV(021)
#0100
LR 10
TIM 000
#0123
12.3 s
ADB(050)
#0100
#FFF6
DM 0000
00200
LD
IR
00002
00201
TIM
000
#0123
00202
MOV(021)
#0100
LR
10
00203
ADB(050)
#0100
#FFF6
DM 0000
Address Instruction
Operands
C
2
A
0
A
0
↓
00200READ
NOP (000)
LD
C
2
00200
LD
00002
WRITE
00201READ
NOP (000)
Содержание CPM2C-S100C
Страница 2: ......
Страница 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 14: ...xiv ...
Страница 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Страница 222: ...200 Programming Example Section 8 3 ...
Страница 250: ......
Страница 256: ......
Страница 258: ......
Страница 260: ...238 Support Software Appendix C ...
Страница 268: ......