7.22 UA_MethodCall

FB-Name UA_MethodCall
This Function Block is used to call a method routine.
VAR_INPUT
BExecuteBOOLFB performs its task on rising edge on this input.
BConnectionHdlDWORDConnection handle.
BMethodHdlDWORDMethod handle.
BTimeoutTIMETime to response.
VAR_OUTPUT
BDoneBOOLFB has completed its task.
BBusyBOOLThe FB is not finished and new output values are to be expected.
BErrorBOOLSignals that an error has occurred within the FB.
BErrorIDDWORDError code.
VAR_IN_OUT
EMethodResultDWORD

StatusCode of the Method executed in the Server.

If a vendor do not provide this extended output then the operation result should be returned in the ErrorID.

BInputArgumentsVendor specificVariable containing input parameters. Vendor specific.
BOutputArgumentsVendor specificVariable containing output parameters. Vendor specific.
Notes: -
UA_MethodCall
BOOLExecuteDoneBOOL
DWORDConnectionHdlBusyBOOL
DWORDMethodHdlErrorBOOL
TIMETimeoutErrorIDDWORD
DWORDMethodResultMethodResultDWORD
Vendor specificInputArgumentsInputArgumentsVendor specific
Vendor specificOutputArgumentsOutputArgumentsVendor specific