
11 Example Program
11.1 System Configuration
83
FX
3U
-J1939 User's Manual
11
Exam
pl
e
Program
12
D
iagnostics
The programs shown below are examples on how to set local parameters, set up a network and exchange
data over the network with FX
3U
-J1939.
11.1
System Configuration
The system consists of two FX
3U
-J1939 nodes, Node A and Node B.
This system can be used for both the J1939 example programs.
11.2
Contents of Operation/Setting of FX
3U-
J1939
Node A and Node B exchange data by using one message.
Message 1 of Node A and Node B are configured as transmit (Tx) messages. Node A uses PGN 45312 for its
Tx message, Node B uses PGN 45568 for its Tx message.
Message 2 of Node A and Node B are configured as receive (Rx) messages. Node A Rx message receives
the Tx message of Node B, and Node B Rx message receives the Tx message of Node A.
The baud rate and node address setting, as well as the configuration of message 1 and message 2, are done
in the PLC program.
Node
Setting
A
•
Node ID = 128, arbitrary address capable OFF (BFM #25 bit 2 OFF)
•
Message 1
-
Tx message
-
PGN 45312 (HB100), Destination address 127 (H7F)
-
ttype = 1 (event driven), priority = 6, 8 bytes data length
•
Message 2
-
Rx message
-
PGN 45568 (HB200), Destination address 128 (H80)
-
Source address filter HFF (=> any), 8 bytes data length
B
•
Node ID = 127, arbitrary address capable OFF (BFM #25 bit 2 OFF)
•
Message 1
-
Tx message
-
PGN 45568 (HB200), Destination address 128 (H80)
-
ttype = 1 (event driven), priority = 6, 8 bytes data length
•
Message 2
-
Rx message
-
PGN 45312 (HB100), Destination address 127 (H7F)
-
Source address filter HFF (=> any), 8 bytes data length
FX
3G
/FX
3GC
/
FX
3U
/FX
3UC
Series PLC
FX
3U
-J1939
Terminating
resistor
Terminating
resistor
Node A
Node address: 128
Node B
Node address: 127
FX
3G
/FX
3GC
/
FX
3U
/FX
3UC
Series PLC
FX
3U
-J1939
Message 1
Tx Message
Message 2
Rx Message
Node A
Node address: 128
Message 1
Tx Message
Message 2
Rx Message
Node B
Node address: 127
PGN 45312
PGN 45568