4 character codes, Communication functions – MITSUBISHI ELECTRIC MR-J2S- CP User Manual

Page 314

Advertising
background image

15 - 7

15. COMMUNICATION FUNCTIONS


15.4 Character codes

(1) Control codes

Code name

Hexadecimal
(ASCII code)

Description

Personal computer terminal key operation

(General)

SOH

STX

ETX
EOT

01H
02H
03H
04H

start of head

start of text

end of text

end of transmission

ctrl A
ctrl B
ctrl C
ctrl D


(2) Codes for data

ASCII codes are used.

b

8

0

0

0 0 0 0 0 0

b

7

0

0

0 0 1 1 1 1

b

6

0

0

1 1 0 0 1 1

b

5

0

1

0 1 0 1 0 1

b

8

to

b

5

b

4

b

3

b

2

b

1

C

R

0

1

2 3 4 5 6 7

0 0 0 0 0

NUL DLE Space 0 @ P ` p

0 0 0 1 1

SOH DC

1

! 1

A

Q

a q

0 0 1 0 2

STX DC

2

“ 2

B

R

b r

0 0 1 1 3

ETX DC

3

# 3

C

S

c s

0 1 0 0 4

$

4

D

T

d

t

0 1 0 1 5

%

5

E

U

e

u

0 1 1 0 6

& 6

F

V

f v

0 1 1 1 7

7

G

W

g

w

1 0 0 0 8

(

8

H

X

h

x

1 0 0 1 9

)

9

I

Y

i

y

1 0 1 0 10

: J

Z

j z

1 0 1 1 11

;

K

[

k {

1 1 0 0 12

, L

l |

1 1 0 1 13

M ] m }

1 1 1 0 14

. N ^ n

_

1 1 1 1 15

/

?

O

_

o

DEL


(3) Station numbers

You may set 32 station numbers from station 0 to station 31 and the ASCII unit codes are used to
specify the stations.

Station number

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

ASCII code

0 1 2 3 4 5 6 7 8 9 A B C D E F

Station number

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

ASCII code

G H I J K L M N O P Q R S T U V

For example, "30H" is transmitted in hexadecimal for the station number of "0" (axis 1).


(4) Group

Group

a b c d e f All

group

ASCII code

a b c d e f

For example, "61H" is transmitted in hexadecimal for group a.

Advertising