Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 32 of 68

DL405 User Manual: Chapter 5: Standard RLL Instructions, pages 273 to 282

Pages 273 to 282 of 608, from DL405 User Manual

The original document is the PDF (8.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the AutomationDirect D4-08B-1, AutomationDirect D4-08ND3S, AutomationDirect D4-16TA, PLC Direct D4-16TD2, AutomationDirect D4-32ND3-1, Konnect-It D4-08B-1, Koyo D4-08B-1, Konnect-It D4-08ND3S, and 6 more models

Page 273

Standard RLL Instructions Math Instructions

Subtract Binary (SUBB)

430 440 450

DS

HPP

Subtract Binary is a 16 bit instruction that subtracts the binary value (Aaaa), which is either a V--memory location or a 4--digit (max.) binary constant, from the binary value in the accumulator. The result resides in the accumulator.

Operand Data Type

5--101

SUBB A aaa

DL430 Range

DL440 Range

A aaa aaa

DL450 Range aaa

V--memory

V

All (See p. 3--40)

All (See p. 3--41)

All (See p. 3--42)

Pointer

P

All (See p. 3--40)

All (See p. 3--41)

All (See p. 3--42)

Constant

K

0--FFFF

0--FFFF

0--FFFF

Discrete Bit Flags

Description

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP64

On when the 16 bit subtraction instruction results in a borrow.

SP65

On when the 32 bit subtraction instruction results in a borrow.

SP70

On anytime the value in the accumulator is negative.

NOTE: Status flags are valid only until another instruction uses the same flag. In the following example, when X1 is on, the value in V1400 will be loaded into the accumulator using the Load instruction. The binary value in V1420 is subtracted from the binary value in the accumulator using the Subtract Binary instruction. The value in the accumulator is copied to V1500 using the Out instruction. DirectSOFT

Use either V--memory OR Constant

X1

LD

LD V1400

K1024

Load the value in V1400 into the lower 16 bits of the accumulator

BIN V1400 1

0

2

4

The unused accumulator bits are set to zero 0 0 0 0 1

0

2

4

(Accumulator)

0

A

0

B

(V1420)

0

6

1

9

0

6

1

9

SUBB V1420 The binary value in V1420 is subtracted from the value in the accumulator y

OUT V1500

Acc.

Copy the value in the lower 16 bits of the accumulator to V1500

V1500

STR

X(IN)

1

LD

V

1

4

0

0

SUB

SHFT

B

SHFT

V

1

OUT

V

1

5

0

0

4

2

0

DL405 User Manual, 4th Edition

Standard RLL Instructions

Handheld Programmer Keystrokes

Page 274

5--102

Standard RLL Instructions Math Instructions

Subtract Binary Double (SUBBD)

430 440 450

DS

HPP

Subtract Binary Double is a 32 bit instruction that subtracts the binary value (Aaaa), which is either two consecutive V-memory locations or an 8--digit (max.) binary constant, from the binary value in the accumulator. The result resides in the accumulator. Operand Data Type

DL440 Range

SUBBD A aaa

DL450 Range

A aaa aaa

V--memory

V

All (See p. 3--41)

All (See p. 3--42)

Pointer

P

All (See p. 3--42)

All (See p. 3--42)

Constant

K

0--FFFFFFFF

0--FFFFFFFF

Discrete Bit Flags

Description

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP64

On when the 16 bit subtraction instruction results in a borrow.

SP65

On when the 32 bit subtraction instruction results in a borrow.

SP70

On anytime the value in the accumulator is negative.

NOTE: Status flags are valid only until another instruction uses the same flag. In the following example, when X1 is on, the value in V1400 and V1401 will be loaded into the accumulator using the Load Double instruction. The binary value in V1420 and V1421 is subtracted from the binary value in the accumulator using the Subtract Binary Double instruction. The value in the accumulator is copied to V1500 and V1501 using the Out Double instruction. DirectSOFT

Use either V--memory OR Constant

X1

LDD

LDD V1400

K393471

Load the value in V1400 and V1401 into the accumulator

BIN

0

0

0

0

0

6

0

0

F

F

(Accumulator)

y 0

0

0

0

1

A

0

1

(V1421 and V1420)

0

0

0

5

E

6

F

E

0

0

0

5

E

6

F

E

The binary value in V1420 and V1421 is subtracted from the binary value in the accumulator OUTD V1500

Acc.

6

0

0

V1420

Standard RLL Instructions

V1400

V1401

SUBBD

0

F

F

Copy the value in the accumulator to V1500 and V1501 Handheld Programmer Keystrokes

V1501

STR

X(IN)

1

LD

SHFT

D

SHFT

V

1

4

0

0

SUB

SHFT

B

D

SHFT

V

1

4

2

OUT

SHFT

D

SHFT

V

1

5

0

0

DL405 User Manual, 4th Edition

V1500

0

Page 275

Standard RLL Instructions Math Instructions

Multiply Binary (MULB)

430 440 450

DS

HPP

Multiply Binary is a 16 bit instruction that multiplies the binary value (Aaaa), which is either a V--memory location or a 4--digit (max.) binary constant, by the binary value in the accumulator. The result can be up to 32 bits and resides in the accumulator.

Operand Data Type

DL430 Range

5--103

MULB A aaa

DL440 Range

DL450 Range

A aaa aaa aaa

V--memory

V

All (See p. 3--40)

All (See p. 3--41)

All (See p. 3--42)

Pointer

P

All (See p. 3--40)

All (See p. 3--41)

All (See p. 3--42)

Constant

K

0--FFFF

0--FFFF

0--FFFF

Discrete Bit Flags

Description

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP70

On anytime the value in the accumulator is negative.

NOTE: Status flags are valid only until another instruction uses the same flag. In the following example, when X1 is on, the value in V1400 will be loaded into the accumulator using the Load instruction. The binary value in V1420 is multiplied by the binary value in the accumulator using the Multiply Binary instruction. The value in the accumulator is copied to V1500 using the Out instruction. DirectSOFT

Use either V--memory OR Constant

X1

LD

LDD V1400

K2561

Load the value in V1400 into the lower 16 bits of the accumulator

BIN

V1400

MULB

0

A

0

1

The unused accumulator bits are set to zero 0 0 0 0 0

A

0

1

(Accumulator) (V1420)

V1420 The binary value in V1420 is multiplied by the binary value in the accumulator

OUTD V1500

¢

Copy the value in the lower 16 bits of the accumulator to V1500 and V1501

Acc.

Handheld Programmer Keystrokes

0

0

2

E

0

0

0

1

C

C

2

E

0

0

0

1

C

C

2

E

X(IN)

1

LD

V

1

4

0

0

MUL

SHFT

B

SHFT

V

1

4

2

0

OUT

SHFT

D

SHFT

V

1

5

0

0

V1501

V1500

DL405 User Manual, 4th Edition

Standard RLL Instructions

STR

Page 276

5--104

Standard RLL Instructions Math Instructions

Divide Binary (DIVB)

430 440 450

DS

HPP

Divide Binary is a 16 bit instruction that divides the binary value in the accumulator by a binary value (Aaaa), which is either a V--memory location or a 16--bit (max.) binary constant. The first part of the quotient resides in the accumulator and the remainder resides in the first stack location.

Operand Data Type

DIVB A aaa

DL430 Range

DL440 Range

A aaa aaa

DL450 Range aaa

V--memory

V

All (See p. 3--40)

All (See p. 3--41)

All (See p. 3--42)

Pointer

P

All (See p. 3--40)

All (See p. 3--41)

All (See p. 3--42)

Constant

K

0--FFFF

0--FFFF

0--FFFF

Discrete Bit Flags

Description

SP53

On when the value of the operand is larger than the accumulator can work with.

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP70

On anytime the value in the accumulator is negative.

NOTE: Status flags are valid only until another instruction uses the same flag. In the following example, when X1 is on, the value in V1400 will be loaded into the accumulator using the Load instruction. The binary value in the accumulator is divided by the binary value in V1420 using the Divide Binary instruction. The value in the accumulator is copied to V1500 using the Out instruction. DirectSOFT Use either V--memory OR Constant X1

LD

LDD V1400

K64001

Load the value in V1400 into the lower 16 bits of the accumulator

BIN V1400

DIVB

F

V1420 The binary value in the accumulator is divided by the binary value in V1420

0

Standard RLL Instructions

0

0

0

­

V1500

Acc.

Copy the value in the lower 16 bits of the accumulator to V1500

F

A

0

1

(Accumulator)

0

0

5

0

(V1420)

0

3

2

0

0

0

1

3

2

V1500

LD

V

1

4

0

0

DIV

SHFT

B

SHFT

V

1

OUT

V

1

5

0

0

DL405 User Manual, 4th Edition

1

0

0

0

0

0

0

0

First stack location contains the remainder

Handheld Programmer Keystrokes X(IN)

0

The unused accumulator bits are set to zero

OUT

STR

A

4

2

0

0

Page 277

5--105

Standard RLL Instructions Math Instructions

Add Formatted (ADDF)

430 440 450

DS

HPP

Add Formatted is a 32 bit instruction that adds the BCD value in the accumulator with the BCD value (Aaaa) which is a range of discrete bits. The specified range (Kbbb) can be 1 to 32 consecutive bits. The result resides in the accumulator.

Operand Data Type

ADDF A aaa K bbb

DL440 Range

DL450 Range

A aaa bbb aaa bbb

Inputs

X

0--477

----

0--1777

----

Outputs

Y

0--477

----

0--1777

----

Control Relays

C

0--1777

----

0--3777

----

Stage Bits

S

0--1777

----

0--1777

----

Timer Bits

T

0--377

----

0--377

----

Counter Bits

CT

0--177

----

0--377

----

Special Relays

SP

0--137 320--717

----

0--137 320--717

----

Global I/O

GX

0--1777

----

0--2777

----

Constant

K

----

1--32

----

1--32

Discrete Bit Flags

Description

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP66

On when the 16 bit addition instruction results in a carry.

SP67 when the 32 bit addition instruction results in a carry.

SP70

On anytime the value in the accumulator is negative.

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 example, when X6 is on, the value formed by discrete locations X0--X3 is loaded into the accumulator using the Load Formatted instruction. The value formed by discrete locations C0--C3 is added to the value in the accumulator using the Add Formatted instruction. The value in the lower four bits of the accumulator is copied to Y10--Y13 using the Out Formatted instruction. DirectSOFT X6

X3 LDF

X0 K4

Load the value represented by discrete locations X0--X3 into the accumulator

X2

X1

X0

ON OFF OFF OFF The unused accumulator bits are set to zero

ADDF

C0 K4

Y10 K5

0

0

0

0

0

0

0

+ Acc.

0

0

0

0

0

0

1

8

(Accumulator)

C3

3

(C0--C3)

OFF OFF ON ON

C2

C1

C0

1

Copy the lower 4 bits of the accumulator to discrete locations Y10--Y14

Handheld Programmer Keystrokes

Y13 Y12 Y11 Y10

STR

X(IN)

6

LD

SHFT

F

SHFT

ADD

SHFT

F

OUT

SHFT

F

OFF OFF OFF ON X(IN)

0

K(CON)

4

SHFT

C(CR)

0

K(CON)

4

SHFT

Y(OUT)

1

0

K(CON)

4

DL405 User Manual, 4th Edition

Standard RLL Instructions

OUTF

Add the value in the accumulator with the value represented by discrete location C0--C3

Page 278

5--106

Standard RLL Instructions Math Instructions

Subtract Formatted Subtract Formatted is a 32 bit instruction that subtracts the BCD value (Aaaa), (SUBF) which is a range of discrete bits, from the

BCD value in the accumulator. The 430 440 450 specified range (Kbbb) can be 1 to 32 consecutive bits. The result resides in the DS HPP accumulator. Operand Data Type

SUBF A aaa K bbb

DL440 Range

DL450 Range

A aaa bbb aaa bbb

Inputs

X

0--477

----

0--1777

----

Outputs

Y

0--477

----

0--1777

----

Control Relays

C

0--1777

----

0--3777

----

Stage Bits

S

0--1777

----

0--1777

----

Timer Bits

T

0--377

----

0--377

----

Counter Bits

CT

0--177

----

0--377

----

Special Relays

SP

0--137 320--717

----

0--137 320--717

----

Global I/O

GX

0--1777

----

0--2777

----

Constant

K

----

1--32

----

1--32

Discrete Bit Flags

Description

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP64

On when the 16 bit subtraction instruction results in a borrow.

SP65

On when the 32 bit subtraction instruction results in a borrow.

SP70

On anytime the value in the accumulator is negative.

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 example, when X6 is on, the value formed by discrete locations X0--X3 is loaded into the accumulator using the Load Formatted instruction. The value formed by discrete location C0--C3 is subtracted from the value in the accumulator using the Subtract Formatted instruction. The value in the lower four bits of the accumulator is copied to Y10--Y13 using the Out Formatted instruction. DirectSOFT X6

X3 LDF

X0 K4

SUBF

C0 K4

Standard RLL Instructions

Y10 K4

Subtract the value represented by C0--C3 from the value in the accumulator

0

X(IN)

6

0

0

0

0

0

0 y

X0

0

0

0

0

0

0

9

(Accumulator)

C3

8

(C0--C3)

ON OFF OFF OFF

1

Copy the lower 4 bits of the accumulator to discrete locations Y10--Y13

Handheld Programmer Keystrokes STR

X1

The unused accumulator bits are set to zero

ACC. 0 OUTF

X2

ON OFF OFF ON

Load the value represented by discrete locations X0--X3 into the accumulator

Y13 Y12 Y11 Y10 OFF OFF OFF ON

LD

SHFT

F

SHFT

X(IN)

0

K(CON)

4

SUBF

SHFT

F

SHFT

C(CR)

0

K(CON)

4

OUT

SHFT

F

SHFT

Y(OUT)

1

0

K(CON)

DL405 User Manual, 4th Edition

4

C2

C1

C0

Page 279

5--107

Standard RLL Instructions Math Instructions

Multiply Formatted Multiply Formatted is a 16 bit instruction that multiplies the BCD value in the (MULF) accumulator by the BCD value (Aaaa)

which is a range of discrete bits. The 430 440 450 specified range (Kbbb) can be 1 to 16 consecutive bits. The result resides in the DS HPP accumulator.

Operand Data Type

MULF A aaa K bbb

DL440 Range

Inputs

DL450 Range

A/B aaa bbb aaa bbb

X

0--477

----

0--1777

----

Outputs

Y

0--477

----

0--1777

----

Control Relays

C

0--1777

----

0--3777

----

Stage Bits

S

0--1777

----

0--1777

----

Timer Bits

T

0--377

----

0--377

----

Counter Bits

CT

0--177

----

0--377

----

Special Relays

SP

0--137 320--717

----

0--137 320--717

----

Global I/O

GX

0--1777

----

0--2777

----

Constant

K

----

1--16

----

1--16

Discrete Bit Flags

Description

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP70

On anytime the value in the accumulator is negative.

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 example, when X6 is on, the value formed by discrete locations X0--X3 is loaded into the accumulator using the Load Formatted instruction. The value formed by discrete locations C0--C3 is multiplied by the value in the accumulator using the Multiply Formatted instruction. The value in the lower four bits of the accumulator is copied to Y10--Y13 using the Out Formatted instruction. DirectSOFT X6

X3 LDF

X0 K4

Load the value represented by discrete locations X0--X3 into the accumulator

X2

X1

X0

OFF OFF ON ON The unused accumulator bits are set to zero

MULF

C0 K4

Y10 K4

0

0

0

0

0

0

0

¢ Acc. 0

0

0

0

0

0

0

3

(Accumulator)

C3

2

(C0--C3)

OFF OFF ON OFF

C2

C1

C0

6

Copy the lower 4 bits of the accumulator to discrete locations Y10--Y13

Handheld Programmer Keystrokes

Y13 Y12 Y11 Y10

STR

X(IN)

6

LD

SHFT

F

SHFT

MUL

SHFT

F

OUT

SHFT

F

OFF ON ON OFF X(IN)

0

K(CON)

4

SHFT

C(CR)

0

K(CON)

4

SHFT

Y(OUT)

1

0

K(CON)

4

DL405 User Manual, 4th Edition

Standard RLL Instructions

OUTF

Multiply the value in the accumulator with the value represented by discrete locations C0--C3

Page 280

5--108

Standard RLL Instructions Math Instructions

Divide Formatted is a 16 bit instruction that divides the BCD value in the accumulator by the BCD value (Aaaa), a range of discrete bits. The specified range (Kbbb) can be 1 to 16 consecutive bits. The first part of the quotient resides in the accumulator and the remainder resides in the first stack location.

Divide Formatted (DIVF)

430 440 450

DS

HPP

Operand Data Type

DIVF

A aaa K bbb

DL440 Range

DL450 Range

A/B aaa bbb aaa bbb

Inputs

X

0--477

----

0--477

----

Outputs

Y

0--477

----

0--477

----

Control Relays

C

0--1777

----

0--1777

----

Stage Bits

S

0--1777

----

0--1777

----

Timer Bits

T

0--377

----

0--377

----

Counter Bits

CT

0--177

----

0--177

----

Special Relays

SP

0--137 320--717

----

0--137 320--717

----

Global I/O

GX

0--1777

----

0--1777

----

Constant

K

----

1--16

----

1--16

Discrete Bit Flags

Description

SP53

On when the value of the operand is larger than the accumulator can work with.

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP70

On anytime the value in the accumulator is negative.

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 example, when X6 is on, the value formed by discrete locations X0--X3 is loaded into the accumulator using the Load Formatted instruction. The value in the accumulator is divided by the value formed by discrete location C0--C3 using the Divide Formatted instruction. The value in the lower four bits of the accumulator is copied to Y10--Y13 using the Out Formatted instruction. DirectSOFT X6

X3 LDF

X0 K4

DIVF

C0

Standard RLL Instructions

K4

OUTF

Y10 K4

X2

X1

X0

ON OFF OFF OFF

Load the value represented by discrete locations X0--X3 into the accumulator

The unused accumulator bits are set to zero

Divide the value in the accumulator with the value represented by discrete location C0--C3

0

0

0

0

0

0

0

­ Acc. 0

0

0

0

0

0

0

8

(Accumulator)

C3

2

(C0--C3)

OFF OFF ON OFF

4

0

0

Y13 Y12 Y11 Y10 X(IN)

6

LD

SHFT

F

SHFT

DIV

SHFT

F

OUT

SHFT

F

OFF ON OFF OFF X(IN)

0

K(CON)

SHFT

C(CR)

0

K(CON)

4

SHFT

Y(OUT)

1

0

K(CON)

DL405 User Manual, 4th Edition

0

0

0

0

0

First stack location contains the remainder

Copy the lower 4 bits of the accumulator to discrete locations Y10--Y13

Handheld Programmer Keystrokes STR

0

C2

4

4

C1

C0

Page 281

5--109

Standard RLL Instructions Math Instructions

Add Top of Stack is a 32 bit instruction that adds the BCD value in the accumulator with the BCD value in the first level of the accumulator stack. The result resides in the accumulator. The value in the first level of the accumulator stack is removed and all stack values are moved up one level.

Add Top of Stack (ADDS)

430 440 450

DS

HPP

ADDS

Discrete Bit Flags

Description

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP66

On when the 16 bit addition instruction results in a carry.

SP67

On when the 32 bit addition instruction results in a carry.

SP70

On anytime the value in the accumulator is negative.

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 example, when X1 is on, the value in V1400 and V1401 will be loaded into the accumulator using the Load Double instruction. The value in V1420 and V1421 is loaded into the accumulator using the Load Double instruction, pushing the value previously loaded in the accumulator onto the accumulator stack. The value in the first level of the accumulator stack is added with the value in the accumulator using the Add Stack instruction. The value in the accumulator is copied to V1500 and V1501 using the Out Double instruction. DirectSOFT X1

0

Load the value in V1400 and V1401 into the accumulator

LDD V1400

Acc. 0

Load the value in V1420 and V1421 into the accumulator

V1420

ADDS

Add the value in the accumulator with the value in the first level of the accumulator stack

OUTD V1500

V1400 0 2 6

0

5

0

3

9

X(IN)

1

LD

SHFT

D D

SHFT SHFT

ADD

SHFT

S

SHFT

OUT

SHFT

D

SHFT

V

1

V1420 2 0 5 6

0

1

7

2

0

5

6

Acc. 0

0

5

6

7

0

8

2

0

0

5

V1501

4

6

0

0

V

1

4

2

0

V

1

5

0

0

6

7

0

8

V1500

2

Accumulator stack after 1st LDD Level 1

X

X X

X X

X X

X

Level 2

X

X X

X X

X X

X

Level 3

X

X X

X X

X X

X

Level 4

X

X X

X X

X X

X

Level 5

X

X X

X X

X X

X

Level 6

X

X X

X X

X X

X

Level 7

X

X X

X X

X X

X

Level 8

X

X X

X X

X X

X

Accumulator stack after 2nd LDD Level 1

0

0

3

9 5

0

2

6

Level 2

X

X X

X X

X X

X

Level 3

X

X X

X X

X X

X

Level 4

X

X X

X X

X X

X

Level 5

X

X X

X X

X X

X

Level 6

X

X X

X X

X X

X

Level 7

X

X X

X X

X X

X

Level 8

X

X X

X X

X X

X

DL405 User Manual, 4th Edition

Standard RLL Instructions

STR

2

Acc. 0

Copy the value in the accumulator to V1500 and V1501

Handheld Programmer Keystrokes

SHFT

5

V1421 0 0 1 7

LDD

LD

V1401 0 3 9

Page 282

5--110

Standard RLL Instructions Math Instructions

Subtract Top of Stack is a 32 bit instruction that subtracts the BCD value in the first level of the accumulator stack from the BCD value in the accumulator. The result resides in the accumulator. The value in the first level of the accumulator stack is removed and all stack values are moved up one level.

Subtract Top of Stack (SUBS)

430 440 450

DS

HPP

SUBS

Discrete Bit Flags

Description

SP63

On when the result of the instruction causes the value in the accumulator to be zero.

SP64

On when the 16 bit subtraction instruction results in a borrow.

SP65

On when the 32 bit subtraction instruction results in a borrow.

SP70

On anytime the value in the accumulator is negative.

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 example, when X1 is on, the value in V1400 and V1401 will be loaded into the accumulator using the Load Double instruction. The value in V1420 and V1421 is loaded into the accumulator using the Load Double instruction, pushing the value previously loaded into the accumulator onto the accumulator stack. The BCD value in the first level of the accumulator stack is subtracted from the BCD value in the accumulator using the Subtract Stack instruction. The value in the accumulator is copied to V1500 and V1501 using the Out Double instruction. DirectSOFT X1

V1401 LDD V1400

0

1

7

2

0

5

6

Acc. 0

0

1

7

2

0

5

6

Load the value in V1420 and V1421 into the accumulator

LDD V1420

Subtract the value in the first level of the accumulator stack from the value in the accumulator

SUBS

V1400

0

Load the value in V1400 and V1401 into the accumulator

V1420

V1421 0

0

3

9

5

0

2

6

Acc. 0

0

3

9

5

0

2

6

Acc. 0

0

2

2

2

9

7

0

Accumulator stack after 1st LDD Level 1

X

X

X

X

X

X

X

X

Level 2

X

X

X

X

X

X

X

X

Level 3

X

X

X

X

X

X

X

X

Level 4

X

X

X

X

X

X

X

X

Level 5

X

X

X

X

X

X

X

X

Level 6

X

X

X

X

X

X

X

X

Level 7

X

X

X

X

X

X

X

X

Level 8

X

X

X

X

X

X

X

X

Accumulator stack after 2nd LDD Copy the value in the accumulator to V1500 and V1501

OUTD V1500

0

Standard RLL Instructions

Handheld Programmer Keystrokes STR

X(IN)

0

2

V1501

1

LD

SHFT

D

SHFT

V

1

4

0

0

LD

SHFT

D

SHFT

V

1

4

2

0

SUB

SHFT

S

SHFT

OUT

SHFT

D

SHFT

V

1

5

0

0

DL405 User Manual, 4th Edition

2

2

9

7

V1500

0

Level 1

0

0

1

7

2

0

5

6

Level 2

X

X

X

X

X

X

X

X

Level 3

X

X

X

X

X

X

X

X

Level 4

X

X

X

X

X

X

X

X

Level 5

X

X

X

X

X

X

X

X

Level 6

X

X

X

X

X

X

X

X

Level 7

X

X

X

X

X

X

X

X

Level 8

X

X

X

X

X

X

X

X