Advantech EMCB-200U handleiding

22 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 15 van 22
15
Table 2 Device ID type
EID
Description
0
2.0A version
1
2.0B version
Table 3 Message type
RTR
Description
0
The message is a Data Frame
1
The message is a Remote Transmit Request
3.3.2 EMCBMsgRx
UINT32 EMCB_API EMCBMsgRx(BYTE ch, UINT32 *pID, BYTE *pEID, BYTE *pRTR,
BYTE *pData, BYTE *pLen)
Description:
Receive a CAN message with non-blocking mode and return status immediately. This supports
all frames of CAN message. The main action is to get the information of the message that be
received. The information can help us to know: from Identifier, type frame, and data.
Parameters:
ch
Select the CAN channel.
pID
Pointer to two bytes that the ID of device which receive from.
pEID
Pointer to a byte that the ID version of device which receive from. See Table 2.
pRTR
Pointer to a byte that the received message type.
pData
Pointer to a buffer that the received data.
pLen
Pointer to a byte that the number of the received data bytes.
Return Status Code:
Condition
Return Value
Success
EMCB_STATUS_SUCCESS
Library Uninitialized
EMCB_STATUS_NOT_INITIALIZED

Bekijk gratis de handleiding van Advantech EMCB-200U, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkAdvantech
ModelEMCB-200U
CategorieNiet gecategoriseerd
TaalNederlands
Grootte2219 MB