Mitsubishi Electric MELSEC-F FX3U-J1939 User Manual page 97

Hide thumbs Also See for MELSEC-F FX3U-J1939:
Table of Contents

Advertisement

FX
-J1939 User's Manual
3U
* ################################################################
* Set FX3U-J1939 online
* ################################################################
M0
M7
Online/
Module
Offline
Init.
State
* ################################################################
* Set out data, read in data
* ################################################################
M0
Online/
Offline
* ################################################################
* Read module error state (display on Y000 to Y017)
* ################################################################
M0
Online/
Offline
M2
Address
Capable
M2
Address
Capable
11 Example Program
11.3 J1939 Communication Example Programs
* <Request online
TO
D0
K25
K20
SFB
address
* <Request online
TO
D0
K25
K16
SFB
address
* <Copy RTC data to message
TO
D0
K100
D8013
SFB
address
* <Buffer swap
TO
D0
K20
K1
SFB
address
* <Read RX data
FROM
D0
K104
D100
SFB
address
* <Read BFM #29
FROM
D0
K29
D29
SFB
Error
address
Status
MOV
D29
Error
Status
11
>
K1
12
>
K1
>
K4
>
K1
>
K4
>
K1
K4Y000
Error
Output
END
87

Advertisement

Table of Contents
loading

Table of Contents