0% found this document useful (0 votes)
265 views15 pages

Modbus TCP Client RTU Slave MN67510 ENG

The document is a user manual for the HD67510 and HD67510M Modbus TCP Client to Modbus RTU Slave gateways. It provides information on connecting, configuring, and using the gateways to connect a Modbus TCP server to Modbus RTU slaves. The user manual describes the main features, specifications, power supply requirements, and gives connection diagrams for the gateways. It also provides instructions for configuring the gateways using the SW67510 Compositor software.

Uploaded by

leoufes
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
265 views15 pages

Modbus TCP Client RTU Slave MN67510 ENG

The document is a user manual for the HD67510 and HD67510M Modbus TCP Client to Modbus RTU Slave gateways. It provides information on connecting, configuring, and using the gateways to connect a Modbus TCP server to Modbus RTU slaves. The user manual describes the main features, specifications, power supply requirements, and gives connection diagrams for the gateways. It also provides instructions for configuring the gateways using the SW67510 Compositor software.

Uploaded by

leoufes
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

User Manual Modbus TCP Client to Modbus RTU Slave

Document code: MN67510_ENG Revision 1.001 Page 1 of 15


Industrial Electronic Devices

User Manual
Revision 1.001
English

Gateway / Bridge
Modbus TCP Client to Modbus RTU Slave
to connect a Modbus TCP Server HD67510 HD67510M
(Order Code: HD67510 – HD67510M)

for Website information: For others Gateways / Bridges:


www.adfweb.com?Product=HD67510 Modbus RTU Master / Slave
www.adfweb.com?Product=HD67510M See also the following links:
www.adfweb.com?Product=HD67001 (CANopen)
www.adfweb.com?Product=HD67502 (CANopen)
for Price information: www.adfweb.com?Product=HD67011 (CAN)
www.adfweb.com?Price=HD67510 www.adfweb.com?Product=HD67012 (CAN)
www.adfweb.com?Price=HD67510M
Modbus TCP Client to :
See also the following link :
Benefits and Main Features: www.adfweb.com?Product=HD67004 (CANopen)
www.adfweb.com?Product=HD67014 (CAN)

Very easy to configure Modbus TCP Server to :


See also the following link :
INDEX: Low Cost www.adfweb.com?Product=HD67505 (CANopen)
www.adfweb.com?Product=HD67507 (Modbus RTU Master)
Rail mountable www.adfweb.com?Product=HD67515 (CAN)
Page
Wide supply input range Do you have an your customer protocol?
UPDATED DOCUMENTATION 2
See the following links:
Opto-isolation for RS485 REVISION LIST 2
www.adfweb.com?Product=HD67003
WARNING 2
Industrial temperature range:TRADEMARKS Do 2you need to choose a device? do you want help?
-30°C / 70 °C (-22°F / 158°F)INDEX Ask3it to the following link:
WARRANTIES AND TECHNICAL SUPPORT www.adfweb.com?Cmd=helpme
4

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 2 of 15
Industrial Electronic Devices

INDEX:
UPDATED DOCUMENTATION:

Dear customer, we thank you for your attention and we remind you that you
Page
need to check that the following document is:
INDEX 2
 Updated
UPDATED DOCUMENTATION 2
 Related to the product you own
REVISION LIST 2
WARNING 2 To obtain the most recently updated document, note the “document code” that
TRADEMARKS 2 appears at the top right-hand corner of each page of this document.
CONNECTION SCHEME 3
With this “Document Code” go to web page www.adfweb.com/download/ and
CHARACTERISTICS 5
search for the corresponding code on the page. Click on the proper “Document
POWER SUPPLY 5 Code” and download the updates.
CONFIGURATION 6
USE OF COMPOSITOR SW67510 6 To obtain the updated documentation for the product that you own, note the
NEW PROJECT / OPEN PROJECT 7 “Document Code” (Abbreviated written "Doc. Code" on the label on the product)
and download the updated from our web site www.adfweb.com/download/
GENERAL PARAMETER 8
PING DEVICE 9
TRANSLATE TABLE 9 REVISION LIST:
UPDATE VIA TCP 11
UPDATE VIA SERIAL 12 Revision Date Author Chapter Description
CHARACTERISTICS OF THE CABLES 13 1.000 06/02/2009 Fl All First release version
MECHANICAL DIMENSIONS 14 1.001 06/05/2010 Ml Dp All Revision
ORDER CODE 14
ACCESSORIES 14
WARRANTIES AND TECHNICAL SUPPORT 15
RETURN POLICY 15 WARNING:
PRODUCTS AND RELATED DOCUMENTS 15
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.

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 3 of 15
Industrial Electronic Devices

CONNECTION SCHEME:

Figure 1: Connection scheme for HD67510


ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31
User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 4 of 15
Industrial Electronic Devices

Figure 2: Connection scheme for HD67510M


ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31
User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 5 of 15
Industrial Electronic Devices

