Chapter 8 Dedicated Communication
8-20
Modbus function and the maximum number of response data that Modbus TCP driver supports
are described in the table below. The correspondent master device shall make a request within
the range specified in the table. For example, Bit Read Request is available up to 2000 bits, and
Bit Write Request is up to 1600 bits.
Preset Multiple Registers
[table 8.3.1] Modbus function code
Mapping of XG-T PLC memory is required for each function code’s request.
Respective setting details are as follows;
XGT address applicable to digital input area
XGT address applicable to digital output area
XGT address applicable to analog input area
XGT address applicable to digital output area
The address value specified in each item is the base address of the applicable area.
Fig 8.3.1 shows that DI area is assigned starting from PX0000 and that AO area is assigned
starting from PW300.
The input value of the base address shall be within the effective areas of %M, P, etc. Since
Modbus address is 1 ~ 9999 (decimal), the size of the bit I/O area will be 9999/8 = 1249.875
bytes. In addition, the size of the word I/O area will be 9999*2 = 19998 bytes.
If the user sets the base address of the bit output (hXXX) area to 0, Modbus bit area 00001 will
be correspondent to 0
th
byte, 0
th
bit, and 00002 to 0
th
byte, 1
st
bit.