Chapter 7 server service
7-3
4) Command (2 Bytes), Data Type (2 Bytes)
There are 4 commands used in XGT server protocol and each command processes read / write and
request / response.
Available data type of each instruction is bit, byte, word, double word, long word if it is individual and data
type is only byte if it is consecutive.
Command
Command
code
Data format
Contents
Read
Request:
h5400
Individual
h0000
BIT
Request to read data according to each data type
h0100
BYTE
h0200
WORD
h0300 DWORD
h0400 LWORD
Continuous h1400
BYTE
Request to read byte variable in blocks
Response:
h5500
Individual
h0000
BIT
Response to the request for Read Data
h0100
BYTE
h0200
WORD
h0300 DWORD
h0400 LWORD
Continuous h1400
BYTE
Response to the request for block unit Read
Write
Request:
h5800
Individual
h0000
BIT
Request for Write Data according to each data type
h0100
BYTE
h0200
WORD
h0300 DWORD
h0400 LWORD
Continuous h1400
BYTE
Request to write byte variable in blocks
Response:
h5900
Individual
h0000
BIT
Response to the request for Write Data
h0100
BYTE
h0200
WORD
h0300 DWORD
h0400 LWORD
Continuous h1400
BYTE
Response to the request for block unit read
Notes
(1) In Timer/Counter, the Bit specification means the contact value and the Byte and Word value
specification means the current value.
(2) Only Byte and Word can be specified for the data register (D).
(3) In case of a byte type command, the address value will be doubled in comparison to specifying Word.
In other words, in case of D1234, %DW1234 is used when Word is specified, but in case the form of
Byte is specified, %DB2468 should be used.
(4) When accessing the bit area, it should be expressed in the order of data type unit of memory device.
in order to write the C-th bit of M172, M should be calculated as bit type as below because it is word
device.
* %MX2764 = 172 x 16(Word) + 12(Bit)
(5) In the case of hexadecimal data before the number in the frame, it indicates that the data is in hexadecimal
type by 'h' or '0x', such as h'12345, h'34, 0x12, 0x89AB.
(6) When creating a frame, when expressing hexadecimal word data in the above frame, subtract h before the
number and change the position of two bytes.
ex) h’0054
⇒
h’5400.
Содержание XGL-EFMF
Страница 17: ...Table of Content 16 ...
Страница 27: ...Chapter 1 Overview 1 10 ...
Страница 39: ...Chapter 2 Product specifications 2 12 4 XOL ES4T XOL ES4H 2 1 3 3 4 5 6 7 8 9 10 ...
Страница 108: ...Chapter 4 Smart Extension service 4 19 The opposite case is indicated by a blue line ...
Страница 135: ...Chapter 4 Smart Extension service 4 46 ...
Страница 174: ...Chapter 5 High speed link service 5 35 ...
Страница 197: ...Chapter 6 P2P service 6 14 Then select Online Change Mode to run ...
Страница 227: ...Chapter 6 P2P service 6 44 ...
Страница 289: ...Chapter 7 server service 7 62 ...
Страница 358: ...Appendix A 25 A 6 Dimension 1 XGL EFMTB EFMFB XGL EH5T Unit mm ...
Страница 359: ...Appendix A 26 2 XOL ES4H Unit mm ...
Страница 360: ...Appendix A 27 3 XOL ES4T Unit mm ...
Страница 361: ...Appendix A 28 ...
Страница 363: ...Warranty and Environment Policy 2 ...