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
CANopenDevice (FB) ¶ FUNCTION_BLOCK CANopenDevice EXTENDS IoDrvBase IMPLEMENTS ICmpIoDrvParameter, IODCallback Implements the CANopen Slave stack. Note This function block is not intended for being instantiated by applications. Instances will be created implicitly. Properties: ObjectDictionary NodeID State Methods: AddLogMessage PowerDown PowerUp Reset ResetCommunication SetNodeID SwitchToOp SwitchToPreop SwitchToStopped Structure: Diagnostics AddLogMessage (Method) NMT API NodeID (Property) PowerDown (Method) PowerUp (Method) Reset (Method) ResetCommunication (Method) SetNodeID (Method) State (Property) SwitchToOp (Method) SwitchToPreop (Method) SwitchToStopped (Method) ObjectDictionary (Property)
Diagnostics ¶ AddLogMessage (Method)
CANopenDevice.AddLogMessage (METH) ¶ METHOD PUBLIC AddLogMessage InOut: Scope Name Type Input eLogID LOGSTRING_ID pContext POINTER TO BYTE
NMT ¶ API NodeID (Property) PowerDown (Method) PowerUp (Method) Reset (Method) ResetCommunication (Method) SetNodeID (Method) State (Property) SwitchToOp (Method) SwitchToPreop (Method) SwitchToStopped (Method)
API ¶ NodeID (Property) PowerDown (Method) PowerUp (Method) Reset (Method) ResetCommunication (Method) SetNodeID (Method) State (Property) SwitchToOp (Method) SwitchToPreop (Method) SwitchToStopped (Method)