Skip to content
Start free evaluation

pdcomm::formattedProgramTransferParameter

Function

Returns one PPARM of one command of a received S7F23.

inline SecsItem formattedProgramTransferParameter(const GemResult &result, size_t command, size_t parameter)

Declared in: #include <pdcomm_gem_formatted_program_transfers.hpp>

Parameters

NameDescription
resultFormatted program transfer result that carries a program.
commandZero-based command position.
parameterZero-based parameter position inside the command.

Returns

An independently owned item.

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE when the result carries no program; PDCOMM_OUT_OF_RANGE for an invalid index.