Skip to content
Start free evaluation

pdcomm::gemFormattedProgramQueryOptions

Function

Builds versioned limits for S7F25/F26 formatted process program requests.

inline PdcommGemFormattedProgramQueryOptions gemFormattedProgramQueryOptions(size_t maxCommands, size_t maxParametersPerCommand, size_t maxTotalParameters, size_t maxTotalParameterBytes, size_t maxCatalogEntries, size_t maxCatalogIdentifierBytes, size_t maxPending, size_t maxReceived, size_t maxResults, size_t maxHistory)

Declared in: #include <pdcomm_gem_formatted_program_queries.hpp>

Every limit must be nonzero.

Parameters

NameDescription
maxCommandsMaximum commands in one program.
maxParametersPerCommandMaximum parameters of one command.
maxTotalParametersMaximum parameters across one program.
maxTotalParameterBytesMaximum encoded parameter bytes across one program.
maxCatalogEntriesMaximum programs in the equipment's formatted program store.
maxCatalogIdentifierBytesMaximum PPID bytes across that store.
maxPendingMaximum submitted requests waiting for S7F26.
maxReceivedMaximum received requests waiting for a response.
maxResultsMaximum completed exchanges kept; the oldest is dropped first.
maxHistoryMaximum handled exchanges remembered to reject replays.

Returns

Options with struct_size and version set.