Function Blocks ¶ Bus GetBusError (FunctionBlock) Device GetDeviceError (FunctionBlock) GetSpecificDeviceError (FunctionBlock) Reconfigure Reconfigure (FunctionBlock) Stack GetBusScan (FunctionBlock) Utility GetIDeviceInstByIoAddr (FunctionBlock)
Bus ¶ Function blocks working on IBus nodes. GetBusError (FunctionBlock)
GetBusError (FB) ¶ FUNCTION_BLOCK GetBusError EXTENDS CBM.ETrigA If IBus.GetBusState returns BUS_STATE.ERROR this function block returns the associated bus error code. The error codes are fieldbus specific and will be defined by the associated communication stack. Note This feature may not be supported by all fieldbus drivers. eError will return ERROR.NOT_SUPPORTED if not supported. InOut: Scope Name Type Comment Input itfNode INode bus node Output eError ERROR operation error code einBusError ERROR_INFO bus error code
Device ¶ Function blocks working on IDevice nodes. GetDeviceError (FunctionBlock) GetSpecificDeviceError (FunctionBlock)
GetDeviceError (FB) ¶ FUNCTION_BLOCK GetDeviceError EXTENDS CBM.ETrigA If IDevice.GetDeviceState returns DEVICE_STATE.ERROR this function block returns the associated device error code. The error codes are fieldbus specific and will be defined by the associated communication stack. Note This feature may not be supported by all fieldbus drivers. eError will return ERROR.NOT_SUPPORTED if not supported. InOut: Scope Name Type Comment Input itfNode INode device node Output eError ERROR operation error code einDeviceError ERROR_INFO device error code
CAA CanOpen Stack Library Documentation ¶ Company CAA Technical Workgroup Title CAA CanOpen Stack Version 3.5.10.0 Categories Intern|CAA|Fieldbus Namespace CS Author 3S - Smart Software Solutions GmbH Placeholder CAA CANopen Stack Description 1 ¶ Generic CANopen Stack Interface Contents: ¶ CAA CANopen Stack Enums GlobalConstants Interfaces Structs GetSupplierVersion (Function) VersionConstants (GVL) Indices and tables ¶ 1 Based on CAA_CanOpenStack.library, last modified 01.01.1601, 00:53:00. LibDoc 4.4.0.0-b.27 The content file CAA_CanOpenStack.clean.json was generated with CODESYS V3.5 SP10 Patch 2 on 17.05.2017, 14:27:33.
CAA CANopen Stack ¶ Enums BUSSTATE (Enum) CANOPEN_KERNEL_ERROR (Enum) DEVICE_STATE (Enum) ERROR (Enum) PROC_CMD (Enum) PROC_STATE (Enum) SDO_MODE (Enum) STK_NODES (Enum) STK_SPEC (Enum) STK_STATE (Enum) GlobalConstants ObjectDictionary (GVL) Interfaces ICanOpenStack (Interface) SDO-Handling SdoAbort (Method) SdoRead (Method) SdoWrite (Method) Stack-Handling StkClose (Method) StkGetInfo (Method) StkOpen (Method) Structs EMCY_DATA (Struct) EMCY_ERROR (Struct) NET_INFO (Struct) SDO_ABORT (Struct) SDO_READ (Struct) SDO_WRITE (Struct) STK_INFO (Struct)
Enums ¶ BUSSTATE (Enum) CANOPEN_KERNEL_ERROR (Enum) DEVICE_STATE (Enum) ERROR (Enum) PROC_CMD (Enum) PROC_STATE (Enum) SDO_MODE (Enum) STK_NODES (Enum) STK_SPEC (Enum) STK_STATE (Enum)
BUSSTATE (ENUM) ¶ TYPE BUSSTATE : imported from CAA_CanL2 Attributes: qualified_only InOut: Name UNKNOWN ERR_FREE ACTIVE WARNING PASSIVE BUSOFF
CANOPEN_KERNEL_ERROR (ENUM) ¶ TYPE CANOPEN_KERNEL_ERROR : Error codes for output ERROR of CiA405 function blocks Attributes: qualified_only InOut: Name Initial Comment CANOPEN_KERNEL_NO_ERROR 16#0 CANOPEN_KERNEL_OTHER_ERROR 16#1 CANOPEN_KERNEL_DATA_OVERFLOW 16#2 CANOPEN_KERNEL_TIMEOUT 16#3 16#0004 to 16#000F is reserved for further SDO errors CANOPEN_KERNEL_CANBUS_OFF 16#10 CANOPEN_KERNEL_CAN_ERROR_PASSIVE 16#11 16#0012 to 16#001F is reserved for further internal Kernel errors, 16#0021 to 16#00FF is Manufacturer specific CANOPEN_INTERNAL_FB_ERROR 16#21 CANOPEN_NO_MORE_MEMORY 16#22 CANOPEN_WRONG_PARAMETER 16#23 CANOPEN_NODEID_UNKNOWN 16#24 CANOPEN_NETID_UNKNOWN 16#25 CANOPEN_REQUEST_ERROR 16#26 CANOPEN_SDOCHANNEL_UNKNOWN 16#27 CANOPEN_NO_DRIVER 16#28 CANOPEN_CONFIGURATION_ERROR 16#29 CANOPEN_GUARDING_ERROR 16#2A 16#0100 to 16#FFFF is reserved by CiA.