Omron CPM2C Operation Manual page 190

Sysmac series programmable controller
Hide thumbs Also See for CPM2C:
Table of Contents

Advertisement

Programming Console Operations
8. Input the third instruction and its operands. First input the instruction by
pressing the FUN Key and then the function code (21 in this case).
C
FUN
2
To input the differentiated version of an instruction, press the NOT Key af-
ter the function code (FUN 2 1 NOT). The "@" symbol will be displayed
next to differentiated instructions. Press the NOT Key again to change back
the instruction back to a non-differentiated instruction. The "@" symbol will
disappear.
To change an instruction after it has been entered, simply scroll through
the program until the desired instruction is displayed and press the NOT
Key. The "@" symbol should be displayed next to the instruction.
9. Press the WRITE Key to write the instruction to Program Memory. The in-
put display for the first operand will be displayed.
WRITE
• Writing Hexadecimal, BCD Constant
10. Input the first operand.
The operands of MOV (21) are normally word addresses, but a constant
can be input by pressing the CONT/# Key first. When the CONT/# Key is
pressed, the display will change to "#0000," indicating that a constant can
be entered.
CONT
B
A
1
0
#
Press the WRITE Key to write the instruction to Program Memory. The in-
put display for the second operand will appear.
WRITE
Note The operands of MOV(21) can be word addresses, so the CONT/#
Key must be pressed to input a constant.
• Writing a Word Address
11. Input the second operand.
*EM
B
1
LR
Press the WRITE Key to write the instruction to Program Memory. The next
program address will be displayed.
WRITE
Note When the default display value is "000", a word address can be input
immediately without pressing the Shift and CH/# Keys.
12. Input the next instruction.
F
FUN
5
Press the WRITE Key to write the instruction to Program Memory.
00202
MOV (021)
B
1
00202 MOV DATA A
00202 MOV DATA A
A
0
00202 MOV DATA B
00202 MOV DATA B
A
0
00203READ
NOP (000)
 !
),* #
A
0
Section 4-2
000
#0100
000
LR
10
167

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cpm2c

Table of Contents