Chapter 5 Protocols of Various Services
22
5.2.3 XGT dedicated protocol data type
XGT dedicated protocol is available to take [Table. 5-3] data type.
Data type
Data code
Example
Bit 0x0000
%PX0,%LX0,%FX0
Byte 0x0100 %MB0,
%PB0,
%DB0
Word 0x0200 %PW0,%LW0,%FW0,%DW0
DWord 0x0300
%PD0,%LD0,%FD0,%DD0
LWord 0x0400 %PL0,%LL0,%FL0,%DL0
Continuous(Byte) 0x1400
-
[Table 5-3] XGT dedicated protocol data type
5.2.4 Instruction of XGT dedicated protocol
Using instructions of XGT dedicated protocol are 4 , each instruction does Read/Write, Request/Response.
In case of ‘Individual’, usable data types of each instruction are Bit, Byte, Word, DWord, LWord.
But for the ‘Continuous’, only Byte is usable.
Instruction Instruction code
Data type
Treatment
0x0000
0x0100
0x0200
0x0300
Individual
0x0400
Reads data by each data type
Request : 0x5400
Continuous
0x1400
Reads byte type variables in block unit
0x0000
0x0100
0x0200
0x0300
Individual
0x0400
Responses to the request of Read data
Read
Response : 0x5500
Continuous
0x1400
Response to the request of Read in block unit
0x0000
0x0100
0x0200
0x0300
Individual
0x0400
Writes by each data type
Request : 0x5800
Continuous
0x1400
Read byte type variables in block unit
0x0000
0x0100
0x0200
0x0300
Individual
0x0400
Responses to the request of Write data
Write
Response: 0x5900
Continuous
0x1400
Responses to the request of Write in block unit
[Table 5-4] Instruction of XGT dedicated protocol