Chapter 5 Protocols of Various Services
23
5.2.5 Header and data structure of XGT dedicated protocol
(1) Header and data structure
[Table 5-5] shows LSIS Header, Instruction, Data Type, Data, which included in LSIS frame of XGT dedicated protocol.
Client(Request frame) Server(Response frame)
Item
Classification Content Size Classification Content Size
LSIS ID LSIS ID 1 10 LSIS ID
LSIS ID 1
LSIS ID 2
10
PLC information 0x00~0xFF 2 PLC information 0x00~0xFF 2
CPU information 0xA0 1 CPU information 0xA0 1
Frame direction 0x33 1 Frame direction 0x11 1
Frame order no. 0x0000~0xFFFF 2 Frame order no. 0x0000~0xFFFF 2
Length 0x0000~0x0100 2 Length 0x0000~0x0100 2
Position
information
0x00~0xFF 1
Position
information
0x00~0xFF 1
LSIS
Header
Check sum 0x00~0xFF 1 Check sum 0x00~0xFF 1
0x5400 Read 0x5500 Read
Command Instruction
0x5800 Write
2 Instruction
0x5900 Write
2
0x0000 Bit 0x0000 Bit
0x0100 Byte 0x0100 Byte
0x0200 Word 0x0200 Word
0x0300 DWord 0x0300 DWord
0x0400 LWord 0x0400 LWord
Data Type Data type
0x1400 Continuous
2 Data type
0x1400 Continuous
2
Reserved area - 2 Reserved area - 2
Number of blocks 0x0100~0x1000 2 Error status 0x0000~0xFFFF 2
Length of
variables(N)
0x0400~0x1000 2 Data 2
Data address - N
Data
Number of data 0x0(M)00 M
[Table 5-5] Header and data structure of XGT dedicated protocol
(2) LSIS ID
LSIS network uses 2 LSIS(LS Industrial Systems) IDs. LSIS ID 1 is for operation of XGT, XGB series as a client.
In case of operating as a server, LSIS ID requested by a client, the client should use LSIS ID 1 or LSIS ID 2.
Classification Format Frame Remark
ASCII L S I S - X G T /n /n
LSIS ID 1
HEX 0x4C 0x53 0x49 0x53 0x2D 0x58 0x47 0x54 0x00 0x00
XGT,XGB
ASCII L G I S - G L O F A
LSIS ID 2
HEX 0x4C 0x47 0x49 0x53 0x2D 0x47 0x4C 0x4F 0x46 0x41
GM,MK
[Table 5-6] LSIS ID