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

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

Advertisement

FX
-J1939 User's Manual
3U
Example 2:
Layer 2 message 2 parameter A = H00000180
Layer 2 message 1 parameter C = H00000006
BFM #107 to #113 stores received messages with CAN-IDs H180, H182, H184 and H186 because the ID bits
1 and 2 are not evaluated. Relation between received CAN message, BFM #20 bit 0 and "Status/Control
Flags" is shown below.
Note
• All four messages are stored in the same location. If more than one of the messages with ID H180, H182,
H184 or H186 is received between two write operations (BFM #20 bit 0 = ON), only the last received CAN-
ID, DLC, and data is available in BFM #107 to #113.
• In this sample, it is expected that the PLC program resets the status/command flags after reading the data
at
,
,
CAN bus
BFM #20
bit 0
RTR/new/DLC
high byte
Behavior until
Same as in the first example, the high byte value H07 after
once, since
But this time, it is required to check the 11 bit CAN-ID in the corresponding Layer 2 message (BFM #100 to
#399) to determine which message ID was received. In this case the last message is H0180, and the data of
this message is stored to the data BFMs. The data of messages H0182 and H0186 are lost.
68
and
.
Message
H0184
H00 (no new data
Hxx
H00
between
and
is similar to that described in example 1.
and the data bytes in the BFM are also the data received with the last message.
7 Layer 2 Communication Mode (11/29 bit ID)
7.2 [BFM #1100 to #1267] Pre-defined Layer 2 Messages Parameter
Message
Message
H0182
H0186
H03 (new frame + data
)
between
and
shows that the buffer was overwritten at least
Message
H0180
H07 (new frame + data
and overflow between
)
and
)

Advertisement

Table of Contents
loading

Table of Contents