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

The text of a manual · part 34 of 60

DL205 PLC User Manual, Volume 1 of 2, pages 331 to 340

Pages 331 to 340 of 598

The original document is the PDF (12 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 D2-04TD1, AutomationDirect D2-08TD2, AutomationDirect D2-16ND3-2, AutomationDirect D2-32ND3, Konnect-It D2-04TD1, Koyo D2-04TD1, Konnect-It D2-08TD2, Koyo D2-08TD2, and 5 more models

Page 331

Chapter 5: Standard RLL Instructions

Increment Binary (INCB) Increment Binary instruction increments a binary value in 230 The a specified V-memory location by “1” each time the instruction 240 is executed. 250-1 260

INCB A aaa

DS Used HPP Used

Operand Data Type

DL230 Range

DL240 Range

DL250-1 Range

A aaa aaa aaa aaa

V-memory

V

All (See page 3 - 53)

Pointer

P

-

All (See page 3-54) All V-memory (See page 3-54)

All (See page 3-55) All V-memory (See page 3-55)

All (See page 3-56) All V-memory (See page 3-56)

Discrete Bit Flags SP63

DL260 Range

Description 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.

DirectSOFT C5

V2000 4

INCB

A

3

Handheld Programmer Keystrokes C

V2000

$

STR

SHFT

Increment the binary value in V2000 by “1”

I

8

SHFT

C

N TMR

C

2 2

F B

5 1

ENT C

2

A

0

A

0

V2000 4

A

3

D

DL205 User Manual, 4th Edition, Rev. D

A

0

ENT

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

5-107

Page 332

Chapter 5: Standard RLL Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

Decrement Binary (DECB) Decrement Binary instruction decrements a binary 230 The value in a specified V-memory location by “1” each time the 240 instruction is executed. 250-1 260

DECB A aaa

DS Used HPP Used

Operand Data Type

DL230 Range

DL240 Range

DL250-1 Range

A aaa aaa aaa aaa

V-memory

V

All (See page 3 - 53)

Pointer

P

-

All (See page 3 - 54) All V-memory (See page 3 - 54)

All (See page 3 - 55) All V-memory (See page 3 - 55)

All (See page 3 - 56) All V-memory (See page 3 - 56)

Discrete Bit Flags SP63

DL260 Range

Description 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 flag is executed.

In the following example, when C5 is on, the value in V2000 is decreased by 1. V2000

DirectSOFT

5-108

C5

4

DECB

A

? 3

C

V2000 Decrement the binary value in V2000 by “1”

A

? 3

$

STR

SHFT

V2000 4

Handheld Programmer Keystrokes SHFT

P

D

E

3

B

DL205 User Manual, 4th Edition, Rev. D

CV 4

D C

SHFT

3 2

B

1

C C

2 2

F A

5 0

ENT A

0

A

0

ENT

Page 333

Chapter 5: Standard RLL Instructions

Add Formatted (ADDF)

1 2 Operand Data Type DL260 Range 3 A aaa bbb 4 5 6 7 Discrete Bit Flags Description 8 9 10 11 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 12 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 13 the Out Formatted instruction. 14 A B C D

Formatted is a 32-bit instruction that adds the BCD value 230 Add in the accumulator with the BCD value (Aaaa), which is a range 240 of discrete bits. The specified range (Kbbb) can be 1 to 32 250-1 consecutive bits. The result resides in the accumulator. 260 DS Used HPP Used

SP63 SP66 SP67 SP70 SP75

Inputs Outputs Control Relays Stage Bits Timer Bits Counter Bits Special Relays Global I/O Constant

X Y C S T CT SP GX/GY K

A aaa ADDF K bbb

0-1777 0-1777 0-3777 0-1777 0-377 0-377 0-777 0-3777 -

1-32

On when the result of the instruction causes the value in the accumulator to be zero On when the 16-bit addition instruction results in a carry On when the 32-bit addition instruction results in a carry On anytime the value in the accumulator is negative On when a BCD instruction is executed and a NON-BCD number was encountered

DirectSOFT X6

LDF

X0

Load the BCD value represented by discrete locations X0–X3 into the accumulator

C0

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

K4

ADDF

K4

OUTF

Y10

K4

X3 X2 X1 X0 ON OFF OFF OFF

The unused accumulator bits are set to zero 0

0

0

0

0

0

0

+

Acc.

0

0

0

1

0

0

0

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–Y13

Handheld Programmer Keystrokes $

G

STR

SHFT

L ANDST

D

SHFT

A

D

GX OUT

0

SHFT

F

6

3

3 5

Y13 Y12 Y11 Y10

ENT

F

D

OFF OFF OFF ON

A

5

3

F

B

NEXT

5 1

E

0

A

0

4

ENT

NEXT

NEXT

E

ENT

4

NEXT

A

0

E

4

ENT

DL205 User Manual, 4th Edition, Rev. D

5-109

Page 334

Chapter 5: Standard RLL Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

Subtract Formatted (SUBF) Subtract Formatted is a 32-bit instruction that subtracts the BCD value (Aaaa), which is a range of discrete bits, from the BCD value in the accumulator. The specified range (Kbbb) can be 1 to 32 consecutive bits. The result resides in the accumulator.

230 240 250-1 260 DS Used HPP Used

Operand Data Type Inputs Outputs Control Relays Stage Bits Timer Bits Counter Bits Special Relays Global I/O Constant

DL260 Range A aaa bbb

X Y C S T CT SP GX/GY K

0-1777 0-1777 0-3777 0-1777 0-377 0-377 0-777 0-3777 -

1-32

Discrete Bit Flags

Description

SP63 SP64 SP65 SP70 SP75

On when the result of the instruction causes the value in the accumulator to be zero On when the 16-bit subtraction instruction results in a borrow On when the 32-bit subtraction instruction results in a borrow On anytime the value in the accumulator is negative 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

X3

X6

K4

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

K4

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

LDF

X0

SUBF

C0

Y10 K4

X2

X1

X0

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

0

0

0

0

0

0

_ ACC. 0

OUTF

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 $

G

STR

Y13 Y12 Y11 Y10 6

SHFT

L ANDST

D

SHFT

S RST

SHFT

SHFT

F

GX OUT

5-110

SUBF A aaa K bbb

3

5

ENT F U

OFF OFF OFF ON A

5 ISG

B B

1 1

F A

0 5 0

E

4

ENT

NEXT

NEXT

E

ENT

4

NEXT

DL205 User Manual, 4th Edition, Rev. D

NEXT

A

0

E

4

ENT

C2

C1

C0

Page 335

Chapter 5: Standard RLL Instructions

Multiply Formatted (MULF)

1 2 Operand Data Type DL260 Range 3 A aaa bbb 4 5 6 7 Discrete Bit Flags Description 8 9 10 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 11 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 12 Formatted instruction. The value in the lower four bits of the accumulator is copied to Y10– Y13 using the Out Formatted instruction. 13 14 A B C D

Formatted is a 16-bit instruction that multiplies the 230 Multiply BCD value in the accumulator by the BCD value (Aaaa) which 240 is a range of discrete bits. The specified range (Kbbb) can be 1 250-1 to 16 consecutive bits. The result resides in the accumulator. 260 DS Used HPP Used

SP63 SP70 SP75

Inputs Outputs Control Relays Stage Bits Timer Bits Counter Bits Special Relays Global I/O Constant

X Y C S T CT SP GX/GY K

A aaa

MULF

K bbb

0-1777 0-1777 0-3777 0-1777 0-377 0-377 0-777 0-3777 -

1-16

On when the result of the instruction causes the value in the accumulator to be zero On anytime the value in the accumulator is negative On when a BCD instruction is executed and a NON-BCD number was encountered

DirectSOFT

X3

X6

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

OUTF

Y10

K4

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

0

0

0

0

0

0

0

X

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 $

G

STR

SHFT

L ANDST

D

SHFT

M ORST

U

GX OUT

SHFT

F

6

3

ISG 5

Y13 Y12 Y11 Y10

ENT

F

OFF ON ON OFF

A

5

L ANDST

F

B

NEXT

5

1

E

0

A

0

ENT

4

NEXT

NEXT

E

ENT

4

NEXT

A

0

E

4

ENT

DL205 User Manual, 4th Edition, Rev. D

5-111

Page 336

Chapter 5: Standard RLL Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

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

DS Used HPP Used

Inputs Outputs Control Relays Stage Bits Timer Bits Counter Bits Special Relays Global I/O Constant

A aaa K bbb

DL260 Range A aaa bbb

X Y C S T CT SP GX/GY K

0-1777 0-1777 0-3777 0-1777 0-377 0-377 0-777 0-3777 -

1-16

Discrete Bit Flags

Description

SP63 SP70 SP75

5-112

DIVF

On when the result of the instruction causes the value in the accumulator to be zero On anytime the value in the accumulator is negative 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

X3

X6

LDF

X0 K4

DIVF

C0 K4

OUTF

Y10 K4

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

G

STR

SHFT

L ANDST

D

SHFT

D

I

GX OUT

3

SHFT

F

6

_..

0

Acc. 0

0

0

0

0

0

0

3 8

0

0

5

0

0

0

0

8

(Accumulator)

C3

2

(C0- C3)

OFF OFF ON OFF

4

0

OFF ON OFF OFF A F B

0 NEXT

5 1

E

A

0

4

ENT

NEXT

NEXT

E

ENT

4

0

0

0

0

0

C2

0

First stack location contains the remainder

Y13 Y12 Y11 Y10

5

V AND

X0

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

ENT F

X1

The unused accumulator bits are set to zero

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

Handheld Programmer Keystrokes $

X2

ON OFF OFF OFF

NEXT

DL205 User Manual, 4th Edition, Rev. D

A

0

E

4

ENT

0

C1

C0

Page 337

Chapter 5: Standard RLL Instructions

Add Top of Stack (ADDS)

1 2 3 Discrete Bit Flags Description 4 5 6 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 7 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 8 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. 9 10 11 12 13 14 A B C D

Top of Stack is a 32-bit instruction that adds the BCD 230 Add value in the accumulator with the BCD value in the first 240 level of the accumulator stack. The result resides in the 250-1 accumulator. The value in the first level of the accumulator 260 stack is removed and all stack values are moved up one level. SP63 SP66 SP67 SP70 SP75

ADDS

On when the result of the instruction causes the value in the accumulator to be zero On when the 16-bit addition instruction results in a carr On when the 32-bit addition instruction results in a carry. On anytime the value in the accumulator is negativ. On when a BCD instruction is executed and a NON-BCD number was encountered

DS Used HPP Used

DirectSOFT

V1400

V1401

X1

0

Load the value in V1400 and V1401 into the accumulator

LDD

V1400

Acc.

0

0

0

3

3

9

9

5

5

0

Load the value in V1420 and V1421 into the accumulator

V1420

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

ADDS

V1500

B

STR

SHFT

L ANDST

D

SHFT

L ANDST

D

SHFT

A

D

GX OUT

0

SHFT

D

1

3 3

3 3

D D

B B

3

3

1

1

S RST

ENT

B

F

1

5

E E

A

4 4

0

A

C

A

0 2

0

2

0

5

6

0

1

7

2

0

5

6

Acc.

0

0

5

6

7

0

8

2

0

5

V1501

3

7

0

ENT

D

6

Acc.

0

Handheld Programmer Keystrokes $

1

2

6

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

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

Accumulator stack after 2nd LDD

Copy the value in the accumulator to V1500 and V1501

OUTD

0

0

2

V1420

V1421

LDD

0

A A

0 0

ENT

6

7

0

8

V1500

2

ENT

ENT

DL205 User Manual, 4th Edition, Rev. D

5-113

Page 338

Chapter 5: Standard RLL Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

Subtract Top of Stack (SUBS) Top of Stack is a 32-bit instruction that subtracts 230 Subtract the BCD value in the first level of the accumulator stack from 240 the BCD value in the accumulator. The result resides in the 250-1 accumulator. The value in the first level of the accumulator 260 stack is removed and all stack values are moved up one level. Discrete Bit Flags

S UBS

Description

SP63 SP64 SP65 SP70 SP75

On when the result of the instruction causes the value in the accumulator to be zero On when the 16-bit subtraction instruction results in a borrow On when the 32-bit subtraction instruction results in a borrow On anytime the value in the accumulator is negative 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. DS Used HPP Used

5-114

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

V1400

V1401

X1

0

Load the value in V1400 and V1401 into the accumulator

LDD V1400

Acc. Load the value in V1420 and V1421 into the accumulator

LDD V1420

0

1

1

7

7

2

2

V1421 0

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

SUBS

0

0

0

3

0

0

5

5

6

6

V1420 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

0

2

2

2

9

7

0

Level 1

0

0

5

6

Level 2

X

X X

1

7

X X

2

0

X X

X

Level 3

X

X X

X X

X X

X

Level 4

X

X X

X X

X X

X

Handheld Programmer Keystrokes

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

V1501 B

STR

1

SHFT

L ANDST

D

SHFT

L ANDST

D

SHFT

S RST

SHFT

GX OUT

SHFT

D

3 3

3

ENT D D U

B

3

B

3 ISG

B B

1 1

1 1

E E

4 4

S RST

ENT

F

A

5

0

A C

A

0 2

0

A A

0 0

ENT

DL205 User Manual, 4th Edition, Rev. D

ENT ENT

V1500

Page 339

Chapter 5: Standard RLL Instructions

Multiply Top of Stack (MULS)

1 2 3 Discrete Bit Flags Description 4 5 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 6 using the Load instruction. The value in V1420 is loaded into the accumulator using the Load instruction, pushing the value previously loaded in the accumulator onto the accumulator 7 stack. The BCD value in the first level of the accumulator stack is multiplied by the BCD value in the accumulator using the Multiply Stack instruction. The value in the accumulator 8 is copied to V1500 and V1501 using the Out Double instruction. 9 10 11 12 13 14 A B C D

Top of Stack is a 16-bit instruction that multiplies a 230 Multiply 4-digit BCD value in the first level of the accumulator stack by 240 a 4-digit BCD value in the accumulator. The result resides in 250-1 the accumulator. The value in the first level of the accumulator 260 stack is is removed, and all stack values are moved up one level.

SP63 SP70 SP75

MULS

On when the result of the instruction causes the value in the accumulator to be zero On anytime the value in the accumulator is negative On when a BCD instruction is executed and a NON-BCD number was encountered

DS Used HPP Used

DirectSOFT X1

Load the value in V1400 into the accumulator

LD

V1400

5

V1400 0 0 0

5

0

The unused accumulator bits are set to zero Acc.

0

0

0

0

0

0

V1420

Load the value in V1420 into the accumulator

LD

V1420

0

Acc.

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

MULS

Acc.

Copy the value in the accumulator to V1500 and V1501

OUTD

V1500

STR

SHFT

L ANDST

D

SHFT

L ANDST

D

SHFT

M ORST

U

GX OUT

SHFT

D

1

ENT

B

3

B

3

ISG 3

L ANDST

1

1

E E

4 4

S RST

ENT

B

F

1

5

A

C

A

0 2

0

A A

A

0 0

0

0

0

0

0

0

2

0

0

0

1

0

0

0

0

0

0

0

Handheld Programmer Keystrokes B

0

0

1

0

V1501

$

2

The unused accumulator bits are set to zero

0

0

0

0

V1500

0

Accumulator stack after 1st L DD

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 L DD

Level 1

0

0

0

0 5

0

0

0

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

ENT ENT

ENT

DL205 User Manual, 4th Edition, Rev. D

5-115

Page 340

Chapter 5: Standard RLL Instructions

1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D

Divide by Top of Stack (DIVS) Top of Stack is a 32-bit instruction that divides the 230 Divide 8-digit BCD value in the accumulator by a 4-digit BCD 240 value in the first level of the accumulator stack. The result 250-1 resides in the accumulator and the remainder resides in the 260 first level of the accumulator stack. Discrete Bit Flags

DIVS

Description

SP53 SP63 SP70 SP75

On when the value of the operand is larger than the accumulator can work with On when the result of the instruction causes the value in the accumulator to be zer On anytime the value in the accumulator is negative. 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. DS Used HPP Used

5-116

In the following example, when X1 is on, the Load instruction loads the value in V1400 into the accumulator. The value in V1420 is loaded into the accumulator using the Load Double instruction, pushing the value previously loaded in the accumulator onto the accumulator stack. The BCD value in the accumulator is divided by the BCD value in the first level of the accumulator stack using the Divide Stack instruction. The Out Double instruction copies the value in the accumulator to V1500 and V1501. DirectSOFT

V1400

X1

Load the value in V1400 into the accumulator

LD V1400

0

The unused accumulator bits are set to zero Acc.

0

0

0

0

0

Load the value V1420 and V1421 into the accumulator

LDD V1420

Acc.

Acc.

Copy the value in the accumulator to V1500 and V1501

OUTD V1500

5

STR

SHFT

L ANDST

D

SHFT

L ANDST

D

SHFT

D

I

GX OUT

SHFT

3

D

1

8 3

0

0

0

0

5

0

0

0

0

0

0

0

0

2

5

0

0

0

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

0

0

0

2

5

0

0

V1500

0

Level 1

0

0

0

0 0

0

2

0

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

The remainder resides in the first stack location

ENT B

3 3

0

0

Handheld Programmer Keystrokes B

0

0

V1501

$

2

Accumulator stack after 1st L DD

0

Accumulator stack after 2nd L DD

Divide the value in the accumulator by the value in the first level of the accumulator stack

DIVS

0

0

2

V1420

V1421 0

0

D

1

3

V AND

E B

4 1

S RST

ENT

B

F

1

5

A E

A

0 4

0

A C

A

0 2

0

ENT A

0

ENT

DL205 User Manual, 4th Edition, Rev. D

ENT

Level 1

0

0

0

0 0

0

0

0

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