This function sends the request for the ReadOnlyData service to a Sercos device. This service is used to read a parameter (IDN).
This function sends the request for the ReadOnlyData service to a Sercos device. The Sercos device is specified by its IP address. The response to the request is obtained with the function FC_ReadOnlyDataResponse.
Input |
Data type |
Description |
---|---|---|
i_sIPAddress |
STRING[15] |
IP address of Sercos device |
i_uiSlaveIndex |
UDINT |
Sercos slave index of the Sercos device (allows you to address Sercos devices A and B of a Lexium 62 Double Drive) |
i_udiIDN |
UDINT |
Identification number (IDN) of the parameter to be read |
Output |
Data type |
Description |
---|---|---|
q_udiTransactionID |
UDINT |
Returns the transaction ID to be used for receiving the response |