pdcomm::configureFormattedProgramCapabilities
Function
Enables S7F21/F22 process capability exchange on an endpoint.
inline void configureFormattedProgramCapabilities(GemEndpoint &endpoint, const PdcommGemFormattedProgramCapabilityOptions &options)Call once while the endpoint is stopped, after the role is configured. Hosts can then ask for capabilities; equipment answers from the catalog set with replaceFormattedProgramCapabilityCatalog().
Parameters
| Name | Description |
|---|---|
endpoint | Host or equipment endpoint. |
options | Limits built with gemFormattedProgramCapabilityOptions(). |
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEwhen the endpoint is not stopped, has no role or is already configured;PDCOMM_INVALID_ARGUMENTfor invalid options.