| uint32_t PN_APP_IOD_buildIm0Data | ( | PN_API_IOD_Handle_t *const | pnHandle, |
| uint32_t | api, | ||
| uint32_t | slot, | ||
| uint32_t | subslot, | ||
| PN_API_IOD_Im0Data_t * | im0Data | ||
| ) |
Build IM0 data.
IM0 data is built based on the pre-defined configuration and the slot/subslot number of the given submodule.
| [in] | pnHandle | Profinet API Handle. |
| [in] | api | Application Process Identifier. |
| [in] | slot | Slot number. |
| [in] | subslot | Subslot number. |
| [in] | im0Data | IM0 data structure to be filled. |
| PN_API_OK | Operation succeeded. |
| PN_API_ERR_PARAM | Invalid parameter. |