Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA Behaviour Model ¶ Library Identification ¶ Placeholder: CAA Behaviour Model Default Resolution: CAA Behaviour Model, * (CAA Technical Workgroup) Namespace: CBM Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Behaviour Model 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 Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: Standard
DrvProfinetFDevice Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title DrvProfinetFDevice Version 1.5.0.0 Categories Intern|IoDrivers Namespace PNFDEV Author 3S - Smart Software Solutions GmbH Placeholder IoDrvTemplate Description 1 ¶ DrvProfinetFDevice reads F-Device data from IoDrvProfinetDevice and writes it through ISafetyIoServices to the safety runtime system. Contents: ¶ DrvProfinetFDevice Constants Function Blocks Structs Indices and tables ¶ 1 Based on DrvProfinetFDevice.library, last modified 12.12.2018, 14:39:20. LibDoc 4.4.0.0-b.27 The content file DrvProfinetFDevice.clean.json was generated with CODESYS V3.5 SP13 on 12.12.2018, 14:39:26.
DrvProfinetFDevice ¶ Constants Function Blocks ProfinetFDevice (FunctionBlock) Structs ProfinetFDeviceDiagnostics (Struct) ProfinetFDeviceDiagnostics_SrtsMsg (Struct)
Constants ¶ All the four Global_Constants we have are for internal use only:
Function Blocks ¶ Currently there is only one FunctionBlock: ProfinetFDevice (FunctionBlock)
ProfinetFDevice (FB) ¶ FUNCTION_BLOCK ProfinetFDevice ProfinetFDevice reads F-Device-data from IoDrvProfinetDevice and writes it to ISafetyIoServices on request. Used Libraries Base Interfaces (version via placeholder); using: IBase CmpErrors2 Interfaces (version via placeholder); using: Errors CmpLog (version via placeholder); using: LogOpen LogAdd2 LogClose CommFB (version via placeholder); using: RCVREC SALARM Component Manager (version via placeholder); using: CMAddComponent DrvSafetyIoServices Interfaces (newest, implementing interface ISafetyIoServices) IoDrvBase (version via placeholder, extending interface) IoStandard (version via placeholder); using: IoConfigConnector IoConfigParameter ConfigGetParameter ConfigGetParameterValueDWord ConfigGetParameterValuePointer Profinet Common (version via placeholder); using: SubmoduleIterator SubmoduleInfo UpdateDiagnosisEntry Standard (version via placeholder); using: CONCAT SysMem (version via placeholder); using: SysMemCpy SysTypes2 Interfaces (version via placeholder); using: HandleConstants InOut: Scope Name Type Comment Output Diag ProfinetFDeviceDiagnostics detailed diagnostic information
Structs ¶ Currently there are only two structs; they are used as the type of the out-param of the FB: ProfinetFDeviceDiagnostics (Struct) ProfinetFDeviceDiagnostics_SrtsMsg (Struct)
ProfinetFDeviceDiagnostics (STRUCT) ¶ TYPE ProfinetFDeviceDiagnostics : STRUCT Diagnostics information about the current state of the FB. InOut: Name Type Initial Comment xIsInitialized BOOL FALSE Has this library been properly initialized? (for debugging purpose: Initialize run successfully?) xIsConnectedToPN BOOL FALSE Is this library connected to the profinet library? I.e. have we received a valid profinet telegram regarding ourself? (for debugging purpose) xIsConnectedToSafetyIoService BOOL FALSE Is this library properly connected to a SafetyIoServices- instance? I.e. has it found a valid pointer in the params? LastMessageFromSrts ProfinetFDeviceDiagnostics_SrtsMsg The latest received diagnostic message from the SRTS. Messages are marked as “appeared” when there is a new problem and as “disappeared” when the problem is gone. Currently, “disapperead” is only sent by the SRTS when all previous problems are fixed.
ProfinetFDeviceDiagnostics_SrtsMsg (STRUCT) ¶ TYPE ProfinetFDeviceDiagnostics_SrtsMsg : STRUCT Diagnostic information from the SRTS, shows the last message. InOut: Name Type Comment uiPNAlarmDiagnosticCode UINT diagnostic-code uiPNAlarmDiagnosticLength UINT the length of additionally provided data abyPNAlarmDiagnosticData ARRAY [0..(iGLOB_DIAGNOSTICS_MAXSIZE - 1)] OF BYTE diagnostic-data (extended info), only read first ‘uiPNAlarmDiagnosticLength’ bytes
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 12.12.2018, 14:39:26 companyName string 3S-Smart Software Solutions GmbH libraryFile DrvProfinetFDevice.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP13 contentFile DrvProfinetFDevice.clean.json version version 2.0.0.0 ProjectInformation Released bool True ShowSmartCodingInfo True LastModificationDateTime date 12.12.2018, 14:39:20 LibraryCategories library-category-list Intern|IoDrivers Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH DefaultNamespace PNFDEV Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder IoDrvTemplate Project DrvProfinetFDevice Title DrvProfinetFDevice Version version 1.5.0.0