
Chapter 7 Communication function
7-80
1
Program download start command(PDN, PDD)
GLOFA Gm series have user program of compile type, so they can not partly perform download by specifying step
address of the existing PLC. Therefore, download/upload of program have the entire process with the initialization
of start command and using download/upload commands. GLOFA Gm series call user program with PI command
the Domain. This domain has similar characteristics to the existing PLC program. But it is different that the domain
may be deleted and has several domains.
Program download start command is an initialization service when it performs domain(program) download service.
If this service is successful, download the program by using program download command. The program to be
downloaded is a file(extension name, .BN0) created by execution of [Make] of [Compile] menu in PADT.
Remark
[Note 1] The delay time between this command and program download command must be within 1 sec.
1)
Request format(PC -> PLC)
Format
Name
Header
Station
No.
Command
Command
type
DM_LEN
DM_NAME
FILE_SIZE
(Dec 4 Bytes)
Tail
Frame
check
Frame(Ex.) EQN H10
P(p)
DN(D) H05 LGPLC
00038000 EOT
BCC
ASCII
value
H05 H3130 H50(70) H444E(44)
H3035
H4C47504C
43
H3030303338303030 H04
9
DM_LEN displays the number of Domain name’s characters in the range of H01 - H10.
9
DM_NAME displays Domain name which is allocated when it is saved to PLC. If the name is unknown, use
‘P_DOMAIN’.
9
FILE_SIZE means the file size (execution file output to PADT ***.BN0 and ***.ROM of GK) to be
downloaded. This size shall be displayed in decimal.
Ex.) If size of ***.BN0(***.ROM) is 38Kbytes, FILE SIZE is Dec 00038000.
9
If D has been used instead of N in command type, DM_LEN and DM_NAME are unnecessary.
9
If no name is required, use D instead of N in command type.