ERROR (ENUM) ¶ TYPE ERROR : Attributes: qualified_only InOut: Name Initial NO_ERROR 0 FIRST_ERROR 10300 TIME_OUT 10301 NO_MORE_MEMORY 10302 INVALID_HANDLE 10303 WRONG_PARAMETER 10304 NODEID_UNKNOWN 10305 NETID_UNKNOWN 10306 NETID_OCCUPIED 10307 FIRST_MF 10349 LAST_ERROR 10399
Properties ¶ GetProperty (Function)
GetProperty (FUN) ¶ FUNCTION GetProperty : UDINT InOut: Scope Name Type Return GetProperty UDINT Input uiProperty UINT
SdoAbort (FUN) ¶ FUNCTION SdoAbort : CS.PROC_STATE Abort all actual running actions of SDO’s InOut: Scope Name Type Input eCmd CS.PROC_CMD usiNetId USINT pParam POINTER TO CS.SDO_ABORT Return SdoAbort CS.PROC_STATE Output eError CS.ERROR
SdoRead (FUN) ¶ FUNCTION SdoRead : CS.PROC_STATE The SDO upload protocol InOut: Scope Name Type Input eCmd CS.PROC_CMD usiNetId USINT pParam POINTER TO CS.SDO_READ Return SdoRead CS.PROC_STATE Output eError CS.ERROR
SdoWrite (FUN) ¶ FUNCTION SdoWrite : CS.PROC_STATE The SDO download protocol InOut: Scope Name Type Input eCmd CS.PROC_CMD usiNetId USINT pParam POINTER TO CS.SDO_WRITE Return SdoWrite CS.PROC_STATE Output eError CS.ERROR
Services for CANopen Stack ¶ StkRegister (Function) StkUnregister (Function)
StkRegister (FUN) ¶ FUNCTION StkRegister : CAA.HANDLE first call of a CANopen Stack to initialize all resources InOut: Scope Name Type Comment Input usiNetId USINT number of CAN channel [0..255] IStack CS.ICanOpenStack Return StkRegister CAA.HANDLE Output eError ERROR
StkUnregister (FUN) ¶ FUNCTION StkUnregister : ERROR last call of a can mini driver for disposing all resources InOut: Scope Name Type Return StkUnregister ERROR Input hStack CAA.HANDLE
StkClose (FUN) ¶ FUNCTION StkClose : CS.PROC_STATE InOut: Scope Name Type Input eCmd CS.PROC_CMD usiNetId USINT Return StkClose CS.PROC_STATE Output eError CS.ERROR