![background image](http://html1.mh-extra.com/html/omron/cpm2c-s100c/cpm2c-s100c_operation-manual_742520195.webp)
173
Programming Console Operations
Section 8-2
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.
7.
Input the second operand (123 to specify 12.3 seconds) and press the
WRITE Key. The next program address will be displayed.
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).
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.
• 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.
Press the WRITE Key to write the instruction to Program Memory. The in-
put display for the second operand will appear.
TIM
Timer number
WRITE
00201 TIM DATA
#0000
B
1
C
2
D
3
WRITE
00202READ
NOP (000)
FUN
C
2
B
1
00202
MOV (021)
WRITE
00202 MOV DATA A
000
CONT
#
B
1
A
0
A
0
00202 MOV DATA A
#0100
WRITE
00202 MOV DATA B
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: ......