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)Parameters
| Name | Description |
|---|---|
result | Formatted program transfer result that carries a program. |
command | Zero-based command position. |
parameter | Zero-based parameter position inside the command. |
Returns
An independently owned item.
Notes
- Throws
pdcomm::Error:PDCOMM_INVALID_STATEwhen the result carries no program;PDCOMM_OUT_OF_RANGEfor an invalid index.