pdcomm::submitFormattedProgramQuery
Function
Sends S7F25 Formatted Process Program Request from the host.
inline PdcommTcpToken submitFormattedProgramQuery(GemEndpoint &endpoint, const SecsItem &id)The S7F26 reply yields GemOutcome::FormattedProgramQueryResult; an empty reply means the equipment does not have the program.
Parameters
| Name | Description |
|---|---|
endpoint | Host endpoint in GemCommunication::Communicating. |
id | PPID to request: a non-empty ASCII or Binary item. |
Returns
Token of the submitted request.
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEon equipment, without configuration or when not communicating;PDCOMM_INVALID_ARGUMENTfor an invalid PPID;PDCOMM_LIMIT_EXCEEDEDwhenmaxPendingis exceeded;PDCOMM_BACKPRESSUREwhen no pending slot is free.