
Chapter 7 Communication function
7-90
3)
Response format(for PLC of NAK response)
Format
Name
Header
Station
No.
Command
Command
type
Frame No
(HEX 2 Bytes)
Error code
(HEX 2 Bytes)
Tail
Frame
check
Frame (Ex.)
NAK
H01
P(p)
UX
H0001
H1132
ETX
BCC
ASCII value
H15
H3031
H50(70)
H5558
H30303031
H31313332
H03
9
Station number, commands, type of command, and frame No. are the same as in computer request format.
9
BCC : When command is one of lower case(p), 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.
9
If this response is received, re-start is required from the first with start command.
4)
Example of use
In case frame No is 255 in station No.1.
(Computer request format)
Format
Name
Header
Station No.
Command
Command type
Frame No
Tail
Frame check
Frame (Ex.)
ENQ
H01
P(p)
UX
H00FF
EOT
BCC
ASCII value
H05
H3031
H50(70)
H5558
H30304646
H04
9
Frame No is indicated in HEX value.
(For PLC ACK response after execution of command) In case the number of data is H17.
Format
Name
Header
Station
No.
Command
Command
type
Frame No
Number
of data
Sequence program
data
Tail
Frame
check
Frame (Ex.)
ACK
H01
P(p)
UX
H00FF
H17
H1055 40FA
ETX
BCC
ASCII value
H06
H3031
H50(70)
H5558 H30304646
H3137
H31303535 34304641
H03
9
If frame No. is not HFFFF, within 1 second after receiving this frame, the upload command must be sent
with the current frame No. increased by 1.
Содержание 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 ...