PLCnext API Documentation 23.6.0.37
|
This service provides the access to the AXIO master. More...
#include <IAxioMasterService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IAxioMasterService > |
![]() | |
typedef std::shared_ptr< IRscService > | Ptr |
Public Member Functions | |
IAxioMasterService (void)=default | |
Constructs an IAxioMasterService instance. | |
virtual uint16 | AxioControl (const std::vector< uint16 > &inData, std::vector< uint16 > &outData)=0 |
This operation gives raw access to AXIO service. A buffer with a service message is sent to the AXIO master and the received message is given in a buffer. More... | |
virtual AxioResult | CreateConfiguration (uint16 frameReference)=0 |
This operation creates a new bus configuration depending on the connected devices and activates this configuration. The communication in the AXIO bus is started. More... | |
virtual AxioResult | ReadConfiguration (uint16 frameReference, std::vector< AxioDeviceConfiguration > &configuration)=0 |
This operation reads the current bus configuration of the master. More... | |
virtual AxioResult | WriteConfiguration (uint16 frameReference, const std::vector< AxioDeviceConfiguration > &configuration)=0 |
This operation writes an expected bus configuration to the AXIO master. More... | |
virtual AxioResult | ActivateConfiguration (uint16 frameReference)=0 |
This operation activates a stored bus configuration if the connected bus is identical to the configuration. The communication in the AXIO bus is started. If the configuration is not identical the service fails. More... | |
virtual AxioResult | DeactivateConfiguration (uint16 frameReference)=0 |
This operation deactivates the bus configuration. The communication in the AXIO bus is stopped. More... | |
virtual AxioResult | ResetMaster ()=0 |
This operation resets the AXIO master. The master stops all operations, switches to READY and deletes all configuration data in the master. 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 the access to the AXIO master.
The execution of services can take some time (depends on the service). 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 activates a stored bus configuration if the connected bus is identical to the configuration. The communication in the AXIO bus is started. If the configuration is not identical the service fails.
frameReference | Frame reference, only 1 is supported in this version. |
|
pure virtual |
This operation gives raw access to AXIO service. A buffer with a service message is sent to the AXIO master and the received message is given in a buffer.
inData | Request data to send to the AXIO master. Format has to be according to DDI specification. |
outData | Response data received from the AXIO master. Format is according to DDI specification. |
|
pure virtual |
This operation creates a new bus configuration depending on the connected devices and activates this configuration. The communication in the AXIO bus is started.
frameReference | Frame reference, only 1 is supported. |
|
pure virtual |
This operation deactivates the bus configuration. The communication in the AXIO bus is stopped.
frameReference | Frame reference, only 1 is supported in this version. |
|
pure virtual |
This operation reads the current bus configuration of the master.
frameReference | Frame reference, only 1 is supported in this version. |
configuration | List of AXIO devices. Arp.Io.Axioline.Services.AxioDeviceConfiguration |
|
pure virtual |
This operation resets the AXIO master. The master stops all operations, switches to READY and deletes all configuration data in the master.
|
pure virtual |
This operation writes an expected bus configuration to the AXIO master.
frameReference | Frame reference, only 1 is supported in this version. |
configuration | List of AXIO devices. Arp.Io.Axioline.Services.AxioDeviceConfiguration |