
Chapter 7 Communication function
7-83
1
Program download start command(PDN, PDD)
This downloads the program data after receiving ACK response as a result of execution of program download
start command. This service must be performed within 1 sec. after response of program download start command.
Also, the delay time of each program download sequence service must be within 1 sec.
1)
Request Format(PC -> PLC)
Format
Name
Header
Station
No.
Command
Command
type
frame NO
(HEX 4 Bytes)
Number of data
(HEX 1Bytes)
data
Tail
Frame
check
Frame (Ex.)
ENQ
H01
P(p)
DX
H0001
H10
EOT
BCC
ASCII value
H05
H3031
H50(70)
H4458
H30303031
H3130
H04
9
Frame No. indicates the current frame number (4 Bytes) to be downloaded in the entire download sequence.
This number must be incremental in sequence until the download finishes completely. Frame No. increases
in sequence from 0001.
9
This indicates the number of data included in this frame. It can include up to 120 Bytes.
9
Data shall be set as agreed with the max. size(120 Bytes) if possible.
9
For the last frame, surely set frame No. to HFFFF(46,46,46,46).
9
If the last frame No. isn’t set to HFFFF, download execution is regarded as finished abnormally without
download completed.
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 ACK to ETX is converted into ASCII, added to BCC, and sent.
2)
Response Format( When PLC response ACK)
Format
Name
Header
Station
No.
Command
Command
type
Frame NO
(HEX 4 Bytes)
Number of data
(HEX 1 Byte)
Tail
Frame
check
Frame (Ex.)
ACK
H01
P
DX
H0001
H10
ETX
BCC
ASCII value
H06
H3031
H50
H4458
H30303031
H3130
H03
9
Station number, commands, type of command, frame No., and number of data 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 ACK to ETX is converted into ASCII, added to BCC, and sent.
9
If frame No. is not HFFFF after receiving the frame, the next frame shall be sent within 1 sec.
Содержание 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 ...