Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 365

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Increment/Decrement Instructions
0.01
3-9-7
DECREMENT BCD: – –B(596)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
332
Operation of @++BL(595)
The up-differentiated variation is used in the following example, so the BCD
content of D201 and D200 will be incremented by 1 only when CIO 0.01 has
gone from OFF to ON.
@++BL
Wd+1:
D200
CIO 0.01
Decrements the 4-digit BCD content of the specified word by 1.
B(596)
Wd
Variations
Immediate Refreshing Specification
Block program areas
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in BCD
Indirect DM addresses
in BCD
Constants
Data Registers
Incremented only for
up-differentiation.
D201
Wd:
D200
: Execution of @++BL(595)
Increment
Wd: Word
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Step program areas
OK
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
@ D0 to @ D32767
*D0 to *D32767
---
DR0 to DR15
Section 3-9
Wd+1:
D201
Wd:
D200
Increment
– –B(596)
@– –B(596)
Not supported
Subroutines
Interrupt tasks
OK
OK
Wd

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents