This service provides acyclic communication to PCP devices. As default all PCP devices in the Interbus get a Communication Reference. The CR is assigned in the connection order starting with 2. This CR ist used to select the device in all operations of this service.
More...
|
| IPcpService (void)=default |
| Constructs an IPcpService instance.
|
|
virtual InitiateResult | PcpInitiate (uint8 communicationReference)=0 |
| This operation establishs a connection to a PCP device. More...
|
|
virtual void | PcpAbort (uint8 communicationReference, uint8 reasonCode, const std::vector< byte > &abortDetail)=0 |
| This operation aborts a connection to a PCP device. More...
|
|
virtual IdentifyResult | PcpIdentify (uint8 communicationReference, uint8 invokeId)=0 |
| This operation gets device information of PCP device. More...
|
|
virtual StatusResult | PcpStatus (uint8 communicationReference, uint8 invokeId)=0 |
| This operation gets current status of PCP device. More...
|
|
virtual InterbusResult | PcpRead (uint8 communicationReference, uint8 invokeId, const ObjectAddress &pcpObject, std::vector< byte > &data)=0 |
| This operation reads a data record from a PCP device. More...
|
|
virtual InterbusResult | PcpWrite (uint8 communicationReference, uint8 invokeId, const ObjectAddress &pcpObject, const std::vector< byte > &data)=0 |
| This operation writes a data record to a PCP device. More...
|
|
| IRscService (void)=default |
| Constructs an IRscService instance.
|
|
virtual | ~IRscService (void)=default |
| Destructs this instance and frees all resouces.
|
|
This service provides acyclic communication to PCP devices. As default all PCP devices in the Interbus get a Communication Reference. The CR is assigned in the connection order starting with 2. This CR ist used to select the device in all operations of this service.
The execution of PCP services can take some time (seriel communication). For more information to PCP see "IBS SYS PCP G4 UM".
This service is defined in library Arp.Io.Interbus.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.