Modbus Slave User manual

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 1 of 30
User Manual
evision 1.000
English
Modbus Slave / Modbus TCP Master –
Converter
(Order Code: HD674-A003)
For Website information:
www.adfweb.com?Product=HD674-A003
For Price information:
www.adfweb.com?Price=HD674-A003
Benefits and Main Features:
Very easy to configure
Wide supply input range
Electrical isolation
Industrial temperature range:
-40°C / 105°C (-40°F / 221°F)
For others Gateways / Bridges:
J1939 to Modbus
See also the following links:
www.adfweb.com?Product=HD67212 (Modbus TU)
CA open to Modbus
See also the following links:
www.adfweb.com?Product=HD67001 (Modbus TU Master)
www.adfweb.com?Product=HD67002 (Modbus TU Slave)
www.adfweb.com?Product=HD67004 (Modbus TCP Master)
www.adfweb.com?Product=HD67005 (Modbus TCP Slave)
For others Gateways / Bridges:
For CA bus 2.0A and/or CA bus 2.0B to Modbus
See also the following links:
www.adfweb.com?Product=HD67011 (Modbus TU Slave)
www.adfweb.com?Product=HD67012 (Modbus TU Master)
www.adfweb.com?Product=HD67014 (Modbus TCP Slave)
www.adfweb.com?Product=HD67015 (Modbus TCP Master)
Do you have an your customer protocol?
See the following links:
www.adfweb.com?Product=HD67003
Do you need to choose a device? do you want help?
Ask it to the following link:
www.adfweb.com?Cmd=helpme
User Manual

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 2 of 30
I DEX:
Page
INDEX 2
UPDATED DOCUMENTATION 2
EVISION LIST 2
WA NING 2
T ADEMA KS 2
SECU ITY ALE T 3
EXAMPLES OF CONNECTION 4
CONNECTION SCHEME 5
CHA ACTE ISTICS 7
CONFIGU ATION 7
POWE SUPPLY 8
LEDS 9
S485 10
ETHE NET 11
USB 11
USE OF COMPOSITO SW674-A003 12
NEW P OJECT / OPEN P OJECT 13
SOFTWA E OPTIONS 14
SET COMMUNICATION 15
T ANSLATE TABLE 17
UPDATE DEVICE 22
MECHANICAL DIMENSIONS 24
O DE CODE 28
ACCESSO IES 28
DISCLAIME 29
OTHE EGULATIONS AND STANDA DS 29
WA ANTIES AND TECHNICAL SUPPO T 30
ETU N POLICY 30
Pagina 2 di 30
UPDATED DOCUME TATIO :
Dear customer, we thank you for your attention and we remind you that
you need to check that the following document is:
Updated
elated to the product you own
To obtain the most recently updated document, note the “document code”
that appears at the top right-hand corner of each page of this document.
With this “Document Code” go to web page www.adfweb.com/download/
and search for the corresponding code on the page. Click on the proper
“Document Code” and download the updates.
REVISIO LIST:
Revision Date Author Chapter Description
1.000 11/01/2017 Ff All First released version
WAR I G:
ADFweb.com reserves the right to change information in this manual about
our product without warning.
ADFweb.com is not responsible for any error this manual may contain.
TRADEMARKS:
All trademarks mentioned in this document belong to their respective
owners.

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 3 of 30
SECURITY ALERT:
G
E ERAL
I
FORMATIO
To ensure safe operation, the device must be operated according to the instructions in the manual. When using the device, legal and
safety regulation are required for each individual application. The same applies also when using accessories.
I
TE DED
U
SE
Machines and systems must be designed so the faulty conditions do not lead to a dangerous situation for the operator (i.e.
independent limit switches, mechanical interlocks, etc.).
Q
UALIFIED
P
ERSO EL
The device can be used only by qualified personnel, strictly in accordance with the specifications.
Qualified personnel are persons who are familiar with the installation, assembly, commissioning and operation of this equipment and
who have appropriate qualifications for their job.
R
ESIDUAL
R
ISKS
The device is state-of-the-art and is safe. The instruments can represent a potential hazard if they are inappropriately installed and
operated by untrained personnel. These instructions refer to residual risks with the following symbol:
This symbol indicates that non-observance of the safety instructions is a danger for people that could lead to serious injury or
death and / or the possibility of damage.
CE
CO FORMITY
The declaration is made by our company. You can send an email to [email protected]om or give us a call if you need it.

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 4 of 30
EXAMPLE OF CO ECTIO :

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 5 of 30
Figure
1a
: Connection scheme
for HD674
-
A0
0
3
-
E4x
-
xx
CO ECTIO SCHEME:

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 6 of 30
Figure 1b: Connection scheme for HD674-A003-E7x-xx

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 7 of 30
CHARACTERISTICS:
The “HD674-A003” series are rugged devices used to interface Modbus Master devices with Modbus TCP Slave network.
With its particular enclosure, equipped with four fixing lugs, makes available the mounting of the device in any plane surface (horizontal,
vertical, oblique).
It is possible to have the device varnished or totally resined and also in both cases with “Mini-Fit®” connectors or “AMP SuperSeal 1.5”
connectors. If is resined, the enclosure, like the “AMP SuperSeal 1.5" connectors, is waterproof.
All the four series have these characteristics:
Triple 4kV isolation between Power Supply / Modbus / Modbus TCP;
Varnished / esined (optionally);
Wide power supply input range: 8…26V AC | 10…40V DC;
Mini-Fit® / AMP SuperSeal 1.5 connectors;
Metal enclosure with fixing lugs;
Possibility to use Metal hose clamps for fixing it without using lugs;
Microprocessor for data control;
Wide temperature range: -40°C / 105°C (-40°F / 221°F).
CO FIGURATIO :
You need Compositor SW674-A003 software on your PC in order to perform the following:
Define the parameter of Modbus line;
Define the parameter of Modbus TCP line;
Update the device.

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 8 of 30
POWER SUPPLY:
The devices can be powered between a wide range of tensions. For more details see the two
tables below.
VAC
VDC
Vmin Vmax Vmin Vmax
HD674-A003-Exx-xx 8V 26V 10V 40V
Consumption at 24V DC:
Device W/VA
HD674-A003-Exx-xx 4
Note: It is possible to use also negative tensions. In this case the polarity must be
inverted.
Caution: ot reverse the polarity power
HD674-A003-E4x-xx HD674-A003-E7x-xx

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 9 of 30
LEDS:
The device has got four LEDs that are used to give information of the functioning status.
The various meanings of the LEDs are described in the table below.
LED ormal Mode Boot Mode
1: Device state (green) Blinks slowly (~1Hz) Blinks quickly: Boot state
Blinks very slowly (~0.5Hz): update in progress
2: Serial Communication
(green) Blinks when Modbus messages are received Blinks quickly: Boot state
Blinks very slowly (~0.5Hz): update in progress
3: USB Link (yellow) O : USB cable inserted
OFF: USB cable not inserted
O : USB cable inserted
OFF: USB cable not inserted
4: Ethernet communication
(green)
Blinks when Modbus TCP communication is
working
Blinks quickly: Boot state
Blinks very slowly (~0.5Hz): update in progress

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 10 of 30
RS485:
The connection of the S485 in the HD674-A003-E4x-xx device must be made with a 3way
MiniFit Female connector. The pinout of Male MiniFit connector of the board is at right side of
the page.
The connection of the S485 in the HD67-A003-E7x-xx device must be made with a AMP
SuperSeal 1.5 Male connector. The pinout of Female connector of the board is at right side of
the page.
The termination of S485 line, with a 120Ω resistor, in the HD674-A003-Exx-xx is made
internally of the device; when the order is performed. If the device have the S485 terminated
the code is the follow: HD674-A003-Exx-Yx; otherwise is this other: HD674-A003-Exx-Nx.
The maximum length of the cable should be 1200m (4000 feet).
Here some codes of cables:
Belden: p/n 8132 - 2x 28AWG stranded twisted pairs conductor + foil shield + braid
shield;
Belden p/n 82842 - 2x 24AWG stranded twisted pairs conductor + foil shield + braid
shield;
Tasker: p/n C521 - 1x 24AWG twisted pair conductor + foil shield + braid shield;
Tasker: p/n C522 - 2x 24AWG twisted pairs conductor + foil shield + braid shield.
Link for Mini-Fit® connectors: http://www.molex.com/molex/products/group?key=minifit_products&channel=products
Link for SuperSeal 1.5 connectors: http://www.te.com/catalog/cinf/en/c/10876/956

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 11 of 30
ETHER ET:
The connection of Ethernet in the HD674-A003 device must be made with at least a Category 5E cable. The maximum length of the cable
should not exceed 100m. The cable has to conform to the T568 norms relative to connections in cat.5 up to 100 Mbps. To connect the device
to an Hub/Switch is recommended the use of a straight cable, to connect the device to a PC/PLC/other is recommended the use of a cross
cable.
The connection of Ethernet in the HD674-A003-E4x-xx device must be made with J45
connector.
The connection of the Ethernet in the HD674-A003-E7x-xx device must be made with a AMP
SuperSeal 1.5 Male connector. The pinout of Female connector of the board is at right side of
the page.
USB:
The USB port is used to start the converter in Boot Mode. It is necessary to use a Micro USB type B cable.

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 12 of 30
USE OF COMPOSITOR SW674-A003:
To configure the Converter, use the available software that runs with Windows called SW674-A003. It is downloadable on the site
www.adfweb.com and its operation is described in this document. (This manual is referenced to the last version of the software present on
our web site). The software works with MSWindows (XP, Vista, Seven, 8, 10; 32/64bit).
When launching the SW674-A003, the window below appears (Fig. 2).
Note:
It is necessary to have installed .Net Framework 4.
Figure 2: Main window for
SW674
-
A0
0
3

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 13 of 30
EW CO FIGURATIO / OPE CO FIGURATIO :
The “ ew Configuration” button creates the folder which contains the entire device’s configuration.
A device’s configuration can also be imported or exported:
To clone the configurations of a programmable “ Modbus Slave / Modbus TCP Master -
Converter” in order to configure another device in the same manner, it is necessary to
maintain the folder and all its contents;
To clone a project in order to obtain a different version of the project, it is sufficient to
duplicate the project folder with another name and open the new folder with the
button “Open Configuration”.

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 14 of 30
SOFTWARE OPTIO S:
By pressing the “Settings” ( ) button there is the possibility to change the language of the software and check the updatings for the
compositor.
In the section “Language” it is possible to change the language of the
software.
In the section “Connection Options”, it is possible to check if there are some
updatings of the software compositor in ADFweb.com website.
Checking the option “Check Software Update at Start of Program”, the
SW674-A003
checks automatically if there are updatings when it is launched.

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 15 of 30
SET COMMU ICATIO :
This section define the fundamental communication parameters of two buses, Modbus TCP
Slave and Modbus Master.
By Pressing the “Set Communication” button from the main window of SW674-A003
(Fig. 2) the window “Set Communication” appears (Fig. 3).
The meaning of the fields of “Operation Mode” are:
In the field “Operation Mode” the operating mode of the converter is defined:
oormal Mode (with Translate Table): the converter can be seen like a
single serial Modbus slave. The address of Modbus is assigned in the “Set
Communication” section.
oRouting Slave Address: the converter can be seen like more than one
serial Modbus slave. Each serial Modbus slave is a row of the table and it is
possible to assign to which TCP device is linked.
oWork with Fix IP Address: the converter can be seen like a single serial
Modbus slave. The address of Modbus is assigned in the “Set
Communication” section. It is not necessary to compile the Translate Table:
every request that arrives on serial is transferred on TCP (using TCP format
of frame) to the slave with the IP address defined in the “Set
Communication” section.
The means of the fields for the “Modbus Slave” section are:
In the field “Serial” the serial lien to use for Modbus communication is defined;
In the field “Baudrate” the baudrate for the serial line is defined;
In the field “Parity” the parity of the serial line is defined;
In the field “Stop Bits” the number of Stop Bits is defined;
In the field “ID Device” the address of serial Modbus device is defined. This field
can be compiled only if the selected “Operation Mode” is “Normal Mode (with
Translate Table)” or “Work with Fix IP Address”;
If the option “ o Modbus Exception on TCP TimeOut” is checked, the converter does not send any exception code in case of
missing response from Modbus TCP side. Otherwise, it sends the exception code 0x36.
F
igure
3
: “Set
C
ommunication
” window

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 16 of 30
The means of the fields for the “Modbus TCP Master” section are:
In the field “IP Address” the IP address of the converter is defined;
In the field “Sub et Mask” the Subnet Mask of the converter is defined;
In the field “Gateway” the default gateway of the net is defined. This feature can be enabled or disabled pressing the Check Box
field. This feature is used for going out of the net;
In the field “Port” the TCP port for Modbus TCP communication of the converter is defined;
In the field “TimeOut (ms)” the maximum time that the converter attends for the answer from the Slave interrogated is defined;
If the option “Don’t disconnect the socket” is checked, the converter will hold the TCP connection opened. Otherwise. It will close
it after every request/response.
In the field “Fix IP Address” the IP Address of the Modbus TCP slave is defined (only if “Work with Fix IP Address” mode is set).

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 17 of 30
ORMAL
M
ODE
(
WITH
T
RA SLATE
T
ABLE
):
Using this function, the converter can be seen like a single serial Modbus slave. The address of Modbus is assigned in the “Set
Communication” section.
By pressing the “Translate Table” button from the main window for SW674-A003 (Fig. 2), the window “Set Translate Table” appears (Fig.
4).
The data of the columns have the following meanings:
In the field “Data Type” the type of Modbus data is defined;
In the field “Address” the address of the Modbus register to which address the requests on TU side is defined;
In the field “IP Address TCP” the IP address of the Modbus TCP slave to which the converter will address the request is defined;
In the field “Address TCP” the address of the Modbus register to which the converter will address the TCP request is defined;
In the field “ Point” the number of consecutive registers starting from the one set is defined;
In the field “Mnemonic” a brief description is defined.
Figure 4: “Set Translate Table” window

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 18 of 30
E
XAMPLE
1:
Taking the first row of Figure 4:
Step 1: A serial Modbus master do the request to the Converter to
read the “Coil Status” address 100 for 5 consecutive points;
Step 2: The Converter sends to the TCP Slave 192.168.0.18 the read
request of “Coil Status” address 150 for 5 consecutive points;
Step 3: The slave TCP replies to the Converter with the data;
Step 4: The Converter sends back the data on serial.
E
XAMPLE
2:
Taking the second row of Figure 4:
Step 1: A serial Modbus master do the request to the Converter to
read the “Input Status” address 110;
Step 2: The Converter sends to the TCP Slave 192.168.0.19 the read
request of “Input Status” address 100;
Step 3: The slave TCP replies to the Converter with the data;
Step 4: The Converter sends back the data on serial.
E
XAMPLE
3:
Taking the third row of Figure 4:
Step 1: A serial Modbus master do the request to the Converter to read the “Holding egister” address 91 for 6 consecutive points;
Step 2: The Converter sends to the TCP Slave 192.168.0.18 the read request of “Holding egister” address 81 for 6 consecutive points;
Step 3: The slave TCP replies to the Converter with the data;
Step 4: The Converter sends back the data on serial.
Note:
If the TCP slave responds with an exception, that exception code will be transmitted to the serial master. If the TCP slave does not
respond within the estimated time defined by the Timeout parameter, an exception response will be given: error code $36.
Figure 5: Chart of Request data from serial Modbus

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 19 of 30
R
OUTI G
S
LAVE
A
DDRESS
:
Using this function, the converter can be seen like more than one serial Modbus slave. Each serial Modbus slave is a row of the table and it is
possible to define to which TCP device is linked.
By pressing the “Translate Table” button from the main window for SW674-A003 (Fig. 2) the window “Set Translate Table” appears (Fig.
6).
The data of the columns have the following meanings:
In the field “Slave ID” the ID of the virtual Modbus slave device created by the converter is defined;
In the field “IP Address TCP” the IP address of the Modbus TCP slave device to which address the TCP requests is defined;
In the field “Slave ID TCP” the station ID of the Modbus TCP slave device to which address the TCP requests is defined;
If the field “Reserved Socket” is checked, the converter will reserve a socket for the specific Modbus TCP slave. This socket will be
closed only after the number of consecutive errors defined in the “Errors Sock” column. It is possible to reserve up to 3 sockets for 3
different Modbus TCP slaves (function available only for Hardware Version with Dip-Switches);
If the option “UDP” is checked, Modbus over UDP communication is enabled;
If the option “Broadcast” is checked, the broadcast requests for that slave are accepted;
In the field “Mnemonic” a brief description is defined.
Figure
6
: “
Set
Translate Table
” window

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
Modbus Slave
/
Modbus
TCP
Master
-
Converter
Document code: MN674-A003_ENG evision 1.000 Page 20 of 30
E
XAMPLE
1:
Taking the first row of Figure 6:
Step 1: A serial Modbus master do the request to the Converter to
read/write a register from the serial slave Modbus ID 1;
Step 2: The Converter sends to the TCP slave 192.168.0.18 the
read/write request using the TCP slave ID 5;
Step 3: The slave TCP replies to the Converter with the data;
Step 4: The Converter sends back the data on serial.
E
XAMPLE
2:
Taking the second row of Figure 4:
Step 1: A serial Modbus master do the request to the Converter to
read/write a register from the serial slave Modbus ID 2;
Step 2: The Converter sends to the TCP slave 192.168.0.19 the
read/write request using the TCP slave ID 1;
Step 3: The slave TCP replies to the Converter with the data;
Step 4: The Converter sends back the data on serial.
E
XAMPLE
3:
Taking the third row of Figure 4:
Step 1: A serial Modbus master do the request to the Converter to read/write a register from the serial slave Modbus ID 4;
Step 2: The Converter sends to the TCP slave 192.168.0.20 the read/write request using the TCP slave ID 4;
Step 3: The slave TCP replies to the Converter with the data;
Step 4: The Converter sends back the data on serial.
Note:
If the TCP slave responds with an exception, that exception code will be transmitted to the serial master. If the TCP slave does not
respond within the estimated time defined by the Timeout parameter, an exception response will be given: error code $36.
Figure
7: Chart of Request data
from
serial Modbus
This manual suits for next models
2
Table of contents
Other Modbus Media Converter manuals
Popular Media Converter manuals by other brands

Texas Instruments
Texas Instruments TPS61041 manual

SIIG
SIIG CE-H21811-S1 Quick installation guide

D-Link
D-Link DIS-M100G-SW Quick installation guide

Trelawny
Trelawny 1B Operation & maintenance manual

Cabletron Systems
Cabletron Systems MCC-16 user guide

Zhejiang Uniview Technologies
Zhejiang Uniview Technologies DVS4016-IN quick guide