|
PLCnext API Documentation 26.6.0.38
|
Use this service to manage PROFINET Application Relationships (AR) More...
#include <IArManagementService.hpp>

Public Types | |
| using | Ptr = std::shared_ptr< IArManagementService > |
Public Types inherited from Arp::Base::Rsc::Commons::IRscService | |
| using | Ptr = std::shared_ptr< IRscService > |
| The shared_ptr type of IRscService. | |
Public Member Functions | |
| IArManagementService (void)=default | |
| Constructs an IArManagementService instance. | |
| virtual uint32 | GetArState (const RscString< 512 > &stationName, uint32 &arState)=0 |
| Gets the current state of the AR for the specified device. More... | |
| virtual uint32 | StartAr (const RscString< 512 > &stationName, uint32 &arState)=0 |
| Starts the AR for the specified device and returns its current state after the start request. More... | |
| virtual uint32 | StopAr (const RscString< 512 > &stationName, uint32 &arState)=0 |
| Stops the AR for the specified device and returns its current state after the stop request. More... | |
Public Member Functions inherited from Arp::Base::Rsc::Commons::IRscService | |
| IRscService (void)=default | |
| The default constructor. | |
| IRscService (const IRscService &arg)=delete | |
| The deleted copy constructor. More... | |
| IRscService (IRscService &&arg) noexcept=default | |
| The default move constructor. More... | |
| IRscService & | operator= (const IRscService &arg)=delete |
| The deleted assignment operator. More... | |
| IRscService & | operator= (IRscService &&arg) noexcept=default |
| The default move-assignment operator. More... | |
| virtual | ~IRscService (void)=default |
| Destructs this instance and frees all resources. | |
Static Public Member Functions | |
| static IRscServiceProxyFactory & | GetProxyFactory (void) |
Static Public Member Functions inherited from Arp::Base::Rsc::Commons::IRscService | |
| static IRscServiceProxyFactory & | GetProxyFactory (void) |
| Returns a reference to service proxy factory to create a proxy instance of this service. More... | |
Use this service to manage PROFINET Application Relationships (AR)
This service is defined in library Arp.Io.ProfinetStack.
Each method returns the current state of the AR in the arState output parameter.
Possible values of arState:
| Value | Meaning |
|---|---|
| 0x00000000 | The current AR state cannot be determined (e.g. during intermediate connection steps). |
| 0x00000001 | AR has been added but not started. This state is valid for ARs that have been stopped. |
| 0x00000002 | AR has been added and started; connection establishment is in progress. |
| 0x00000007 | Waiting for DCP Identify indication. |
| 0x00000019 | AR is fully established and active; data exchange is running. |
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
|
pure virtual |
Gets the current state of the AR for the specified device.
| stationName | Station name of the device. |
| arState | Current state of the AR. See the service-level remarks for possible values. |
|
pure virtual |
Starts the AR for the specified device and returns its current state after the start request.
| stationName | Station name of the device. |
| arState | State of the AR after the start request. See the service-level remarks for possible values. |
|
pure virtual |
Stops the AR for the specified device and returns its current state after the stop request.
| stationName | Station name of the device. |
| arState | State of the AR after the stop request. See the service-level remarks for possible values. |