Modbus TCP Slave
Modbus TCP Slave(Server)
Â
Supported devices and requirements |
 | Description | Notes |
Distributor | MODICON | Â |
Device | Any MODBUS TCP supported devices | Â |
Comm. Module | Â | Â |
Comm. Type | Ethernet | Â |
Protocol | MODBUS TCP | Â |
Driver Description | MODICON Modbus TCP Slave | Â |
MODICON MODBUS TCP SLAVE |
After assigning a name to the MODBUS IO device, you will see the communication configuration window. In this window, there are 2 different tabs to configure: Setting Data and Comm. Port Setting.
Â
Item | Description |
Setting Data | In this tab, the user can set the servers and their related settings. |
Setting Server Station | Pressing the button will open the popup window to set a server. |
Â
Item | Description |
Name | This cannot be modified. |
Description | Describes the station. |
Unit ID | Sets the unit ID of the server. |
Swapping for data | Swaps the bytes if necessary. |
Setting IO Data |
Pressing [Setting IO Data] while a station is selected will bring up the R/W data Registration window as shown below. The user can start matching the tags from servers and the MODBUS addresses.
Â
Data Types | Type | R/W | Identifier | Available Addresses | Function Code |
Coil Register(Status) | Digital | Read/Write | 0 | 1 ~ 5000 | 1(5, 15) |
Holding Register | Analog | Read/Write | 4 | 1 ~ 10000 | 3(6, 16) |
Identifier means that the tag’s address in UltimateAccess Web must start with it. For example, using Coil Status and its address 102 means that the address is 00102.
Function code means the MODBUS protocol’s command code used to read the corresponding data type in this I/O driver. The code in the brackets are used to write the corresponding data type.
1. Add data
Â
Item | Description |
Tag Name | Decides a tag to map to a Modbus address. String tags are not available for Coil types. |
Modbus Address | Assigns the address. The identifier is automatically assigned depending on the currently opened tab. |
Data Size (word base) | Sets the amount of word data to read starting from the set Modbus address. |
2. Edit data
This button edits the selected data.
3. Delete data
This button deletes the selected data.
Comm. Port Setting |
Item | Description |
Port | Sets the port number for the communication. The default is 502. |
Local Address | Sets the IP address of the UltimateAccess Web-installed system. |
Error Codes |
MODBUS ErrorNo | Description |
0x01 | Wrong function code |
0x02 | Wrong address requested |
0x03 | Wrong data |
0x04 | Wrong response frame |
 Additional error codes for UltimateAccess Web  | |
0x10 | Wrong header of the frame |
0x11 | Wrong unit ID |
0x12 | Wrong frame length |
0x13 | Internal server error |