Skip to content
Start free evaluation

pdcomm::configureFormattedProgramQueries

Function

Enables S7F25/F26 formatted process program requests on an endpoint.

inline void configureFormattedProgramQueries(GemEndpoint &endpoint, const PdcommGemFormattedProgramQueryOptions &options)

Declared in: #include <pdcomm_gem_formatted_program_queries.hpp>

Call once while the endpoint is stopped, after the role is configured. On equipment this also creates the formatted program store that answers S7F25 (see pdcomm_gem_formatted_program_store.hpp).

Parameters

NameDescription
endpointHost or equipment endpoint.
optionsLimits built with gemFormattedProgramQueryOptions().

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE when the endpoint is not stopped, has no role or is already configured; PDCOMM_INVALID_ARGUMENT for invalid options.