EasyManuals Logo
Home>Omron>Controller>SYSMAC CV Series

Omron SYSMAC CV Series User Manual

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #326 background imageLoading...
Page #326 background image
(090)
INC D00010
0000
00
314
5-22 Increment/Decrement Instructions
The Increment/Decrement Instructions all either increment or decrement a num-
ber by one.
The content of the source word is overwritten with the instruction result for all
increment/decrement instructions.
5-22-1 INCREMENT BCD: INC(090)
(090)
INC Wd
Wd: Word CIO, G, A, DM, DR, IR
Operand Data AreaLadder Symbol
Variations
j INC(090)
When the execution condition is OFF, INC(090) is not executed. When the ex-
ecution condition is ON, INC(090) increments Wd, without affecting carry (CY).
Wd must be BCD.
Note Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Wd is not BCD
Content of *DM word is not BCD when set for BCD.
EQ (A50006): The result is 0.
Example When CIO 000000 is ON in the following example, the content of D00010 is in-
cremented by 1 as a BCD value.
Address Instruction Operands
00000 LD 000000
00001 INC(090)
D00010
1234
D00010
1235
D00010
+ 1
5-22-2 DECREMENT BCD: DEC(091)
(091)
DEC Wd
Wd: Word CIO, G, A, DM, DR, IR
Operand Data AreaLadder Symbol
Variations
j DEC(091)
When the execution condition is OFF, DEC(091) is not executed. When the ex-
ecution condition is ON, DEC(091) decrements Wd, without affecting CY.
Wd must be BCD.
Note Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Wd is not BCD
Content of *DM word is not BCD when set for BCD.
EQ (A50006): The result is 0.
Description
Precautions
Description
Precautions
Increment/Decrement Instructions Section 5-22

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CV Series and is the answer not in the manual?

Omron SYSMAC CV Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CV Series
CategoryController
LanguageEnglish

Related product manuals