PROC_CMD (ENUM) ¶ TYPE PROC_CMD : This enumeration is used when working with asynchronous methods. The current state is issued with the data structure PROC_STATE Attributes: qualified_only InOut: Name Initial Comment NONE 0 Operation is not started and stays in IDLE mode. The operation is returned to its initial state. EXECUTE Operation is started upon a rising edge and executed as long as the input remains on EXECUTE. The operation is done as soon as the output is assigned the value PROC_STATE.DONE . ABORT Operation is aborted. The abort is done if the state is assigned the value PROC_STATE.ABORTED .
PROC_STATE (ENUM) ¶ TYPE PROC_STATE : This enumeration is used to issue the current operation state of asynchronous methods. Attributes: qualified_only InOut: Name Initial Comment DORMAND 0 The operation is in IDLE state. BUSY The operation is busy. DONE The operation is done. ABORTED The operation has been aborted. ERROR An error occured.
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)