beautypg.com

2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 185

background image

2-149

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

Increm

ent/D

ecrement

In

stru

ctio

ns

2

+

+

/+
+L

Operation of @++(590)/@++L(591)

The up-differentiated variation is used in the following example, so the content of D100 will be incre-
mented by 1 only when CIO 0.00 has gone from OFF to ON.

The up-differentiated variation is used in the following example, so the content of D101 and D100 will be
incremented by 1 only when CIO 0.00 has gone from OFF to ON.

0 0 1 9

Wd: D100

0 0 1 A

Incremented every cycle

while CIO 0.00 is ON.

Wd: D100

@++

D100

+1

0.00

0.00

Wd+1: D101

Wd: D100

Wd+1: D101

Wd: D100

Increment

Increment

: Execution of @++(590) or @++L(591)

Incremented only for
up-differentiation.

+1

@++L

D100

0.00

0 0 0 0

F F F F

0 0 0 1

0 0 0 0

This manual is related to the following products: