RequestRemote

RequestRemote 1:

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;
    ipArgs           : I_TcArguments;
END_VAR

RequestRemote 2: 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
...

The TcLcid enum can be used.

ipArgs

I_TcArguments

Optional specification of arguments.

RequestRemote 3: Return value

Name

Type

Description

RequestRemote

HRESULT