EasyManuals Logo

Automationdirect.com DL05 User Manual

Automationdirect.com DL05
480 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #256 background imageLoading...
Page #256 background image
Standard
RLL Instructions
5–72
Standard RLL Instructions
Math Instructions
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 DL05 Range
A aaa
V memory V All (See page 4–28)
Pointer P All (See page 4–28)
Discrete Bit Flags Description
SP63 on when the result of the instruction causes the value in the accumulator
to be zero.
In the following example when C5 is on, the binary value in V2000 is increased by 1.
Handheld Programmer Keystrokes
DirectSOFT
C5
INCB
V2000
Increment the binary value
in the accumulator by“1”
V2000
4A3C
V2000
4A3D
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 DL05 Range
A aaa
V memory V All (See page 4–28)
Pointer P All (See page 4–28)
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
DirectSOFT
C5
DECB
V2000
Decrement the binary value
in the accumulator by“1”
V2000
4A3C
V2000
4A3B
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)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Automationdirect.com DL05 and is the answer not in the manual?

Automationdirect.com DL05 Specifications

General IconGeneral
BrandAutomationdirect.com
ModelDL05
CategoryController
LanguageEnglish

Related product manuals