Skip to content
Start free evaluation

pdcomm::submitFormattedProgramQuery

Function

Sends S7F25 Formatted Process Program Request from the host.

inline PdcommTcpToken submitFormattedProgramQuery(GemEndpoint &endpoint, const SecsItem &id)

Declared in: #include <pdcomm_gem_formatted_program_queries.hpp>

The S7F26 reply yields GemOutcome::FormattedProgramQueryResult; an empty reply means the equipment does not have the program.

Parameters

NameDescription
endpointHost endpoint in GemCommunication::Communicating.
idPPID to request: a non-empty ASCII or Binary item.

Returns

Token of the submitted request.

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE on equipment, without configuration or when not communicating; PDCOMM_INVALID_ARGUMENT for an invalid PPID; PDCOMM_LIMIT_EXCEEDED when maxPending is exceeded; PDCOMM_BACKPRESSURE when no pending slot is free.