PLCnext API Documentation 23.9.0.25
|
This service provides acyclic communication with devices in the local Axioline bus. Objects on the devices can be read or written. For object details see the module documentation. 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 PdiResult | PdiRead (const PdiParam &pdiParam, std::vector< byte > &data)=0 |
This operation reads a PDI object from an Axioline module (blocking mode). More... | |
virtual PdiResult | PdiWrite (const PdiParam &pdiParam, const std::vector< byte > &data)=0 |
This operation writes a PDI object on an Axioline module (blocking mode). 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... | |
This service provides acyclic communication with devices in the local Axioline bus. Objects on the devices can be read or written. For object details see the module documentation.
The execution of PDI services can take some time (seriel communication). For more information to the Axioline bus see "UM EN AXL F SYS INST" and "UM DE AXL F SYS DIAG".
This service is defined in library Arp.Io.Axioline.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
|
pure virtual |
This operation reads a PDI object from an Axioline module (blocking mode).
pdiParam | Structure with all parameters to address an object on a module to read from. Arp.Io.Axioline.Services.PdiParam |
data | Data that are read from the module. |
|
pure virtual |
This operation writes a PDI object on an Axioline module (blocking mode).
pdiParam | Structure with all parameters to address an object on a module to write on. Arp.Io.Axioline.Services.PdiParam |
data | Data that shall be written on the module. |