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)
CANopenDevice.NodeID (PROP) ¶ PROPERTY NodeID : NODEID Returns the current NodeID. Range: 1..127
CANopenDevice.PowerDown (METH) ¶ METHOD PowerDown : BOOL Deactivates the CANopenDevice. This state transition is possible in all states. The device can be activated again by calling CANopenDevice.PowerUp . Note PowerDown and CANopenDevice.PowerUp can result in higher bus cycle times because ObjectDictionary must be reintialized. InOut: Scope Name Type Comment Return PowerDown BOOL TRUE if state transition was possible