ICanOpenStack.SdoAbort (METH) ¶ METHOD SdoAbort : PROC_STATE Abort all actual running actions of SDO’s InOut: Scope Name Type Return SdoAbort PROC_STATE Input eCmd PROC_CMD pParam POINTER TO SDO_ABORT Output eError ERROR
ICanOpenStack.SdoRead (METH) ¶ METHOD SdoRead : PROC_STATE The SDO upload protocol InOut: Scope Name Type Return SdoRead PROC_STATE Input eCmd PROC_CMD pParam POINTER TO SDO_READ Output eError ERROR
ICanOpenStack.SdoWrite (METH) ¶ METHOD SdoWrite : PROC_STATE The SDO download protocol InOut: Scope Name Type Return SdoWrite PROC_STATE Input eCmd PROC_CMD pParam POINTER TO SDO_WRITE Output eError ERROR
ICanOpenStack.StkClose (METH) ¶ METHOD StkClose : PROC_STATE Dispose all resources of the CANopen Stack InOut: Scope Name Type Return StkClose PROC_STATE Input eCmd PROC_CMD Output eError ERROR
ICanOpenStack.StkGetInfo (METH) ¶ METHOD StkGetInfo : PROC_STATE Present the results and states of a CANopen Stack handle InOut: Scope Name Type Return StkGetInfo PROC_STATE Input eCmd PROC_CMD pStkInfo POINTER TO STK_INFO pNetInfo POINTER TO NET_INFO Output eError ERROR
ICanOpenStack.StkOpen (METH) ¶ METHOD StkOpen : PROC_STATE InOut: Scope Name Type Comment Return StkOpen PROC_STATE Input eCmd PROC_CMD usiNetId USINT local NetId usiNodeId USINT local NodeId uiBaudrate UINT eSpec STK_SPEC Output eError ERROR
CAA CiA 405 Library Documentation ¶ Company CAA Technical Workgroup Title CAA CiA 405 Version 3.5.15.0 Categories Intern|CAA|Fieldbus; Docs|Fieldbus|CAN Namespace CIA405 Author 3S - Smart Software Solutions GmbH Placeholder CAA CiA405 Description 1 ¶ This library represents the standardised CANopen Interface for IEC 61131-3 programmable devices like PLC’s Contents: ¶ CAA CiA 405 Enums Function Blocks Types Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) Structs EMCY_ERROR (Struct) Indices and tables ¶ 1 Based on CAA_CiA405.library, last modified 24.07.2019, 08:28:53. LibDoc 4.4.0.0-b.27 The content file CAA_CiA405.clean.json was generated with CODESYS V3.5 SP15 on 24.07.2019, 08:29:03.
CAA CiA 405 ¶ Enums CANOPEN_KERNEL_ERROR (Enum) DEVICE_STATE (Enum) SDO_MODE (Enum) TRANSITION_STATE (Enum) Function Blocks Network management NMT (FunctionBlock) RECV_EMCY (FunctionBlock) RECV_EMCY_DEV (FunctionBlock) Own node id GET_LOCAL_NODE_ID (FunctionBlock) Query state GET_CANOPEN_KERNEL_STATE (FunctionBlock) GET_STATE (FunctionBlock) SDO access SDO_READ4 (FunctionBlock) SDO_READ_DATA (FunctionBlock) SDO_WRITE4 (FunctionBlock) SDO_WRITE_DATA (FunctionBlock) obsolete (only for compatibility) SDO_READ (FunctionBlock) SDO_WRITE (FunctionBlock) Types DEVICE (Alias) SDO_ERROR (Alias)
Enums ¶ CANOPEN_KERNEL_ERROR (Enum) DEVICE_STATE (Enum) SDO_MODE (Enum) TRANSITION_STATE (Enum)
CANOPEN_KERNEL_ERROR (ENUM) ¶ TYPE CANOPEN_KERNEL_ERROR : Error codes for output ERROR of CiA405 function blocks and return value for GET_CANOPEN_KERNEL_STATE . Attributes: qualified_only InOut: Name Initial Comment CANOPEN_KERNEL_NO_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_NO_ERROR) There is no error. CANOPEN_KERNEL_OTHER_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_OTHER_ERROR) More information is provided by output ERRORINFO . CANOPEN_KERNEL_DATA_OVERFLOW ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_DATA_OVERFLOW) Lost counter or Tx/Rx error counter is above 0. CANOPEN_KERNEL_TIMEOUT ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_TIMEOUT) A timeout occurred. CANOPEN_KERNEL_CANBUS_OFF ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_CANBUS_OFF) CAN Bus is in BUSOFF or busalarm state. CANOPEN_KERNEL_CAN_ERROR_PASSIVE ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_CAN_ERROR_PASSIVE) CAN Bus is in Error Passive state. CANOPEN_INTERNAL_FB_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_INTERNAL_FB_ERROR) internal error CANOPEN_NO_MORE_MEMORY ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_NO_MORE_MEMORY) There is not enough memory. CANOPEN_WRONG_PARAMETER ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_WRONG_PARAMETER) Wrong parameter passed to the function. CANOPEN_NODEID_UNKNOWN ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_NODEID_UNKNOWN) Unknown NodeID. CANOPEN_NETID_UNKNOWN ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_NETID_UNKNOWN) Unknown CAN Network ID (not part of I/O config). CANOPEN_REQUEST_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_REQUEST_ERROR) A request error happened. CANOPEN_SDOCHANNEL_UNKNOWN ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_SDOCHANNEL_UNKNOWN) Unknown SDO channel. CANOPEN_NO_DRIVER ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_NO_DRIVER) CAN Driver not found. CANOPEN_CONFIGURATION_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_CONFIGURATION_ERROR) At least one SDO abort in configuration phase of a slave. CANOPEN_GUARDING_ERROR ANYNUM_TO_WORD(CS.CANOPEN_KERNEL_ERROR.CANOPEN_GUARDING_ERROR) A guarding error (Heartbeat or Nodeguarding) occured.