9 CAN Layer 2 Mode
9.1 Receive/Transmit Process Data
169
FX
3U
-CAN User's Manual
1
Introduc
tion
2
Specifi
cations
3
Inst
allati
on
4
Wi
rin
g
5
Introduc
tion of
Functions
6
All
ocation of
B
uff
er
Memor
ies
7
Interface and
D
evice P
rofile
(40
5 mode)
8
Lift Appl
icati
on
P
ro
file
(417 M
ode)
9
CAN
Layer 2
Mode
10
Comm
and
Interface
2. When receiving messages
The CAN-ID, RTR/new/DLC and data bytes of each message are as follows.
Note
In case more than one ID can pass the filter set in BFM #1100 to #1267, the received CAN-ID might change
and will always display the CAN-ID, DLC and data of the latest received message.
→
For Layer 2 message configuration in BFM #1100 to #1267, refer to Section 9.3
1) CAN-ID
The source CAN-ID of the received Layer 2 message is stored. CAN-ID is as follows corresponding to the
function mode to be used.
→
For the function mode, refer to Section 6.5
*1.
The "n" corresponds to the Layer 2 message number.
2) RTR/new/DLC
*2.
If bit 8 of the RTR/new/DLC is ON, a new message including new data has been received and
stored. If bit 9 is ON but bit 8 is OFF, the same message (same ID, DLC and data) has been
received. If bit 10 is ON, at least one more message has been stored in this message buffer while
bit 8 was ON which caused an overflow condition.
3) Data bytes
The data received of length specified by DLC is stored.
In case the received DLC is less than 8, unused data bytes are set to H00.
Function Mode
Description
11 bit CAN-ID Layer 2 Mode
CAN-ID is stored in the 11 bits, bit 0 to 10, in the CAN-ID n
*1
LW.
In this function mode, CAN-ID n
*1
HW does not used.
29 bit CAN-ID Layer 2 Mode
CAN-ID is stored in the 29 bits, bit 0 to 28, in the CAN-ID n
*1
LW and CAN-ID n
*1
HW.
Handle CAN-ID n
*1
LW and CAN-ID n
*1
HW by 32 bit instructions.
High Byte/Low Byte
Description
High byte
H00:
New data is not received.
Bit 8:
ON when new data is received.
Bit 9:
ON when new frame is received.
Bit 10:
ON when overflowing.
*2
Low byte
Data length count (DLC) of the received CAN frame.
Flags
RTR / new / DLC
Receive messages only
New frame
no new data
New frame
new data
New frame
no new data
overflow occur
New frame
new data
overflow occur
No data received
New data (bit 8)
OFF
ON
OFF
ON
- (Do not care)
New frame (bit 9)
ON
ON
ON
ON
OFF
Overflow (bit 10)
OFF
OFF
ON
ON
- (Do not care)
Содержание FX3U-CAN
Страница 1: ...FX3U CAN USER S MANUAL ...
Страница 2: ......
Страница 6: ...Safety Precautions Read these precautions before use 4 MEMO ...
Страница 227: ......