ADF Web J1939 to Ethernet User manual

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 1 of 16
User Manual
Revision 1. 2
English
Gateway / Adapter
J1939 to Ethernet
(Order Code: HD67213 – HD67213M)
for Website information:
www.adfweb.com?Product=HD67213
www.adfweb.com?Product=HD67213M
for Price information:
www.adfweb.com?Price=HD67213
www.adfweb.com?Price=HD67213M
Benefits and Main Features:
Mountable on Rail DIN
TCP/UDP protocols changeable with software
Easy to use software configuration
Industrial temperature range:
-3 °C / 7 °C (-22°F / 158°F)
For others Converter / Adapter:
RS232 / RS 85
See also the following link:
www.adfweb.com?Product=HD67118
USB / RS 85
See also the following link:
www.adfweb.com?Product=HD67119
Do you have an your customer protocol?
See the following link:
www.adfweb.com?Product=HD67 3
Do you need to choose a device? do you want help?
Ask it to the following link:
www.adfweb.com?Cmd=helpme
Similiar
Products
HD67213
HD67213M

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 2 of 16
INDEX:
Page
INDEX 2
UPDATED DOCUMENTATION 2
REVISION LIST 2
WARNING 2
TRADEMARKS 2
CONNECTION SCHEME 3
CHARACTERISTICS 5
POWER SUPPLY 5
CONFUGURATION 6
USE OF COMPOSITOR SW67213 6
NEW PROJECT / OPEN PROJECT 7
SET COMMUNICATION 8
RECEIVE J1939 9
UPDATE VIA TCP 1
UPDATE VIA SERIAL 11
CHARACTERISTICS OF THE CABLES 12
ETHERNET PROTOCOL 13
Write Frames 13
Read Fames 14
MECHANICAL DIMENSIONS 15
ORDER CODE 15
ACCESSORIES 15
WARRANTIES AND TECHNICAL SUPPORT 16
RETURN POLICY 16
PRODUCTS AND RELATED DOCUMENTS 16
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 Author
Chapter
Description
1. 16/1 /2 8 Fl All First release version
1. 1 29/ 1/2 9 Fl All Software changed
1. 2 17/ 5/2 1 Dp All Revision
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.

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 3 of 16
CONNECTION SCHEME:
Figure 1: Connection scheme HD67213

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 4 of 16
Figure 2: Connection scheme for HD67
2
13M

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 5 of 16
CHARACTERISTICS:
The Configurable J1939 Slave to Ethernet gateway allow the
following:
TCP/UDP Ethernet protocols changeable with software;
Mountable on Rail DIN;
Temperature range -3 °C to 7 °C.
POWER SUPPLY:
Caution: Not reverse the polarity power
.
Recommended Power Supply
VDC VAC
2 v 12v
VDC VAC
Vmin Vmax Vmin Vmax
8v 35v 8v 19v
HD67213
HD67213M

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 6 of 16
CONFIGURATION:
You need Compositor SW67213 software on your PC in order to
perform the following:
Define the parameter of the J1939 bus;
Define the parameter of the Ethernet;
USE OF COMPOSITOR SW67213:
To configure the Gateway, use the available software that runs with
Windows, called SW67213. It is downloadable on the site
www.adfweb.com and its operation is described in this document.
When launching the SW67213 the right window appears (Fig. 3).
Figure
3
: Main window for SW67
21
3

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 7 of 16
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 Ethernet 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.

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 8 of 16
SET COMMUNICATION:
This section define the fundamental communication parameter of two buses, J1939 and Ethernet.
By pressing the “Set Communication” button from the main window for SW67213 (Fig. 3) the window
“Set Communication” appears (Fig. 4).
The window is divided in two section, one for the J1993 and the other for the Ethernet.
The means of the fields for J1939 are:
In the field “Baud rate” the baudrate for the J1939 is defined;
If the field “CAN Bus 2. A” is checked, the CAN with a CobID of 11Bit is used; otherwise if the
field “CAN Bus 2. B” is checked the CAN with a CobID of 29Bit is used;
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”;
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 “Filter FECA” is checked there is a filter to the alarms with PGN xFECA. If the device
send first a message with PGN xFECA, after it would send a Transport Protocol frame for
sending the alarms. If this frame arrives within the mS write in the box, the frame with xFECA
is discarded and the Transport Protocol frame is held. Otherwise the frame with PGN xFECA is
hold.
The means of the fields for Ethernet are:
In the field “IP ADDRESS” insert the IP address;
In the field “SUBNET Mask” insert the Subnet Mask;
In the field “Port” insert the number of port;
If the field “TCP” is checked the Ethernet protocol used is the TCP, otherwise if the field “UDP” is
checked the Ethernet protocol used is the UDP.
Figure 4: “Set Commun
ication” window

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 9 of 16
RECEIVE J1939
By pressing the “Receive COB” button from the main
window for SW67513 (Fig. 3) the window “Receive CAN
Frame” appears (Fig. 5).
The means of the fields are:
In the field “Data Page” insert the Data Page, in the
J1939 protocol is or 1;
In the field “PGN” insert the PGN of the data you
would to read from Ethernet to J1939 (it is an
identifier);
In the field “Source Address” insert the address of
the device that send the frame;
If the field “Multi Frame” is checked, the Transport
Protocol is enabled for the frame otherwise is
disable;
In the field “StartByte” insert the Start Byte of the
Transport Protocol. Insert a value only if the Multi
Frame is enabled;
In the field “N° Byte” insert the number of bytes that
composed the Transport Protocol. Insert a value only
if the Multi Frame is enabled;
If the field “Cancel Data” is checked, the data in the
frame will be erased after the “TimeOut Data” is
expired;
In the field “Mnemonic” the description for the frame
is defined.
Figure 5: “Receive J1939” window

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 1 of 16
UPDATE DEVICE VIA TCP:
Section “Update Via TCP” (Fig. 6):
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 HD67213 and press the Ping Button;
Press the “Next” button;
Select operations you want to do. Can select only Firmware or only
Project or both;
Press the “Execute update firmware” to start the upload;
At this point the configuration/firmware on the device is correctly updated.
Figure 6: “Update Via TC ” windows

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 11 of 16
UPDATE DEVICE VIA SERIAL
Section “Update Via Serial” (Fig. 7):
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 (see the Fig. 1 for more info);
Turn on the device;
Check the “BOOT Led”. It must to blink quickly (See the Fig. 1 for
more info);
Select COM port and press the “Connect” button;
Press the “Next” button;
Select operations you want to do. Can select only Firmware or only
Project or both;
Press the “Execute update firmware” 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 7: “Update Via Serial” windows

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 12 of 16
CHARACTERISTICS OF THE CABLES:
The connection at Ethernet socket must be with a Ethernet Cable with a RJ45 Plug
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.

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 13 of 16
ETHERNET PROTOCOL
This protocol is able to read and write frames in the J1939 net.
Write Frames
The transmission is very simple, it require only what are the packets to send. In a single request it is possible to write at maximum 19 frames in
the J1939 net. The Bytes that composed the request are these:
Byte Number Description
1 Read / Write Identifier (Read= x 1 / Write= x 2)
2 Number of frames to send
3 Priority
4 Data Page
5 PGN Hi
6 PGN Lo
7 Source Address
8÷15 Data (Byte 8 is the higher, byte 15 is the lower)
A single frame is composed by 13 bytes (byte 3 to byte 15). Now if the “Number of frame to send” (Byte Number 2) has got a value greater
than one the next frame is composed from byte 3 to byte 15 and so for all the frames.
The response is composed by only one byte. It can have two values:
•x : No Errors;
•x 1: Parameter Error.
Example:
We want to write two frames with the following characteristics:
Frame 1: Priority=6; Data Page= ; PGN=FECA; Source Address=1; Data= x 1 2 3 4 5 6 7 8;
Frame 2: Priority=6; Data Page= ; PGN=FFCA; Source Address=2; Data= x1122334455667788.
So the string of hexadecimal numbers is:
REQ:[ 2][ 1][ 6][ ][FE][CA][ 1][ 1][ 2][ 3][ 4][ 5][ 6][ 7][ 8][ 6][ ][FF][CA][ 2][11][22][33][44][55][66][77][88]
RES:[ 1]

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 14 of 16
Read Frames
For reading Data it is necessary to have a map in the RAM memory that contains the Data that passing in the bus. This map is implemented in
the “Compositor SW67213” but it has some standard address given by the software. It is possible to see this map in Fig. 5.
The Bytes that composed the request are these:
Byte Number Description
1 Read / Write Identifier (Read= x 1 / Write= x 2)
2 Starting Address Hi
3 Starting Address Lo
4 Number of Byte to read Hi
5 Number of Byte to read Lo
The Bytes that composed the respons are these:
Byte Number Description
1 Error
2 TimeOut
3÷n+2 Data
n=Number of Byte
The Error Byte (Byte 1) can have three values:
•x : No error;
•x 1: Starting Address doesn’t exist;
•x 2: Too many Data to read.
The TimeOut Byte (Byte 2) can have three values:
•x : TimeOut not used;
•x 1: Data consistent;
•x 2: Data not consistent.
Example:
We want to read ten frames from Starting Address 1. So the string of hexadecimal numbers is:
REQ:[ 1][ ][ ][ ][1 ]
RES:[ ][ 1][ 1][ 2][ 3][ 4][ 5][ 6][ 7][ 8][ 9][ A][ B][ C][ D][ E][ F][1 ]

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 15 of 16
MECHANICAL DIMENSIONS:
ORDER CODE:
Order Code: HD67213 - Gateway – J1939 to Ethernet
ACCESSORIES:
Order Code: AC3 001 - Rail DIN - Power Supply 22 /24 V AC 5 /6 Hz – 12 V AC
Order Code: AC3 002 - Rail DIN - Power Supply 11 V AC 5 /6 Hz – 12 V AC
Order Code: AC3 10 - European Input - Power Supply 23 V AC 5 Hz – 12 V DC
Figure 9: Mechanical dimensions scheme for HD67213M
Figure 8: Mechanical dimensions scheme for HD67213

Industrial Electronic Devices
ADFweb.com Srl – IT31010 – Mareno – Treviso INFO: www.adfweb.com hone +39.0438.30.91.31
User Manual
J1939 to
Ethernet
Document code: MN67213_ENG Revision 1. 2 Page 16 of 16
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 supp[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. to RS485 Isolated www.adfweb.com?Product=HD67119
HD67 7 Gateway Modbus TCP Server to RTU Master www.adfweb.com?Product=HD67 7
HD67 1 Gateway Modbus TCP Client to RTU Slave www.adfweb.com?Product=HD67 1
This manual suits for next models
2
Table of contents
Other ADF Web Network Hardware manuals
Popular Network Hardware manuals by other brands

Lindsay Broadband
Lindsay Broadband LBON300AC Series INSTALLATION AND OPERATION MANU

3Com
3Com AirProtect Enterprise Engine 6100 Quick setup guide

rada
rada A-BR01 Quick installation guide

DIEBOLD NIXDORF
DIEBOLD NIXDORF RM4H Operator's manual

Lava
Lava HQ-ST Link System manual

Clare Controls
Clare Controls ClareVision CV-M32810-08 installation guide