SafetyIoServicesResult (ENUM) ¶ TYPE SafetyIoServicesResult : Possible return codes of function calls. InOut: Name Initial Comment SISR_OK 16#0 no error SISR_PENDING 16#1 operation returned before completed SISR_FAILED 16#10 general error
Interfaces ¶ This library contains one Interface-definition: ISafetyIoServices It describes the methods for the data exchange. Two Methods are provided: Receive Send ISafetyIoServices (Interface) Receive (Method) Send (Method)
ISafetyIoServices (ITF) ¶ INTERFACE ISafetyIoServices EXTENDS __SYSTEM.IQueryInterface This interface defines communication methods used to exchange module-related service requests with the Safety runtime-system. Methods: Receive Send Structure: Receive (Method) Send (Method)
ISafetyIoServices.Receive (METH) ¶ METHOD Receive : SafetyIoServicesResult This method receives io-service-data from the IoServices. InOut: Scope Name Type Comment Return Receive SafetyIoServicesResult SISR_OK - if data was received successfully; SISR_PENDING - if no data has been received yet; SISR_FAILED - if an error occurred. Input udiModuleId UDINT The id of the module to receive io-service-data for. uiProtocolTypeId UINT The id of the protocol type. pbyMemData POINTER TO BYTE Pointer to the reserved memory for the io-service-data. udiMemDataSize UDINT Size of the reserved memory. Output udiDataSize UDINT Size of provided io-service-data at pbyMemData.
ISafetyIoServices.Send (METH) ¶ METHOD Send : SafetyIoServicesResult This method sends io-service-data to the IoServices. InOut: Scope Name Type Comment Return Send SafetyIoServicesResult SISR_OK - if data was sent successfully; SISR_PENDING - if data has not been sent yet; SISR_FAILED - if an error occurred. Input udiModuleId UDINT The id of the module to send io-service-data for. uiProtocolTypeId UINT The id of the protocol type. pbyData POINTER TO BYTE Pointer to the io-service-data. udiDataSize UDINT Size of the io-service-data to send.
Unions ¶ This library contains one Union-definition: ISafetyIoServices_Converter It is used to convert a memory address (aka pointer) to a typed reference. It’s a common trick to keep the compiler relaxed when converting between types without having a cast-operator. ISafetyIoServices_Converter (Union)
ISafetyIoServices_Converter (UNION) ¶ TYPE ISafetyIoServices_Converter : UNION Helps to ‘convert’ a POINTER/__XWORD into a reference of type ISafetyIoServices without generating warning/errors in the compiler. This is needed when reading and writing the instance to/from Parameters. Use instead of not-available type-casts. how to use Create a variable of this union-type. Write your memory address / pointer to the val -member of the variable. Get your typed reference to the interface ISafetyIoServices from the itf -member of the variable. InOut: Name Type Comment itf ISafetyIoServices typed access val __XWORD memory address
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 12.12.2018, 14:39:39 companyName string 3S-Smart Software Solutions GmbH libraryFile DrvSafetyIoServices_Itfs.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP13 contentFile DrvSafetyIoServices_Itfs.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False IsInterfaceLibrary True Released True LastModificationDateTime date 12.12.2018, 14:39:37 LibraryCategories library-category-list Intern|IoDrivers Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH DefaultNamespace SafetyIoServicesItfs Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Project DrvSafetyIoServices_Itfs Title DrvSafetyIoServices Interfaces Version version 1.5.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.
DrvSafetyIoServices_Shm3S Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title DrvSafetyIoServices_Shm3S Version 1.5.0.0 Categories Intern|IoDrivers Namespace SafetyIoServices Author 3S - Smart Software Solutions GmbH Placeholder DrvSafetyIoServicesShm Description 1 ¶ This library offers read and write access to the shared memory provided by the safety runtime system. It implements the interface ISysSafetyIoServices. Contents: ¶ DrvSafetyIoServices_Shm3S Constants Function Blocks Structs Indices and tables ¶ 1 Based on DrvSafetyIoServices_Shm3S.library, last modified 12.12.2018, 14:39:50. LibDoc 4.4.0.0-b.27 The content file DrvSafetyIoServices_Shm3S.clean.json was generated with CODESYS V3.5 SP13 on 12.12.2018, 14:39:51.