
Chapter 7 Communication function
7-71
In case registration format of registration No. is the reading of named variables
Format
Name
Header
Station
No.
Command
Registration
No
Number of
blocks
Number of
data
Data
Tail
Frame
check
Frame (Ex.)
ACK
H10
Y(y)
H1F
H01
H04
H9183AABB
ETX
BCC
ASCII value
H06
H3130
H59(79)
H313F
H3031
H3034
H39313833414
14242
H03
9
Data format such as the number of blocks and number of data is the same as in variable reading.
9
Station number, commands, and register No. are the same as in computer request format.
9
BCC : When command is one of lower case(y), only one lower byte of the value resulted by adding 1 byte
each to ASCII values from ACK to ETX is converted into ASCII, added to BCC, and sent.
3)
response Format(for PLC NAK response)
Format
Name
Header
Station
No.
Command
Registration
No
Error code
(HEX 2Byte)
Tail
Frame check
Frame (Ex.)
NAK
H10
Y(y)
H1F
H1132
ETX
BCC
ASCII value
H15
H3130
H59(79)
H3146
H31313332
H03
9
Station number, commands, and register No. are the same as in computer request format.
9
BCC : When command is one of lower case(y), only one lower byte of the value resulted by adding 1 byte
each to ASCII values from NAK to ETX is converted into ASCII, added to BCC, and sent.
9
Error code is HEX and 2 bytes(ASCII code, 4 bytes), which indicates type of error. For the details, see
Appendix ‘B. Error Code Table’.
4)
Example of use
In case reading of variable registered in registration No. 1 of station No.1 is executed, supposing that 1 block is
registered by named variable reading in data type of DINT.
(Computer request format)
Format
Name
Header
Station No.
Command
Registration No
Tail
Frame check
Frame (Ex.)
ENQ
H01
Y(y)
H01
EOT
BCC
ASCII
value
H05 H3031
H59(79)
H3031 H04
Содержание GLOFA-GM Series
Страница 355: ...Appendix A 12 A 3 Dimensions of appearance G3L CUEA Unit mm 118 0 130 5 35 0 250 0 ...
Страница 356: ...Appendix A 13 G4L CUEA 107 0 121 5 35 0 135 0 ...
Страница 357: ...Appendix A 14 G6L CUEB G6L CUEC Dimensions of G6L CUEB G6L CUEC are identical with each other 81 1 90 0 35 0 110 0 ...