0% found this document useful (0 votes)
43 views17 pages

User Manual: CAN / Modbus Slave - Converter

The document is a user manual for a CAN/Modbus Slave Converter that allows bidirectional communication between CAN and Modbus networks. It has electrical isolation between the two buses and can read and write CAN frames from/to Modbus registers. The converter is configured using Windows software and supports reading up to 250 CAN frames and writing up to 250 CAN frames. The manual provides information on characteristics, connection schemes, configuration, and operation of the converter device.

Uploaded by

kobo
Copyright
© © All Rights Reserved
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)
43 views17 pages

User Manual: CAN / Modbus Slave - Converter

The document is a user manual for a CAN/Modbus Slave Converter that allows bidirectional communication between CAN and Modbus networks. It has electrical isolation between the two buses and can read and write CAN frames from/to Modbus registers. The converter is configured using Windows software and supports reading up to 250 CAN frames and writing up to 250 CAN frames. The manual provides information on characteristics, connection schemes, configuration, and operation of the converter device.

Uploaded by

kobo
Copyright
© © All Rights Reserved
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/ 17

User Manual CANbus / Modbus Slave

Document code: MN67012_ENG Revision 2.101 Page 1 of 17


Industrial Electronic Devices

User Manual
Revision 2.101
English

CAN / Modbus Slave - Converter


(Order Code: HD67012)

for Website information:


www.adfweb.com?Product=HD67012 HD67012

for Price information:


www.adfweb.com?Price=HD67012

Similiar
Products For other Gateways / Bridges:
Benefits and Main Features: CAN to Modbus
See also the following links:
www.adfweb.com?product=HD67011 (Modbus RTU Master)
Very easy to configure www.adfweb.com?product=HD67014 (Modbus TCP Master)
www.adfweb.com?product=HD67515 (Modbus TCP Slave)
Low cost
CANopen to Modbus
Rail mountable See also the following links:
www.adfweb.com?product=HD67001 (Modbus RTU Master)
Wide supply input range www.adfweb.com?product=HD67002 (Modbus RTU Slave)
www.adfweb.com?product=HD67004 (Modbus TCP Master)
Galvanic isolation www.adfweb.com?product=HD67505 (Modbus TCP Slave)

Industrial temperature range: Do you have an your customer protocol?


-40°C / 85°C (-40°F / 185°F) 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

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 2 of 17
Industrial Electronic Devices

INDEX: UPDATED DOCUMENTATION:

Page Dear customer, we thank you for your attention and we remind you that you
INDEX 2 need to check that the following document is:
UPDATED DOCUMENTATION 2  Updated
REVISION LIST 2  Related to the product you own
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.
SECURITY ALERT 3
CHARACTERISTICS 4 With this “Document Code” go to web page www.adfweb.com/download/ and
CONNECTION SCHEME 4 search for the corresponding code on the page. Click on the proper “Document
Code” and download the updates.
CONFIGURATION 6
USE OF COMPOSITOR SW67012 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)
SET COMMUNICATION 8 and download the updated from our web site www.adfweb.com/download/
RECIVE COB 9
DEFINE COB 10
TRANSMIT COB 11 REVISION LIST:
DEFINE COB 12
Revision Date Author Chapter Description
UPDATE DEVICE 13
2.000 10/07/2007 Av All New document format
CHARACTERISTICS OF THE CABLES 14 2.001 08/10/2008 Fl All Change figure 2
MECHANICAL DIMENSIONS 15 2.002 25/06/2009 Ml All Revision
ORDER CODE 15 2.100 19/10/2010 Dp All Add function
ACCESSORIES 15 2.101 04/04/2013 Nt All Added new chapters
DISCLAIMER 16
OTHER REGULATIONS AND STANDARDS 16
WARRANTIES AND TECHNICAL SUPPORT 17 WARNING:
RETURN POLICY 17
PRODUCTS AND RELATED DOCUMENTS 17 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 CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 3 of 17
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 are required for each
individual application, legal and safety regulation. 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 instrument can represent a potential hazard if they are inappropriately installed and operated by
personnel untrained. These instructions refer to residual risks with the following symbol:

This symbol indicates that non-observance of the safety instructions is danger for people to serious injury or death and / or the possibility
of damage.

CE CONFORMITY
The declaration is made by us. You can send an email to [email protected] or give us a call if you need it.

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 4 of 17
Industrial Electronic Devices

CHARACTERISTICS:

The CAN / Modbus Slave Converter allows the following characteristics:


 two-directional information between networks CAN and ModBUS;
 electrical isolation between two BUSes;
 to read CANbus frame from ModBUS word;
 to write CANbus frame from ModBUS word;
 Temperature range -40°C to 85°C.

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

