Skip to content
Start free evaluation

pdcomm::respondFormattedProgramCapability

Function

Answers a received S7F21 with S7F22 built from the current catalog.

inline void respondFormattedProgramCapability(GemEndpoint &endpoint, GemResult &result)

Declared in: #include <pdcomm_gem_formatted_program_capabilities.hpp>

Repeating the call after a successful response does nothing and succeeds.

Parameters

NameDescription
endpointEquipment endpoint in GemCommunication::Communicating.
resultResult with GemOutcome::FormattedProgramCapabilityReceived.

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE on a host, when not communicating or when no catalog is set; PDCOMM_STALE_TOKEN for a stale result; PDCOMM_BACKPRESSURE when the reply cannot be queued (retry later).
  • This call changes result; do not run it concurrently with getters on it.