
Chapter 7 Communication function
7-92
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
Name
Header
Station
No.
Command
Command
type
DM_LEN
DM_NAME
Tail
Frame
check
Frame (Ex.)
ENQ
H10
P(p)
EN(D)
H05
LGPLC
EOT
BCC
ASCII value
H05
H3130
H50(70)
H454E(44) H3035 H4C47504C43 H04
9
If D(Default) has been used instead of N in command type, DM_LEN and DM_NAME are unnecessary.
9
DM_LEN displays the number of Domain name’s characters in the range of H01 - H10.
9
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’.
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(for PLC of ACK response)
Format
Name
Header
Station No.
Command
Command type
Tail
Frame check
Frame (value)
ENQ
H01
P(p)
EN(D)
ETX
BCC
ASCII value
H05
H3031
H50(70) H454E(44) H03
9
Station number, commands, and type of command 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.