CHARACTERISTICS:

The Modbus TCP to Modbus RTU Gateway allows the following characteristics:

 Opto-isolation for RS485;


 Choice possibility between Modbus RTU on RS232 and Modbus RTU on RS485;
 Mountable on Rail DIN;
 Temperature range -30°C to 70°C.

POWER SUPPLY:

Recommended Power Supply


VDC VAC

24v 12v

Caution: Not reverse the polarity power .

VDC VAC

Vmin Vmax Vmin Vmax

8v 35v 8v 19v

HD67510 HD67510M

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 6 of 15
Industrial Electronic Devices

CONFIGURATION:

You need Compositor SW67510 software on your PC in order to


perform the following:

 Define the parameter of Modbus TCP;


 Define the parameter of Modbus RTU;
 Compile the translate table.

USE OF COMPOSITOR SW67510:

To configure the Gateway, use the available software that runs with
Windows, called SW67510. It is downloadable on the site
www.adfweb.com and its operation is described in this document.

When launching the SW67510 the following window appears (Fig. 3).

Figure 3: Main window for SW67510

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 7 of 15
Industrial Electronic Devices

NEW PROJECT / OPEN PROJECT:

The “New Project” button creates the folder which contains the entire device configuration.

A device configuration can also be imported or exported:

 To clone the configurations of the Gateway in order to configure another Gateway 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 “Open Project” button.

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 8 of 15
Industrial Electronic Devices

GENERAL PARAMETER:

This section defines the fundamental communication parameters of two buses,


Modbus TCP and Modbus RTU.

By pressing the “General Parameter” button from the main window for
SW67510 (Fig. 3) the window “General Parameter” appears (Fig. 4).

This window is divided in two sections, one for the Modbus TCP and the other
for the Modbus RTU.
The means of the fields for “Modbus TCP” are:

 In the field “IP Address” insert the IP address that you want to give to
HD67510 Gateway;
 In the field “Subnet Mask” insert the SubNet Mask;
 In the field “Port” insert the number of the port;
 If the field “Don’t disconnect the socket” is checked, when the gateway
receives the TCP response it does not disconnect the opened socket
(open the socket only at the first RTU request and then the socket
remains opened); otherwise for every RTU requests the gateway opens
the socket and when it receives the TCP response it closes it;
 If the field “Normal Mode (Translate Table)” is checked, the address of
RTU request is compared with the list of compositor;
 If the field “Work with Fix IP” is checked, the gateway does not see the
“Translate Table” but it sends every request to a fixed IP defined in the Figure 4: “General Parameter” window
field below.

The means of the fields for “Modbus RTU” are:

 In the field “Address” the address of the device is defined;


 In the field “Baud rate” the velocity of the Modbus RTU is defined;
 In the field “Parity” the Modbus RTU parity is defined. It is possible to use “NONE” or “EVEN” or “ODD” parity;
 In the field “Timeout (ms)” insert the maximum time that the device has to attend for the answer from the Slave interrogated;
 If the field “RS232” is checked the serial line in use for Modbus RTU is the RS232; otherwise is the RS485.

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 9 of 15
Industrial Electronic Devices

PING DEVICE:

If it is necessary to do a Ping on the net, before pressing the “Ping Device” button insert a value in the field on the right and then press the
button. In order to do this, the gateway must be in RUN mode. To use this feature in Vista and 7 you have to open the software with
Administrator right.

TRANSLATE TABLE:

By pressing the “Translate Table” button from the main


window for SW67510 (Fig. 3) the window “Set Translate
Table” appears (Fig. 5).

The data of the columns have the following meanings:

 In the field “Data Type” it is possible to select


the type of data that is being considered;
 In the field “Address RTU” insert the virtual
address of the present data in a device in the
TCP Modbus;
 In the field “Address Device TCP” insert the
Figure 5: “Set Translate Table” window
address of the device on the Modbus TCP that contains the data;
 In the field “Address TCP” insert the address of the data on the TCP device;
 In the field “N° Point” insert the number of consecutive data that you want to configure. For example, you create Address TCP=150,
Address RTU=100 and N° point = 20, the following gets set-up automatically: addresses TCP 151, 152, 153… …169 and the variables
RTU 101, 102, 103… …119;
 In the field “Mnemonic” you can insert insert a brief description.

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 10 of 15
Industrial Electronic Devices

Example 1:

If you want, from RTU network, read a data in the TCP


network on the device at:

 Address 192.168.2.16;
 Through Gateway WORD 151 (Address TCP);
 Address RTU 101.

In the above scenario:

Specify the type of data between:

 Coil Status (bit in read and write);


 Input Status (bit in read);
 Holding Register (word in read and write);
 Input Register (word in read).

From the side of the MODBUS RTU:

 Address of data to read.


Figure 6: Chart of Request data from Modbus TCP