The Converter can be configured up to a maximum 250 CANbus frame in reading and 250 CANbus frame in writing.

CONNECTION SCHEME:

Figure 1: Connection scheme of HD67012 between a CANbus and Modbus RTU

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 5 of 17
Industrial Electronic Devices

Connector2:
CAN

Jumper1: Jumper2:
H = High wire
Termination CANopen Line Termination Modbus Line
Connector1: S = Shield
Power Supply L = Low wire
= Open = 120 ohm = Open = 220 ohm

V- = Ground
V+ = Positive wire
Connector3:
Modbus RTU on RS485
12/18 VAC – 4 VA
Led3: 12/24 VDC – 4 Watt
S = Shield
Green
V – V+ H S L S B A B = Negative wire
Not used
A = Positive wire

Port RS232 (D-SUB9-Male)

PIN2 = TX
PIN3 = RX
PIN5 = GND

Used for:
A) Programmation Port
B) Modbus on RS232 Rail DIN
Clamp
To connect the device to the COM
port of a PC in order to set it.
You have to use the programming
cable AC34107. 12 Vac
Or
Or a cable made as showed here: 24 dc
-- + Hi Grd Lo S -- +
5 4 3 2 1

9 8 7 6

Led1:
Yellow Led2: Jumper3:
Boot Mode: Blink Green Boot mode
quickly; RUN
CABLE CABLE = Yes Jumper
No Boot Mode:
Side A Side B Boot Mode
Change when CAN
FEM FEM
message arrive
= No Jumper
Normal Mode

Figure 2: Connection scheme for HD67012

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 6 of 17
Industrial Electronic Devices

CONFIGURATION:

The “Gateway CANbus to Modbus” allows a CANbus network to communicate with a Modbus network.

You need Compositor SW67012 software on your PC in order to perform the following:
 Define that the CANbus frame of the CANbus are reading from Modbus;
 Define that the CANbus frame of the CANbus are writing from Modbus.

USE OF COMPOSITOR SW67012:

When launching the SW67012 the following window appears


(The SW67012 is downloadable on the site
http://www.adfweb.com/home/download/download.asp
This manual is referenced to the last version of the software
present in our web site).

Figure 3: Main window for SW67012

The following explains the function of the buttons:

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 7 of 17
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 a Programmable CANbus to Modbus Gateway 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 Project”.

When a new project is created or an existent project is open, it will be possible to access the various configuration section of the software:

 Set Communication
 Recive COB
 Otherwise the Define COB
 Transmit COB
 Otherwise the Define COB

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 8 of 17
Industrial Electronic Devices

SET COMMUNICATION:

This section defines the fundamental communication parameters of two Buses, CANbus and Modbus.

By pressing the “Set Communication” button from the main window for SW67012 (Fig. 3) the window
“Set communication” appears (Fig. 4):

 In the field “Baud rate” the velocity of the two buses is defined;
 Select the type of CANbus (CAN Bus 2.0A or CAN Bus 2.0B);
 “TimeOut Data” is the maximum time that the device attends for the CAN Frame;
 In the field “Modbus Register” insert the value of Modbus register which contains the number 1
if a CAN frame arrives or the number 0 if it does not arrives before the timeout;
 If the field “RS232” is checked the serial line in use is the RS232, otherwise is the RS485;
 In the field “Parity” the serial parity is defined;
 In the field “Dev ID” the Address Device is defined;
 If the field “Cancel data after read” is checked, the gateway cancel the data arrived from CAN
bus after a modbus read function
 If the field “No Cancel if read Input Reg.” Is checked, the gateway cancel the data arrived from
CAN bus only if you use the Function 3 (Holding Register). If you use teh Function 4 (Input
Register) data will not be cancel.

Figure 4: “Set communication” window

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 9 of 17
Industrial Electronic Devices

RECEIVE COB:

By pressing the “Receive COB” button from the main window for
SW67012 (Fig. 3) the window “Receive CAN Frame” appears (Fig. 5).

A user who has to read a CANbus frame from CANbus to Modbus needs
to insert the coordinates of the CANbus frame in order to be transmitted
in the field “Receive COB” of the window.

 In the field “CobID” insert the Cob_ID of the CANbus frame;


 In the field “Dimension” insert the number of bytes of the
CANbus frame (the maximum dimension is 8 Bytes);
 In the field “Mnemonic” you can insert a brief description.
Figure 5: “Receive CAN Frame” window

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 10 of 17
Industrial Electronic Devices

DEFINE COB:

