Callback function to write input data from the physical input of a submodule to the IO controller.
This function writes data from the global input data array to the buffer provided by the stack. IOCS of the corresponding submodule is also updated while IOPS is sent back as a return value.
- Parameters
-
| [in] | pnHandle | Profinet API Handle. |
| [in] | addr | Geographical address (slot/subslot) of the submodule. |
| [in] | bufLen | Length of data. |
| [in] | buffer | Pointer to data buffer to read from. |
| [in] | remoteIocs | Last IOCS from the IO controller, can be: PN_API_IOD_STATUS_BAD or PN_API_IOD_STATUS_GOOD. |
- Returns
- Local IOPS as PN_API_IOD_IOXS.
- Return values
-
- See also
- PN_API_IOD_dataWriteCbf