PROFINET Device4.1.1
 
Loading...
Searching...
No Matches

◆ PN_APP_IOD_cbDataReadIOxSOnly()

PN_API_IOD_IOXS PN_APP_IOD_cbDataReadIOxSOnly ( PN_API_IOD_Handle_t *const  pnHandle,
PN_API_IOD_DevAddr_t *const  addr,
const PN_API_IOD_IOXS  remoteIops 
)

Callback function to update only IOxS for read.

This function sets the IOPS status of the IO controller of a specific submodule to a specific value.

Parameters
[in]pnHandleProfinet API Handle.
[in]addrGeographical address (slot/subslot) of the submodule.
[in]remoteIopsIOPS from the IO controller, can be: PN_API_IOD_STATUS_BAD or PN_API_IOD_STATUS_GOOD.
Returns
Local IOCS as PN_API_IOD_IOXS.
Return values
PN_API_IOD_STATUS_GOODIOCS from the IO device is good.
PN_API_IOD_STATUS_BADIOCS from the IO device is bad.
See also
PN_API_IOD_dataReadIOxSOnlyCbf