
Chapter 8 Communication Functions
8-10
(3) Response format (ACK response)
Format name
Header
Station
No.
Command
Command
type
Number of
blocks
Number
of data
data
Tail
Frame
check
Ex. of frame
ACK
H20
R(r)
SS
H01
H02
HA9F3
......
ETX BCC
ASCII value
H06
H3230
H52(72)
H5353 H3031 H3032
H41394633
H04
1 block(max. 16 blocks possible)
Item
Explanation
BCC
When command is lowercase(r), only one lower byte of the value resulted by adding 1 Byte
each to ASCII values from ACK to ETX is converted into ASCII and added to BCC, and
sent.
Number of data
Number of data means byte number of hex type, and is converted into ASCII. This number
is determined according to data type(X,B,W) included in device name of computer request
Format.
•
Number of data in accordance with its data type is as follows:
Data
In data area, there are the values of hex data converted to ASCII code saved.
Ex.1
The fact that number of data is H04(ASCII code value:H3034) means that there is hex data of 4 bytes in data .
Hex data of 4 bytes is converted into ASCII code in data.
Ex.2
If number of data is H04 and the data is H12345678, ASCII code converted value of this is "31 32 33 34 35 36 37
38," and this contents is entered in data area. Name directly, highest value is entered first, lowest value last.
Remark
1) If data type is Bit, data read is indicated by bytes of hex. Namely, if Bit value is 0, it indicated by H00,
and if 1, by H01.
Data type
Available variable
Number of data
Bitl(X) %(P,M,L,K,T,C,F)X
1
Byte(B) %(P,M,L,K,T,C,D,S,F)B
1
Word(W) %(P,M,L,K,T,C,D,S,F)W
2
Содержание MASTER-K 120S Series
Страница 26: ...Chapter 4 Names of Parts 4 3 2 K7M DRT60U 3 K7M DT60U 4 1 2 40 points main unit Standard 1 K7M DR40U ...
Страница 27: ...Chapter 4 Names of Parts 4 4 2 K7M DRT40U 3 K7M DT40U 4 1 3 30 points main unit Standard 1 K7M DR30U ...
Страница 28: ...Chapter 4 Names of Parts 4 5 2 K7M DRT30U 3 K7M DT30U 4 1 4 20 points main unit Standard 1 K7M DR20U ...
Страница 29: ...Chapter 4 Names of Parts 4 6 2 K7M DRT20U 3 K7M DT20U 4 1 5 30 points main unit Economic 1 K7M DR30UE ...
Страница 138: ...Chapter 7 Usage of Various Functions 7 54 c Program ...
Страница 306: ...Appendix 3 External Dimensions App3 2 2 Slim type G7E DC08A G7E RY08A G7F ADHB G7F DA2V G7F RD2A ...