105U-G Wireless Gateway
User Manual
Page 113
© September 2004
Enable Ethernet Debug
Select this box if you wish to enable Ethernet Diagnostics on the 105G via configuration
software (see section 6.3 for details). For security reasons, disabling this option will disallow
all Ethernet diagnostics functions accessible to configuration software, and can only be
reactivated via serial port configuration.
4.10.2 Modbus TCP To use Modbus TCP, select the Enable Modbus Server box and deselect
the Enable Ethernet/IP box. This will automatically remove the “I/O Instance” selection for
all fieldbus mappings. It is possible for both Modbus TCP and Ethernet/IP to be selected -
in this case, select “Disable I/O Instance” individually for each Modbus TCP fieldbus
mapping.
Supported Commands:
Function
Code
Function Name
Class
Affects Area
Address
Method
1
Read coils
1
IN/OUT
Bit
2
Read Input discretes
1
IN/OUT
Bit
3
Read multiple registers
0
IN/OUT
Word
4
Read input registers
1
IN/OUT
Word
5
Write coil
1
OUT
Bit
6
Write single register
1
OUT
Word
7
Read exception status
1
-
-
15
Force multiple coils
2
OUT
Bit
16
Force multiple registers
0
OUT
Word
22
Mask write register
2
OUT
Word
23
Read/Write registers
2
IN/OUT
Word
Supported Exception Codes:
Exception
Code
Name
Description
01
Illegal function
The module does not support the function code in the
query
02
Illegal data address
The data address received in the query is outside the
initialised memory area
03
Illegal data value
The data in the request is illegal
Modbus/TCP Addressing
The IN and OUT areas of the Ethernet interface are addressed under Modbus/TCP according
to the tables below. Since Modbus uses a 16-bit format, “Word (16-bit) Address Mode” will
be automatically applied whenever the “Modbus/TCP” checkbox is checked. If Ethernet/IP is
also enabled, the “Disable I/O Instance” option must be selected for each fieldbus mapping to
which Modbus/TCP Addressing is to apply.