LG GLOFA-GM Series User Manual page 211

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

Advertisement

Chapter 7 Communication function
1 Domain(Program) Delete(PEN, PED)
This command deletes Domain(Program) in PLC. This service is not to delete program contents simply but to set
up a state where no program is in existence. To perform this service, PI shall be surely deleted first (via MDN
command) in stopping state of PLC mode.
1) Request format(PC -> PLC)
Format
Header
Name
Frame (Ex.)
ENQ
ASCII value
H05
If D(Default) has been used instead of N in command type, DM_LEN and DM_NAME are unnecessary.
DM_LEN displays the number of Domain name's characters in the range of H01 - H10.
DM_NAME shall specify Domain(Program) name up to HEX 8 Bytes which is currently saved in PLC. If the
name is unknown, use 'P_DOMAIN'.
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(for PLC of ACK response)
Format
Name
Frame (value)
ASCII value
Station number, commands, and type of command are the same as in computer request format.
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.
Station
Command
No.
H10
P(p)
H3130
H50(70)
Header
Station No.
ENQ
H01
H05
H3031
Command
DM_LEN
type
EN(D)
H05
H454E(44)
H3035
Command
Command type
P(p)
EN(D)
H50(70)
H454E(44)
7-92
DM_NAME
Tail
LGPLC
EOT
H4C47504C43
H04
Tail
Frame check
ETX
BCC
H03
Frame
check
BCC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents