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
StkGetInfo (FUN) ¶ FUNCTION StkGetInfo : CS.PROC_STATE InOut: Scope Name Type Input eCmd CS.PROC_CMD usiNetId USINT pStkInfo POINTER TO CS.STK_INFO pNetInfo POINTER TO CS.NET_INFO Return StkGetInfo CS.PROC_STATE Output eError CS.ERROR
StkOpen (FUN) ¶ FUNCTION StkOpen : CS.PROC_STATE InOut: Scope Name Type Comment Input eCmd CS.PROC_CMD usiNetId USINT local NetId usiNodeId USINT local NodeId uiBaudrate UINT eSpec CS.STK_SPEC Return StkOpen CS.PROC_STATE Output eError CS.ERROR
Global Variables ¶ CANopenManagerVariables (GVL) PropertyConstants (GVL)
CANopenManagerVariables (GVL) ¶ InOut: Scope Name Type Initial Comment Constant gc_usiMaxNetId USINT 9 m_IStack ARRAY [0..gc_usiMaxNetId] OF CS.ICanOpenStack The CANopen Stack of Network x