![Omron CVM1D Скачать руководство пользователя страница 307](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532307.webp)
(091)
DEC D00010
0000
00
(092)
INCB D00010
0000
00
302
Example
When CIO 000000 is ON in the following example, the content of D00010 is
decremented by 1 as a BCD value.
Address
Instruction
Operands
00000
LD
000000
00001
DEC(091)
D00010
1
2
3
4
D00010
1
2
3
3
D00010
– 1
5-22-3 INCREMENT BINARY: INCB(092)
(092)
INCB Wd
Wd: Word
CIO, G, A, DM, DR, IR
Operand Data Area
Ladder Symbol
Variations
j
INCB(092)
When the execution condition is OFF, INCB(092) is not executed. When the ex-
ecution condition is ON, INCB(092) increments Wd, without affecting carry (CY).
INCB(092) works the same way as INC(090) except that it increments a binary
value instead of a BCD value.
Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Content of
*
DM word is not BCD when set for BCD.
EQ (A50006):
The result is 0.
N (A50008):
Shows the status of bit 15 of Wd after execution.
Example
When CIO 000000 is ON in the following example, the content of D00010 is in-
cremented by 1 as a binary value.
Address
Instruction
Operands
00000
LD
000000
00001
INCB(092)
D00010
2
A
5
F
D00010
2
A
6
0
D00010
+ 1
0
N
Description
Precautions
Increment/Decrement Instructions
Section 5-22
Содержание CVM1D
Страница 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Страница 463: ...iv...
Страница 465: ...vi...