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