PLCnext API Documentation 23.6.0.37
|
Use this service for acyclic communication with Profibus slaves More...
#include <IAcyclicCommunicationService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IAcyclicCommunicationService > |
![]() | |
typedef std::shared_ptr< IRscService > | Ptr |
Public Member Functions | |
IAcyclicCommunicationService (void)=default | |
Constructs an IAcyclicCommunicationService instance. | |
virtual RecordResult | ReadRecord (const RecordParameters ¶meters, std::vector< byte > &data)=0 |
Reads object from Profibus module More... | |
virtual RecordResult | WriteRecord (const RecordParameters ¶meters, const std::vector< byte > &data)=0 |
Writes object to Profibus module More... | |
![]() | |
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 IRscServiceProxyFactory & | GetProxyFactory (void) |
Returns a reference to service proxy factory to create a proxy instance of the service More... | |
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.
|
pure virtual |
Reads object from Profibus module
parameters | Structure with paramaters of module and object |
data | Data read from object |
|
pure virtual |
Writes object to Profibus module
parameters | Structure with parameters of module and object |
data | Data to write in object |