From the side of the MODBUS TCP: Step 1: Request to the gateway from “Holding Register” in address 101;
Step 2: Request by the gateway from “Holding Register” in address 151 to the
 Address of the device to interrogate; device with 192.168.2.16 ID;
 Address of data to read on device. Step 3: Response to the gateway from “Holding register” in address 151;
Step 4: Response to the RTU Master of the device with 192.168.2.16 ID.

If the TCP slave responds with an exception, that exception code will be transmitted to the RTU 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.

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 11 of 15
Industrial Electronic Devices

UPDATE VIA TCP:

Section “Update Via TCP” (Fig. 7):

In order to load the parameters or update the firmware in the gateway,


follow these instructions:

 Connect the Ethernet cable from your PC to the gateway;


 Insert the IP address of the HD67510 gateway;
 Press the “Ping” button to check the connection of the Gateway;
 Press the “Next” button;
 Select the operations you want to do. It is possible to select only
“Firmware”, only “Project” or both of them;
 Press the “Execute update firmware” button to start the upload.

When all operations are “OK” the configuration/firmware on the device is


correctly updated.
To use this feature in Vista and 7 you have to open the software with
Administrator right.

Figure 7: “Update Via TCP” windows

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 12 of 15
Industrial Electronic Devices

UPDATE VIA SERIAL:

Section “Update Via Serial” (Fig. 8):

In order to load the parameters or update the firmware in the gateway,


follow these instructions:

 Turn OFF the device;


 Connect the Null Modem cable from your PC to the Gateway;
 Insert the Boot Jumper (For more info see the “Connection
scheme” of the Gateway);
 Turn ON the device;
 Check the “BOOT Led”. It must blink quickly (more info see the
“Connection scheme” of the Gateway);
 Select the COM port and press the “Connect” button;
 Press the “Next” button;
 Select the operations you want to do. You can select only “Firmware”,
only “Project” or both of them;
 Press the “Execute update firmware” button to start the upload;
 When all the operations are “OK” turn OFF the device;
 Disconnect the Boot Jumper;
 Turn ON the device.

At this point the configuration/firmware on the device is correctly updated.

Figure 8: ”Update Via Serial” windows

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 13 of 15
Industrial Electronic Devices

CHARACTERISTICS OF THE CABLES:

Ethernet cable:

The connection with the Ethernet socket must be made with a Ethernet cable with a RJ45 plug.

RS232 cable:

The connection from RS232 socket to a serial port (example one from a personal computer) must be made with a NULL MODEM cable (a
serial cable where the pins 2 and 3 are crossed).
It is recommended that the RS232C Cable not exceed 15 meters.

Figure 9: Null Modem cabling

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 14 of 15
Industrial Electronic Devices

MECHANICAL DIMENSIONS:

Figure 10: Mechanical dimensions scheme for HD67510 Figure 11: Mechanical dimensions scheme for HD67510M
ORDER CODE:

Order Code: HD67510 - Gateway – Modbus TCP Client to Modbus RTU Slave

Order Code: HD67510M - Gateway – Modbus TCP Client to Modbus RTU Slave (different enclosure)

ACCESSORIES:

Order Code: AC34107 - Null Modem Cable Fem/Fem DSub 9 Pin 1,5 m

Order Code: AC34114 - Null Modem Cable Fem/Fem DSub 9 Pin 5 m

Order Code: AC34001 - Rail DIN - Power Supply 220/240V AC 50/60Hz – 12 V AC

Order Code: AC34002 - Rail DIN - Power Supply 110V AC 50/60Hz – 12 V AC

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31


User Manual Modbus TCP Client to Modbus RTU Slave
Document code: MN67510_ENG Revision 1.001 Page 15 of 15
Industrial Electronic Devices

WARRANTIES AND TECHNICAL SUPPORT:

For fast and easy technical support for your ADFweb.com SRL products, consult our internet support at www.adfweb.com.
Otherwise contact us at the address [email protected]

RETURN POLICY:

If while using your product you have any problem and you wish to exchange or repair it, please do the following:
1) Obtain a Product Return Number (PRN) from our internet support at www.adfweb.com. Together with the request, you need to provide detailed information
about the problem.
2) Send the product to the address provided with the PRN, having prepaid the shipping costs (shipment costs billed to us will not be accepted).

If the product is within the warranty of twelve months, it will be repaired or exchanged and returned within three weeks. If the product is no longer under warranty,
you will receive a repair estimate.

PRODUCTS AND RELATED DOCUMENTS:

Part Description URL


HD67118 Converter RS232 to RS485 Isolated www.adfweb.com?Product=HD67118
HD67119 Converter USB 2.0 to RS485 Isolated www.adfweb.com?Product=HD67119
HD67507 Gateway Modbus TCP Server to RTU Master www.adfweb.com?Product=HD67507
HD67510 Gateway Modbus TCP Client to RTU Slave www.adfweb.com?Product=HD67510

ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com Phone +39.0438.30.91.31

You might also like