PROFINET Device4.2.0
 
Loading...
Searching...
No Matches
Communication

Overview

Functions and callbacks for the handling of ARs (Application Relations).

Functions

void PN_APP_IOD_initArInfo (void)
 Initialize AR information.
 
PN_API_IOD_SubmodStatus_t PN_APP_IOD_cbParamEnd (PN_API_IOD_Handle_t *const pnHandle, const uint16_t arNum, const uint16_t sessionKey, const uint32_t api, const uint16_t slot, const uint16_t subslot, const bool moreFollows)
 Callback function to notify that the parameter assignment for all modules has been completed.
 
void PN_APP_IOD_cbReportArFSURecord (PN_API_IOD_Handle_t *const pnHandle, const uint8_t arFsuEnabled, const uint8_t arFsuChanged)
 Callback function to notify about an AR FSU update.
 
void PN_APP_IOD_cbArConnectInd (PN_API_IOD_Handle_t *const pnHandle, PN_API_IOD_ArType_t arType, uint32_t arNum, uint16_t arSessionKey, uint16_t sendClock, uint16_t redRatioIoCrIn, uint16_t redRatioIoCrOut, uint32_t hostIp)
 Callback function prototype to notify that a new connection to an IO controller has been established.
 
void PN_APP_IOD_cbArDisconn (PN_API_IOD_Handle_t *const pnHandle, const uint16_t arNum, const uint16_t arSessionKey, const PN_API_IOD_ArReason_t reasonCode)
 Callback function to notify that an AR connection with the IO controller has been terminated.
 
void PN_APP_IOD_cbReadyForInputUpdate (PN_API_IOD_Handle_t *const pnHandle, const uint16_t arNum, const PN_API_IOD_InputUpdateState_t inputUpdateState)
 Callback function to notify that the stack is ready to receive the first valid input data.
 
void PN_APP_IOD_cbArOwnershipInd (PN_API_IOD_Handle_t *const pnHandle, uint32_t arNum, PN_API_IOD_Exp_t *expSubmodsCfg)
 Callback function to dynamically reconfigure the submodules and claiming their ownership.