UA_MethodCall

This Function Block is used to call one method routine.

 

 

 

UA_MethodCall

 

 

 

BOOL

–

 

Execute

Done

 

–

BOOL

DWORD

–

 

ConnectionHdl

Busy

 

–

BOOL

DWORD

–

 

MethodHdl

Error

 

–

BOOL

ARRAY of L_IOCP_Variable

–

 

InputArguments

ErrorID

 

–

L_IOCP_ErrorId

ARRAY of L_IOCP_Variable

–

 

OutputArguments

MethodResult

 

–

DWORD

TIME

–

 

Timeout

 

 

 

 

 

 

 

 

 

 

 

 

Inputs/outputs

Name

Data type

Information/possible settings

InputArguments

ARRAY of L_IOCP_Variable

Array of structure to address the IEC variables related to the method input arguments by the OPC UA Client. The array of structure must match the InputArguments of the Server Method. See: L_IOCP_Variable

OutputArguments

ARRAY of L_IOCP_Variable

Array of structure to address the IEC variables related to the method output arguments by the OPC UA Client. The array of structure must match the OutputArguments of the Server Method. See: L_IOCP_Variable

Inputs

Name

Data type

Information/possible settings

Execute

BOOL

FALSEäTRUE

On rising edge FB performs its task.

ConnectionHdl

DWORD

Connection handle.

MethodHdl

DWORD

Method handle.

Timeout

TIME

Maximum time to response.

Outputs

Name

Data type

Value/meaning

Done

BOOL

TRUE

FB has completed its task.

Busy

BOOL

TRUE

The FB is not finished and new output values are to be expected.

Error

BOOL

TRUE

An error has occurred in the service request. For details see ErrorID.

ErrorID

L_IOCP_ErrorId L_IE1P_Error

   If Error = TRUE: Error number for the error that has occurred.