RequestRemote
Calling this method triggers the asynchronous request on a remote target system.
Syntax
METHOD RequestRemote : HRESULT
VAR_INPUT
ipRemoteLogger : I_TcRemoteEventLogger;
eventClass : GUID;
nEventId : UDINT;
nLangId : DINT; // English(US)=1033 ; German(Germay)=1031
END_VAR
Inputs
Name | Type | Description |
---|---|---|
ipRemoteLogger | I_TcRemoteEventLogger | Instance of I_TcRemoteEventLogger, which describes the target system. |
eventClass | GUID | Specifies the event class. |
nEventId | UDINT | ID of the event |
nLangId | DINT | Specifies the language ID: English (en-US) = 1033 German (de-DE) = 1031 ... |
Outputs
Name | Type | Description |
---|---|---|
RequestRemote | HRESULT | Returns possible error information. S_OK if the query is successful. ADS_E_INVALIDSTATE if the target system is in an invalid state. ADS_E_NOMEMORY if no memory is available to store the result. ADS_E_PENDING if the query is still pending. |