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.
DEVICE_STATE (ENUM) ¶ TYPE DEVICE_STATE : imported from CAA_CiA405 Attributes: qualified_only InOut: Name INIT RESET_COMM RESET_APP PRE_OPERATIONAL STOPPED OPERATIONAL UNKNOWN NOT_AVAIL
ERROR (ENUM) ¶ TYPE ERROR : Attributes: qualified_only InOut: Name Initial NO_ERROR 0 FIRST_ERROR 10400 TIME_OUT 10401 NOT_OPEN 10404 ALREADY_OPEN 10405 ALREADY_CLOSE 10406 REQUEST_ERROR 10407 WRONG_PARAMETER 10408 NODEID_UNKNOWN 10409 SDOCHANNEL_UNKNOWN 10410 INTERNAL_ERROR 10411 NOT_ENOUGH_MEMORY 10412 ABORT_BY_SERVER 10413 INVALID_SEQUENCE_NUMBER 10414 INVALID_BLOCKSIZE 10415 CRC_ERROR 10416 FIRST_MF 10450 LAST_ERROR 10499
PROC_CMD (ENUM) ¶ TYPE PROC_CMD : Attributes: qualified_only InOut: Name NONE EXECUTE ABORT