pdcomm::configureFormattedProgramQueries
Function
Enables S7F25/F26 formatted process program requests on an endpoint.
inline void configureFormattedProgramQueries(GemEndpoint &endpoint, const PdcommGemFormattedProgramQueryOptions &options)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
| Name | Description |
|---|---|
endpoint | Host or equipment endpoint. |
options | Limits built with gemFormattedProgramQueryOptions(). |
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEwhen the endpoint is not stopped, has no role or is already configured;PDCOMM_INVALID_ARGUMENTfor invalid options.