Standard
RLL
Instructions
5--66
Standard RLL Instructions
Math Instructions
DL105 PLC User Manual, 3rd Edition
A aaa
INCB
The
Increment
Binary
instruction
increments a binary value in a specified
V--memory location by “1” each time the
instruction is executed.
Operand Data Type
DL105 Range
A
aaa
V--memory
V
All (See page 4--29)
Discrete Bit Flags
Description
SP63
on when the result of the instruction causes the value in the accumulator
to be zero.
NOTE:
The status flags are only valid until another instruction that uses the same
flags is executed.
In the following example when C5 is on, the binary value in V2000 is increased by 1.
Handheld Programmer Keystrokes
Direct
SOFT
C5
INCB
V2000
Increment the binary value
in the accumulator by“1”
V2000
4 A 3 C
V2000
4 A 3 D
STR
$
2
C
5
F
SHFT
ENT
SHFT
8
I
TMR
N
2
C
1
B
2
C
0
A
0
A
0
A
ENT
A aaa
DECB
The
Decrement
Binary
instruction
decrements a binary value in a specified
V--memory location by “1” each time the
instruction is executed.
Operand Data Type
DL130 Range
A
aaa
V--memory
V
All (See page 4--29)
Discrete Bit Flags
Description
SP63
on when the result of the instruction causes the value in the accumulator
to be zero.
NOTE:
The status flags are only valid until another instruction that uses the same
flags is executed.
In the following example when C5 is on, the value in V2000 is decreased by 1.
Handheld Programmer Keystrokes
Direct
SOFT
C5
DECB
V2000
Decrement the binary value
in the accumulator by“1”
V2000
4 A 3 C
V2000
4 A 3 B
STR
$
2
C
5
F
SHFT
ENT
SHFT
2
C
3
D
4
E
1
B
2
C
0
A
0
A
0
A
ENT
Increment Binary
(INCB)
Decrement Binary
(DECB)
Summary of Contents for DL105
Page 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Page 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Page 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Page 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Page 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...