PLCnext API Documentation 23.6.0.37
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Arp::Io::Profibus::Services::IAcyclicCommunicationService Class Referenceabstract

Use this service for acyclic communication with Profibus slaves More...

#include <IAcyclicCommunicationService.hpp>

Inheritance diagram for Arp::Io::Profibus::Services::IAcyclicCommunicationService:
Inheritance graph

Public Types

using Ptr = std::shared_ptr< IAcyclicCommunicationService >
 
- Public Types inherited from Arp::System::Rsc::Services::IRscService
typedef std::shared_ptr< IRscServicePtr
 

Public Member Functions

 IAcyclicCommunicationService (void)=default
 Constructs an IAcyclicCommunicationService instance.
 
virtual RecordResult ReadRecord (const RecordParameters &parameters, std::vector< byte > &data)=0
 Reads object from Profibus module More...
 
virtual RecordResult WriteRecord (const RecordParameters &parameters, const std::vector< byte > &data)=0
 Writes object to Profibus module More...
 
- Public Member Functions inherited from Arp::System::Rsc::Services::IRscService
 IRscService (void)=default
 Constructs an IRscService instance.
 
virtual ~IRscService (void)=default
 Destructs this instance and frees all resouces.
 

Static Public Member Functions

static IRscServiceProxyFactory & GetProxyFactory (void)
 
- Static Public Member Functions inherited from Arp::System::Rsc::Services::IRscService
static IRscServiceProxyFactory & GetProxyFactory (void)
 Returns a reference to service proxy factory to create a proxy instance of the service More...
 

Detailed Description

Use this service for acyclic communication with Profibus slaves

This service is defined in library Arp.Io.Profibus.

Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.

Member Function Documentation

◆ ReadRecord()

virtual RecordResult Arp::Io::Profibus::Services::IAcyclicCommunicationService::ReadRecord ( const RecordParameters parameters,
std::vector< byte > &  data 
)
pure virtual

Reads object from Profibus module

Parameters
parametersStructure with paramaters of module and object
dataData read from object
Returns
Structure with error informations

◆ WriteRecord()

virtual RecordResult Arp::Io::Profibus::Services::IAcyclicCommunicationService::WriteRecord ( const RecordParameters parameters,
const std::vector< byte > &  data 
)
pure virtual

Writes object to Profibus module

Parameters
parametersStructure with parameters of module and object
dataData to write in object
Returns
Structure with error informations

The documentation for this class was generated from the following file: