DecodeHeartbeatConsumerSettings (FUN) ¶ FUNCTION DecodeHeartbeatConsumerSettings Helps to decode the content of a Heartbeat Consumer Object (Object 16#1016sub1-254). If uiHeartbeatTime > 0 AND byNodeID <> 0 ==> Heartbeat consuming enabled InOut: Scope Name Type Comment Input dwValue DWORD value of object 16#1016sub1-254 Output uiHeartbeatTime UINT Heartbeat Consumer Time byNodeID BYTE NodeID of the CANopen device which should be monitored
EncodeHeartbeatConsumerSettings (FUN) ¶ FUNCTION EncodeHeartbeatConsumerSettings Helps to encode the content of a Heartbeat Consumer Object (Object 16#1016sub1-254). If uiHeartbeatTime > 0 AND byNodeID <> 0 ==> Heartbeat consuming enabled InOut: Scope Name Type Comment Input uiHeartbeatTime UINT Heartbeat Consumer Time byNodeID BYTE NodeID of the CANopen device which should be monitored Output dwValue DWORD value of object 16#1016sub1-254
PDO ¶ DecodePDOCOBID (Function) DecodePDOMappingEntry (Function) EncodePDOCOBID (Function) EncodePDOMappingEntry (Function)
DecodePDOCOBID (FUN) ¶ FUNCTION DecodePDOCOBID Helps to decode the content of a PDO COBID Object (Object 16#1400-16#15FFsub1 or 16#1800-16#19FFsub1). InOut: Scope Name Type Comment Input dwValue DWORD value of PDO COBID object Output xEnabled BOOL true : PDO enabled; false : PDO disabled xExtendedID BOOL true : 29bit COBID, false : 11bit COBID xRTR BOOL true : RTR enabled; false : RTR disabled dwCOBID DWORD PDO COBID
DecodePDOMappingEntry (FUN) ¶ FUNCTION DecodePDOMappingEntry Helps to decode the content of a PDO Mapping Object (Object 16#1600-16#17FF or 16#1A00-16#1BFF). InOut: Scope Name Type Comment Input dwValue DWORD value of PDO Mapping object Output wIndex WORD Object index of mapped object bySubIndex BYTE SubIndex of mapped object byLength BYTE Bit length of mapped object
EncodePDOCOBID (FUN) ¶ FUNCTION EncodePDOCOBID Helps to encode the content of a PDO COBID Object (Object 16#1400-16#15FFsub1 or 16#1800-16#19FFsub1). InOut: Scope Name Type Comment Input xEnabled BOOL true : PDO enabled; false : PDO disabled xExtendedID BOOL true : 29bit COBID, false : 11bit COBID xRTR BOOL true : RTR enabled; false : RTR disabled dwCOBID DWORD PDO COBID Output dwValue DWORD value of PDO COBID object
EncodePDOMappingEntry (FUN) ¶ FUNCTION EncodePDOMappingEntry Helps to encode the content of a PDO Mapping Object (Object 16#1600-16#17FF or 16#1A00-16#1BFF). InOut: Scope Name Type Comment Input wIndex WORD Object index of mapped object bySubIndex BYTE SubIndex of mapped object byLength BYTE Bit length of mapped object Output dwValue DWORD value of PDO Mapping object
SYNC ¶ DecodeSyncCOBID (Function) EncodeSyncCOBID (Function)
DecodeSyncCOBID (FUN) ¶ FUNCTION DecodeSyncCOBID Helps to decode the content of the SYNC COBID Object (Object 16#1005). InOut: Scope Name Type Comment Input dwValue DWORD value of SYNC COBID object Output xSyncProducer BOOL true : device is Sync Producer; false : device is Sync Consumer xExtendedID BOOL true : 29bit SYNC COBID; false : 11bit SYNC COBID dwCOBID DWORD SYNC COBID
EncodeSyncCOBID (FUN) ¶ FUNCTION EncodeSyncCOBID Helps to encode the content of the SYNC COBID Object (Object 16#1005). InOut: Scope Name Type Comment Input xSyncProducer BOOL true : device is Sync Producer; false : device is Sync Consumer xExtendedID BOOL true : 29bit SYNC COBID; false : 11bit SYNC COBID dwCOBID DWORD SYNC COBID Output dwValue DWORD value of SYNC COBID object