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.
DEVICE_STATE (ENUM) ¶ TYPE DEVICE_STATE : Describes the state of the CANopen network layer, as defined in /DS-301/. The states INIT , RESET_COMM , RESET_APP , PRE_OPERATIONAL , STOPPED , OPERATIONAL correspond to the same states in /DS-301/. The state UNKNOWN is used, if the actual state of the device is not known (for example, if no guarding is performed). The state NOT_AVAIL is used, if it is known, that the device is not available (for example, if guarding is performed and the device does not answer). Attributes: qualified_only InOut: Name INIT RESET_COMM RESET_APP PRE_OPERATIONAL STOPPED OPERATIONAL UNKNOWN NOT_AVAIL
Enums ¶ BUS_STATE (Enum) BUS_TYPE (Enum) DEVICE_STATE (Enum) DEVICE_TRANSITION_STATE (Enum) DEVICE_TYPE (Enum) ERROR (Enum) LOGGER_MODE (Enum) PROC_CMD (Enum) PROC_STATE (Enum)