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 #255 background imageLoading...
Page #255 background image
Standard
RLL Instructions
5–71
Standard RLL Instructions
Math Instructions
A aaa
INC
The Increment instruction increments a
BCD value in a specified V memory location
by “1” each time the instruction is executed.
A aaa
DEC
The Decrement instruction decrements a
BCD value in a specified V memory location
by “1” each time the instruction is executed.
Operand Data Type DL05 Range
A aaa
Vmemory V All (See p. 4–28)
Pointer P All (See p. 4–28)
Discrete Bit Flags Description
SP63 on when the result of the instruction causes the value in the accumulator to be zero.
SP75 on when a BCD instruction is executed and a NON–BCD number was encountered.
NOTE: Status flags are valid only until another instruction uses the same flag.
In the following increment example, when C5 is on the value in V1400 increases by
one.
Handheld Programmer Keystrokes
DirectSOFT Display
C5
INC
V1400
Increment the value in
V1400 by “1”.
V1400
8935
V1400
8936
STR
$
8
I
TMR
N
1
B
4
E
2
C
SHFT
5
F
0
A
0
A
ENT
2
C
In the following decrement example, when C5 is on the value in V1400 is decreased
by one.
Handheld Programmer Keystrokes
DirectSOFT Display
C5
DEC
V1400
Decrement the value in
V1400 by “1”.
V1400
8935
V1400
8934
STR
$
1
B
4
E
2
C
SHFT
5
F
0
A
0
A
ENT
2
C
4
E
3
D
Increment
(INC)
Decrement
(DEC)

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