AdsReadStateInd

The method AdsReadStateInd indicates an ADS read state command for reading the ADS status and the device status from an ADS device. The AdsReadStateRes needs to be called for sending the result.

Syntax


void    AdsReadStateInd( AmsAddr& rAddr, ULONG invokeId );

Parameters

rAddr: (type: AmsAddr) [in] structure with NetId and port number of the ADS server.

invokeId: (type: ULONG) [in] handle of the command, which is sent. The InvokeId is specified from the source device and serves to identify the commands.

Return Value

void