D - ascii conversion tables, Appendix d, Ascii conversion tables – Rockwell Automation 1769-ASCII Compact I/O ASCII Module User Manual

Page 103: Appendix

Advertising
background image

Rockwell Automation Publication 1769-UM012B-EN-P - January 2014

103

Appendix

D

ASCII Conversion Tables

The following table defines the conversions between decimal, octal, hex, and
binary values and the ASCII character or control associated with that value.

Table 14 - ASCII Conversions

Decimal

Octal

Hex

Binary

ASCII Character or Control

Decimal

Octal

Hex

Binary

ASCII Character or Control

0

0

00

0000000

Control Shift P, NUL

25

31

19

0011001

Control Y, EM

1

1

01

0000001

Control A, SOH

26

32

1A

0011010

Control Z, SUB

2

2

02

0000010

Control B, STX

27

33

1B

0011011

Control Shift K, ESC

3

3

03

0000011

Control C, ETX

28

34

1C

0011100

Control Shift L, FS

4

4

04

0000100

Control D, EOT

29

35

1D

00141101

Control Shift M, GS

5

5

05

0000101

Control E, ENQ

30

36

1E

0011110

Control Shift N, RS

6

6

06

0000110

Control F, ACK

31

37

1F

0011111

Control Shift O, US

7

7

07

0000111

Control G, Rings bell

32

40

20

0100000

Space, SP

8

10

08

0001000

Control H, Backspace on some
terminals

33

41

21

0100001

!

9

11

09

0001001

Control I, Horizontal tab on
some terminals

34

42

22

0100010

10

12

0A

0001010

Control J, Line feed

35

43

23

0100011

#

11

13

0B

0001011

Control K, VT

36

44

24

0100100

$

12

14

0C

0001000

Control L, Form feed on some
terminals

37

45

25

0100101

%

13

15

0D

0001101

Control M, Carraige return

38

46

26

0100110

&

14

16

0E

0001110

Control N, SO

39

47

27

0100111

15

17

0F

0001111

Control O, SI

40

50

28

0101000

(

16

20

10

0010000

Control P, DLE

41

51

29

0101001

)

17

21

11

0010001

Control Q, DC1

42

52

2A

0101010

*

18

22

12

0010010

Control R, DC2

43

53

2B

0101011

+

19

23

13

0010011

Control S, DC3

44

54

2C

0101100

,

20

24

14

0010100

Control T, DC4

45

55

2D

0101101

-

21

25

15

0010101

Control U, NAK

46

56

2E

0101110

.

22

26

16

0010110

Control V, SYN

47

57

2F

0101111

/

23

27

17

0010111

Control W, EB

48

60

30

0110000

0

24

30

18

0011000

Control X, CAN

49

61

31

0110001

1

50

62

32

0110010

2

85

125

55

1010101

U

51

63

33

0110011

3

86

126

56

1010110

V

52

64

34

0110100

4

87

127

57

1010111

W

Advertising