J1939 / Modbus Slave


Download J1939 / Modbus Slave


Preview text

Industrial Electronic Devices
User Manual
Revision 1.104 English
J1939 / Modbus Slave Converter
(Order Code: HD67212) for Website information: www.adfweb.com?Product=HD67212 for Price information: www.adfweb.com?Price=HD67212
Benefits and Main Features:
Very easy to configure Low cost Modbus RTU on Serial RS232/485 RS232/485 selection Galvanic isolation Industrial temperature range: -40°C / 85°C (-40°F / 185°F)
ADFweb.com Srl – IT31010 – Mareno – Treviso

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 1 of 18

Similiar Products
Benefit

HD67212

For others Gateways / Bridges:

J1939 to Modbus
See also the following links: www.adfweb.com?Product=HD67215 (Modbus TCP)

CANopen to Modbus
See also the following links: www.adfweb.com?Product=HD67001 (Modbus RTU Master) www.adfweb.com?Product=HD67002 (Modbus RTU Slave) www.adfweb.com?Product=HD67004 (Modbus TCP Master) www.adfweb.com?Product=HD67005 (Modbus TCP Slave)

For others Gateways / Bridges: For CAN bus 2.0A and/or CAN bus 2.0B to Modbus

See also the following links: www.adfweb.com?Product=HD67011 www.adfweb.com?Product=HD67012 www.adfweb.com?Product=HD67014 www.adfweb.com?Product=HD67015

