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

The text of a manual · part 23 of 40

DL05 Micro PLC User Manual, Volume 1 of 2: Chapter 5: Standard RLL and Intelligent Box Instructions, pages 204 to 213

Pages 204 to 213 of 379, from DL05 Micro PLC User Manual, Volume 1 of 2

The original document is the PDF (5.8 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 D0-05AA

Page 204

Chapter 5: Standard RLL - Math Instructions

Divide Binary (DIVB) DS5

Used

HPP

Used

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.

1 A aaa 2 3 Operand Data Type DL05 Range aaa 4 5 Discrete Bit Flags Description 6 7 NOTE: Status flags are valid only until another instruction uses the same flag. 8 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 9 the binary value in V1420 using the Divide Binary instruction. The value in the accumulator is copied to V1500 using the Out instruction. 10 11 12 13 14 A B C D DIVB

....................................A V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P Constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K

SP53 SP63 SP70

X1

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 zero. On anytime the value in the accumulator is negative.

Use either V-memory

DirectSOFT 5 DirectSOFT32 Display

See memory map See memory map 0–FFFF

OR

Constant

LD

LDD K64001

V1400

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

BIN

F

V1400 A 0

F

A 0

1

(Accumulator)

0

0

5

0

(V1420)

0

3

2

0

0

1

The unused accumulator bits are set to zero 0

DIVB

0

0

0

_..

V1420

Acc.

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

0

0

0

0

0

0

0

First stack location contains the remainder

OUT

V1500

0

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

3

2

0

V1500

Handheld Programmer Keystrokes STR

SHFT

L

X

1

ENT

D

V

1

V

SHFT

D

I

OUT

SHFT

D

4

0

V

1

4

2

1

5

0

0

ENT

B V

0

ENT

0

ENT

DL05 Micro PLC User Manual, 6th Edition, Rev. A

5–81

Page 205

Chapter 5: Standard RLL - Bit Operation Instructions

1 Bit Operation Instructions Sum (SUM) 2 The Sum instruction counts number of bits that are set to “1” in the accumulator. The HEX result resides in the accumulator. 3 Discrete Bit Flags Description 4 In the following example, when X1 is on, the value formed by discrete locations X10–X17 is 5 loaded into the accumulator using the Load Formatted instruction. The number of bits in the accumulator set to “1” is counted using the Sum instruction. The value in the accumulator is copied to V1500 using the Out instruction. 6 7 8 9 10 11 12 13 14 A B C D SUM

DS5

Used

HPP

Used

SP63

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

DirectSOFT 5 Direct SOFT32 Display X1

X17 X16 X15 X14 X13 X12 X11 X10

LDF

ON ON OFF OFF ON OFF ON ON

X10

K8

The unused accumulator bits are set to zero

Load the value represented by discrete locations X10–X17 into the accumulator

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

0

0

1

1

0

0

1

1

Acc.

0

0

0

0

0

0

0

0

0

0

0

0

Acc. 0

SUM

0

0

0

0

0

0

0

0

0

0

0

0

0

5

0

0

0

5

Sum the number of bits in the accumulator set to “1”

OUT

V1500

V1500

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

Handheld Programmer Keystrokes $

B

STR

SHFT SHFT

S RST

GX OUT

5–82

1

L ANDST

D

ENT

F

3

A

B

5

1

SHFT

U

ISG

M ORST

PREV

PREV

PREV

I

0

8

ENT

ENT

B

F

1

A

5

A

0

0

ENT

DL05 Micro PLC User Manual, 6th Edition, Rev. A

0

0

0

0

1

Page 206

Chapter 5: Standard RLL - Bit Operation Instructions

Shift Left (SHFL) DS5

Used

HPP

Used

1 2 3 Operand Data Type DL05 Range aaa 4 5 Discrete Bit Flags Description 6 In the following example, when X1 is on, the value in V2000 and V2001 will be loaded into the accumulator using the Load Double instruction. The bit pattern in the accumulator is 7 shifted 2 bits to the left using the Shift Left instruction. The value in the accumulator is copied to V2010 and V2011 using the Out Double instruction. 8 9 10 11 12 13 14 A B C D SHFL

Shift Left is a 32 bit instruction that shifts the bits in the accumulator a specified number (Aaaa) of places to the left. The vacant positions are filled with zeros and the bits shifted out of the accumulator are discarded.

A aaa

....................................A V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K

SP63 SP70

See memory map 1-32

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.

Direct SOFT325 DirectSOFT

V2001

X1

6

LDD

7

0

V2000

5

33 31 10 01

V2000

Load the value in V2000 and V2001 into the accumulator

SHFL

Acc.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

0

1

0

0

0

0

0

0

1

1

1

0

0

1

1

1

0

0

0

0

0

1

0

1

0

0

1

1

0

0

0

0

K2

The bit pattern in the accumulator is shifted 2 bit positions to the left

. . . .

Shifted out of the accumulator

OUTD

V2010

Copy the value in the accumulator to V2010 and V2011

Acc.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

1 0

0

0

0

0

0

1

0

0

C

4

0

4

0

0

1 0

1 0

1

0

9

B

STR

1

SHFT

L ANDST

SHFT

S

GX OUT

SHFT

RST

D

3

D

C

3

H

A

2

F

7

5

C

3

0

C

1

4

0

1 0

0

1 0

0

0

1

1

0

0

0

1

0

0

V2010

ENT

D

SHFT

0

V2011

Handheld Programmer Keystrokes $

0

A

2

A

0

L ANDST

2

B

0

A

0

C

A

1

0

0

ENT

ENT ENT

DL05 Micro PLC User Manual, 6th Edition, Rev. A

5–83

Page 207

Chapter 5: Standard RLL - Bit Operation Instructions

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

Shift Right (SHFR) DS5

Used

HPP

Used

5–84

Shift Right is a 32 bit instruction that shifts the bits in the accumulator a specified number (Aaaa) of places to the right. The vacant positions are filled with zeros and the bits shifted out of the accumulator are lost. Operand Data Type

SHFR A aaa

DL05 Range aaa

....................................A V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V Constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . K

See memory map 1-32

Discrete Bit Flags

Description

SP63 SP70

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.

In the following example, when X1 is on, the value in V2000 and V2001 will be loaded into the accumulator using the Load Double instruction. The bit pattern in the accumulator is shifted 2 bits to the right using the Shift Right instruction. The value in the accumulator is copied to V2010 and V2011 using the Out Double instruction. DirectSOFT 5 Direct SOFT32

V2001

X1

6

Constant

LDD

7

0

V2000 5

33 11 00 11

V2000 Load the value in V2000 and V2001 into the accumulator

SHFR

Acc.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

0

1

0

0

0

0

0

1

1

1

0

0

1

1

1

0

0

0

0

0

1

0

1

0

0

1

1

0

0

0

0

0

K2

... .

The bit pattern in the accumulator is shifted 2 bit positions to the right

Shifted out of the accumulator

OUTD V2010 Acc.

Copy the value in the accumulator to V2010 and V2011

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

0

0

0

0

1

0

0

0

0

4

C

4

0

0

0

1 0

1 0

0 1

0

1

1 0

1 0

1 0

9

C

1

0

0

V2011 Handheld Programmer Keystrokes $

B STR

1

SHFT

L ANDST

SHFT

S

GX OUT

SHFT

RST

D

ENT D

3 SHFT D

C 3

H 7

5 C

3

A 2

F

A 2

A 0

R ORN

2 B

0

A 0

C A 1

0

0

ENT

ENT ENT

DL05 Micro PLC User Manual, 6th Edition, Rev. A

0

0

0

1 0

0

1

0

0

1

1

V2010

0

0

Page 208

Chapter 5: Standard RLL - Bit Operation Instructions

Encode (ENCO) DS5

Used

HPP

Used

1 2 3 4 5 Discrete Bit Flags Description 6 NOTE: The status flags are only valid until another instruction that uses the same flags is executed. 7 In the following example, when X1 is on, The value in V2000 is loaded into the accumulator using the Load instruction. The bit position set to a “1” in the accumulator is encoded to the 8 corresponding 5 bit binary value using the Encode instruction. The value in the lower 16 bits of the accumulator is copied to V2010 using the Out instruction. 9 10 11 12 13 14 A B C D The Encode instruction encodes the bit position in the accumulator having a value of 1, and returns the appropriate binary representation. If the most significant bit is set to 1 (Bit 31), the Encode instruction would place the value HEX 1F (decimal 31) in the accumulator. If the value to be encoded is 0000 or 0001, the instruction will place a zero in the accumulator. If the value to be encoded has more than one bit position set to a “1”, the least significant “1” will be encoded and SP53 will be set on. SP63 SP70

ENCO

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.

DirectSOFT Direct SOFT32 5

V2000

1

X1

0

0

0

LD

V2000

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

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

0

0

0

0

0

0

0

0

0

Acc.

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

0

0

0

0

Bit postion 12 is converted to binary

ENCO

Encode the bit position set to “1” in the accumulator to a 5 bit binary value

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

0

0

0

0

0

1

0

0

0

0

0

Acc.

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

OUT

V2010

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

V2010

C

Binary value for 12.

Handheld Programmer Keystrokes $

B

STR

1

ENT

SHFT

L ANDST

D

SHFT

E

N TMR

C

SHFT

V AND

GX OUT

4

C

3

2

A

A

2

0

O INST#

ENT

C

A

2

A

0

B

0

0

A

1

0

ENT

ENT

DL05 Micro PLC User Manual, 6th Edition, Rev. A

5–85

Page 209

Chapter 5: Standard RLL - Bit Operation Instructions

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

Decode (DECO) DS5

Used

HPP

Used

5–86

The Decode instruction decodes a 5 bit binary value of 0–31 (0–1F HEX) in the accumulator by setting the appropriate bit DECO position to a 1. If the accumulator contains the value F (HEX), bit 15 will be set in the accumulator. If the value to be decoded is greater than 31, the number is divided by 32 until the value is less than 32 and then the value is decoded. In the following example when X1 is on, the value formed by discrete locations X10–X14 is loaded into the accumulator using the Load Formatted instruction. The five bit binary pattern in the accumulator is decoded by setting the corresponding bit position to a “1” using the Decode instruction.

DirectSOFT Direct SOFT32 5

X14

X1

LDF

X13 X12 X11 X10

OFF ON OFF ON ON

X10 K5

Load the value in represented by discrete locations X10–X14 into the accumulator Acc.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

0

0

0

0

0

0

1

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

The binary vlaue is converted to bit position 11.

DECO

Decode the five bit binary pattern in the accumulator and set the corresponding bit position to a “1”

Acc.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Handheld Programmer Keystrokes $

B STR

1

SHFT

L ANDST

D

SHFT

D

E 3

ENT F

3

A

B 5

C 4

1

2

1 O INST#

F 0

5

ENT

ENT

DL05 Micro PLC User Manual, 6th Edition, Rev. A

0

0

0

0

0

0

0

0

0

1

0

0

0

0

Page 210

Chapter 5: Standard RLL - Number Conversion Instructions

Number Conversion Instructions (Accumulator)

1 Binary (BIN) 2 The Binary instruction converts a BCD value in the accumulator to the equivalent binary value. The result resides in the accumulator. 3 In the following example, when X1 is on, the value in V2000 and V2001 is loaded into the accumulator using the Load Double instruction. The BCD value in the accumulator is 4 converted to the binary (HEX) equivalent using the BIN instruction. The binary value in the accumulator is copied to V2010 and V2011 using the Out Double instruction. (The 5 handheld programmer will display the binary value in V2010 and V2011 as a HEX value.) Discrete Bit Flags Description 6 7 8 9 10 11 12 13 14 A B C D BIN

DS5 HPP

Used Used

SP63 SP70 SP75

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 DirectSOFT32 5

V2001

X1

LDD

V2000

0

0

0

2

8

5

2

9

V2000

Load the value in V2000 and V2001 into the accumulator

Acc.

8 4

2

1

8

4 2

1

8

4

2 1

8

4

2

1

8 4

2

1

8

4 2

1

8

4

2 1

8

4

2

1

0 0

0

0

0

0 0

0

0

0

0 0

0

0

1

0

1 0

0

0

0

1 0

1

0

0

1 0

1

0

0

1

BCD Value

28529 = 16384 + 8192 + 2048 + 1024 + 512 + 256 + 64 + 32 + 16 + 1 Binary Equivalent Value

BIN

Convert the BCD value in the accumulator to the binary equivalent value

Acc.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8

7

6 5

4 3

2

1

0

0

0 0

0

0

0

0 0

0

0

0

0 0

0

0

0

0

1 1

0

1

1

1 1

0

1

1

1 0

0

0

1

2 1 4 7 4 4 8 3 6 4 8

1 0 7 3 7 4 1 8 2 4

2 6 8 4 3 5 4 5 6

1 3 4 2 1 7 7 2 8

6 7 1 0 8 8 6 4

3 3 5 5 4 4 3 2

8 3 8 8 6 0 8

4 1 9 4 3 0 4

2 0 9 7 1 5 2

1 0 4 8 5 7 6

2 6 2 1 4 4

1 3 1 0 7 2

6 5 5 3 6

3 2 7 6 8

1 6 3 8 4

8 1 9 2

4 0 9 6

2 0 4 8

1 0 2 4

5 2 1 5 2 6

1 6 2 4 8

3 2

1 8 6

4

2

1

0

0

6

F

7

1

5 3 6 8 7 0 9 1 2

1 6 7 7 7 2 1 6

5 2 4 2 8 8

OUTD

V2010

0

Copy the binary data in the accumulator to V2010 and V2011

0

V2011

V2010

The Binary (HEX) value copied to V2010

St

Handheld Programmer Keystrokes d d RLL

$ STR

B

1

SHFT

L ANDST

D

SHFT

B

I

GX OUT

SHFT

1

ENT

D

C

3

3

8

N TMR

D

A

0

A

0

0

ENT

ENT

C 3

A

2

A 2

B 0

A 1

0

ENT

DL05 Micro PLC User Manual, 6th Edition, Rev. A

5–87

Page 211

Chapter 5: Standard RLL - Number Conversions Instructions

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

Binary Coded Decimal (BCD) DS5

Used

HPP

Used

BCD The Binary Coded Decimal instruction converts a binary value in the accumulator to the equivalent BCD value. The result resides in the accumulator. In the following example, when X1 is on, the binary (HEX) value in V2000 and V2001 is loaded into the accumulator using the Load Double instruction. The binary value in the accumulator is converted to the BCD equivalent value using the BCD instruction. The BCD value in the accumulator is copied to V2010 and V2011 using the Out Double instruction.

Discrete Bit Flags

Description

SP63 SP70

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.

DirectSOFT DirectSOFT325

V2001

X1

0

LDD

0

0

V2000 0

6

F

7

1

Binary Value

V2000 Load the value in V2000 and V2001 into the accumulator

Acc.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7 6 5

4 3

2

1

0

0

0

0

0 0

0

0

0

0 0

0

0

0

0 0

0

0

1

1

0 1

1

1

1

0 1

1

1

0

0 0

1

2 1 4 7 4 4 8 3 6 4 8

1 0 7 3 7 4 1 8 2 4

5 3 6 8 7 0 9 1 2

2 6 8 4 3 5 4 5 6

6 7 1 0 8 8 6 4

3 3 5 5 4 4 3 2

1 6 7 7 7 2 1 6

8 3 8 8 6 0 8

2 0 9 7 1 5 2

1 0 4 8 5 7 6

5 2 4 2 8 8

2 6 2 1 4 4

6 5 5 3 6

3 2 7 6 8

1 6 3 8 4

8 1 9 2

4 0 9 6

1 0 2 4

5 1 2

2 5 6

1 6 2 4 8

3 2

1 6

8

4

2 1

1 3 4 2 1 7 7 2 8

BCD

4 1 9 4 3 0 4

1 3 1 0 7 2

2 0 4 8

16384 + 8192 + 2048 + 1024 + 512 + 256 + 64 + 32 + 16 + 1 = 28529 BCD Equivalent Value

Convert the binary value in the accumulator to the BCD equivalent value Acc.

8

4 2

1

8

4

2 1

8

4

2

1 8

4

2

1

8

4 2

1

8

4

2 1

8

4

2

1 8

4

2

1

0

0

0 0

0

0

0 0

0

0

0 1

0

1

0

0

0 0

1

0

0 0

1

0

0 0

1

0

2

8

5

2

9

The BCD value copied to V2010 and V2011

0

0

0

1

OUTD V2010 Copy the BCD value in the accumulator to V2010 and V2011

0

0

V2011

Handheld Programmer Keystrokes B

$ STR SHFT SHFT GX OUT

5–88

1 L ANDST

D

B

C

3

1

C 3

D 2

SHFT

ENT D

D

3

A 0

A 0

0

ENT

ENT C

3

A 2

A 2

B 0

A 1

0

ENT

DL05 Micro PLC User Manual, 6th Edition, Rev. A

V2010

1

Page 212

Chapter 5: Standard RLL - Number Conversions Instructions

Invert (INV) DS5

Used

HPP

Used

The Invert instruction inverts or takes the one’s INV complement of the 32 bit value in the accumulator. The result resides in the accumulator. In the following example, when X1 is on, the value in V2000 and V2001 will be loaded into the accumulator using the Load Double instruction. The value in the accumulator is inverted using the Invert instruction. The value in the accumulator is copied to V2010 and V2011 using the Out Double instruction.

DirectSOFT Direct SOFT32 5

V2001

X1

0

LDD

4

0

V2000 5

00 22 55 00

V2000 Load the value in V2000 and V2001 into the accumulator

Acc.

INV Acc.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

0

1

0

0

1

1

0

0

0

0

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9

8

7

6 5

4 3

2

1

0

1

1

1

0

0

1

1

1

0

1

0

0

1

1

0

1

1

0

0

1

0

1

0

1

0

1

0

1

0

0

1

1

1

0

1

0

1

0

B

F

A

0

1

0

0

0

1

1

1

D

A

F

0

1

0

1

0

Invert the binary bit pattern in the accumulator

F

OUTD V2010

V2011

F

V2010

Copy the value in the accumulator to V2010 and V2011

Handheld Programmer Keystrokes $

B STR

1

ENT

SHFT

L ANDST

D 3

3

SHFT

I

N TMR

V AND

GX OUT

SHFT

8

D

D

C

A 0

A 0

0

ENT

ENT C

3

A 2

A 2

B 0

A 1

0

ENT

DL05 Micro PLC User Manual, 6th Edition, Rev. A

0

1

1

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

5–89

Page 213

Chapter 5: Standard RLL - Number Conversion Instructions

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

ASCII to HEX (ATH) DS5

Used

HPP

Used

5–90

The ASCII TO HEX instruction converts a table of ASCII values to a specified table of HEX values. ASCII values are two digits and their HEX equivalents are one digit. This ATH means an ASCII table of four V-memory locations would V aaa only require two V-memory locations for the equivalent HEX table. The function parameters are loaded into the accumulator stack and the accumulator by two additional instructions. Listed below are the steps necessary to program an ASCII to HEX table function. The example on the following page shows a program for the ASCII to HEX table function. Step 1:, Load the number of V-memory locations for the ASCII table into the first level of the accumulator stack. Step 2:, Load the starting V-memory location for the ASCII table into the accumulator. This parameter must be a HEX value. Step 3:, Specify the starting V-memory location (Vaaa) for the HEX table in the ATH instruction. Helpful Hint:, For parameters that require HEX values when referencing memory locations, the LDA instruction can be used to convert an octal address to the HEX equivalent and load the value into the accumulator. Operand Data Type

DL05 Range aaa

V-memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V

Discrete Bit Flags SP53

See memory map

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

In the example on the following page, when X1 is ON the constant (K4) is loaded into the accumulator using the Load instruction and will be placed in the first level of the accumulator stack when the next Load instruction is executed. The starting location for the ASCII table (V1400) is loaded into the accumulator using the Load Address instruction. The starting location for the HEX table (V1600) is specified in the ASCII to HEX instruction. The table below lists valid ASCII values for ATH conversion. ASCII Values Valid for ATH Conversion ASCII Value

HEX Value

ASCII Value

HEX Value

30 31 32 33 34 35 36 37

0 1 2 3 4 5 6 7

38 39 41 42 43 44 45 46

8 9 A B C D E F

DL05 Micro PLC User Manual, 6th Edition, Rev. A