Component: J1939 (Misc)
From Flowcode Help
Jump to navigationJump to searchAuthor | |
Version | 1.1 |
Category | Misc |
Contents
J1939 component
Component Source Code
Please click here to view the component source code (Beta): FC_Comp_Source_J1939.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
![]() |
Check |
Returns 0 if running on an embedded target or 1 if running in simulation runtime. | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Sim |
==Macro reference==
![]() |
Rx_Transfer_Data |
Returns the byte count and data of the transfer message data | |
![]() |
DataBuffer |
Buffer to receive copied data | |
![]() |
Size |
Size (byte count) of buffer | |
![]() |
Return |
![]() |
Message_Data_Read_SPN |
Read the SPN value from the CAN data buffer | |
![]() |
SPN |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Process |
Does the message processing. Call this often. | |
![]() |
TimeElapsed |
Time elapsed since last call, in mS. Can be zero for frequent calling. | |
![]() |
Return |
![]() |
Rx_Transfer_Check |
Check for incoming multipart data transfers. If received, returns the PGN else 0 | |
![]() |
Return |
![]() |
Get_Address |
Returns the device (ECU) actual address | |
![]() |
Return |
![]() |
Message_Data_Set |
Set all data in CAN Data Buffer to given value. e.g. 0 or 0xFF | |
![]() |
DataBuffer |
![]() |
Value |
![]() |
Return |
![]() |
Rx_Message_Check |
If a data message has been received returns the PGN,otherwise 0 | |
![]() |
Return |
![]() |
Get_Status |
Returns the system status. 0 = Ready. 1 = Waiting address claim | |
![]() |
Return |
![]() |
Message_Data_Write_SPN |
Write the SPN value to the CAN data buffer | |
![]() |
SPN |
![]() |
Value |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Rx_Message_Data |
Returns the DLC and data of the last received message | |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Tx_Message_Send |
Send the prepared CAN message | |
![]() |
PGN |
![]() |
DLC |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Message_Data_Clear |
Clear the CAN Data Buffer | |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Rx_Message_Source |
Returns the Source Address of the last received message | |
![]() |
Return |
![]() |
Initialise |
Initialise the CAN network and J1939 protocol | |
![]() |
Preferred_Address |
Preferred Address (Requested Address) | |
![]() |
Return |
Property reference
==Macro reference==
![]() |
Rx_Transfer_Data |
Returns the byte count and data of the transfer message data | |
![]() |
DataBuffer |
Buffer to receive copied data | |
![]() |
Size |
Size (byte count) of buffer | |
![]() |
Return |
![]() |
Message_Data_Read_SPN |
Read the SPN value from the CAN data buffer | |
![]() |
SPN |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Process |
Does the message processing. Call this often. | |
![]() |
TimeElapsed |
Time elapsed since last call, in mS. Can be zero for frequent calling. | |
![]() |
Return |
![]() |
Rx_Transfer_Check |
Check for incoming multipart data transfers. If received, returns the PGN else 0 | |
![]() |
Return |
![]() |
Get_Address |
Returns the device (ECU) actual address | |
![]() |
Return |
![]() |
Message_Data_Set |
Set all data in CAN Data Buffer to given value. e.g. 0 or 0xFF | |
![]() |
DataBuffer |
![]() |
Value |
![]() |
Return |
![]() |
Rx_Message_Check |
If a data message has been received returns the PGN,otherwise 0 | |
![]() |
Return |
![]() |
Get_Status |
Returns the system status. 0 = Ready. 1 = Waiting address claim | |
![]() |
Return |
![]() |
Message_Data_Write_SPN |
Write the SPN value to the CAN data buffer | |
![]() |
SPN |
![]() |
Value |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Rx_Message_Data |
Returns the DLC and data of the last received message | |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Tx_Message_Send |
Send the prepared CAN message | |
![]() |
PGN |
![]() |
DLC |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Message_Data_Clear |
Clear the CAN Data Buffer | |
![]() |
DataBuffer |
![]() |
Return |
![]() |
Rx_Message_Source |
Returns the Source Address of the last received message | |
![]() |
Return |
![]() |
Initialise |
Initialise the CAN network and J1939 protocol | |
![]() |
Preferred_Address |
Preferred Address (Requested Address) | |
![]() |
Return |