Cif Sending Layer 2 Message - Mitsubishi Electric MELSEC-F FX3U-CAN User Manual

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

Advertisement

FX
-CAN User's Manual
3U
9.7

CIF Sending Layer 2 Message

Using this function, the FX
accessible only in Layer 2 Mode.
Execution procedure: Set Node guarding/NMT Slave Assignment
1) Write the CAN-ID, RTR, DLC and the data byte to BFM #1001 to #1008.
2) Write the command code H000C to BFM #1000.
When the command code H000C is written to BFM #1000, the command is executed.
3) When the executed command is successful, H000D is written to BFM #1000.
BFM No.
BFM #1000
BFM #1001
BFM #1002
BFM #1003
BFM #1004
BFM #1005
BFM #1006
BFM #1007
BFM #1008
BFM #1009 to #1066
*1.
Set this BFM to K0 for normal transmission. If this BFM is set to K1, a remote transmit request frame
is sent. This request makes the producer of the associated CAN-ID specified in BFM #1001 and
#1002 send the actual data.
*2.
The data length in bytes (0 to 8).
178
-CAN can send any Layer 2 messages to the CAN bus. This function is
3U
→ If H000F or HFFFF is read from BFM #1000, refer to Section 10.9
FROM (Read Access)
H000D:
Data written to transmit buffer
HF00C:
Setting Error
HFFFF:
CIF Busy
H000F:
Error
Diagnosis Data
H0000:
No Error
HF00C:
Setting Error
Displays the error cause.
All other values: The corresponding parameter
caused an error.
Unused
9.7 CIF Sending Layer 2 Message
Description
TO (Write Access)
High Byte
Command:
H000C
11/29 bit CAN-Identifier low word
29 bit CAN-Identifier high word
RTR (Remote Transmission Request)
DLC (Data Length Count)
2nd data byte
4th data byte
6th data byte
8th data byte
Unused
9 CAN Layer 2 Mode
Low Byte
*1
*2
1st data byte
3rd data byte
5th data byte
7th data byte

Advertisement

Table of Contents
loading

Table of Contents