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
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. Base Interfaces ¶ Library Identification ¶ Name: Base Interfaces Version: newest Company: System Namespace: IBaseLibrary Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Base Interfaces, * (System) CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) CmpLog ¶ Library Identification ¶ Placeholder: CmpLog Default Resolution: CmpLog, * (System) Namespace: CmpLog Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpLog CommFB ¶ Library Identification ¶ Placeholder: CommFB Default Resolution: CommFB, * (3S - Smart Software Solutions GmbH) Namespace: CommFB Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CommFB Component Manager ¶ Library Identification ¶ Placeholder: Component Manager Default Resolution: Component Manager, * (System) Namespace: Component_Manager Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Component Manager DrvSafetyIoServices Interfaces ¶ Library Identification ¶ Name: DrvSafetyIoServices Interfaces Version: newest Company: 3S - Smart Software Solutions GmbH Namespace: SafetyIoServicesItfs Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: DrvSafetyIoServices Interfaces, * (3S - Smart Software Solutions GmbH) IoDrvBase ¶ Library Identification ¶ Placeholder: IoDrvBase Default Resolution: IoDrvBase, * (System) Namespace: IoDrvBase Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoDrvBase IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard ProfinetCommon ¶ Library Identification ¶ Placeholder: ProfinetCommon Default Resolution: ProfinetCommon, * (3S - Smart Software Solutions GmbH) Namespace: ProfinetCommon Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: ProfinetCommon Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
DrvSafetyIoServices Interfaces Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title DrvSafetyIoServices Interfaces Version 1.5.0.0 Categories Intern|IoDrivers Namespace SafetyIoServicesItfs Author 3S - Smart Software Solutions GmbH Description 1 ¶ This interface library describes general communication methods for access to the Safety runtime-system. The interface is used for sending the PROFIsafe F-Parameter from Standard-RTS to Safety-RTS and receive confirmation or error-codes. Contents: ¶ DrvSafetyIoServices Interfaces Constants Enums Interfaces Unions Indices and tables ¶ 1 Based on DrvSafetyIoServices_Itfs.library, last modified 12.12.2018, 14:39:37. LibDoc 4.4.0.0-b.27 The content file DrvSafetyIoServices_Itfs.clean.json was generated with CODESYS V3.5 SP13 on 12.12.2018, 14:39:39.