EasyManuals Logo
Home>Omron>Controller>SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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 #450 background imageLoading...
Page #450 background image
410
Increment/Decrement Instructions Section 3-10
(@++(590)) is used, the specified word is incremented only when the execu-
tion condition has gone from OFF to ON.
The Equals Flag will be turned ON if the result is 0000, the Carry Flag will be
turned ON when a digit changes from F to 0, and the Negative Flag will be
turned ON when bit 15 of Wd is ON in the result.
Both the Equals Flag and the Carry Flag will be turned ON when the content
of Wd changes from FFFF to 0000.
Flags
Examples Operation of ++(590)
In the following example, the content of D00100 will be incremented by 1
every cycle as long as CIO 000000 is ON.
Operation of @++(590)
The up-differentiated variation is used in the following example, so the content
of D00100 will be incremented by 1 only when CIO 000000 has gone from
OFF to ON.
Wd Wd
Name Label Operation
Error Flag ER OFF
Equals
Flag
= ON if the content of Wd is 0000 after execution.
OFF in all other cases.
Carry Flag CY ON if a digit in Wd went from F to 0 during execution.
OFF in all other cases.
Negative
Flag
N ON if bit 15 of Wd is ON after execution.
OFF in all other cases.
D00100 D00100
0 0 1 9
Wd:
Increment Increment Increment Increment
0 0 1 A
: Execution of ++(590)
Incremented every cycle
while CIO 000000 is ON.
Wd:
@++
0 0 1 9
0 0 1 A
Increment
Increment
Wd: D00100 Wd: D00100
Incremented only for
up-differentiation.
: Execution of @++(590)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals