ConOpSys V2970
P004.07
ANVILEX control operating system
|
Communication protocol CANopen over CAN class. More...
#include <Protocol_CANopen_Slave_Over_CAN.h>
Classes | |
struct | TCAN_Open_Parameter_Address |
Can Open parameter index and subindex. More... | |
struct | TCANopen_Parameter_Mapping_Entry |
CANopen parameter mapping entry struct. More... | |
struct | TSDO_Msg |
SDO message struct type definition. More... | |
Public Member Functions | |
TProtocol_CANopen_Slave_Over_CAN () | |
Class constructor method. More... | |
~TProtocol_CANopen_Slave_Over_CAN () | |
Base class constructor method. More... | |
VOID | Init () |
Object initialisation method. More... | |
BOOL | Set_NODE_ID (U8 u8_New_Node_ID) |
Set node ID method. More... | |
VOID | Show_System_Welcome_Message_Enable () |
Enable show system welcome message method. More... | |
VOID | Show_System_Welcome_Message_Disable () |
Disable show system welcome message method. More... | |
VOID | Show_System_Ready_Message_Enable () |
Enable system ready message method. More... | |
VOID | Show_System_Ready_Message_Disable () |
Disable system ready message method. More... | |
VOID | Transmit_Boot_Welcome_Message () |
Transmit boot welcome message method. More... | |
VOID | Transmit_System_Ready_Message () |
Transmit system ready message method. More... | |
BOOL | Get_NODE_ID (U8 *u8_Actual_Node_ID) |
Get actual node ID method. More... | |
BOOL | Set_STATUS (U8 u8_New_STATUS) |
Set status method. More... | |
BOOL | Get_STATUS (U8 *u8_Actual_STATUS) |
Get actual status method. More... | |
BOOL | Set_COB_ID_SYNC (U32 u32_New_COB_ID_SYNC) |
Set COB ID SYNC method. More... | |
BOOL | Get_COB_ID_SYNC (U32 *u32_Actual_COB_ID_SYNC) |
Get actual COB ID SYNC method. More... | |
BOOL | Set_GUARD_TIME (U16 u16_New_GUARD_TIME) |
Set guard time method. More... | |
BOOL | Get_GUARD_TIME (U16 *u16_Actual_GUARD_TIME) |
Get actual guard time method. More... | |
BOOL | Set_LIFE_TIME_FACTOR (U8 u8_New_LIFE_TIME_FACTOR) |
Set life time factor method. More... | |
BOOL | Get_LIFE_TIME_FACTOR (U8 *u8_Actual_LIFE_TIME_FACTOR) |
Get actual life time factor method. More... | |
BOOL | Set_COB_ID_EMCY (U32 u32_New_COB_ID_EMCY) |
Set cob id emcy method. More... | |
BOOL | Get_COB_ID_EMCY (U32 *u32_Actual_COB_ID_EMCY) |
Get actual cob id emcy method. More... | |
BOOL | Set_INHIBIT_TIME_EMCY (U16 u16_New_INHIBIT_TIME_EMCY) |
Set inhibit time emcy method. More... | |
BOOL | Get_INHIBIT_TIME_EMCY (U16 *u16_Actual_INHIBIT_TIME_EMCY) |
Get actual inhibit time emcy method. More... | |
BOOL | Set_CONSUMER_HEARTBEAT_TIME (U32 u32_New_CONSUMER_HEARTBEAT_TIME) |
Set consumer heartbeat time method. More... | |
BOOL | Get_CONSUMER_HEARTBEAT_TIME (U32 *u32_Actual_CONSUMER_HEARTBEAT_TIME) |
Get actual consumer heartbeat time method. More... | |
BOOL | Set_PRODUCER_HEARTBEAT_TIME (U16 u16_New_PRODUCER_HEARTBEAT_TIME) |
Set producer heartbeat time method. More... | |
BOOL | Get_PRODUCER_HEARTBEAT_TIME (U16 *u16_Actual_PRODUCER_HEARTBEAT_TIME) |
Get actual producer heartbeat time method. More... | |
BOOL | Set_SDO1_SERVER_PARAMETER (U32 u32_New_SDO1_SERVER_PARAMETER) |
Set sdo1 server parameter method. More... | |
BOOL | Get_SDO1_SERVER_PARAMETER (U32 *u32_Actual_SDO1_SERVER_PARAMETER) |
Get actual sdo1 server parameter method. More... | |
BOOL | Set_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX (U32 u32_New_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX) |
Set sdo1 server cob id client server rx method. More... | |
BOOL | Get_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX (U32 *u32_Actual_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX) |
Get actual sdo1 server cob id client server rx method. More... | |
BOOL | Set_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX (U32 u32_New_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX) |
Set sdo1 server cob id client server tx method. More... | |
BOOL | Get_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX (U32 *u32_Actual_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX) |
Get actual sdo1 server cob id client server tx method. More... | |
BOOL | Set_RPDO1_PARAMETER (U32 u32_New_RPDO1_PARAMETER) |
Set rpdo1 parameter method. More... | |
BOOL | Get_RPDO1_PARAMETER (U32 *u32_Actual_RPDO1_PARAMETER) |
Get actual rpdo1 parameter method. More... | |
BOOL | Set_RPDO1_COB_ID (U32 u32_New_RPDO1_COB_ID) |
Set RPDO1 COB ID method. More... | |
BOOL | Get_RPDO1_COB_ID (U32 *u32_Actual_RPDO1_COB_ID) |
Get actual RPDO1 COB ID method. More... | |
BOOL | Set_RPDO2_PARAMETER (U32 u32_New_RPDO2_PARAMETER) |
Set rpdo2 parameter method. More... | |
BOOL | Get_RPDO2_PARAMETER (U32 *u32_Actual_RPDO2_PARAMETER) |
Get actual rpdo2 parameter method. More... | |
BOOL | Set_RPDO2_COB_ID (U32 u32_New_RPDO2_COB_ID) |
Set RPDO2 COB ID method. More... | |
BOOL | Get_RPDO2_COB_ID (U32 *u32_Actual_RPDO2_COB_ID) |
Get actual RPDO2 COB ID method. More... | |
BOOL | Set_RPDO3_PARAMETER (U32 u32_New_RPDO3_PARAMETER) |
Set rpdo3 parameter method. More... | |
BOOL | Get_RPDO3_PARAMETER (U32 *u32_Actual_RPDO3_PARAMETER) |
Get actual rpdo3 parameter method. More... | |
BOOL | Set_RPDO3_COB_ID (U32 u32_New_RPDO3_COB_ID) |
Set RPDO3 COB ID method. More... | |
BOOL | Get_RPDO3_COB_ID (U32 *u32_Actual_RPDO3_COB_ID) |
Get actual RPDO3 COB ID method. More... | |
BOOL | Set_RPDO4_PARAMETER (U32 u32_New_RPDO4_PARAMETER) |
Set rpdo4 parameter method. More... | |
BOOL | Get_RPDO4_PARAMETER (U32 *u32_Actual_RPDO4_PARAMETER) |
Get actual rpdo4 parameter method. More... | |
BOOL | Set_RPDO4_COB_ID (U32 u32_New_RPDO4_COB_ID) |
Set RPDO4 COB ID method. More... | |
BOOL | Get_RPDO4_COB_ID (U32 *u32_Actual_RPDO4_COB_ID) |
Get actual RPDO4 COB ID method. More... | |
BOOL | Set_TPDO1_PARAMETER (U32 u32_New_TPDO1_PARAMETER) |
Set TPDO1 parameter method. More... | |
BOOL | Get_TPDO1_PARAMETER (U32 *u32_Actual_TPDO1_PARAMETER) |
Get actual TPDO1 parameter method. More... | |
BOOL | Set_TPDO1_COB_ID (U32 u32_New_TPDO1_COB_ID) |
Set TPDO1 COB ID used method. More... | |
BOOL | Get_TPDO1_COB_ID (U32 *u32_Actual_TPDO1_COB_ID) |
Get actual TPDO1 COB ID used method. More... | |
BOOL | Set_TPDO1_TRANSMISSION_TYPE (U8 u8_New_TPDO1_TRANSMISSION_TYPE) |
Set TPDO1 transmission type method. More... | |
BOOL | Get_TPDO1_TRANSMISSION_TYPE (U8 *u8_Actual_TPDO1_TRANSMISSION_TYPE) |
Get actual TPDO1 transmission type method. More... | |
BOOL | Set_TPDO1_INHIBIT_TIME (U16 u16_New_TPDO1_INHIBIT_TIME) |
Set TPDO1 inhibit time method. More... | |
BOOL | Get_TPDO1_INHIBIT_TIME (U16 *u16_Actual_TPDO1_INHIBIT_TIME) |
Get actual TPDO1 inhibit time method. More... | |
BOOL | Set_TPDO1_COMPATIBILITY_ENTRY (U8 u8_New_TPDO1_COMPATIBILITY_ENTRY) |
Set TPDO1 compatibility entry method. More... | |
BOOL | Get_TPDO1_COMPATIBILITY_ENTRY (U8 *u8_Actual_TPDO1_COMPATIBILITY_ENTRY) |
Get actual TPDO1 compatibility entry method. More... | |
BOOL | Set_TPDO1_EVENT_TIMER (U16 u16_New_TPDO1_EVENT_TIMER) |
Set TPDO1 event timer method. More... | |
BOOL | Get_TPDO1_EVENT_TIMER (U16 *u16_Actual_TPDO1_EVENT_TIMER) |
Get actual TPDO1 event timer method. More... | |
BOOL | Set_TPDO2_PARAMETER (U32 u32_New_TPDO2_PARAMETER) |
Set TPDO2 parameter method. More... | |
BOOL | Get_TPDO2_PARAMETER (U32 *u32_Actual_TPDO2_PARAMETER) |
Get actual TPDO2 parameter method. More... | |
BOOL | Set_TPDO2_COB_ID (U32 u32_New_TPDO2_COB_ID) |
Set TPDO2 COB ID used method. More... | |
BOOL | Get_TPDO2_COB_ID (U32 *u32_Actual_TPDO2_COB_ID) |
Get actual TPDO2 COB ID used method. More... | |
BOOL | Set_TPDO2_TRANSMISSION_TYPE (U8 u8_New_TPDO2_TRANSMISSION_TYPE) |
Set TPDO2 transmission type method. More... | |
BOOL | Get_TPDO2_TRANSMISSION_TYPE (U8 *u8_Actual_TPDO2_TRANSMISSION_TYPE) |
Get actual TPDO2 transmission type method. More... | |
BOOL | Set_TPDO2_INHIBIT_TIME (U16 u16_New_TPDO2_INHIBIT_TIME) |
Set TPDO2 inhibit time method. More... | |
BOOL | Get_TPDO2_INHIBIT_TIME (U16 *u16_Actual_TPDO2_INHIBIT_TIME) |
Get actual TPDO2 inhibit time method. More... | |
BOOL | Set_TPDO2_COMPATIBILITY_ENTRY (U8 u8_New_TPDO2_COMPATIBILITY_ENTRY) |
Set TPDO2 compatibility entry method. More... | |
BOOL | Get_TPDO2_COMPATIBILITY_ENTRY (U8 *u8_Actual_TPDO2_COMPATIBILITY_ENTRY) |
Get actual TPDO2 compatibility entry method. More... | |
BOOL | Set_TPDO2_EVENT_TIMER (U16 u16_New_TPDO2_EVENT_TIMER) |
Set TPDO2 event timer method. More... | |
BOOL | Get_TPDO2_EVENT_TIMER (U16 *u16_Actual_TPDO2_EVENT_TIMER) |
Get actual TPDO2 event timer method. More... | |
BOOL | Set_TPDO3_PARAMETER (U32 u32_New_TPDO3_PARAMETER) |
Set TPDO3 parameter method. More... | |
BOOL | Get_TPDO3_PARAMETER (U32 *u32_Actual_TPDO3_PARAMETER) |
Get actual TPDO3 parameter method. More... | |
BOOL | Set_TPDO3_COB_ID (U32 u32_New_TPDO3_COB_ID) |
Set TPDO3 COB ID used method. More... | |
BOOL | Get_TPDO3_COB_ID (U32 *u32_Actual_TPDO3_COB_ID) |
Get actual TPDO3 COB ID used method. More... | |
BOOL | Set_TPDO3_TRANSMISSION_TYPE (U8 u8_New_TPDO3_TRANSMISSION_TYPE) |
Set TPDO3 transmission type method. More... | |
BOOL | Get_TPDO3_TRANSMISSION_TYPE (U8 *u8_Actual_TPDO3_TRANSMISSION_TYPE) |
Get actual TPDO3 transmission type method. More... | |
BOOL | Set_TPDO3_INHIBIT_TIME (U16 u16_New_TPDO3_INHIBIT_TIME) |
Set TPDO3 inhibit time method. More... | |
BOOL | Get_TPDO3_INHIBIT_TIME (U16 *u16_Actual_TPDO3_INHIBIT_TIME) |
Get actual TPDO3 inhibit time method. More... | |
BOOL | Set_TPDO3_COMPATIBILITY_ENTRY (U8 u8_New_TPDO3_COMPATIBILITY_ENTRY) |
Set TPDO3 compatibility entry method. More... | |
BOOL | Get_TPDO3_COMPATIBILITY_ENTRY (U8 *u8_Actual_TPDO3_COMPATIBILITY_ENTRY) |
Get actual TPDO3 compatibility entry method. More... | |
BOOL | Set_TPDO3_EVENT_TIMER (U16 u16_New_TPDO3_EVENT_TIMER) |
Set TPDO3 event timer method. More... | |
BOOL | Get_TPDO3_EVENT_TIMER (U16 *u16_Actual_TPDO3_EVENT_TIMER) |
Get actual TPDO3 event timer method. More... | |
BOOL | Set_TPDO4_PARAMETER (U32 u32_New_TPDO4_PARAMETER) |
Set TPDO4 parameter method. More... | |
BOOL | Get_TPDO4_PARAMETER (U32 *u32_Actual_TPDO4_PARAMETER) |
Get actual TPDO4 parameter method. More... | |
BOOL | Set_TPDO4_COB_ID (U32 u32_New_TPDO4_COB_ID) |
Set TPDO4 COB ID used method. More... | |
BOOL | Get_TPDO4_COB_ID (U32 *u32_Actual_TPDO4_COB_ID) |
Get actual TPDO4 COB ID used method. More... | |
BOOL | Set_TPDO4_TRANSMISSION_TYPE (U8 u8_New_TPDO4_TRANSMISSION_TYPE) |
Set TPDO4 transmission type method. More... | |
BOOL | Get_TPDO4_TRANSMISSION_TYPE (U8 *u8_Actual_TPDO4_TRANSMISSION_TYPE) |
Get actual TPDO4 transmission type method. More... | |
BOOL | Set_TPDO4_INHIBIT_TIME (U16 u16_New_TPDO4_INHIBIT_TIME) |
Set TPDO4 inhibit time method. More... | |
BOOL | Get_TPDO4_INHIBIT_TIME (U16 *u16_Actual_TPDO4_INHIBIT_TIME) |
Get actual TPDO4 inhibit time method. More... | |
BOOL | Set_TPDO4_COMPATIBILITY_ENTRY (U8 u8_New_TPDO4_COMPATIBILITY_ENTRY) |
Set TPDO4 compatibility entry method. More... | |
BOOL | Get_TPDO4_COMPATIBILITY_ENTRY (U8 *u8_Actual_TPDO4_COMPATIBILITY_ENTRY) |
Get actual TPDO4 compatibility entry method. More... | |
BOOL | Set_TPDO4_EVENT_TIMER (U16 u16_New_TPDO4_EVENT_TIMER) |
Set TPDO4 event timer method. More... | |
BOOL | Get_TPDO4_EVENT_TIMER (U16 *u16_Actual_TPDO4_EVENT_TIMER) |
Get actual TPDO4 event timer method. More... | |
BOOL | Get_TPDO1_DATA (U64 *u64_Actual_TPDO1_DATA) |
Get TPDO1 data method. More... | |
BOOL | Set_TPDO1_DATA (U64 u64_New_TPDO1_DATA) |
Set TPDO1 data method. More... | |
BOOL | Get_TPDO2_DATA (U64 *u64_Actual_TPDO2_DATA) |
Get TPDO2 data method. More... | |
BOOL | Set_TPDO2_DATA (U64 u64_New_TPDO2_DATA) |
Set TPDO2 data method. More... | |
BOOL | Get_TPDO3_DATA (U64 *u64_Actual_TPDO3_DATA) |
Get TPDO3 data method. More... | |
BOOL | Set_TPDO3_DATA (U64 u64_New_TPDO3_DATA) |
Set TPDO3 data method. More... | |
BOOL | Get_TPDO4_DATA (U64 *u64_Actual_TPDO4_DATA) |
Get TPDO4 data method. More... | |
BOOL | Set_TPDO4_DATA (U64 u64_New_TPDO4_DATA) |
Set TPDO4 data method. More... | |
BOOL | Get_RPDO1_DATA (U64 *u64_Actual_RPDO1_DATA) |
Get RPDO1 data method. More... | |
BOOL | Set_RPDO1_DATA (U64 u64_New_RPDO1_DATA) |
Set RPDO1 data method. More... | |
BOOL | Get_RPDO2_DATA (U64 *u64_Actual_RPDO2_DATA) |
Get RPDO2 data method. More... | |
BOOL | Set_RPDO2_DATA (U64 u64_New_RPDO2_DATA) |
Set RPDO2 data method. More... | |
BOOL | Get_RPDO3_DATA (U64 *u64_Actual_RPDO3_DATA) |
Get RPDO3 data method. More... | |
BOOL | Set_RPDO3_DATA (U64 u64_New_RPDO3_DATA) |
Set RPDO3 data method. More... | |
BOOL | Get_RPDO4_DATA (U64 *u64_Actual_RPDO4_DATA) |
Get RPDO4 data method. More... | |
BOOL | Set_RPDO4_DATA (U64 u64_New_RPDO4_DATA) |
Set RPDO4 data method. More... | |
virtual VOID | Send_Information (TProtocol_Base *object_Protocol) |
Send information about CAN Open protocol. More... | |
virtual VOID | Enter_Terminal_Mode () |
Enter terminal communication mode mode. More... | |
virtual VOID | Enter_Protocol_Mode () |
Enter protocol communication mode mode. More... | |
virtual BOOL | Is_Terminal_Mode () |
Return communication link terminal mode status. More... | |
virtual BOOL | Is_Protocol_Mode () |
Return communication link protocol mode status. More... | |
virtual VOID | Receive_Char (C8 c8_Character) |
Receiveed character processing method. More... | |
virtual VOID | Receive_String (C8 *c8_String) |
Receiveed null terminated string processing method. More... | |
virtual VOID | Receive_String (C8 *c8_String, U32 u32_Length) |
Received fixed size string processing method. More... | |
virtual VOID | Execute () |
CAN Open execution method. More... | |
virtual VOID | Execute_1ms () |
CAN Open execution 1ms method. More... | |
virtual VOID | Communication_Block_Data_Receive (VOID *void_Receive_Data) |
Receive processing method. More... | |
Public Member Functions inherited from TProtocol_Base | |
TProtocol_Base () | |
Class constructor method. More... | |
~TProtocol_Base () | |
Class destructor method. More... | |
VOID | Init () |
Initialisation method. More... | |
VOID | Done () |
Finalisation method. More... | |
VOID | Clear_Communication_Statistic () |
Clear communication statistic. More... | |
VOID | Enable_Parameter_Mapping () |
Enable parameter mapping method. More... | |
VOID | Disable_Parameter_Mapping () |
Disable parameter mapping method. More... | |
VOID | Transmit_Char (C8 c8_Character) |
Receive character. More... | |
VOID | Transmit_String_Of_Char (C8 c8_Character, U32 u32_Count) |
VOID | Transmit_String_Of_Char (C8 c8_Character, U32 u32_Count, U32 u32_End_New_Line_Count) |
VOID | Transmit_String (C8 *c8_String) |
VOID | Transmit_String (U32 u32_Begin_New_Lines_Count, C8 *c8_String) |
VOID | Transmit_String (C8 *c8_String, U32 u32_End_New_Line_Count) |
VOID | Transmit_String (U32 u32_Begin_New_Lines_Count, C8 *c8_String, U32 u32_End_New_Line_Count) |
VOID | Transmit_New_Line () |
Transmit new line. More... | |
VOID | Transmit_New_Line (U32 u32_Count) |
Transmit new lines. More... | |
VOID | Transmit_Connector_Value_As_Boolean (TBlock_Input_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Boolean (TBlock_Input_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Decimal (TBlock_Input_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Decimal (TBlock_Input_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Hex (TBlock_Input_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Hex (TBlock_Input_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Boolean (TBlock_Output_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Boolean (TBlock_Output_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Decimal (TBlock_Output_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Decimal (TBlock_Output_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Connector_Value_As_Hex (TBlock_Output_Connector *object_Connector) |
VOID | Transmit_Connector_Value_As_Hex (TBlock_Output_Connector *object_Connector, U32 u32_End_New_Line_Count) |
VOID | Transmit_Variant_As_Hex (TConOpSys_Variant *object_Value) |
VOID | Transmit_Variant_As_Hex (TConOpSys_Variant *object_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_BOOL_Value_As_Decimal (BOOL bool_Value) |
VOID | Transmit_BOOL_Value_As_Decimal (BOOL bool_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_BOOL_Value_As_Hex (BOOL bool_Value) |
VOID | Transmit_BOOL_Value_As_Hex (BOOL bool_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_TRIL_Value_As_Decimal (TRIL tril_Value) |
VOID | Transmit_TRIL_Value_As_Decimal (TRIL tril_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U8_Value_As_Decimal (U8 u8_Value) |
VOID | Transmit_U8_Value_As_Decimal (U8 u8_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U8_Value_As_Hex (U8 u8_Value) |
VOID | Transmit_U8_Value_As_Hex (U8 u8_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U8_Buffer (U8 *u8_Data_Buffer, U32 u32_Length) |
VOID | Transmit_I8_Value_As_Decimal (I8 i8_Value) |
VOID | Transmit_I8_Value_As_Decimal (I8 i8_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I8_Value_As_Hex (I8 i8_Value) |
VOID | Transmit_I8_Value_As_Hex (I8 i8_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U16_Value_As_Decimal (U16 u16_Value) |
VOID | Transmit_U16_Value_As_Decimal (U16 u16_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U16_Value_As_Hex (U16 u16_Value) |
VOID | Transmit_U16_Value_As_Hex (U16 u16_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I16_Value_As_Decimal (I16 i16_Value) |
VOID | Transmit_I16_Value_As_Decimal (I16 i16_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I16_Value_As_Hex (I16 i16_Value) |
VOID | Transmit_I16_Value_As_Hex (I16 i16_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U32_Value_As_Decimal (U32 u32_Value) |
VOID | Transmit_U32_Value_As_Decimal (U32 u32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U32_Value_As_Hex (U32 u32_Value) |
VOID | Transmit_U32_Value_As_Hex (U32 u32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I32_Value_As_Decimal (I32 i32_Value) |
VOID | Transmit_I32_Value_As_Decimal (I32 i32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I32_Value_As_Hex (I32 i32_Value) |
VOID | Transmit_I32_Value_As_Hex (I32 i32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U64_Value_As_Decimal (U64 u64_Value) |
VOID | Transmit_U64_Value_As_Decimal (U64 u64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_U64_Value_As_Hex (U64 u64_Value) |
VOID | Transmit_U64_Value_As_Hex (U64 u64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I64_Value_As_Decimal (I64 i64_Value) |
VOID | Transmit_I64_Value_As_Decimal (I64 i64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_I64_Value_As_Hex (I64 i64_Value) |
VOID | Transmit_I64_Value_As_Hex (I64 i64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_F32_Value_As_Decimal (F32 f32_Value) |
VOID | Transmit_F32_Value_As_Decimal (F32 f32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_F32_Value_As_Hex (F32 f32_Value) |
VOID | Transmit_F32_Value_As_Hex (F32 f32_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_F64_Value_As_Decimal (F64 f64_Value) |
VOID | Transmit_F64_Value_As_Decimal (F64 f64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_F64_Value_As_Hex (F64 f64_Value) |
VOID | Transmit_F64_Value_As_Hex (F64 f64_Value, U32 u32_End_New_Line_Count) |
VOID | Transmit_DateTime_Structure_Value_As_String (TDate_Time::TDate_Time_Structure struct_DateTime_Structure) |
VOID | Transmit_DateTime_Structure_Value_As_String (TDate_Time::TDate_Time_Structure struct_DateTime_Structure, U32 u32_End_New_Line_Count) |
VOID | Transmit_Buffer_As_U8_Dump (U32 u32_Address, U32 u32_Size, U8 *u8_Buffer, BOOL bool_Align) |
virtual BOOL | Set_Address (U8 u8_Address) |
Set node address. More... | |
VOID | Log_Bus_Message () |
Log message event for statistics purpouses. More... | |
VOID | Log_Bus_Communication_Error () |
Log communication error event for statistics purpouses. More... | |
VOID | Log_Bus_Character_Overrun () |
Log character overrun error event for statistics purpouses. More... | |
VOID | Log_Bus_Frame_Size_Error () |
Log frame size error event for statistics purpouses. More... | |
VOID | Log_Bus_CRC_Error () |
Log CRC error event for statistics purpouses. More... | |
VOID | Log_Slave_Exception_Error () |
Log slave exception error event for statistics purpouses. More... | |
VOID | Log_Slave_Message () |
Log slave messege event for statistics purpouses. More... | |
VOID | Log_Slave_Broadcast_Message () |
Log slave broadcast messege event for statistics purpouses. More... | |
VOID | Log_Slave_Unknown_Request_Error () |
Log slave unknown request event for statistics purpouses. More... | |
VOID | Log_Slave_No_Response () |
Log slave no responce event for statistics purpouses. More... | |
VOID | Log_Slave_No_Acknowledge () |
Log slave no acknowledge event for statistics purpouses. More... | |
VOID | Log_Slave_Busy () |
Log slave busy event for statistics purpouses. More... | |
VOID | Log_Parameter_Information_Request () |
Log parameter information request event for statistics purpouses. More... | |
VOID | Log_Parameter_Information_Request_Error () |
Log parameter information request error event for statistics purpouses. More... | |
VOID | Log_Parameter_Read_Request () |
Log parameter read event for statistics purpouses. More... | |
VOID | Log_Parameter_Read_Request_Error () |
Log parameter read error event for statistics purpouses. More... | |
VOID | Log_Parameter_Write_Request () |
Log parameter write event for statistics purpouses. More... | |
VOID | Log_Parameter_Write_Request_Error () |
Log parameter write error event for statistics purpouses. More... | |
VOID | Log_Event_Information_Request () |
Log system event information request event for statistics purpouses. More... | |
VOID | Log_Event_Information_Request_Error () |
Log system event information request error event for statistics purpouses. More... | |
Public Member Functions inherited from TCommunication_Data_Link | |
TCommunication_Data_Link () | |
Class constructor method. More... | |
VOID | Connect_Data_Link (TCommunication_Data_Link *object_New_Data_Link) |
Connect data link method. More... | |
VOID | Disconnect_Data_Link () |
Disconnect data link method. More... | |
Private Member Functions | |
VOID | Heartbeat_Transmit () |
CAN Open heartbeat transmit method. More... | |
VOID | PDO_Transmit (U16 u16_Frame_Index, U64 u64_PDO_TX) |
CAN Open PDO transmit method. More... | |
VOID | SDO_Process () |
CAN Open SDO process method. More... | |
BOOL | Get_ConOpSys_Parameter_Index_By_Can_Parameter_Index (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, U32 *u32_ConOpSys_Parameter_Index) |
Get parameter index by can parameter index and sub-index. More... | |
VOID | Send_SDO_Error (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, TSDO_Abort_Code enum_SDO_Abort_Code) |
CAN Open SDO abort transmit method. More... | |
VOID | Send_SDO_Write_Success (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address) |
CAN Open SDO write responce transmit method. More... | |
VOID | Send_SDO_Data_U8 (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, U8 u8_SDO_Data) |
CAN Open SDO transmit U8 method. More... | |
VOID | Send_SDO_Data_U16 (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, U16 u16_SDO_Data) |
CAN Open SDO transmit U16 method. More... | |
VOID | Send_SDO_Data_U32 (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, U32 u32_SDO_Data) |
CAN Open SDO transmit U32 method. More... | |
VOID | Send_SDO_Data_I8 (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, I8 i8_SDO_Data) |
CAN Open SDO transmit I8 method. More... | |
VOID | Send_SDO_Data_I16 (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, I16 i16_SDO_Data) |
CAN Open SDO transmit I16 method. More... | |
VOID | Send_SDO_Data_I32 (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, I32 i32_SDO_Data) |
CAN Open SDO transmit I32 method. More... | |
VOID | Send_SDO_Data_F32 (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, F32 f32_SDO_Data) |
CAN Open SDO transmit F32 method. More... | |
VOID | Send_SDO_Data_BOOL (TCAN_Open_Parameter_Address *CAN_Open_Parameter_Address, BOOL bool_SDO_Data) |
CAN Open SDO transmit BOOL value method. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TProtocol_Base | |
VOID | New_Data_Arrived () |
Indicate new data for processing arrived. More... | |
VOID | New_Data_Processed () |
Indicate new data processed. More... | |
BOOL | Is_New_Data_Present () |
Return new data presentse status. More... | |
BOOL | Is_New_Data_Processed () |
Return new data processed status. More... | |
Protected Member Functions inherited from TCommunication_Data_Link | |
virtual VOID | Communication_Data_Transmit (U8 u8_Transmit_Value) |
Communication data transmit method. More... | |
virtual VOID | Communication_Data_Receive (U8 u8_Receive_Value) |
Communication data receive method. More... | |
virtual VOID | Communication_Block_Data_Transmit (VOID *void_Receive_Data) |
Communication data transmit method. More... | |
Protected Attributes inherited from TProtocol_Base | |
BOOL | bool_Parameter_Mapping_Enable = (BOOL)false |
Parameter mapping enable flag. More... | |
U32 | u32_Bus_Message_Counter = (U32)0 |
Total communication bus message counter. More... | |
U32 | u32_Bus_Communication_Error_Counter = (U32)0 |
Communication bus error counter. More... | |
U32 | u32_Bus_Character_Overrun_Counter = (U32)0 |
Communication bus character overrun error counter. More... | |
U32 | u32_Bus_CRC_Error_Counter = (U32)0 |
Communication bus CRC error counter. More... | |
U32 | u32_Bus_Frame_Size_Error_Counter = (U32)0 |
Communication bus frame size error counter. More... | |
U32 | u32_Slave_Exception_Error_Counter = (U32)0 |
Slave exception error counter. More... | |
U32 | u32_Slave_Message_Counter = (U32)0 |
Total slave message counter. More... | |
U32 | u32_Slave_Broadcast_Message_Counter = (U32)0 |
Slave broadcast message counter. More... | |
U32 | u32_Slave_Unknown_Request_Counter = (U32)0 |
Slave unknown request counter. More... | |
U32 | u32_Slave_No_Response_Counter = (U32)0 |
Slave no responce counter. More... | |
U32 | u32_Slave_No_Acknowledge_Counter = (U32)0 |
Slave no acknowledge counter. More... | |
U32 | u32_Slave_Busy_Counter = (U32)0 |
Slave busy counter. More... | |
U32 | u32_Parameter_Information_Request_Counter = (U32)0 |
Parameter information request counter. More... | |
U32 | u32_Parameter_Information_Request_Error_Counter = (U32)0 |
Parameter information request error counter. More... | |
U32 | u32_Parameter_Read_Request_Counter = (U32)0 |
Parameter read request counter. More... | |
U32 | u32_Parameter_Read_Request_Error_Counter = (U32)0 |
Parameter read request error counter. More... | |
U32 | u32_Parameter_Write_Request_Counter = (U32)0 |
Parameter write request counter. More... | |
U32 | u32_Parameter_Write_Request_Error_Counter = (U32)0 |
Parameter write request error counter. More... | |
U32 | u32_Event_Information_Request_Counter = (U32)0 |
Event information request counter. More... | |
U32 | u32_Event_Information_Request_Error_Counter = (U32)0 |
Event information request error counter. More... | |
TExecution_Profile | object_Execution_Profile |
Execution profile object. More... | |
Protected Attributes inherited from TCommunication_Data_Link | |
TCommunication_Data_Link * | object_Data_Link = (TCommunication_Data_Link*)NULL |
Pointer to the data link object. More... | |
Communication protocol CANopen over CAN class.
|
private |
|
private |
Parametr SDO abort code enumeration.
TProtocol_CANopen_Slave_Over_CAN::TProtocol_CANopen_Slave_Over_CAN | ( | ) |
Class constructor method.
References bool_Master_Heartbeat_Process_Started, bool_Master_Lives_Status, CAN_Open_Device_State, CAN_Open_Master_State, enum_NMT_INITIALISING, SDO_Buffer, SDO_BUFFER_NUMBER, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::SDO_Data, u16_Heartbeat_Send_Counter, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u32_COB_ID, u64_PDO_RX_1, u64_PDO_RX_2, u64_PDO_RX_3, u64_PDO_RX_4, u64_PDO_TX_1, u64_PDO_TX_2, u64_PDO_TX_3, u64_PDO_TX_4, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u64_Raw_Data, u64_RX_PDO_1_Buffered_Data, u64_RX_PDO_2_Buffered_Data, u64_RX_PDO_3_Buffered_Data, u64_RX_PDO_4_Buffered_Data, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u8_DLC, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u8_Is_Processed, u8_Master_Node_ID, u8_Node_ID, and u8_SDO_Buffer_Index.
TProtocol_CANopen_Slave_Over_CAN::~TProtocol_CANopen_Slave_Over_CAN | ( | ) |
Base class constructor method.
|
virtual |
Receive processing method.
[in] | *void_Receive_Data | - Pointer to the received data block |
Reimplemented from TCommunication_Data_Link.
References bool_Master_Heartbeat_Process_Started, TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCAN_Msg::Data_Bits, enum_NMT_ENTER_OPERATIONAL, enum_NMT_ENTER_PRE_OPERATIONAL, enum_NMT_ENTER_STOPPED, enum_NMT_INITIALISING, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, enum_NMT_RESET_COMMUNICATION, enum_NMT_RESET_NODE, enum_NMT_STOPPED, TSystem_Timer_Base::Get_Tick(), Heartbeat_Transmit(), Increment_Overflowed(), TProtocol_Base::New_Data_Arrived(), object_System_Timer, SDO_Buffer, SDO_BUFFER_NUMBER, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::SDO_Data, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u16_Index, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u32_COB_ID, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u32_Data, TCAN_Msg::u32_Identifier, u32_Watch_Heartbeat_Time, TCAN_Msg::u64_CAN_Raw_Data, u64_PDO_RX_1, u64_PDO_RX_2, u64_PDO_RX_3, u64_PDO_RX_4, u64_PDO_TX_1, TCAN_Msg::u8_DLC, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u8_DLC, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u8_Is_Processed, u8_Master_Node_ID, u8_Node_ID, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u8_Payload_Data, TCAN_Msg::u8_Paylod_Raw_Data, u8_SDO_Buffer_Index, and TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u8_Subindex.
|
virtual |
Enter protocol communication mode mode.
Implements TProtocol_Base.
|
virtual |
Enter terminal communication mode mode.
Implements TProtocol_Base.
|
virtual |
CAN Open execution method.
Reimplemented from TProtocol_Base.
References TProtocol_Base::Is_New_Data_Present(), TProtocol_Base::New_Data_Processed(), and SDO_Process().
Referenced by TApplication_Base::Run().
|
virtual |
CAN Open execution 1ms method.
Reimplemented from TProtocol_Base.
References bool_Master_Heartbeat_Process_Started, bool_Master_Lives_Status, CAN_Open_Device_State, enum_NMT_OPERATIONAL, false, TSystem_Timer_Base::Get_Tick(), HEARTBEAT_INTERLEAVE_FACTOR, Heartbeat_Transmit(), object_System_Timer, PDO_Transmit(), SUPPOSED_HEARTBEAT_TIME, TPDO_1_INTERLEAVE_FACTOR, TPDO_2_INTERLEAVE_FACTOR, TPDO_3_INTERLEAVE_FACTOR, TPDO_4_INTERLEAVE_FACTOR, u16_Heartbeat_Send_Counter, u16_TPDO1_Send_Counter, u16_TPDO2_Send_Counter, u16_TPDO3_Send_Counter, u16_TPDO4_Send_Counter, u32_Watch_Heartbeat_Time, u64_PDO_TX_1, u64_PDO_TX_2, u64_PDO_TX_3, and u64_PDO_TX_4.
Referenced by TApplication_Base::System_Task_Handler().
Get actual cob id emcy method.
[out] | *u32_Actual_COB_ID_EMCY | - Pointer to actual cob id emcy variable |
false | - Get actual cob id emcy failed |
true | - Get actual cob id emcy successed |
References u32_COB_ID_EMCY.
Referenced by TParameter_CAN_OPEN_COB_ID_EMCY::Pre_Read_Data_Processing().
Get actual COB ID SYNC method.
[out] | *u32_Actual_COB_ID_SYNC | - Pointer to actual COB ID SYNC variable |
false | - Get actual COB ID SYNC failed |
true | - Get actual COB ID SYNC successed |
References u32_COB_ID_SYNC.
Referenced by TParameter_CAN_OPEN_COB_ID_SYNC::Pre_Read_Data_Processing().
|
private |
Get parameter index by can parameter index and sub-index.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[out] | *u32_ConOpSys_Parameter_Index | - ConOpSys parameter index |
false | - Find operation failed |
true | - Find operation successed |
References TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_CONSUMER_HEARTBEAT_TIME | ( | U32 * | u32_Actual_CONSUMER_HEARTBEAT_TIME | ) |
Get actual consumer heartbeat time method.
[out] | *u32_Actual_CONSUMER_HEARTBEAT_TIME | - Pointer to actual consumer heartbeat time variable |
false | - Get actual consumer heartbeat time failed |
true | - Get actual consumer heartbeat time successed |
References u32_CONSUMER_HEARTBEAT_TIME.
Referenced by TParameter_CAN_OPEN_CONSUMER_HEARTBEAT_TIME::Pre_Read_Data_Processing().
Get actual guard time method.
[out] | *u16_Actual_GUARD_TIME | - Pointer to actual guard time variable |
false | - Get actual guard time failed |
true | - Get actual guard time successed |
References u16_GUARD_TIME.
Referenced by TParameter_CAN_OPEN_GUARD_TIME::Pre_Read_Data_Processing().
Get actual inhibit time emcy method.
[out] | *u16_Actual_INHIBIT_TIME_EMCY | - Pointer to actual inhibit time emcy variable |
false | - Get actual inhibit time emcy failed |
true | - Get actual inhibit time emcy successed |
References u16_INHIBIT_TIME_EMCY.
Referenced by TParameter_CAN_OPEN_INHIBIT_TIME_EMCY::Pre_Read_Data_Processing().
Get actual life time factor method.
[out] | *u8_Actual_LIFE_TIME_FACTOR | - Pointer to actual life time factor variable |
false | - Get actual life time factor failed |
true | - Get actual life time factor successed |
References u8_LIFE_TIME_FACTOR.
Referenced by TParameter_CAN_OPEN_LIFE_TIME_FACTOR::Pre_Read_Data_Processing().
Get actual node ID method.
[out] | *u8_Actual_Node_ID | - Pointer to actual node ID variable |
false | - Get actual node ID failed |
true | - Get actual node ID successed |
References u8_Node_ID.
Referenced by TParameter_CAN_OPEN_NODE_ID::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_PRODUCER_HEARTBEAT_TIME | ( | U16 * | u16_Actual_PRODUCER_HEARTBEAT_TIME | ) |
Get actual producer heartbeat time method.
[out] | *u16_Actual_PRODUCER_HEARTBEAT_TIME | - Pointer to actual producer heartbeat time variable |
false | - Get actual producer heartbeat time failed |
true | - Get actual producer heartbeat time successed |
References u16_PRODUCER_HEARTBEAT_TIME.
Referenced by TParameter_CAN_OPEN_PRODUCER_HEARTBEAT_TIME::Pre_Read_Data_Processing().
Get actual RPDO1 COB ID method.
[out] | *u32_Actual_RPDO1_COB_ID | - Pointer to actual RPDO1 COB ID variable |
false | - Get actual RPDO1 COB ID failed |
true | - Get actual RPDO1 COB ID successed |
References u32_RPDO1_COB_ID.
Referenced by TParameter_CAN_OPEN_RPDO1_COB_ID::Pre_Read_Data_Processing().
Get RPDO1 data method.
[in] | u64_Actual_RPDO1_DATA | - New RPDO1 data value |
false | - Get RPDO1 data failed |
true | - Get RPDO1 data successed |
References u64_PDO_RX_1.
Referenced by TParameter_CAN_OPEN_RPDO1_DATA::Pre_Read_Data_Processing().
Get actual rpdo1 parameter method.
[out] | *u32_Actual_RPDO1_PARAMETER | - Pointer to actual rpdo1 parameter variable |
false | - Get actual rpdo1 parameter failed |
true | - Get actual rpdo1 parameter successed |
References u32_RPDO1_PARAMETER.
Referenced by TParameter_CAN_OPEN_RPDO1_PARAMETER::Pre_Read_Data_Processing().
Get actual RPDO2 COB ID method.
[out] | *u32_Actual_RPDO2_COB_ID | - Pointer to actual RPDO2 COB ID variable |
false | - Get actual RPDO2 COB ID failed |
true | - Get actual RPDO2 COB ID successed |
References u32_RPDO2_COB_ID.
Referenced by TParameter_CAN_OPEN_RPDO2_COB_ID::Pre_Read_Data_Processing().
Get RPDO2 data method.
[in] | u64_Actual_RPDO2_DATA | - New RPDO2 data value |
false | - Get RPDO2 data failed |
true | - Get RPDO2 data successed |
References u64_PDO_RX_2.
Referenced by TParameter_CAN_OPEN_RPDO2_DATA::Pre_Read_Data_Processing().
Get actual rpdo2 parameter method.
[out] | *u32_Actual_RPDO2_PARAMETER | - Pointer to actual rpdo2 parameter variable |
false | - Get actual rpdo2 parameter failed |
true | - Get actual rpdo2 parameter successed |
References u32_RPDO2_PARAMETER.
Referenced by TParameter_CAN_OPEN_RPDO2_PARAMETER::Pre_Read_Data_Processing().
Get actual RPDO3 COB ID method.
[out] | *u32_Actual_RPDO3_COB_ID | - Pointer to actual RPDO3 COB ID variable |
false | - Get actual RPDO3 COB ID failed |
true | - Get actual RPDO3 COB ID successed |
References u32_RPDO3_COB_ID.
Referenced by TParameter_CAN_OPEN_RPDO3_COB_ID::Pre_Read_Data_Processing().
Get RPDO3 data method.
[in] | u64_Actual_RPDO3_DATA | - New RPDO3 data value |
false | - Get RPDO3 data failed |
true | - Get RPDO3 data successed |
References u64_PDO_RX_3.
Referenced by TParameter_CAN_OPEN_RPDO3_DATA::Pre_Read_Data_Processing().
Get actual rpdo3 parameter method.
[out] | *u32_Actual_RPDO3_PARAMETER | - Pointer to actual rpdo3 parameter variable |
false | - Get actual rpdo3 parameter failed |
true | - Get actual rpdo3 parameter successed |
References u32_RPDO3_PARAMETER.
Referenced by TParameter_CAN_OPEN_RPDO3_PARAMETER::Pre_Read_Data_Processing().
Get actual RPDO4 COB ID method.
[out] | *u32_Actual_RPDO4_COB_ID | - Pointer to actual RPDO4 COB ID variable |
false | - Get actual RPDO4 COB ID failed |
true | - Get actual RPDO4 COB ID successed |
References u32_RPDO4_COB_ID.
Referenced by TParameter_CAN_OPEN_RPDO4_COB_ID::Pre_Read_Data_Processing().
Get RPDO4 data method.
[in] | u64_Actual_RPDO4_DATA | - New RPDO4 data value |
false | - Get RPDO4 data failed |
true | - Get RPDO4 data successed |
References u64_PDO_RX_4.
Referenced by TParameter_CAN_OPEN_RPDO4_DATA::Pre_Read_Data_Processing().
Get actual rpdo4 parameter method.
[out] | *u32_Actual_RPDO4_PARAMETER | - Pointer to actual rpdo4 parameter variable |
false | - Get actual rpdo4 parameter failed |
true | - Get actual rpdo4 parameter successed |
References u32_RPDO4_PARAMETER.
Referenced by TParameter_CAN_OPEN_RPDO4_PARAMETER::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX | ( | U32 * | u32_Actual_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX | ) |
Get actual sdo1 server cob id client server tx method.
[out] | *u32_Actual_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX | - Pointer to actual sdo1 server cob id client server tx variable |
false | - Get actual sdo1 server cob id client server tx failed |
true | - Get actual sdo1 server cob id client server tx successed |
References u32_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX.
Referenced by TParameter_CAN_OPEN_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX | ( | U32 * | u32_Actual_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX | ) |
Get actual sdo1 server cob id client server rx method.
[out] | *u32_Actual_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX | - Pointer to actual sdo1 server cob id client server rx variable |
false | - Get actual sdo1 server cob id client server rx failed |
true | - Get actual sdo1 server cob id client server rx successed |
References u32_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX.
Referenced by TParameter_CAN_OPEN_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_SDO1_SERVER_PARAMETER | ( | U32 * | u32_Actual_SDO1_SERVER_PARAMETER | ) |
Get actual sdo1 server parameter method.
[out] | *u32_Actual_SDO1_SERVER_PARAMETER | - Pointer to actual sdo1 server parameter variable |
false | - Get actual sdo1 server parameter failed |
true | - Get actual sdo1 server parameter successed |
References u32_SDO1_SERVER_PARAMETER.
Referenced by TParameter_CAN_OPEN_SDO1_SERVER_PARAMETER::Pre_Read_Data_Processing().
Get actual status method.
[out] | *u8_Actual_STATUS | - Pointer to actual status variable |
false | - Get actual status failed |
true | - Get actual status successed |
Referenced by TParameter_CAN_OPEN_STATUS::Pre_Read_Data_Processing().
Get actual TPDO1 COB ID used method.
[out] | *u32_Actual_TPDO1_COB_ID | - Pointer to actual TPDO1 COB ID used variable |
false | - Get actual TPDO1 COB ID used failed |
true | - Get actual TPDO1 COB ID used successed |
References u32_TPDO1_COB_ID.
Referenced by TParameter_CAN_OPEN_TPDO1_COB_ID_USED::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO1_COMPATIBILITY_ENTRY | ( | U8 * | u8_Actual_TPDO1_COMPATIBILITY_ENTRY | ) |
Get actual TPDO1 compatibility entry method.
[out] | *u8_Actual_TPDO1_COMPATIBILITY_ENTRY | - Pointer to actual TPDO1 compatibility entry variable |
false | - Get actual TPDO1 compatibility entry failed |
true | - Get actual TPDO1 compatibility entry successed |
References u8_TPDO1_COMPATIBILITY_ENTRY.
Referenced by TParameter_CAN_OPEN_TPDO1_COMPATIBILITY_ENTRY::Pre_Read_Data_Processing().
Get TPDO1 data method.
[in] | u64_Actual_TPDO1_DATA | - New TPDO1 data value |
false | - Get TPDO1 data failed |
true | - Get TPDO1 data successed |
References u64_PDO_TX_1.
Referenced by TParameter_CAN_OPEN_TPDO1_DATA::Pre_Read_Data_Processing().
Get actual TPDO1 event timer method.
[out] | *u16_Actual_TPDO1_EVENT_TIMER | - Pointer to actual TPDO1 event timer variable |
false | - Get actual TPDO1 event timer failed |
true | - Get actual TPDO1 event timer successed |
References u16_TPDO1_EVENT_TIMER.
Referenced by TParameter_CAN_OPEN_TPDO1_EVENT_TIMER::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO1_INHIBIT_TIME | ( | U16 * | u16_Actual_TPDO1_INHIBIT_TIME | ) |
Get actual TPDO1 inhibit time method.
[out] | *u16_Actual_TPDO1_INHIBIT_TIME | - Pointer to actual TPDO1 inhibit time variable |
false | - Get actual TPDO1 inhibit time failed |
true | - Get actual TPDO1 inhibit time successed |
References u16_TPDO1_INHIBIT_TIME.
Referenced by TParameter_CAN_OPEN_TPDO1_INHIBIT_TIME::Pre_Read_Data_Processing().
Get actual TPDO1 parameter method.
[out] | *u32_Actual_TPDO1_PARAMETER | - Pointer to actual TPDO1 parameter variable |
false | - Get actual TPDO1 parameter failed |
true | - Get actual TPDO1 parameter successed |
References u32_TPDO1_PARAMETER.
Referenced by TParameter_CAN_OPEN_TPDO1_PARAMETER::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO1_TRANSMISSION_TYPE | ( | U8 * | u8_Actual_TPDO1_TRANSMISSION_TYPE | ) |
Get actual TPDO1 transmission type method.
[out] | *u8_Actual_TPDO1_TRANSMISSION_TYPE | - Pointer to actual TPDO1 transmission type variable |
false | - Get actual TPDO1 transmission type failed |
true | - Get actual TPDO1 transmission type successed |
References u8_TPDO1_TRANSMISSION_TYPE.
Referenced by TParameter_CAN_OPEN_TPDO1_TRANSMISSION_TYPE::Pre_Read_Data_Processing().
Get actual TPDO2 COB ID used method.
[out] | *u32_Actual_TPDO2_COB_ID | - Pointer to actual TPDO2 COB ID used variable |
false | - Get actual TPDO2 COB ID used failed |
true | - Get actual TPDO2 COB ID used successed |
References u32_TPDO2_COB_ID.
Referenced by TParameter_CAN_OPEN_TPDO2_COB_ID::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO2_COMPATIBILITY_ENTRY | ( | U8 * | u8_Actual_TPDO2_COMPATIBILITY_ENTRY | ) |
Get actual TPDO2 compatibility entry method.
[out] | *u8_Actual_TPDO2_COMPATIBILITY_ENTRY | - Pointer to actual TPDO2 compatibility entry variable |
false | - Get actual TPDO2 compatibility entry failed |
true | - Get actual TPDO2 compatibility entry successed |
References u8_TPDO2_COMPATIBILITY_ENTRY.
Referenced by TParameter_CAN_OPEN_TPDO2_COMPATIBILITY_ENTRY::Pre_Read_Data_Processing().
Get TPDO2 data method.
[in] | u64_Actual_TPDO2_DATA | - New TPDO2 data value |
false | - Get TPDO2 data failed |
true | - Get TPDO2 data successed |
References u64_PDO_TX_2.
Referenced by TParameter_CAN_OPEN_TPDO2_DATA::Pre_Read_Data_Processing().
Get actual TPDO2 event timer method.
[out] | *u16_Actual_TPDO2_EVENT_TIMER | - Pointer to actual TPDO2 event timer variable |
false | - Get actual TPDO2 event timer failed |
true | - Get actual TPDO2 event timer successed |
References u16_TPDO2_EVENT_TIMER.
Referenced by TParameter_CAN_OPEN_TPDO2_EVENT_TIMER::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO2_INHIBIT_TIME | ( | U16 * | u16_Actual_TPDO2_INHIBIT_TIME | ) |
Get actual TPDO2 inhibit time method.
[out] | *u16_Actual_TPDO2_INHIBIT_TIME | - Pointer to actual TPDO2 inhibit time variable |
false | - Get actual TPDO2 inhibit time failed |
true | - Get actual TPDO2 inhibit time successed |
References u16_TPDO2_INHIBIT_TIME.
Referenced by TParameter_CAN_OPEN_TPDO2_INHIBIT_TIME::Pre_Read_Data_Processing().
Get actual TPDO2 parameter method.
[out] | *u32_Actual_TPDO2_PARAMETER | - Pointer to actual TPDO2 parameter variable |
false | - Get actual TPDO2 parameter failed |
true | - Get actual TPDO2 parameter successed |
References u32_TPDO2_PARAMETER.
Referenced by TParameter_CAN_OPEN_TPDO2_PARAMETER::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO2_TRANSMISSION_TYPE | ( | U8 * | u8_Actual_TPDO2_TRANSMISSION_TYPE | ) |
Get actual TPDO2 transmission type method.
[out] | *u8_Actual_TPDO2_TRANSMISSION_TYPE | - Pointer to actual TPDO2 transmission type variable |
false | - Get actual TPDO2 transmission type failed |
true | - Get actual TPDO2 transmission type successed |
References u8_TPDO2_TRANSMISSION_TYPE.
Referenced by TParameter_CAN_OPEN_TPDO2_TRANSMISSION_TYPE::Pre_Read_Data_Processing().
Get actual TPDO3 COB ID used method.
[out] | *u32_Actual_TPDO3_COB_ID | - Pointer to actual TPDO3 COB ID used variable |
false | - Get actual TPDO3 COB ID used failed |
true | - Get actual TPDO3 COB ID used successed |
References u32_TPDO3_COB_ID.
Referenced by TParameter_CAN_OPEN_TPDO3_COB_ID::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO3_COMPATIBILITY_ENTRY | ( | U8 * | u8_Actual_TPDO3_COMPATIBILITY_ENTRY | ) |
Get actual TPDO3 compatibility entry method.
[out] | *u8_Actual_TPDO3_COMPATIBILITY_ENTRY | - Pointer to actual TPDO3 compatibility entry variable |
false | - Get actual TPDO3 compatibility entry failed |
true | - Get actual TPDO3 compatibility entry successed |
References u8_TPDO3_COMPATIBILITY_ENTRY.
Referenced by TParameter_CAN_OPEN_TPDO3_COMPATIBILITY_ENTRY::Pre_Read_Data_Processing().
Get TPDO3 data method.
[in] | u64_Actual_TPDO3_DATA | - New TPDO3 data value |
false | - Get TPDO3 data failed |
true | - Get TPDO3 data successed |
References u64_PDO_TX_3.
Referenced by TParameter_CAN_OPEN_TPDO3_DATA::Pre_Read_Data_Processing().
Get actual TPDO3 event timer method.
[out] | *u16_Actual_TPDO3_EVENT_TIMER | - Pointer to actual TPDO3 event timer variable |
false | - Get actual TPDO3 event timer failed |
true | - Get actual TPDO3 event timer successed |
References u16_TPDO3_EVENT_TIMER.
Referenced by TParameter_CAN_OPEN_TPDO3_EVENT_TIMER::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO3_INHIBIT_TIME | ( | U16 * | u16_Actual_TPDO3_INHIBIT_TIME | ) |
Get actual TPDO3 inhibit time method.
[out] | *u16_Actual_TPDO3_INHIBIT_TIME | - Pointer to actual TPDO3 inhibit time variable |
false | - Get actual TPDO3 inhibit time failed |
true | - Get actual TPDO3 inhibit time successed |
References u16_TPDO3_INHIBIT_TIME.
Referenced by TParameter_CAN_OPEN_TPDO3_INHIBIT_TIME::Pre_Read_Data_Processing().
Get actual TPDO3 parameter method.
[out] | *u32_Actual_TPDO3_PARAMETER | - Pointer to actual TPDO3 parameter variable |
false | - Get actual TPDO3 parameter failed |
true | - Get actual TPDO3 parameter successed |
References u32_TPDO3_PARAMETER.
Referenced by TParameter_CAN_OPEN_TPDO3_PARAMETER::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO3_TRANSMISSION_TYPE | ( | U8 * | u8_Actual_TPDO3_TRANSMISSION_TYPE | ) |
Get actual TPDO3 transmission type method.
[out] | *u8_Actual_TPDO3_TRANSMISSION_TYPE | - Pointer to actual TPDO3 transmission type variable |
false | - Get actual TPDO3 transmission type failed |
true | - Get actual TPDO3 transmission type successed |
References u8_TPDO3_TRANSMISSION_TYPE.
Referenced by TParameter_CAN_OPEN_TPDO3_TRANSMISSION_TYPE::Pre_Read_Data_Processing().
Get actual TPDO4 COB ID used method.
[out] | *u32_Actual_TPDO4_COB_ID | - Pointer to actual TPDO4 COB ID used variable |
false | - Get actual TPDO4 COB ID used failed |
true | - Get actual TPDO4 COB ID used successed |
References u32_TPDO4_COB_ID.
Referenced by TParameter_CAN_OPEN_TPDO4_COB_ID::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO4_COMPATIBILITY_ENTRY | ( | U8 * | u8_Actual_TPDO4_COMPATIBILITY_ENTRY | ) |
Get actual TPDO4 compatibility entry method.
[out] | *u8_Actual_TPDO4_COMPATIBILITY_ENTRY | - Pointer to actual TPDO4 compatibility entry variable |
false | - Get actual TPDO4 compatibility entry failed |
true | - Get actual TPDO4 compatibility entry successed |
References u8_TPDO4_COMPATIBILITY_ENTRY.
Referenced by TParameter_CAN_OPEN_TPDO4_COMPATIBILITY_ENTRY::Pre_Read_Data_Processing().
Get TPDO4 data method.
[in] | u64_Actual_TPDO4_DATA | - New TPDO4 data value |
false | - Get TPDO4 data failed |
true | - Get TPDO4 data successed |
References u64_PDO_TX_4.
Referenced by TParameter_CAN_OPEN_TPDO4_DATA::Pre_Read_Data_Processing().
Get actual TPDO4 event timer method.
[out] | *u16_Actual_TPDO4_EVENT_TIMER | - Pointer to actual TPDO4 event timer variable |
false | - Get actual TPDO4 event timer failed |
true | - Get actual TPDO4 event timer successed |
References u16_TPDO4_EVENT_TIMER.
Referenced by TParameter_CAN_OPEN_TPDO4_EVENT_TIMER::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO4_INHIBIT_TIME | ( | U16 * | u16_Actual_TPDO4_INHIBIT_TIME | ) |
Get actual TPDO4 inhibit time method.
[out] | *u16_Actual_TPDO4_INHIBIT_TIME | - Pointer to actual TPDO4 inhibit time variable |
false | - Get actual TPDO4 inhibit time failed |
true | - Get actual TPDO4 inhibit time successed |
References u16_TPDO4_INHIBIT_TIME.
Referenced by TParameter_CAN_OPEN_TPDO4_INHIBIT_TIME::Pre_Read_Data_Processing().
Get actual TPDO4 parameter method.
[out] | *u32_Actual_TPDO4_PARAMETER | - Pointer to actual TPDO4 parameter variable |
false | - Get actual TPDO4 parameter failed |
true | - Get actual TPDO4 parameter successed |
References u32_TPDO4_PARAMETER.
Referenced by TParameter_CAN_OPEN_TPDO4_PARAMETER::Pre_Read_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Get_TPDO4_TRANSMISSION_TYPE | ( | U8 * | u8_Actual_TPDO4_TRANSMISSION_TYPE | ) |
Get actual TPDO4 transmission type method.
[out] | *u8_Actual_TPDO4_TRANSMISSION_TYPE | - Pointer to actual TPDO4 transmission type variable |
false | - Get actual TPDO4 transmission type failed |
true | - Get actual TPDO4 transmission type successed |
References u8_TPDO4_TRANSMISSION_TYPE.
Referenced by TParameter_CAN_OPEN_TPDO4_TRANSMISSION_TYPE::Pre_Read_Data_Processing().
|
private |
CAN Open heartbeat transmit method.
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, and u8_Node_ID.
Referenced by Communication_Block_Data_Receive(), and Execute_1ms().
VOID TProtocol_CANopen_Slave_Over_CAN::Init | ( | ) |
Object initialisation method.
References TProtocol_Base::Init().
Referenced by TApplication_Base::Init().
|
virtual |
Return communication link protocol mode status.
false | - Communication link not in protocol mode |
true | - Communication link in protocol mode |
Implements TProtocol_Base.
|
virtual |
Return communication link terminal mode status.
false | - Communication link not in terminal mode |
true | - Communication link in terminal mode |
Implements TProtocol_Base.
CAN Open PDO transmit method.
[in] | u16_Frame_Index | - TPDO frame number |
[in] | u64_PDO_TX | - Data block |
References TCAN_Msg::CAN_Data, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::u32_Identifier, TCAN_Msg::u64_CAN_Raw_Data, TCAN_Msg::u8_DLC, and u8_Node_ID.
Referenced by Execute_1ms().
Receiveed character processing method.
[in] | c8_Character | - Received character |
Receiveed null terminated string processing method.
[in] | *c8_String | - Pointer to the null terminated string |
Implements TProtocol_Base.
Received fixed size string processing method.
[in] | *c8_String | - Pointer to the fixed size string |
[in] | u32_Length | - Length of the string |
Implements TProtocol_Base.
|
private |
CAN Open SDO process method.
References TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::Byte_0, CAN_Open_Device_State, enum_ATTEMPT_TO_READ_A_WRITE_ONLY_OBJECT, enum_ATTEMPT_TO_WRITE_A_READ_ONLY_OBJECT, enum_BOOL, enum_CLIENT_SERVER_COMMAND_SPECIFIER_NOT_VALID_OR_UNKNOWN, enum_F32, enum_GENERAL_ERROR, enum_GENERAL_PARAMETER_INCOMPATIBILITY_REASON, enum_I16, enum_I32, enum_I8, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, enum_OBJECT_DOES_NOT_EXIST_IN_THE_OBJECT_DICTIONARY, enum_U16, enum_U32, enum_U8, Get_ConOpSys_Parameter_Index_By_Can_Parameter_Index(), TParameter_Manager::Get_Parameter_By_ID(), TParameter_Base::Get_Type(), TParameter_Base::Is_Readable(), TParameter_Base::Is_Writable(), NULL, object_Parameter_Manager, TParameter_Base::Read_Value_As_BOOL(), TParameter_Base::Read_Value_As_F32(), TParameter_Base::Read_Value_As_I16(), TParameter_Base::Read_Value_As_I32(), TParameter_Base::Read_Value_As_I8(), TParameter_Base::Read_Value_As_U16(), TParameter_Base::Read_Value_As_U32(), TParameter_Base::Read_Value_As_U8(), SDO_Buffer, SDO_BUFFER_NUMBER, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::SDO_Data, Send_SDO_Data_BOOL(), Send_SDO_Data_F32(), Send_SDO_Data_I16(), Send_SDO_Data_I32(), Send_SDO_Data_I8(), Send_SDO_Data_U16(), Send_SDO_Data_U32(), Send_SDO_Data_U8(), Send_SDO_Error(), Send_SDO_Write_Success(), TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u16_Index, TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u32_Data, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u8_Is_Processed, TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index, TProtocol_CANopen_Slave_Over_CAN::TSDO_Msg::u8_Subindex, TParameter_Base::Write_Value_As_BOOL(), TParameter_Base::Write_Value_As_F32(), TParameter_Base::Write_Value_As_I16(), TParameter_Base::Write_Value_As_I32(), TParameter_Base::Write_Value_As_I8(), TParameter_Base::Write_Value_As_U16(), TParameter_Base::Write_Value_As_U32(), and TParameter_Base::Write_Value_As_U8().
Referenced by Execute().
|
virtual |
Send information about CAN Open protocol.
[in] | *object_Protocol | - Pointer to the communication link protocol |
Implements TProtocol_Base.
References TProtocol_Base::Transmit_String().
|
private |
CAN Open SDO transmit BOOL value method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[in] | bool_SDO_Data | - SDO BOOL data |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_U16(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
|
private |
CAN Open SDO transmit F32 method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[in] | f32_SDO_Data | - SDO F32 data |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_F32(), Extract_U8_From_U16(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
|
private |
CAN Open SDO transmit I16 method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[in] | i16_SDO_Data | - SDO I16 data |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_I16(), Extract_U8_From_U16(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
|
private |
CAN Open SDO transmit I32 method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[in] | i32_SDO_Data | - SDO I32 data |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_I32(), Extract_U8_From_U16(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
|
private |
CAN Open SDO transmit I8 method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[in] | i8_SDO_Data | - SDO I8 data |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_I8(), Extract_U8_From_U16(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
|
private |
CAN Open SDO transmit U16 method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[in] | u16_SDO_Data | - SDO U16 data |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_U16(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
|
private |
CAN Open SDO transmit U32 method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[in] | u32_SDO_Data | - SDO U32 data |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_U16(), Extract_U8_From_U32(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
|
private |
CAN Open SDO transmit U8 method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[in] | u8_SDO_Data | - SDO U8 data |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_U16(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
|
private |
CAN Open SDO abort transmit method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
[in] | enum_SDO_Abort_Code | - SDO abort code |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_U16(), Extract_U8_From_U32(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
|
private |
CAN Open SDO write responce transmit method.
[in] | *CAN_Open_Parameter_Address | - Pointer on parameter address |
References TCAN_Msg::CAN_Data, CAN_Open_Device_State, TCommunication_Data_Link::Communication_Block_Data_Transmit(), TCAN_Msg::Data_Bits, enum_NMT_OPERATIONAL, enum_NMT_PRE_OPERATIONAL, Extract_U8_From_U16(), TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u16_Index, TCAN_Msg::u32_Identifier, TCAN_Msg::u8_DLC, u8_Node_ID, and TProtocol_CANopen_Slave_Over_CAN::TCAN_Open_Parameter_Address::u8_Sub_Index.
Referenced by SDO_Process().
Set cob id emcy method.
[in] | u32_New_COB_ID_EMCY | - New cob id emcy value |
false | - Set cob id emcy failed |
true | - Set cob id emcy successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_COB_ID_EMCY.
Referenced by TParameter_CAN_OPEN_COB_ID_EMCY::Post_Write_Data_Processing().
Set COB ID SYNC method.
[in] | u32_New_COB_ID_SYNC | - New COB ID SYNC value |
false | - Set COB ID SYNC failed |
true | - Set COB ID SYNC successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_COB_ID_SYNC.
Referenced by TParameter_CAN_OPEN_COB_ID_SYNC::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_CONSUMER_HEARTBEAT_TIME | ( | U32 | u32_New_CONSUMER_HEARTBEAT_TIME | ) |
Set consumer heartbeat time method.
[in] | u32_New_CONSUMER_HEARTBEAT_TIME | - New consumer heartbeat time value |
false | - Set consumer heartbeat time failed |
true | - Set consumer heartbeat time successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_CONSUMER_HEARTBEAT_TIME.
Referenced by TParameter_CAN_OPEN_CONSUMER_HEARTBEAT_TIME::Post_Write_Data_Processing().
Set guard time method.
[in] | u16_New_GUARD_TIME | - New guard time value |
false | - Set guard time failed |
true | - Set guard time successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_GUARD_TIME.
Referenced by TParameter_CAN_OPEN_GUARD_TIME::Post_Write_Data_Processing().
Set inhibit time emcy method.
[in] | u16_New_INHIBIT_TIME_EMCY | - New inhibit time emcy value |
false | - Set inhibit time emcy failed |
true | - Set inhibit time emcy successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_INHIBIT_TIME_EMCY.
Referenced by TParameter_CAN_OPEN_INHIBIT_TIME_EMCY::Post_Write_Data_Processing().
Set life time factor method.
[in] | u8_New_LIFE_TIME_FACTOR | - New life time factor value |
false | - Set life time factor failed |
true | - Set life time factor successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_LIFE_TIME_FACTOR.
Referenced by TParameter_CAN_OPEN_LIFE_TIME_FACTOR::Post_Write_Data_Processing().
Set node ID method.
[in] | u8_New_Node_ID | - New node ID value |
false | - Set new node ID failed |
true | - Set new node ID successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_Node_ID.
Referenced by TParameter_CAN_OPEN_NODE_ID::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_PRODUCER_HEARTBEAT_TIME | ( | U16 | u16_New_PRODUCER_HEARTBEAT_TIME | ) |
Set producer heartbeat time method.
[in] | u16_New_PRODUCER_HEARTBEAT_TIME | - New producer heartbeat time value |
false | - Set producer heartbeat time failed |
true | - Set producer heartbeat time successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_PRODUCER_HEARTBEAT_TIME.
Referenced by TParameter_CAN_OPEN_PRODUCER_HEARTBEAT_TIME::Post_Write_Data_Processing().
Set RPDO1 COB ID method.
[in] | u32_New_RPDO1_COB_ID | - New RPDO1 COB ID value |
false | - Set RPDO1 COB ID failed |
true | - Set RPDO1 COB ID successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_RPDO1_COB_ID.
Referenced by TParameter_CAN_OPEN_RPDO1_COB_ID::Post_Write_Data_Processing().
Set RPDO1 data method.
[in] | u64_New_RPDO1_DATA | - New RPDO1 data value |
false | - Set RPDO1 data failed |
true | - Set RPDO1 data successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u64_PDO_RX_1.
Referenced by TParameter_CAN_OPEN_RPDO1_DATA::Post_Write_Data_Processing().
Set rpdo1 parameter method.
[in] | u32_New_RPDO1_PARAMETER | - New rpdo1 parameter value |
false | - Set rpdo1 parameter failed |
true | - Set rpdo1 parameter successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_RPDO1_PARAMETER.
Referenced by TParameter_CAN_OPEN_RPDO1_PARAMETER::Post_Write_Data_Processing().
Set RPDO2 COB ID method.
[in] | u32_New_RPDO2_COB_ID | - New RPDO2 COB ID value |
false | - Set RPDO2 COB ID failed |
true | - Set RPDO2 COB ID successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_RPDO2_COB_ID.
Referenced by TParameter_CAN_OPEN_RPDO2_COB_ID::Post_Write_Data_Processing().
Set RPDO2 data method.
[in] | u64_New_RPDO2_DATA | - New RPDO2 data value |
false | - Set RPDO2 data failed |
true | - Set RPDO2 data successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u64_PDO_RX_2.
Referenced by TParameter_CAN_OPEN_RPDO2_DATA::Post_Write_Data_Processing().
Set rpdo2 parameter method.
[in] | u32_New_RPDO2_PARAMETER | - New rpdo2 parameter value |
false | - Set rpdo2 parameter failed |
true | - Set rpdo2 parameter successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_RPDO2_PARAMETER.
Referenced by TParameter_CAN_OPEN_RPDO2_PARAMETER::Post_Write_Data_Processing().
Set RPDO3 COB ID method.
[in] | u32_New_RPDO3_COB_ID | - New RPDO3 COB ID value |
false | - Set RPDO3 COB ID failed |
true | - Set RPDO3 COB ID successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_RPDO3_COB_ID.
Referenced by TParameter_CAN_OPEN_RPDO3_COB_ID::Post_Write_Data_Processing().
Set RPDO3 data method.
[in] | u64_New_RPDO3_DATA | - New RPDO3 data value |
false | - Set RPDO3 data failed |
true | - Set RPDO3 data successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u64_PDO_RX_3.
Referenced by TParameter_CAN_OPEN_RPDO3_DATA::Post_Write_Data_Processing().
Set rpdo3 parameter method.
[in] | u32_New_RPDO3_PARAMETER | - New rpdo3 parameter value |
false | - Set rpdo3 parameter failed |
true | - Set rpdo3 parameter successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_RPDO3_PARAMETER.
Referenced by TParameter_CAN_OPEN_RPDO3_PARAMETER::Post_Write_Data_Processing().
Set RPDO4 COB ID method.
[in] | u32_New_RPDO4_COB_ID | - New RPDO4 COB ID value |
false | - Set RPDO4 COB ID failed |
true | - Set RPDO4 COB ID successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_RPDO4_COB_ID.
Referenced by TParameter_CAN_OPEN_RPDO4_COB_ID::Post_Write_Data_Processing().
Set RPDO4 data method.
[in] | u64_New_RPDO4_DATA | - New RPDO4 data value |
false | - Set RPDO4 data failed |
true | - Set RPDO4 data successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u64_PDO_RX_4.
Referenced by TParameter_CAN_OPEN_RPDO4_DATA::Post_Write_Data_Processing().
Set rpdo4 parameter method.
[in] | u32_New_RPDO4_PARAMETER | - New rpdo4 parameter value |
false | - Set rpdo4 parameter failed |
true | - Set rpdo4 parameter successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_RPDO4_PARAMETER.
Referenced by TParameter_CAN_OPEN_RPDO4_PARAMETER::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX | ( | U32 | u32_New_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX | ) |
Set sdo1 server cob id client server tx method.
[in] | u32_New_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX | - New sdo1 server cob id client server tx value |
false | - Set sdo1 server cob id client server tx failed |
true | - Set sdo1 server cob id client server tx successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX.
Referenced by TParameter_CAN_OPEN_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX | ( | U32 | u32_New_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX | ) |
Set sdo1 server cob id client server rx method.
[in] | u32_New_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX | - New sdo1 server cob id client server rx value |
false | - Set sdo1 server cob id client server rx failed |
true | - Set sdo1 server cob id client server rx successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX.
Referenced by TParameter_CAN_OPEN_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_SDO1_SERVER_PARAMETER | ( | U32 | u32_New_SDO1_SERVER_PARAMETER | ) |
Set sdo1 server parameter method.
[in] | u32_New_SDO1_SERVER_PARAMETER | - New sdo1 server parameter value |
false | - Set sdo1 server parameter failed |
true | - Set sdo1 server parameter successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_SDO1_SERVER_PARAMETER.
Referenced by TParameter_CAN_OPEN_SDO1_SERVER_PARAMETER::Post_Write_Data_Processing().
Set status method.
[in] | u8_New_STATUS | - New status value |
false | - Set status failed |
true | - Set status successed |
Referenced by TParameter_CAN_OPEN_STATUS::Post_Write_Data_Processing().
Set TPDO1 COB ID used method.
[in] | u32_New_TPDO1_COB_ID | - New TPDO1 COB ID used value |
false | - Set TPDO1 COB ID used failed |
true | - Set TPDO1 COB ID used successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_TPDO1_COB_ID.
Referenced by TParameter_CAN_OPEN_TPDO1_COB_ID_USED::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_TPDO1_COMPATIBILITY_ENTRY | ( | U8 | u8_New_TPDO1_COMPATIBILITY_ENTRY | ) |
Set TPDO1 compatibility entry method.
[in] | u8_New_TPDO1_COMPATIBILITY_ENTRY | - New TPDO1 compatibility entry value |
false | - Set TPDO1 compatibility entry failed |
true | - Set TPDO1 compatibility entry successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_TPDO1_COMPATIBILITY_ENTRY.
Referenced by TParameter_CAN_OPEN_TPDO1_COMPATIBILITY_ENTRY::Post_Write_Data_Processing().
Set TPDO1 data method.
[in] | u64_New_TPDO1_DATA | - New TPDO1 data value |
false | - Set TPDO1 data failed |
true | - Set TPDO1 data successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u64_PDO_TX_1.
Referenced by TParameter_CAN_OPEN_TPDO1_DATA::Post_Write_Data_Processing().
Set TPDO1 event timer method.
[in] | u16_New_TPDO1_EVENT_TIMER | - New TPDO1 event timer value |
false | - Set TPDO1 event timer failed |
true | - Set TPDO1 event timer successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_TPDO1_EVENT_TIMER.
Referenced by TParameter_CAN_OPEN_TPDO1_EVENT_TIMER::Post_Write_Data_Processing().
Set TPDO1 inhibit time method.
[in] | u16_New_TPDO1_INHIBIT_TIME | - New TPDO1 inhibit time value |
false | - Set TPDO1 inhibit time failed |
true | - Set TPDO1 inhibit time successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_TPDO1_INHIBIT_TIME.
Referenced by TParameter_CAN_OPEN_TPDO1_INHIBIT_TIME::Post_Write_Data_Processing().
Set TPDO1 parameter method.
[in] | u32_New_TPDO1_PARAMETER | - New TPDO1 parameter value |
false | - Set TPDO1 parameter failed |
true | - Set TPDO1 parameter successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_TPDO1_PARAMETER.
Referenced by TParameter_CAN_OPEN_TPDO1_PARAMETER::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_TPDO1_TRANSMISSION_TYPE | ( | U8 | u8_New_TPDO1_TRANSMISSION_TYPE | ) |
Set TPDO1 transmission type method.
[in] | u8_New_TPDO1_TRANSMISSION_TYPE | - New TPDO1 transmission type value |
false | - Set TPDO1 transmission type failed |
true | - Set TPDO1 transmission type successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_TPDO1_TRANSMISSION_TYPE.
Referenced by TParameter_CAN_OPEN_TPDO1_TRANSMISSION_TYPE::Post_Write_Data_Processing().
Set TPDO2 COB ID used method.
[in] | u32_New_TPDO2_COB_ID | - New TPDO2 COB ID used value |
false | - Set TPDO2 COB ID used failed |
true | - Set TPDO2 COB ID used successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_TPDO2_COB_ID.
Referenced by TParameter_CAN_OPEN_TPDO2_COB_ID::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_TPDO2_COMPATIBILITY_ENTRY | ( | U8 | u8_New_TPDO2_COMPATIBILITY_ENTRY | ) |
Set TPDO2 compatibility entry method.
[in] | u8_New_TPDO2_COMPATIBILITY_ENTRY | - New TPDO2 compatibility entry value |
false | - Set TPDO2 compatibility entry failed |
true | - Set TPDO2 compatibility entry successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_TPDO2_COMPATIBILITY_ENTRY.
Referenced by TParameter_CAN_OPEN_TPDO2_COMPATIBILITY_ENTRY::Post_Write_Data_Processing().
Set TPDO2 data method.
[in] | u64_New_TPDO2_DATA | - New TPDO2 data value |
false | - Set TPDO2 data failed |
true | - Set TPDO2 data successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u64_PDO_TX_2.
Referenced by TParameter_CAN_OPEN_TPDO2_DATA::Post_Write_Data_Processing().
Set TPDO2 event timer method.
[in] | u16_New_TPDO2_EVENT_TIMER | - New TPDO2 event timer value |
false | - Set TPDO2 event timer failed |
true | - Set TPDO2 event timer successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_TPDO2_EVENT_TIMER.
Referenced by TParameter_CAN_OPEN_TPDO2_EVENT_TIMER::Post_Write_Data_Processing().
Set TPDO2 inhibit time method.
[in] | u16_New_TPDO2_INHIBIT_TIME | - New TPDO2 inhibit time value |
false | - Set TPDO2 inhibit time failed |
true | - Set TPDO2 inhibit time successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_TPDO2_INHIBIT_TIME.
Referenced by TParameter_CAN_OPEN_TPDO2_INHIBIT_TIME::Post_Write_Data_Processing().
Set TPDO2 parameter method.
[in] | u32_New_TPDO2_PARAMETER | - New TPDO2 parameter value |
false | - Set TPDO2 parameter failed |
true | - Set TPDO2 parameter successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_TPDO2_PARAMETER.
Referenced by TParameter_CAN_OPEN_TPDO2_PARAMETER::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_TPDO2_TRANSMISSION_TYPE | ( | U8 | u8_New_TPDO2_TRANSMISSION_TYPE | ) |
Set TPDO2 transmission type method.
[in] | u8_New_TPDO2_TRANSMISSION_TYPE | - New TPDO2 transmission type value |
false | - Set TPDO2 transmission type failed |
true | - Set TPDO2 transmission type successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_TPDO2_TRANSMISSION_TYPE.
Referenced by TParameter_CAN_OPEN_TPDO2_TRANSMISSION_TYPE::Post_Write_Data_Processing().
Set TPDO3 COB ID used method.
[in] | u32_New_TPDO3_COB_ID | - New TPDO3 COB ID used value |
false | - Set TPDO3 COB ID used failed |
true | - Set TPDO3 COB ID used successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_TPDO3_COB_ID.
Referenced by TParameter_CAN_OPEN_TPDO3_COB_ID::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_TPDO3_COMPATIBILITY_ENTRY | ( | U8 | u8_New_TPDO3_COMPATIBILITY_ENTRY | ) |
Set TPDO3 compatibility entry method.
[in] | u8_New_TPDO3_COMPATIBILITY_ENTRY | - New TPDO3 compatibility entry value |
false | - Set TPDO3 compatibility entry failed |
true | - Set TPDO3 compatibility entry successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_TPDO3_COMPATIBILITY_ENTRY.
Referenced by TParameter_CAN_OPEN_TPDO3_COMPATIBILITY_ENTRY::Post_Write_Data_Processing().
Set TPDO3 data method.
[in] | u64_New_TPDO3_DATA | - New TPDO3 data value |
false | - Set TPDO3 data failed |
true | - Set TPDO3 data successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u64_PDO_TX_3.
Referenced by TParameter_CAN_OPEN_TPDO3_DATA::Post_Write_Data_Processing().
Set TPDO3 event timer method.
[in] | u16_New_TPDO3_EVENT_TIMER | - New TPDO3 event timer value |
false | - Set TPDO3 event timer failed |
true | - Set TPDO3 event timer successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_TPDO3_EVENT_TIMER.
Referenced by TParameter_CAN_OPEN_TPDO3_EVENT_TIMER::Post_Write_Data_Processing().
Set TPDO3 inhibit time method.
[in] | u16_New_TPDO3_INHIBIT_TIME | - New TPDO3 inhibit time value |
false | - Set TPDO3 inhibit time failed |
true | - Set TPDO3 inhibit time successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_TPDO3_INHIBIT_TIME.
Referenced by TParameter_CAN_OPEN_TPDO3_INHIBIT_TIME::Post_Write_Data_Processing().
Set TPDO3 parameter method.
[in] | u32_New_TPDO3_PARAMETER | - New TPDO3 parameter value |
false | - Set TPDO3 parameter failed |
true | - Set TPDO3 parameter successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_TPDO3_PARAMETER.
Referenced by TParameter_CAN_OPEN_TPDO3_PARAMETER::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_TPDO3_TRANSMISSION_TYPE | ( | U8 | u8_New_TPDO3_TRANSMISSION_TYPE | ) |
Set TPDO3 transmission type method.
[in] | u8_New_TPDO3_TRANSMISSION_TYPE | - New TPDO3 transmission type value |
false | - Set TPDO3 transmission type failed |
true | - Set TPDO3 transmission type successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_TPDO3_TRANSMISSION_TYPE.
Referenced by TParameter_CAN_OPEN_TPDO3_TRANSMISSION_TYPE::Post_Write_Data_Processing().
Set TPDO4 COB ID used method.
[in] | u32_New_TPDO4_COB_ID | - New TPDO4 COB ID used value |
false | - Set TPDO4 COB ID used failed |
true | - Set TPDO4 COB ID used successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_TPDO4_COB_ID.
Referenced by TParameter_CAN_OPEN_TPDO4_COB_ID::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_TPDO4_COMPATIBILITY_ENTRY | ( | U8 | u8_New_TPDO4_COMPATIBILITY_ENTRY | ) |
Set TPDO4 compatibility entry method.
[in] | u8_New_TPDO4_COMPATIBILITY_ENTRY | - New TPDO4 compatibility entry value |
false | - Set TPDO4 compatibility entry failed |
true | - Set TPDO4 compatibility entry successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_TPDO4_COMPATIBILITY_ENTRY.
Referenced by TParameter_CAN_OPEN_TPDO4_COMPATIBILITY_ENTRY::Post_Write_Data_Processing().
Set TPDO4 data method.
[in] | u64_New_TPDO4_DATA | - New TPDO4 data value |
false | - Set TPDO4 data failed |
true | - Set TPDO4 data successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u64_PDO_TX_4.
Referenced by TParameter_CAN_OPEN_TPDO4_DATA::Post_Write_Data_Processing().
Set TPDO4 event timer method.
[in] | u16_New_TPDO4_EVENT_TIMER | - New TPDO4 event timer value |
false | - Set TPDO4 event timer failed |
true | - Set TPDO4 event timer successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_TPDO4_EVENT_TIMER.
Referenced by TParameter_CAN_OPEN_TPDO4_EVENT_TIMER::Post_Write_Data_Processing().
Set TPDO4 inhibit time method.
[in] | u16_New_TPDO4_INHIBIT_TIME | - New TPDO4 inhibit time value |
false | - Set TPDO4 inhibit time failed |
true | - Set TPDO4 inhibit time successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u16_TPDO4_INHIBIT_TIME.
Referenced by TParameter_CAN_OPEN_TPDO4_INHIBIT_TIME::Post_Write_Data_Processing().
Set TPDO4 parameter method.
[in] | u32_New_TPDO4_PARAMETER | - New TPDO4 parameter value |
false | - Set TPDO4 parameter failed |
true | - Set TPDO4 parameter successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u32_TPDO4_PARAMETER.
Referenced by TParameter_CAN_OPEN_TPDO4_PARAMETER::Post_Write_Data_Processing().
BOOL TProtocol_CANopen_Slave_Over_CAN::Set_TPDO4_TRANSMISSION_TYPE | ( | U8 | u8_New_TPDO4_TRANSMISSION_TYPE | ) |
Set TPDO4 transmission type method.
[in] | u8_New_TPDO4_TRANSMISSION_TYPE | - New TPDO4 transmission type value |
false | - Set TPDO4 transmission type failed |
true | - Set TPDO4 transmission type successed |
References CAN_Open_Device_State, enum_NMT_INITIALISING, and u8_TPDO4_TRANSMISSION_TYPE.
Referenced by TParameter_CAN_OPEN_TPDO4_TRANSMISSION_TYPE::Post_Write_Data_Processing().
|
virtual |
Disable system ready message method.
Implements TProtocol_Base.
|
virtual |
Enable system ready message method.
Implements TProtocol_Base.
|
virtual |
Disable show system welcome message method.
Implements TProtocol_Base.
|
virtual |
Enable show system welcome message method.
Implements TProtocol_Base.
|
virtual |
Transmit boot welcome message method.
Implements TProtocol_Base.
|
virtual |
Transmit system ready message method.
Implements TProtocol_Base.
|
private |
Master Heartbeat process status.
Referenced by Communication_Block_Data_Receive(), Execute_1ms(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
Master lives status.
Referenced by Execute_1ms(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
Device satae.
Referenced by Communication_Block_Data_Receive(), Execute_1ms(), Heartbeat_Transmit(), SDO_Process(), Send_SDO_Data_BOOL(), Send_SDO_Data_F32(), Send_SDO_Data_I16(), Send_SDO_Data_I32(), Send_SDO_Data_I8(), Send_SDO_Data_U16(), Send_SDO_Data_U32(), Send_SDO_Data_U8(), Send_SDO_Error(), Send_SDO_Write_Success(), Set_COB_ID_EMCY(), Set_COB_ID_SYNC(), Set_CONSUMER_HEARTBEAT_TIME(), Set_GUARD_TIME(), Set_INHIBIT_TIME_EMCY(), Set_LIFE_TIME_FACTOR(), Set_NODE_ID(), Set_PRODUCER_HEARTBEAT_TIME(), Set_RPDO1_COB_ID(), Set_RPDO1_DATA(), Set_RPDO1_PARAMETER(), Set_RPDO2_COB_ID(), Set_RPDO2_DATA(), Set_RPDO2_PARAMETER(), Set_RPDO3_COB_ID(), Set_RPDO3_DATA(), Set_RPDO3_PARAMETER(), Set_RPDO4_COB_ID(), Set_RPDO4_DATA(), Set_RPDO4_PARAMETER(), Set_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX(), Set_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX(), Set_SDO1_SERVER_PARAMETER(), Set_TPDO1_COB_ID(), Set_TPDO1_COMPATIBILITY_ENTRY(), Set_TPDO1_DATA(), Set_TPDO1_EVENT_TIMER(), Set_TPDO1_INHIBIT_TIME(), Set_TPDO1_PARAMETER(), Set_TPDO1_TRANSMISSION_TYPE(), Set_TPDO2_COB_ID(), Set_TPDO2_COMPATIBILITY_ENTRY(), Set_TPDO2_DATA(), Set_TPDO2_EVENT_TIMER(), Set_TPDO2_INHIBIT_TIME(), Set_TPDO2_PARAMETER(), Set_TPDO2_TRANSMISSION_TYPE(), Set_TPDO3_COB_ID(), Set_TPDO3_COMPATIBILITY_ENTRY(), Set_TPDO3_DATA(), Set_TPDO3_EVENT_TIMER(), Set_TPDO3_INHIBIT_TIME(), Set_TPDO3_PARAMETER(), Set_TPDO3_TRANSMISSION_TYPE(), Set_TPDO4_COB_ID(), Set_TPDO4_COMPATIBILITY_ENTRY(), Set_TPDO4_DATA(), Set_TPDO4_EVENT_TIMER(), Set_TPDO4_INHIBIT_TIME(), Set_TPDO4_PARAMETER(), Set_TPDO4_TRANSMISSION_TYPE(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
Master satae.
Referenced by TProtocol_CANopen_Slave_Over_CAN().
|
private |
SDO buffers.
Referenced by Communication_Block_Data_Receive(), SDO_Process(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
guard time
Referenced by Get_GUARD_TIME(), and Set_GUARD_TIME().
|
private |
Heartbeat interval counter.
Referenced by Execute_1ms(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
inhibit time EMCY
Referenced by Get_INHIBIT_TIME_EMCY(), and Set_INHIBIT_TIME_EMCY().
|
private |
producer heartbeat time
Referenced by Get_PRODUCER_HEARTBEAT_TIME(), and Set_PRODUCER_HEARTBEAT_TIME().
|
private |
TPDO1 event timer.
Referenced by Get_TPDO1_EVENT_TIMER(), and Set_TPDO1_EVENT_TIMER().
|
private |
TPDO1 inhibit time.
Referenced by Get_TPDO1_INHIBIT_TIME(), and Set_TPDO1_INHIBIT_TIME().
|
private |
TPDO1 interval counter.
Referenced by Execute_1ms().
|
private |
TPDO2 event timer.
Referenced by Get_TPDO2_EVENT_TIMER(), and Set_TPDO2_EVENT_TIMER().
|
private |
TPDO2 inhibit time.
Referenced by Get_TPDO2_INHIBIT_TIME(), and Set_TPDO2_INHIBIT_TIME().
|
private |
TPDO2 interval counter.
Referenced by Execute_1ms().
|
private |
TPDO3 event timer.
Referenced by Get_TPDO3_EVENT_TIMER(), and Set_TPDO3_EVENT_TIMER().
|
private |
TPDO3 inhibit time.
Referenced by Get_TPDO3_INHIBIT_TIME(), and Set_TPDO3_INHIBIT_TIME().
|
private |
TPDO3 interval counter.
Referenced by Execute_1ms().
|
private |
TPDO4 event timer.
Referenced by Get_TPDO4_EVENT_TIMER(), and Set_TPDO4_EVENT_TIMER().
|
private |
TPDO4 inhibit time.
Referenced by Get_TPDO4_INHIBIT_TIME(), and Set_TPDO4_INHIBIT_TIME().
|
private |
TPDO4 interval counter.
Referenced by Execute_1ms().
|
private |
COB ID EMCY.
Referenced by Get_COB_ID_EMCY(), and Set_COB_ID_EMCY().
|
private |
COB ID SYNC.
Referenced by Get_COB_ID_SYNC(), and Set_COB_ID_SYNC().
|
private |
consumer heartbeat time
Referenced by Get_CONSUMER_HEARTBEAT_TIME(), and Set_CONSUMER_HEARTBEAT_TIME().
|
private |
RPDO1 COB ID.
Referenced by Get_RPDO1_COB_ID(), and Set_RPDO1_COB_ID().
|
private |
RPDO1 parameter.
Referenced by Get_RPDO1_PARAMETER(), and Set_RPDO1_PARAMETER().
|
private |
RPDO2 COB ID.
Referenced by Get_RPDO2_COB_ID(), and Set_RPDO2_COB_ID().
|
private |
RPDO2 parameter.
Referenced by Get_RPDO2_PARAMETER(), and Set_RPDO2_PARAMETER().
|
private |
RPDO3 COB ID.
Referenced by Get_RPDO3_COB_ID(), and Set_RPDO3_COB_ID().
|
private |
RPDO3 parameter.
Referenced by Get_RPDO3_PARAMETER(), and Set_RPDO3_PARAMETER().
|
private |
RPDO4 COB ID.
Referenced by Get_RPDO4_COB_ID(), and Set_RPDO4_COB_ID().
|
private |
RPDO3 parameter.
Referenced by Get_RPDO4_PARAMETER(), and Set_RPDO4_PARAMETER().
|
private |
SDO1 server COB ID client server TX.
Referenced by Get_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX(), and Set_SDO1_CLIENT_COB_ID_SERVER_CLIENT_TX().
|
private |
SDO1 server COB ID client server RX.
Referenced by Get_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX(), and Set_SDO1_SERVER_COB_ID_CLIENT_SERVER_RX().
|
private |
SDO1 server parameter.
Referenced by Get_SDO1_SERVER_PARAMETER(), and Set_SDO1_SERVER_PARAMETER().
|
private |
TPDO1 COB ID.
Referenced by Get_TPDO1_COB_ID(), and Set_TPDO1_COB_ID().
|
private |
TPDO1 parameter.
Referenced by Get_TPDO1_PARAMETER(), and Set_TPDO1_PARAMETER().
|
private |
TPDO2 COB ID.
Referenced by Get_TPDO2_COB_ID(), and Set_TPDO2_COB_ID().
|
private |
TPDO2 parameter.
Referenced by Get_TPDO2_PARAMETER(), and Set_TPDO2_PARAMETER().
|
private |
TPDO3 COB ID.
Referenced by Get_TPDO3_COB_ID(), and Set_TPDO3_COB_ID().
|
private |
TPDO3 parameter.
Referenced by Get_TPDO3_PARAMETER(), and Set_TPDO3_PARAMETER().
|
private |
TPDO4 COB ID.
Referenced by Get_TPDO4_COB_ID(), and Set_TPDO4_COB_ID().
|
private |
TPDO4 parameter.
Referenced by Get_TPDO4_PARAMETER(), and Set_TPDO4_PARAMETER().
|
private |
Master Heartbeat time counter.
Referenced by Communication_Block_Data_Receive(), and Execute_1ms().
|
private |
rxPDO1 frame
Referenced by Communication_Block_Data_Receive(), Get_RPDO1_DATA(), Set_RPDO1_DATA(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
rxPDO2 frame
Referenced by Communication_Block_Data_Receive(), Get_RPDO2_DATA(), Set_RPDO2_DATA(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
rxPDO3 frame
Referenced by Communication_Block_Data_Receive(), Get_RPDO3_DATA(), Set_RPDO3_DATA(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
rxPDO4 frame
Referenced by Communication_Block_Data_Receive(), Get_RPDO4_DATA(), Set_RPDO4_DATA(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
txPDO1 frame
Referenced by Communication_Block_Data_Receive(), Execute_1ms(), Get_TPDO1_DATA(), Set_TPDO1_DATA(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
txPDO2 frame
Referenced by Execute_1ms(), Get_TPDO2_DATA(), Set_TPDO2_DATA(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
txPDO3 frame
Referenced by Execute_1ms(), Get_TPDO3_DATA(), Set_TPDO3_DATA(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
txPDO4 frame
Referenced by Execute_1ms(), Get_TPDO4_DATA(), Set_TPDO4_DATA(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
RX PDO1 buffered data.
Referenced by TProtocol_CANopen_Slave_Over_CAN().
|
private |
RX PDO2 buffered data.
Referenced by TProtocol_CANopen_Slave_Over_CAN().
|
private |
RX PDO3 buffered data.
Referenced by TProtocol_CANopen_Slave_Over_CAN().
|
private |
RX PDO4 buffered data.
Referenced by TProtocol_CANopen_Slave_Over_CAN().
|
private |
life time factor
Referenced by Get_LIFE_TIME_FACTOR(), and Set_LIFE_TIME_FACTOR().
|
private |
Master node ID.
Referenced by Communication_Block_Data_Receive(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
Node ID.
Referenced by Communication_Block_Data_Receive(), Get_NODE_ID(), Heartbeat_Transmit(), PDO_Transmit(), Send_SDO_Data_BOOL(), Send_SDO_Data_F32(), Send_SDO_Data_I16(), Send_SDO_Data_I32(), Send_SDO_Data_I8(), Send_SDO_Data_U16(), Send_SDO_Data_U32(), Send_SDO_Data_U8(), Send_SDO_Error(), Send_SDO_Write_Success(), Set_NODE_ID(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
Current buffer index.
Referenced by Communication_Block_Data_Receive(), and TProtocol_CANopen_Slave_Over_CAN().
|
private |
TPDO1 compatibility entry;.
Referenced by Get_TPDO1_COMPATIBILITY_ENTRY(), and Set_TPDO1_COMPATIBILITY_ENTRY().
|
private |
TPDO1 transmission type.
Referenced by Get_TPDO1_TRANSMISSION_TYPE(), and Set_TPDO1_TRANSMISSION_TYPE().
|
private |
TPDO2 compatibility entry;.
Referenced by Get_TPDO2_COMPATIBILITY_ENTRY(), and Set_TPDO2_COMPATIBILITY_ENTRY().
|
private |
TPDO2 transmission type.
Referenced by Get_TPDO2_TRANSMISSION_TYPE(), and Set_TPDO2_TRANSMISSION_TYPE().
|
private |
TPDO3 compatibility entry;.
Referenced by Get_TPDO3_COMPATIBILITY_ENTRY(), and Set_TPDO3_COMPATIBILITY_ENTRY().
|
private |
TPDO3 transmission type.
Referenced by Get_TPDO3_TRANSMISSION_TYPE(), and Set_TPDO3_TRANSMISSION_TYPE().
|
private |
TPDO4 compatibility entry;.
Referenced by Get_TPDO4_COMPATIBILITY_ENTRY(), and Set_TPDO4_COMPATIBILITY_ENTRY().
|
private |
TPDO4 transmission type.
Referenced by Get_TPDO4_TRANSMISSION_TYPE(), and Set_TPDO4_TRANSMISSION_TYPE().