ISafetyIoServices ¶ Receive (Method) Send (Method)
Structs ¶ Currently there is only one struct; it is used as the type of the out-param of the FB: SafetyIoServiceDiagnostics_Shm3S (Struct)
SafetyIoServiceDiagnostics_Shm3S (STRUCT) ¶ TYPE SafetyIoServiceDiagnostics_Shm3S : STRUCT Diagnostic information about the state of this FB. InOut: Name Type Initial Comment xHasProvidedInstance BOOL FALSE Has the SafetyIoServices-instance provided itself so the FDevice-lib can call me? xIsConnectedToShm BOOL FALSE Has the SafetyIoServices-instance successfully opened the Shared Memory, which is created and provided by SRTS_1? Will be set on first call of send/receive. xIsInitialized BOOL FALSE Has the SafetyIoServices-instance been initialized properly?
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 12.12.2018, 14:39:51 companyName string 3S-Smart Software Solutions GmbH libraryFile DrvSafetyIoServices_Shm3S.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP13 contentFile DrvSafetyIoServices_Shm3S.clean.json version version 2.0.0.0 ProjectInformation Released bool True ShowSmartCodingInfo True LastModificationDateTime date 12.12.2018, 14:39:50 LibraryCategories library-category-list Intern|IoDrivers Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH DefaultNamespace SafetyIoServices Description See: Description DocFormat reStructuredText Placeholder DrvSafetyIoServicesShm Project DrvSafetyIoServices_Shm3S Title DrvSafetyIoServices_Shm3S Version version 1.5.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 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 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) IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard 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 SysShm ¶ Library Identification ¶ Placeholder: SysShm Default Resolution: SysShm, * (System) Namespace: SysShm Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysShm 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)
SafetyIoServices.Receive (METH) ¶ METHOD Receive : SafetyIoServicesItfs.SafetyIoServicesResult This method receives data from the SRTS. InOut: Scope Name Type Comment Return Receive SafetyIoServicesItfs.SafetyIoServicesResult SRTS_OK - if data was read successfully; SRTS_PENDING - if no data has been read yet; SRTS_FAILED - if an error occurred. Input udiModuleId UDINT The module to receive data for. uiProtocolTypeId UINT The id of the protocol type. pbyMemData POINTER TO BYTE Pointer to the reserved memory for the data. udiMemDataSize UDINT Size of the reserved memory. Output udiDataSize UDINT Size of provided data at pbyMemData.
SafetyIoServices.Send (METH) ¶ METHOD Send : SafetyIoServicesItfs.SafetyIoServicesResult This method sends data to the SRTS. InOut: Scope Name Type Comment Return Send SafetyIoServicesItfs.SafetyIoServicesResult SRTS_OK - if data was sent successfully; SRTS_PENDING - if data has not been sent yet; SRTS_FAILED - if an error occurred. Input udiModuleId UDINT The module to send data for. uiProtocolTypeId UINT The id of the protocol type. pbyData POINTER TO BYTE Pointer to the data. udiDataSize UDINT Size of the data to send.
IDatasourcesMgr4.GetDatasourceItfByIndex (METH) ¶ METHOD GetDatasourceItfByIndex : IDatasource3 Gets datasource interface by index InOut: Scope Name Type Return GetDatasourceItfByIndex IDatasource3 Input index INT
INotificationClient (ITF) ¶ INTERFACE INotificationClient EXTENDS __SYSTEM.IQueryInterface This interface can be implemented and registered using IDatasourcesMgr2.AddNotificationClient to get notified about operations on variables executed by the datasources. Methods: ListOperationDone ListOperationStart ListValueRead ListValueWrite ReadRequestDone ReadRequestStart SingleValueRead SingleValueWrite WriteRequestDone WriteRequestStart Structure: ListOperationDone (Method) ListOperationStart (Method) ListValueRead (Method) ListValueWrite (Method) ReadRequestDone (Method) ReadRequestStart (Method) SingleValueRead (Method) SingleValueWrite (Method) WriteRequestDone (Method) WriteRequestStart (Method)
INotificationClient.ListOperationDone (METH) ¶ METHOD ListOperationDone This method will be called when an operation on a list of variables was executed (eg. IDatasourcesMgr.ReadItemsSync or IDatasourcesMgr.WriteItemsSync ) InOut: Scope Name Type Comment Input xWriting BOOL This value signals whether the current operation was a write operation. datasourceName ItemName The name of the datasource where the operation was executed. For details of the format of this parameter have a look at ItemName or ItemNameType result SysTypes.RTS_IEC_RESULT The result of the operation. In case of successful execution, this value will contain |CmpErrors.Errors.ERR_OK|