
11 Example Program
11.3 J1939 Communication Example Programs
85
FX
3U
-J1939 User's Manual
11
Exam
pl
e
Program
12
D
iagnostics
To the next page
* <Reset required after mode change>
M8000
Run
monitor
<>
K1939
D21
Protocol
Mode
TOP
D0
SFB
address
K25
K1
K1
* <Refresh/read module status >
FROM
D0
SFB
address
K25
K4M0
Online/
Offline
K1
* If module is online in first PLC cycle
* set offline for configuration, bit 2 must not be changed
* while bit 0 or 7 is ON
* 1) Set offline, keep bit 2 ON
* 2) Set offline, keep bit 2 OFF
* <Request offline 1) >
M8002
Initial
pulse
M0
Online/
Offline
M7
Module
Init.
State
M2
Address
Capable
TO
D0
SFB
address
K25
K4
K1
* <Request offline 2) >
M2
Address
Capable
TO
D0
SFB
address
K25
K0
K1