By pressing the “Define COB” button from the main window for SW67012 (Fig. 3) the
window “Receive CAN Frame Info” appears (Fig. 6).

 In the field “COB-ID Frame” there are the COB-ID that you insert in the list
Receive COB;
 In the field “MODBUS” there are the modbus words defined for that COB-
ID Frame;
 In the field “Index MODBUS” there is the address that contain the Modbus
word;
 In the field “Selecet Frame Byte” you select the position of the byte;

For example:

Click on the “COB-ID”, insert the valid address in the field “Index MODBUS”, select
the byte position(B1 in “High MODBUS Byte” and B2 in “Low MODBUS Byte”), click
the “New” button, then in the field “MODBUS” the names of modbus words appear
(The first word is name IND MB 0, the second IND MB 1, the third Ind MB 2, the
fourth Ind MB 3).

Figure 6: “Receive CAN Frame Info” window

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 11 of 17
Industrial Electronic Devices

TRANSMIT COB:

By pressing the “Transmit COB” button from the main window for
SW67012 (Fig. 3) the window “Transmit CAN Frame” appears (Fig. 7).

A user who has to write a CANbus frame from Modbus to CANbus needs
to insert the coordinates of the CANbus frame in order to be transmitted
in the field “Trasmit COB” of the window.

 In the field “CobID” insert the Cob_ID of the CANbus frame;


 In the field “Dimension” insert the number of bytes of the
CANbus frame (the maximum dimension is 8 Bytes);
 In the field “Mnemonic” you can insert a brief description.
Figure 7: “Transmit CAN Frame” window

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 12 of 17
Industrial Electronic Devices

DEFINE COB:

By pressing the “Define COB” button from the main window for SW67012 (Fig. 3)
the window “Transmit CAN Frame Info” appears (Fig. 8).

 In the field “COB-ID Frame” there are the COB-ID that you insert in the
list;
 In the field “MODBUS” there are the Modbus words defined for that COB-
ID Frame;
 In the field “Index MODBUS” there is the address that contain the Modbus
word;
 In the field “Seleceted Frame Byte” you select the position of the byte.

For example:

Click on the “COB-ID”, insert the valid address in the field “Index MODBUS”, select
the byte position(B1 in “High MODBUS Byte” and B2 in “Low MODBUS Byte”), click
the “New” button, then in the field “MODBUS” the names of modbus words appears
(The first word is name IND MB 0, the second IND MB 1, the third Ind MB 2, the
fourth Ind MB 3).

.
Figure 8: “Transmit CAN Frame Info” window

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 13 of 17
Industrial Electronic Devices

UPDATE DEVICE:

Section “Update Device”:


Insert the boot jumper (see figure 2).
In order to load the parameters after they are set, set the Com port you
used for update, then you must click the button “Execute update firmware”
on the principal window.

Figure 9: Update device procedure

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 14 of 17
Industrial Electronic Devices

CHARACTERISTICS OF THE CABLES:

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 RS232 Cable not exceed 15 meters.

Can bus cable characteristics:

DC parameter: Impedance 70 Ohm/m

AC parameters: Impedance 120 Ohm/m


delay 5 ns/m

Length Baud Rate [bps] Length MAX [m]


10 K 5000
20 K 2500
50 K 1000
100 K 650
125 K 500
250 K 250
500 K 100
800 K 50
1000 K 25

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 15 of 17
Industrial Electronic Devices

MECHANICAL DIMENSIONS:

Figure 10: Mechanical dimensions scheme

ORDER CODE:

Order Code: HD67012 - CAN / Modbus Slave - Converter

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 CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 16 of 17
Industrial Electronic Devices

DISCLAIMER

All technical content within this document can be modified without notice. The content of the document content is a recurring audit.
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.

OTHER REGULATIONS AND STANDARDS

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 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.

RESTRICTION OF HAZARDOUS SUBSTANCES DIRECTIVE


The device respects the 2002/95/EC Directive on the restriction of the use of certain hazardous substances in electrical and
electronic equipment (commonly referred to as Restriction of Hazardous Substances Directive or RoHS).

CE MARKING
The product conforms with the essential requirements of the applicable EC directives.

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


User Manual CANbus / Modbus Slave
Document code: MN67012_ENG Revision 2.101 Page 17 of 17
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


HD67117 CAN bus Repeater www.adfweb.com?Product=HD67117

HD67216 CAN bus Analyzer www.adfweb.com?Product=HD67216

HD67012 CAN bus to Modbus RTU Client www.adfweb.com?Product=HD67012

HD67014 CAN bus to Modbus TCP Client www.adfweb.com?Product=HD67014

HD67515 CAN bus to Modbus TCP Server www.adfweb.com?Product=HD67515

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

You might also like