Chapter 7
Example Application 7-1
© 2005 HMS Industrial Networks
AB7665 User manual
Example Application
Scenario #1 - EtherNet/IP
A system controller (PLC) on EtherNet/IP requires some data that is collected by
an ECU and produced on J1939. There is also a piece of data that is determined by
the system controller that would be beneficial for some of the ECUs that are on
the J1939 network. Additionally, the active diagnostics for an ECU should be
monitored by the controller.
The data required by the system controller is contained in the PGN 4608 message
as 2 12-bit values. The values are packed into the first 3 bytes of the message as
shown in Figure 7-2 below.
The data from the system controller is to be produced using PGN 256. The data is
a 16-bit value and will be placed into the first 2 bytes of the message data.
Figure 7-1 Example Application Network Diagram
Bit
Byte
7
6
5
4
3
2
1
0
0
Value #1 bits 0-7
1
Value #2 bits 0-3
Value #1 bits 8-11
3
Value #2 bits 4-11
Figure 7-2 Example PGN 4608 Message Data Format
EtherNet/IP
JMI
ECU-1
ECU-2
ECU-3
Et
hernet
J193
9
PGN 4608
PGN 256
Scanner