
Chapter 7 Communication function
7-76
1
PI Creation MCN, MCD)
This is a function to create PI which can operate PLC. This command can be executed in the state that PI does
not exist in PLC and Domain(PLC Program) has been downloaded.
1)
Request format(PC -> PLC)
Format
Name
Header
Station
No.
Command
Command
type
PI_N_LEN
PI_N_NAME
DM_LEN
DM_NAME
Tail
Frame
check
Frame
(Ex.)
ENQ H10 M(m) CN H08 LGIS_PLC H06 PRGRAM
EO
T
BCC
ASCII value
H05
H3130
H4D
(6D)
H434E H3038
H4C474953
5F504C43
H3036
H505247
524D
H0
4
9
PI_N_LEN is where the number of PI name’s characters is displayed.
9
PI_N_NAME is where PI name is located..
9
When PI name is executed as specified, the max.number of characters is 16.
9
If no name is required, use D instead of N in command type. If D has been used, PI_N_LEN and
PI_N_NAME are unnecessary.
9
PI_N_NAME shall be the name to specify or default name of ‘P_Program’.
9
BCC : When command is one of lower case(m), 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
DM_NAME shall be the name at that time when downloaded or default name of ‘P_Domain’.
9
PI_N_LEN and DM_LEN are allowable within H01 - H10.
2)
Response format(for PLC of ACK response)
Format
Name
Header
Station No.
Command
Command type
Tail
Frame check
Frame (Ex.)
ACK
H10
M(m)
CN
ETX
BCC
ASCII value
H06
H3130
H4D(6D)
H434E
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(m), 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.
Содержание 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 ...