beautypg.com

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

Page 191

background image

2-155

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

Increm

ent/D

ecrement

In

stru

ctio

ns

2

+

+

B

/+

+

BL

Operation of @++B(594)/@++BL(595)

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 BCD 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 2 0

Incremented only for
up-differentiation.

Wd: D100

@++B

D100

+1

0.00

0.00

Wd+1: D101

Wd: D100

Wd+1: D101

Wd: D100

Increment

Increment

: Execution of @++B(594) or @++BL(595)

Incremented only for
up-differentiation.

+1

@++BL

D100

0.00

0 0 0 0

9 9 9 9

0 0 0 1

0 0 0 0

This manual is related to the following products: