This method is used to obtain the access token for the connection to the Machine Advisor application interface. Depending on the passed parameter, ConnectionString or AccessToken, either a new access token is generated or the stored token is provided by the method. The return value of type ET_Result indicates the result of the method execution. If Ok is indicated, the value is successfully copied to the assigned buffer.
Inputs | Data Type | Description |
---|---|---|
i_pbyBuffer |
POINTER TO BYTE |
Pointer to the buffer to store the value. |
i_uiSize |
UDINT |
Size of the buffer. |