IEC61850_ENUM_DA_WEIMOD (ENUM) ¶ TYPE IEC61850_ENUM_DA_WEIMOD : InOut: Name Initial IEC61850_ENUM_DA_WEIMOD_OFF 1 IEC61850_ENUM_DA_WEIMOD_OPERATE 2 IEC61850_ENUM_DA_WEIMOD_ECHO 3 IEC61850_ENUM_DA_WEIMOD_ECHO_AND_OPERATE 4
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return IsLibReleased BOOL
Structs ¶ EMCY_ERROR (Struct)
EMCY_ERROR (STRUCT) ¶ TYPE EMCY_ERROR : STRUCT Contains emergency error information, as specified in CiA 301. InOut: Name Type EMCY_ERROR_CODE WORD ERROR_REGISTER BYTE ERROR_FIELD ARRAY [1..5] OF BYTE
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 24.07.2019, 08:29:03 companyName string 3S-Smart Software Solutions GmbH libraryFile CAA_CiA405.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP15 contentFile CAA_CiA405.clean.json version version 2.0.0.0 ProjectInformation Depends on PS bool False Depends on RTS False OnlineHelp True Released True SIL2 False ShowSmartCodingInfo True LastModificationDateTime date 24.07.2019, 08:28:53 LibraryCategories library-category-list Intern|CAA|Fieldbus; Docs|Fieldbus|CAN Author string 3S - Smart Software Solutions GmbH Company CAA Technical Workgroup DefaultNamespace CIA405 Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder CAA CiA405 Project CAA_CiA405 Title CAA CiA 405 SpecVersion version 3.0.0.0 Version 3.5.15.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA CANopen Manager ¶ Library Identification ¶ Placeholder: CAA CANopen Manager Default Resolution: CAA CANopen Manager, * (CAA Technical Workgroup) Namespace: CO Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA CANopen Manager CAA CanOpen Stack ¶ Library Identification ¶ Placeholder: CAA CANopen Stack Default Resolution: CAA CanOpen Stack, * (CAA Technical Workgroup) Namespace: CS Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA CANopen Stack CAA Tick Extern ¶ Library Identification ¶ Placeholder: CAA Tick Default Resolution: CAA Tick Extern, * (CAA Technical Workgroup) Namespace: TICKS Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Tick CAA TickUtil Extern ¶ Library Identification ¶ Placeholder: CAA TickUtil Default Resolution: CAA TickUtil Extern, * (CAA Technical Workgroup) Namespace: TICKU Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA TickUtil CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types CmpLog ¶ Library Identification ¶ Placeholder: CmpLog Default Resolution: CmpLog, * (System) Namespace: CmpLog Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpLog Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard
SDO_READ (FB) ¶ FUNCTION_BLOCK SDO_READ EXTENDS CiA405Base This function block is obsolete. It supports only data up to 64kb and no block transfer. Use new functionblock SDO_READ_DATA instead! This function block is used for reading a specific object from object dictionary of a DEVICE . If object can be read without error CONFIRM becomes TRUE and DATA contains read data in Little Endian byte order. If an error occurs ERROR becomes unequal 0. In case of a SDO abort ERROR is set to CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_OTHER_ERROR and ERRORINFO contains the associated abort code (in Little endian) as defined by CiA 301. InOut: Scope Name Type Initial Comment Inherited from Input NETWORK USINT 1 CAN network number the function block should operate on. Note: It is not the same like the network number in CANBus configurator. The CiA405 NETWORK is calculated by NetID + 1. Example: 1 = CAN0, 2 = CAN1, 3 = CAN2, … CiA405Base ENABLE BOOL FALSE Enables the function block on rising edge. Aborts operation on falling edge. CiA405Base TIMEOUT UDINT 0 Timeout in ms; 0 means no timeout CiA405Base Output CONFIRM BOOL FALSE TRUE : function block finished without error CiA405Base ERROR CANOPEN_KERNEL_ERROR CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_NO_ERROR Error code: see CANOPEN_KERNEL_ERROR for further details CiA405Base Input DEVICE DEVICE NodeID of destination device; 0 means local device (= CANopenManager) CHANNEL USINT 1 SDO channel: 0: use any free channel; 1..n: specific channel INDEX WORD Index of object SUBINDEX BYTE SubIndex of object DATA POINTER TO BYTE Pointer to memory the data should be written to. Data is written in CANopen Byte Order (= Little Endian). Inout DATALENGTH UINT VAR_IN: Size of memory DATA is pointing to. VAR_OUT: Amount of data written to DATA Output ERRORINFO SDO_ERROR contains abort code in little endian in case of ERROR is CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_OTHER_ERROR