CAADiagTreeBase (FB) ¶ FUNCTION_BLOCK CAADiagTreeBase IMPLEMENTS INode Default implementation of INode interface for CAADiagDeviceDefault function block Properties: ChildNodeCount Enable FirstChildNode IsRootNode NextSiblingNode ParentNode SiblingNodeCount Structure: INode ChildNodeCount (Property) Enable (Property) FirstChildNode (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
CAAReconfigureBase (FB) ¶ FUNCTION_BLOCK CAAReconfigureBase IMPLEMENTS IReconfigureProvider This function block provides a base implementation for IReconfigureProvider . It is important to call CAAReconfigureBase.Initialize_Diag once before using this function block. I/O driver nodes just delegate all IReconfigureProvider methods and properties to this function block. There is no additional code necessary. For other nodes a specific implementation is necessary. For this CAAReconfigureBase.BeginReconfigure , CAAReconfigureBase.ReconfigureChildrenAsync and CAAReconfigureBase.EndReconfigure can be used. Properties: ReconfigureActive SiblingIRP Methods: BeginReconfigure EndReconfigure Initialize_Diag ReconfigureAsync ReconfigureChildrenAsync ReconfigureIoDriverAsync RegisterIRPChild Structure: BeginReconfigure (Method) EndReconfigure (Method) IReconfigureProvider ReconfigureActive (Property) ReconfigureAsync (Method) RegisterIRPChild (Method) SiblingIRP (Property) Initialize_Diag (Method) Reconfigure-Implementations ReconfigureChildrenAsync (Method) ReconfigureIoDriverAsync (Method)
Structs ¶ BUS_INFO (Struct) DEVICE_INFO (Struct) ERROR_INFO (Struct) LOG_ENTRY (Struct) QOS_INFO (Struct)
BUS_INFO (STRUCT) ¶ TYPE BUS_INFO : STRUCT This structure provides basic information on a fieldbus: eType : Type of fieldbus. See BUS_TYPE . idSystem : Unique system ID for the identification of the fieldbus. Bus Type Interpretation CANbus Network ID Profibus DP MasterID (see also Master-FB Property) DeviceNet Network ID EtherCAT low DWORD of the MAC address of the master Sercos III CAA.gc_idMAX_IDENT Profinet IO MasterID (see also Controller-FB Property) Modbus TCP CAA.gc_idMAX_IDENT Modbus RTU CAA.gc_idMAX_IDENT EtherNet/IP IP address AS Interface CAA.gc_idMAX_IDENT Ethernet IP address Serial Line number of COM port idInstance : Instance number in I/O configuration (starting by 0). Example First CANbus has instance number 0, second CANbus instance number 1, … Attributes: qualified_only InOut: Name Type Comment eType BUS_TYPE Unique ID of the fieldbus type (e.g. CANopen, ProfiBus) idSystem CAA.IDENT Unique system ID for the identification of the fieldbus. The interpretation of this value is fieldbus dependent (e.g. NetID for CANBus). If the value gc_idMAX_IDENT is returned the system ID could not be determined. idInstance CAA.IDENT Instance number in I/O configuration.
DEVICE_INFO (STRUCT) ¶ TYPE DEVICE_INFO : STRUCT This structure provides the basic information on a device. eType : Type of device. See DEVICE_TYPE . idSystem : Unique address within the bus system. Device Type Interpretation CANopen Node ID J1939 Manager CAA.gc_idMAX_IDENT J1939 ECU Preferred Address Profibus MasterID (see also Master-FB Property) DeviceNet MAC ID EtherCAT Master Last 4 Bytes of the Mac address EtherCAT Slave Physical address of slave Sercos III Master CAA.gc_idMAX_IDENT Sercos III Slave active Sercos address Profinet MasterID (see also Controller-FB Property) Modbus TCP CAA.gc_idMAX_IDENT Modbus RTU Master CAA.gc_idMAX_IDENT Modbus RTU Slave slave address EtherNet/IP IP address ASI Master CAA.gc_idMAX_IDENT ASI Slave ASI address I/O Modules CAA.gc_idMAX_IDENT Safety Device CAA.gc_idMAX_IDENT SoftMotion Device CAA.gc_idMAX_IDENT SoftVision Device CAA.gc_idMAX_IDENT PLC CAA.gc_idMAX_IDENT Safety PLC CAA.gc_idMAX_IDENT Drive CAA.gc_idMAX_IDENT Parameterizable device CAA.gc_idMAX_IDENT HMI CAA.gc_idMAX_IDENT SoftMotion PLC CAA.gc_idMAX_IDENT idInstance : Instance number in I/O configuration (starting by 0). Example First EtherNet/IP Scanner has instance number 0, second EtherNet/IP Scanner instance number 1, … Attributes: qualified_only InOut: Name Type Comment eType DEVICE_TYPE Unique ID of the device type (e.g. CANopen, ProfiBus) idSystem CAA.IDENT Unique address within the bus system. The interpretation of this value is fieldbus dependent (e.g. NodeID for CANopen). idInstance CAA.IDENT Instance number in I/O configuration.
ERROR_INFO (STRUCT) ¶ TYPE ERROR_INFO : STRUCT This structure contains an error code for a bus or device. The error information can be retrieved by GetBusError and GetDeviceError . Attributes: qualified_only InOut: Name Type Comment idErrorCode CAA.IDENT unique error code; see ERROR_CODES for detailed information
LOG_ENTRY (STRUCT) ¶ TYPE LOG_ENTRY : STRUCT This structure contains information of a log entry delivered by ILogger . Attributes: qualified_only InOut: Name Type Comment tkTimestamp CAA.TICK Timestamp idMessage CAA.IDENT Message code idSource CAA.IDENT Unique system Id of source
QOS_INFO (STRUCT) ¶ TYPE QOS_INFO : STRUCT This structure provides Quality of Service information for a bus. Attributes: qualified_only InOut: Name Type Comment ctError CAA.COUNT Total sum of bus errors usiBusload USINT Busload in percentage (0..100)
VersionConstants (GVL) ¶ InOut: Scope Name Type Initial Constant gc_byVersion BYTE 1 gc_byVersion_1 BYTE 1
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 24.07.2019, 08:33:40 companyName string 3S-Smart Software Solutions GmbH libraryFile CAA_DeviceDiagnosis.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP15 contentFile CAA_DeviceDiagnosis.clean.json version version 2.0.0.0 ProjectInformation Released bool True ShowSmartCodingInfo True LastModificationDateTime date 24.07.2019, 08:33:34 LibraryCategories library-category-list Intern|CAA|Fieldbus Author string 3S - Smart Software Solutions GmbH Company CAA Technical Workgroup DefaultNamespace DED Description See: Description DocFormat reStructuredText DocLanguages en, de Placeholder CAA Device Diagnosis Project CAA_DeviceDiagnosis Title CAA Device Diagnosis SpecVersion version 3.0.0.0 Version 3.5.15.0