Omron SYSMAC CPM2B Operation Manual page 152

Hide thumbs Also See for SYSMAC CPM2B:
Table of Contents

Advertisement

Programming Console Operations
134
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
To specify the Completion Flag for a timer or counter, press the LD, AND,
OR, or NOT Key followed by the TIM or CNT Key, and then input the timer/
counter number last.
6. Input the second instruction and operand. (In this case it isn't necessary to
enter the timer number, because it's 000.) Press the WRITE Key to write
the instruction to Program Memory.
Time number
TIM
WRITE
7. Input the second operand (123 to specify 12.3 seconds) and press the
WRITE Key. The next program address will be displayed.
B
C
D
WRITE
1
2
3
If a mistake was made inputting the operand, press the Up Arrow Key to
return to display the mistaken operand and input the operand again.
Note a) Counters are input in the same basic way as timers except the
CNT Key is pressed instead of the TIM Key.
b) Timer and counter SVs are input in BCD, so it isn't necessary to
press the CONT/# Key.
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.
00201 TIM DATA
00202READ
NOP (000)
00202
B
1
MOV (021)
00202 MOV DATA A
00202 MOV DATA A
A
0
Section 7-2
#0000
000
#0100

Advertisement

Table of Contents
loading

Table of Contents