LG GLOFA-GM Series User Manual page 199

Programmable logic controller cnet i/f module
Hide thumbs Also See for GLOFA-GM Series:
Table of Contents

Advertisement

Chapter 7 Communication function
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
Header
Name
Frame(Ex.)
EQN
ASCII
H05
value
DM_LEN displays the number of Domain name's characters in the range of H01 - H10.
DM_NAME displays Domain name which is allocated when it is saved to PLC. If the name is unknown, use
'P_DOMAIN'.
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.
If D has been used instead of N in command type, DM_LEN and DM_NAME are unnecessary.
If no name is required, use D instead of N in command type.
Station
Command
Command
No.
type
H10
P(p)
DN(D)
H3130
H50(70)
H444E(44)
7-80
DM_LEN
DM_NAME
H05
LGPLC
H4C47504C
H3035
H3030303338303030
43
FILE_SIZE
Frame
Tail
(Dec 4 Bytes)
check
00038000
EOT
H04
BCC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents