MN67166 Eng
MN67166 Eng
MN67166 Eng
User Manual
Revision 1.200
English
Benefits and Main Features: For others SNMP Agents products, see also the following links:
Converter SNMP to
Very easy to configure www.adfweb.com?Product=HD67155 (CAN)
www.adfweb.com?Product=HD67156 (CANopen)
Electrical isolation www.adfweb.com?Product=HD67159 (EtherNet/IP)
Temperature range: -40°C/85°C (-40°F/185°F) www.adfweb.com?Product=HD67160 (DeviceNet Master)
www.adfweb.com?Product=HD67161 (DeviceNet Slave)
www.adfweb.com?Product=HD67162 (J1939)
www.adfweb.com?Product=HD67163 (M-Bus Master)
www.adfweb.com?Product=HD67164 (Modbus Master)
www.adfweb.com?Product=HD67165 (Modbus Slave)
www.adfweb.com?Product=HD67167 (Modbus TCP Slave)
www.adfweb.com?Product=HD67168 (PROFIBUS Master)
www.adfweb.com?Product=HD67169 (PROFIBUS Slave)
www.adfweb.com?Product=HD67613 (PROFINET)
www.adfweb.com?Product=HD67693 (BACnet Slave)
www.adfweb.com?Product=HD67726 (BACnet Master)
www.adfweb.com?Product=HD67820 (KNX)
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 2 of 33
Industrial Electronic Devices
Page Dear customer, we thank you for your attention and we remind you that
INDEX 2 you need to check that the following document is:
UPDATED DOCUMENTATION 2
Updated
REVISION LIST 2
WARNING 2 Related to the product you own
TRADEMARKS 2
SECURITY ALERT 3 To obtain the most recently updated document, note the “document code”
EXAMPLE OF CONNECTION 4 that appears at the top right-hand corner of each page of this document.
CONNECTION SCHEME 5
CHARACTERISTICS 6 With this “Document Code” go to web page www.adfweb.com/download/
CONFIGURATION 6 and search for the corresponding code on the page. Click on the proper
POWER SUPPLY 7 “Document Code” and download the updates.
FUNCTION MODES 8
LEDS 9
ETHERNET 10 REVISION LIST:
USE OF COMPOSITOR SW67166 11
NEW PROJECT / OPEN PROJECT 12 Revision Date Author Chapter Description
SOFTWARE OPTIONS 13 1.000 05/01/2015 Ff All First Release
SET COMMUNICATION 14 1.100 13/06/2016 Ff All Revision
SET ACCESS 15 1.200 05/06/2017 Ff All New SNMP function
SET SNMP ACCESS 18
UPDATE DEVICE 20
SNMP COMMUNICATION 22
MECHANICAL DIMENSIONS 30 WARNING:
ORDERING INFORMATIONS 31
ACCESSORIES 31 ADFweb.com reserves the right to change information in this manual about
DISCLAIMER 32 our product without warning.
OTHER REGULATIONS AND STANDARDS 32 ADFweb.com is not responsible for any error this manual may contain.
WARRANTIES AND TECHNICAL SUPPORT 33
RETURN POLICY 33
TRADEMARKS:
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 3 of 33
Industrial Electronic Devices
SECURITY ALERT:
GENERAL INFORMATION
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.
INTENDED USE
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.).
QUALIFIED PERSONNEL
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.
RESIDUAL RISKS
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 CONFORMITY
The declaration is made by our company. You can send an email to [email protected] or give us a call if you need it.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 4 of 33
Industrial Electronic Devices
EXAMPLES OF CONNECTION:
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 5 of 33
Industrial Electronic Devices
CONNECTION SCHEME:
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 6 of 33
Industrial Electronic Devices
CHARACTERISTICS:
CONFIGURATION:
You need Compositor SW67166 software on your PC in order to perform the following:
Define the parameter of SNMP line;
Define the parameter of Modbus TCP line;
Define the Modbus variables to read/write from/to the Modbus slaves;
Define the SNMP OIDs;
Create the MIB file;
Update the device.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 7 of 33
Industrial Electronic Devices
POWER SUPPLY:
The devices can be powered at 8…24V AC and 12…35V DC. For more details see the two tables below.
VAC VDC
Vmin Vmax Vmin Vmax
8V 24V 12V 35V
HD67166-A1
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 8 of 33
Industrial Electronic Devices
FUNCTION MODES:
The device has got two function modes depending on the position of the ‘Dip2 of Dip-Switch A’:
The first, with ‘Dip2 of Dip-Switch A’ at “OFF” position, is used for the normal working of the device.
The second, with ‘Dip2 of Dip-Switch A’ at “ON” position, is used for uploading the Project and/or Firmware.
For the operations to follow for the updating, see ‘UPDATE DEVICE’ section.
According to the functioning mode, the LEDs will have specific functions, see ‘LEDS’ section.
Warning:
Dip1 of ‘Dip-Switch A’ must be at ON position to work even if the Ethernet cable is not inserted.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 9 of 33
Industrial Electronic Devices
LEDS:
The device has got six LEDs that are used to give information about the functioning status.
The various meanings of the LEDs are described in the table below.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 10 of 33
Industrial Electronic Devices
ETHERNET:
The SNMP connection, Modbus TCP connection and the updating of the converters must be made using Connector3 and/or Connector4 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.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 11 of 33
Industrial Electronic Devices
To configure the Converter, use the available software that runs with Windows called SW67166. 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 SW67166, the window below appears (Fig. 2).
Note:
It is necessary to have installed .Net Framework 4.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 12 of 33
Industrial Electronic Devices
The “New Configuration” button creates the folder which contains the entire device’s configuration.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 13 of 33
Industrial Electronic Devices
SOFTWARE OPTIONS:
By pressing the “Settings” ( ) button there is the possibility to change the language of the software and check the updatings for the
compositor.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 14 of 33
Industrial Electronic Devices
SET COMMUNICATION:
This section define the fundamental communication parameters of two buses, SNMP and Modbus TCP.
By Pressing the “Set Communication” button from the main window for SW67166 (Fig. 2) the window
“Set Communication” appears (Fig. 3).
The window is divided in two sections, one for the SNMP and the other for the Modbus TCP Master.
The means of the fields for the “Modbus TCP Slave” section are:
In the field “IP ADDRESS” the IP address of Modbus TCP side of the converter is defined;
In the field “SUBNET Mask” the SubNet Mask of Modbus TCP side of the converter is defined;
In the field “GATEWAY” the default gateway of the network 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 “TimeOut (ms)” define the maximum time that the device attends for the answer from
the slave interrogated;
In the field “Cyclic Delay (ms)” the minimum delay between two requests is defined.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 15 of 33
Industrial Electronic Devices
SET ACCESS:
By pressing the “Set Access” button from the main window for SW67166 (Fig. 2) the window “Set Modbus Access” appears.
This window is divided in two parts, the "Modbus Read" (Fig. 4a) and the "Modbus Write " (Fig. 4b).
The first part "Modbus Read" is used to read the data from the Modbus TCP slaves and make them available to be read by the SNMP
Manager.
The second part "Modbus Write " is used to write the data that arrives from the SNMP Manager into the Modbus TCP slaves.
MODBUS READ
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 16 of 33
Industrial Electronic Devices
In the field “Start Bit” the starting bit of the first byte of the field “Position” is defined. Valid only for the “Coil Status” and “Input
Status”;
If the field “Swap” is checked, the data from the Modbus registers are swapped;
If the field “Swap Word” is checked, the words of the data read are swapped between them;
In the field “Mnemonic” the description for the request is defined.
MODBUS WRITE
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 17 of 33
Industrial Electronic Devices
If the field “Swap” is checked, the data written the Modbus registers are swapped;
If the field “Swap Word” is checked, the words of the data written are swapped between them;
In the field “Mnemonic” the description for the request is defined.
Note:
If you want that the converter sends the data only “On change”, the “Poll Time” must be at 0.
Note:
If the field “On change” is checked and the “Poll Time” is different from 0, the converter sends the writing request cyclically and also
when the data is changed.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 18 of 33
Industrial Electronic Devices
By pressing the “Set SNMP Access” button from the main window for SW67166 (Fig. 2) the “Set SNMP Access” window appears (Fig. 5). In
this section, it is possible to create the OIDs for SNMP side to read or write using GET and SET commands or to be sent as TRAP messages.
The window is divided into two tables, one for SNMP readings and one for SNMP writings.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 19 of 33
Industrial Electronic Devices
Note:
If the fields “On Change” and “On Timer” are disabled, the OID is readable using standard GET command. If one of these fields is
enabled, the OID is sent as Trap and it is readable by GET command too.
Note:
The field “Description” must start with lowercase letter and it cannot contain special chars (just letters and numbers). All the
“Description” fields must be different between them.
By pressing the “SNMP MIB” button it is possible to save the MIB file for the SNMP Manager.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 20 of 33
Industrial Electronic Devices
UPDATE DEVICE:
By pressing the “Update Device” button, it is possible to load the created Configuration into the
device; and also the Firmware, if necessary.
If you don’t know the actual IP address of the device you have to use this procedure:
Turn OFF the Device;
Put Dip1 of ‘Dip-Switch A’ in ON position;
Turn ON the device
Connect the Ethernet cable;
Insert the IP “192.168.2.205”;
If you know the actual IP address of the device, you have to use this procedure:
Turn ON the Device with the Ethernet cable inserted;
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 21 of 33
Industrial Electronic Devices
Note:
When you install a new version of the software, if it is the first time it is better you do the update of the Firmware in the HD67166
device.
Note:
When you receive the device, for the first time, you also have to update the Firmware in the HD67166 device.
Warning:
If Fig. 7 appears when you try to do the Update try these points before seeking
assistance:
Try to repeat the operations for the updating;
Try with another PC;
Try to restart the PC;
Check the LAN settings;
If you are using the program inside a Virtual Machine, try to use in the main Operating
System;
If you are using Windows Seven, Vista, 8 or 10 make sure that you have the
administrator privileges;
In case you have to program more than one device, using the "UDP Update", you have
to cancel the ARP table every time you connect a new device on Ethernet. For do this
you have to launch the "Command Prompt" and write the command "arp -d". Pay
attention that with Windows Vista, Seven, 8 or 10 you have to launch the "Command
Prompt" with Administrator Rights;
Pay attention at Firewall lock.
Figure 7: “Protection” window
In the case of HD67166 you have to use the software “SW67166”: www.adfweb.com\download\filefold\SW67166.zip.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 22 of 33
Industrial Electronic Devices
In order to read/write the data from/to Modbus TCP side, it is necessary to use specific SNMP commands in order to see the SNMP Input and
write the SNMP Output.
In order to read the data from the HD67166, it is necessary to use the GET command.
Each OID defined in the section “Set SNMP Access -> SNMP Read” will be placed in the MIB tree of the converter.
In addition, it will be possible to read the entire internal map of the converter in memory blocks of 128 bytes: this feature is helpful in phase
of configuration of the converter.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 23 of 33
Industrial Electronic Devices
Each SNMP variable created will have its own OID and it will be created following this rule:
OID 1 (first row of “Set SNMP Access -> SNMP Read” table): .1.3.6.1.4.1.49314.1.1.1.4.9.1
OID 2 (second row of “Set SNMP Access -> SNMP Read” table): .1.3.6.1.4.1.49314.1.1.1.4.9.2
OID X (Xth row of “Set SNMP Access -> SNMP Read” table): .1.3.6.1.4.1.49314.1.1.1.4.9.X
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 24 of 33
Industrial Electronic Devices
In order to write the data from the HD67166, it is necessary to use the SET command.
Each OID defined in the section “Set SNMP Access -> SNMP Write” will be placed in the MIB tree of the converter.
In addition, it will be possible to write the entire internal map of the converter in memory blocks of 128 bytes: this feature is helpful in phase
of configuration of the converter.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 25 of 33
Industrial Electronic Devices
Each SNMP variable created will have its own OID and it will be created following this rule:
OID 1 (first row of “Set SNMP Access -> SNMP Write” table): .1.3.6.1.4.1.49314.1.1.1.5.9.1
OID 2 (second row of “Set SNMP Access -> SNMP Write” table): .1.3.6.1.4.1.49314.1.1.1.5.9.2
OID X (Xth row of “Set SNMP Access -> SNMP Write” table): .1.3.6.1.4.1.49314.1.1.1.5.9.X
Note:
The OIDs in writing are readable too with GET command.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 26 of 33
Industrial Electronic Devices
All the OIDs defined in the “Set SNMP Access -> SNMP Read” table can be sent as TRAP messages too.
The TRAP messages are contained in the MIB tree and they have these OIDs:
TRAP 1 (first row of “Set SNMP Access -> SNMP Read” table): .1.3.6.1.4.1.49314.1.1.2.1.1
TRAP 2 (second row of “Set SNMP Access -> SNMP Read” table): .1.3.6.1.4.1.49314.1.1.2.1.2
TRAP X (Xth row of “Set SNMP Access -> SNMP Read” table): .1.3.6.1.4.1.49314.1.1.2.1.X
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 27 of 33
Industrial Electronic Devices
In order to read/write the data from/to Modbus side, it is necessary to use specific SNMP commands in order to see the SNMP Input and
write the SNMP Output.
In order to read the data from the HD67166 it is necessary to use the “snmpget” command. The Input array is contained to this internal
directory: 1.3.6.1.4.1.33118.1.1.1.4.x.0, where ‘x’ is the number of data block. Each data block has a dimension of 128 bytes.
Example: you want to read informations of the data block 3. The structure of the command to send is:
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 28 of 33
Industrial Electronic Devices
In order to write the data to the HD67166 it is necessary to use the “snmpset” command. The Output array is contained to this internal
directory: 1.3.6.1.4.1.33118.1.1.1.4.x.0, where ‘x’ is the number of data block. Each data block has a dimension of 128 bytes.
Example: you want to write informations of the data block 3 with the data ‘0123456789’ (ASCII). The structure of the command to send is:
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 29 of 33
Industrial Electronic Devices
Note:
The data blocks from 1 to 8 are used to read/write the entire internal SNMP arrays of the converter. The data are represented in
bytes.
Each Modbus request defined in the section “Set Modbus Access” is associated to a specific OID too. In order to read/write a specific Modbus
request from SNMP, it is necessary to use the Data Block 9.
The Modbus request in write will be mapped consecutively to the Modbus request in read. So, in the MIB structure, you will find all the
Modbus request in read defined and then all the Modbus request in write. See the following example for more informations.
Example:
We have defined two Modbus reading requests in the section “Set Modbus Access -> Modbus Read” and two Modbus writing requests in the
section “Set Modbus Access -> Modbus Write”.
In order to read the data related to the first Modbus reading request (the first raw of the “Modbus Read” table), the OID to require will be
1.3.6.1.4.1.33118.1.1.1.4.9.1 where:
The Modbus request in write will be mapped consecutively to the Modbus request in read, so, in this example, in order to write the first
Modbus writing request (the first raw of the “Modbus Write” table), the OID to require will be 1.3.6.1.4.1.33118.1.1.1.5.9.3 where:
Note:
It is possible to read an entire data block or only a specific byte/value (for the Data Block 1 to 8). It depends on the OID used:
• 1.3.6.1.4.1.33118.1.1.1.4.x.0: entire data block
• 1.3.6.1.4.1.33118.1.1.1.4.x.y: value of the data block/specific byte
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 30 of 33
Industrial Electronic Devices
MECHANICAL DIMENSIONS:
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 31 of 33
Industrial Electronic Devices
ORDERING INFORMATIONS:
HD67166 – A1
Connectors Type
1: Removable 5mm Screw Terminal
Enclosure Type
A: 1M, 35mm DIN Rail mounting
Device Family
HD67166: Modbus TCP Master / SNMP Agent - Converter
ACCESSORIES:
Order Code: AC34001 - 35mm Rail DIN - Power Supply 220/240V AC 50/60Hz – 12 V AC
Order Code: AC34002 - 35mm Rail DIN - Power Supply 110V AC 50/60Hz – 12 V AC
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 32 of 33
Industrial Electronic Devices
DISCLAIMER:
All technical content within this document can be modified without notice. The content of the document is a under continual renewal.
For losses due to fire, earthquake, third party access or other accidents, or intentional or accidental abuse, misuse, or use under abnormal
conditions repairs are charged to the user. ADFweb.com S.r.l. will not be liable for accidental loss of use or inability to use this product, such
as loss of business income. ADFweb.com S.r.l. shall not be liable for consequences of improper use.
WEEE INFORMATION
Disposal of old electrical and electronic equipment (as in the European Union and other European countries with separate
collection systems).
This symbol on the product or on its packaging indicates that this product may not be treated as household rubbish. Instead, it
should be taken to an applicable collection point for the recycling of electrical and electronic equipment. If the product is disposed
correctly, you will help prevent potential negative environmental factors and impact of human health, which could otherwise be
caused by inappropriate disposal. The recycling of materials will help to conserve natural resources. For more information about
recycling this product, please contact your local city office, your household waste disposal service or the shop where you purchased
the product.
CE MARKING
The product conforms with the essential requirements of the applicable EC directives.
ADFweb.com S.r.l.
User Manual Modbus TCP Master / SNMP Agent
Document code: MN67166_ENG Revision 1.200 Page 33 of 33
Industrial Electronic Devices
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:
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.
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.
ADFweb.com S.r.l.
Via Strada Nuova, 17
IT-31010 Mareno di Piave
TREVISO (Italy)
Phone +39.0438.30.91.31
Fax +39.0438.49.20.99
www.adfweb.com
ADFweb.com S.r.l.