(Modbus RTU Slave) (Modbus RTU Master) (Modbus TCP Slave) (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

INFO: www.adfweb.com Phone +39.0438.30.91.31

Industrial Electronic Devices
INDEX:
INDEX UPDATED DOCUMENTATION REVISION LIST WARNING TRADEMARKS SECURITY ALERT CONNECTION SCHEME CHARACTERISTICS POWER SUPPLY CONFIGURATION USE OF COMPOSITOR SW67212 NEW PROJECT / OPEN PROJECT SET COMMUNICATION RECIVE J1939 DEFINE RECEIVE J1939 TRANSMIT J1939 DEFINE TANSMIT J1939 REMOTE REQUEST UPDATE DEVICE CHARACTERISTICS OF THE CABLES MECHANICAL DIMENSIONS ORDER CODE ACCESSORIES DISCLAIMER OTHER REGULATIONS AND STANDARDS WARRANTIES AND TECHNICAL SUPPORT RETURN POLICY PRODUCTS AND RELATED DOCUMENTS

Page 2 2 2 2 2 3 4 5 5 6 6 7 8 9 10 11 12 13 14 15 15 16 16 17 17 18 18 18

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 2 of 18

UPDATED DOCUMENTATION:
Dear customer, we thank you for your attention and we remind you that you need to check that the following document is:
Updated Related 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.
To obtain the updated documentation for the product that you own, note the “Document Code” (Abbreviated written "Doc. Code" on the label on the product) and download the updated from our web site www.adfweb.com/download/

REVISION LIST: Revision Date
1.102 13/03/2009 1.103 11/05/2010 1.104 13/02/2013

Author Fl Dp Nt

Chapter All All All

Description Added new features Revision Added new chapters

WARNING:

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

Industrial Electronic Devices

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 3 of 18

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

Industrial Electronic Devices CONNECTION SCHEME:

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 4 of 18

Figure 1: Connection scheme for HD67212 ADFweb.com Srl – IT31010 – Mareno – Treviso

INFO: www.adfweb.com Phone +39.0438.30.91.31

Industrial Electronic Devices
CHARACTERISTICS:
The configurable J1939 into Modbus Slave gateway allow the following:
Baud rate changeable with software; Mountable on Rail DIN; Temperature range from -40°C to 85°C.

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 5 of 18

POWER SUPPLY:

Recommended Power Supply

VDC

VAC

24v

12v

VDC

Vmin

Vmax

10v

35v

VAC

Vmin

Vmax

10v

19v

Caution: Not reverse the polarity power . HD67212

ADFweb.com Srl – IT31010 – Mareno – Treviso

INFO: www.adfweb.com Phone +39.0438.30.91.31

Industrial Electronic Devices
CONFIGURATION:
The “Gateway J1939 to Modbus”, allows a J1939 network to communicate with a Modbus network.
You need Compositor SW67212 software on your PC in order to perform the following:
• Define that the J1939 frame of the J1939 are reading from Modbus;
• Define that the J1939 frame of the J1939 are writing from Modbus.
USE OF COMPOSITOR SW67212:
To configure the Gateway, use the available software that runs with Windows, called SW67212. It is downloadable on the site www.adfweb.com and its operation is described in this document.
When launching the SW67212 the right window appears (Fig. 2).

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 6 of 18
Figure 3: Main window for SW67212

ADFweb.com Srl – IT31010 – Mareno – Treviso

INFO: www.adfweb.com Phone +39.0438.30.91.31

Industrial Electronic Devices

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 7 of 18

NEW PROJECT / OPEN PROJECT:

The “New Project” button creates the folder which contains the entire device configuration. A device configuration can also be imported and exported:

To clone the configurations of a Programmable J1939 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:

o Set Communication; o Receive J1939; o Transmit J1939.

ADFweb.com Srl – IT31010 – Mareno – Treviso

INFO: www.adfweb.com Phone +39.0438.30.91.31

Industrial Electronic Devices

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 8 of 18

GENERAL PARAMETER:

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

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

In the fields “Baud Rate” the velocity of the two buses are defined; In the field “TimeOut Data” insert a time, when this time is elapsed the data isn’t reliable, and in the Modbus register you can read “FFFF”; The field “Modbus register” insert a number of register, in this register you can visualize if the data is reliable, if 1 the data is ok, if 0 the data is oldest of the time inserted in the time out data; If the field “Peer to Peer” is checked the gateway accept any ID that have the PGN inserted in the section “Receive J1939”; If the field “Enable write J1939 on request” is checked, the field “Write J1939 frame” in “Transmit J1939 frame info” is enabled. If this field is not checked, the device send a J1939 frame for every written register. Otherwise it is possible to select when to send the J1939 frame; If the field “Enable Remote Request” is checked it is possible to use the “Remote Request”. To use this, is necessary to insert in the four fields under the four Modbus Registers. In the field “parity”, the serial parity is defined; The Gateway has two alternative outlets from the Modbus side: RS485 or RS232. Select the desired choice; In the field “Dev ID” the Modbus address is defined.

ADFweb.com Srl – IT31010 – Mareno – Treviso

Figure 4: “Set Communication” window INFO: www.adfweb.com Phone +39.0438.30.91.31

Industrial Electronic Devices
RECEIVE J1939:
By pressing the “Receive J1939” button from the main window for SW67212 (Fig. 3) the window “Receive J1939 frame” appears (Fig. 5):
In the right scenario:
In the field “PGN” insert the PGN of the data you would to read from Modbus. (in the J1939 protocol the PGN is an identifier); In the field “ID Device”, insert the ID of J1939 device that transmit the frame; If the field “Delete” is checked and the Modbus Register in the section “Set communication” is 0 the gateway when the data is oldest of the time inserted in the “time out data” you visualize “FFFF” in the Modbus registers of this PGN.

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 9 of 18
Figure 5: “Receive J1939 frame” window

ADFweb.com Srl – IT31010 – Mareno – Treviso

INFO: www.adfweb.com Phone +39.0438.30.91.31

Industrial Electronic Devices
DEFINE RECEIVE J1939
By pressing the “Define J1939” button from the main window for SW67212 (Fig. 3) the window “Receive J1939 frame info” appears (Fig. 6):
In the field “PGN” there are PGN who you insert in the list; In the field “MODBUS” there are the modbus words; In the field “Index MODBUS” there is the address who contain the Modbus word; In the field “Selecet Frame Byte” you select the position of the byte.

User Manual J1939 / Modbus Slave
Document code: MN67212_ENG Revision 1.104 Page 10 of 18

For example:
Click on the PGN, 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, in the field MODBUS appears the names of modbus words (The fist word is name IND MB 0, second IND MB 1, third Ind MB 2 and so on).

ADFweb.com Srl – IT31010 – Mareno – Treviso

Figure 6: “Receive J1939 frame info” window INFO: www.adfweb.com Phone +39.0438.30.91.31

Preparing to load PDF file. please wait...

0 of 0
100%
J1939 / Modbus Slave