X20 system modules • X20 electronics module communication • X20CS1070
X20 system User's Manual 3.10
1631
4.18.7.7.10 Receive buffers 0 and 1
4.18.7.7.10.1 Number of valid CAN payload data bytes
Name:
RXDataSize0
RXDataSize1
Number of valid CAN payload data bytes.
This register also uses the value -1 (0xFF) to indicate a general error or gap in the input data stream. Details
regarding the error that has occurred can be seen in the "" on page register.
Data type
Value
Meaning
1 to 8
Number CAN payload data
USINT
-1
Error
4.18.7.7.10.2 Identifier of the received data
Name:
RXIdent0
RXIdent1
Identifiers assigned to the received data. The frame format and the identifier format can also be read from this
register.
Data type
Value
UDINT
See bit structure.
Bit structure:
Bit
Description
Value
Information
0
Standard frame format (SFF) with an 11-bit identifier
0
Frame format
1
Extended frame format (EFF) with an 29-bit identifier
0
Data frame
1
Frame type
1
Remote frame (RTR)
2
Reserved
-
3 - 20
0
In extended frame format (EFF) with 29 bits
21 - 31
CAN identifier for telegram to be transmitted
In standard frame format (SFF) with 11 bits
4.18.7.7.10.3 Configuration of the CAN payload data to be received
Name:
RXData0Byte0 to RXData0Byte7
RXData0Word0 to RXData0Word3
RXData0Long0 to RXData0Long1
RXData1Byte0 to RXData1Byte7
RXData1Word0 to RXData1Word3
RXData1Long0 to RXData1Long1
These registers hold the payload data of the CAN object to be transferred from the receive buffer to the CPU in
the current cycle. If new data is received or if the receive buffer contains additional CAN objects, these registers
are overwritten with the new data in the next cycle.
To avoid losing CAN objects, the application must respond immediately to a change in the "RXCount" and copies
the data from these registers.
The maximum 8 bytes for a CAN telegram can be used as data points with 8 individual bytes, 4 words or 2 longs
as needed.
Data type
Value
Description
USINT
0 to 255
Received CAN payload data as bytes
UINT
0 to 65,535
Received CAN payload data as words
UDINT
0 to 4.294.967.295
Received CAN payload data as longs
Summary of Contents for X20 System
Page 2: ......