![background image](http://html1.mh-extra.com/html/omron/cj1w-cort21/cj1w-cort21_operation-manual_742494091.webp)
4-9
4 Message Communications
CJ-series User Defined CAN Unit Operation Manual for NJ-series CPU Unit (W517)
4-2 Un
it C
onf
igu
ratio
n an
d Co
ntro
l
4
4-
2-1 C
onfigu
re Memor
y Ar
eas
(2902)
Receive Buffer Area
In this area one or more receive buffers are present. Every input buffer can have only one CAN mes-
sage content for receiving.
The location
U
of the CAN receive message buffers is configured with the command code 2902.
This memory area contains input words. Given the number of configured receive message buffers
as
B
, the area has the layout specified below. The layout depends on the configuration supplied via
the command codes 2905 or 2906. By selecting little of big endian format (adjust when the com-
mand is executed) a byte swap is performed (see section
4-2-4 Configure 11-Bit ID Input Message
and
4-2-5 Configure 29-Bit ID Input Message Buffer (2906)
for more details).
~
Data length (number of bytes)
Data byte 0
Data byte 2
Data byte 4
Data byte 6
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Buff
er 0
Data byte 0
Data byte 2
Data byte 4
Data byte 6
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Data byte 0
Data byte 2
Data byte 4
Data byte 6
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Data byte 0
Data byte 2
Data byte 4
Data byte 8
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Data byte 0
Data byte 2
Data byte 4
Data byte 8
Data byte 1
Data byte 3
Data byte 5
Data byte 7
Data byte 0
Data byte 2
Data byte 4
Data byte 8
Buff
er 1
Buff
er
m
~
~
~
~
~
Big endian:
Little endian:
Word
T
Word
T +
1
Word
T +
2
Word
T +
3
Word
T +
4
Word
T +
(1 * 5)
Word
T +
(1 * 5) + 1
Word
T +
(1 * 5) + 2
Word
T +
(1 * 5) + 3
Word
T +
(1 * 5) + 4
Word
T +
((
A
- 1)* 5)
Word
T +
((
A
- 1)* 5) + 1
Word
T +
((
A
- 1)* 5) + 2
Word
T +
((
A
- 1)* 5) + 3
Word
T +
((
A
- 1)* 5) + 4
Data length (number of bytes)
Data length (number of bytes)
Data length (number of bytes)
Data length (number of bytes)
Data length (number of bytes)
Summary of Contents for CJ1W-CORT21
Page 2: ......
Page 140: ...Appendices A 6 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517...
Page 141: ...Index 1 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517 I Index...
Page 144: ...Index 4 CJ series User Defined CAN Unit Operation Manual for NJ series CPU Unit W517 Index...