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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Increment/Decrement Instructions
0.00
3-9-8
DOUBLE DECREMENT BCD: – –BL(597)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
334
Operation of @– –B(596)
The up-differentiated variation is used in the following example, so the BCD
content of D1000 will be decremented by 1 only when CIO 0.00 has gone
from OFF to ON.
@
B
D1000
Wd:
D1000
CIO 0.00
Decrements the 8-digit BCD content of the specified words by 1.
BL(597)
Wd
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
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
Decremented only
for up-differentiation.
Wd:
D1000
1
: Execution of @
Decrement
Decrement
Wd: First word
Step program areas
OK
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A448 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
@ D0 to @ D32767
*D0 to *D32767
---
---
Section 3-9
B(596)
– –BL(597)
@– –BL(597)
Not supported
Subroutines
Interrupt tasks
OK
OK
Wd

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents