7.22 UA_MethodCall
| FB-Name | UA_MethodCall | ||
| This Function Block is used to call a method routine. | |||
| VAR_INPUT | |||
| B | Execute | BOOL | FB performs its task on rising edge on this input. |
| B | ConnectionHdl | DWORD | Connection handle. |
| B | MethodHdl | DWORD | Method handle. |
| B | Timeout | TIME | Time to response. |
| VAR_OUTPUT | |||
| B | Done | BOOL | FB has completed its task. |
| B | Busy | BOOL | The FB is not finished and new output values are to be expected. |
| B | Error | BOOL | Signals that an error has occurred within the FB. |
| B | ErrorID | DWORD | Error code. |
| VAR_IN_OUT | |||
| E | MethodResult | DWORD | 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. |
| B | InputArguments | Vendor specific | Variable containing input parameters. Vendor specific. |
| B | OutputArguments | Vendor specific | Variable containing output parameters. Vendor specific. |
| Notes: - | |||
| UA_MethodCall | ||||||
| BOOL | Execute | Done | BOOL | |||
| DWORD | ConnectionHdl | Busy | BOOL | |||
| DWORD | MethodHdl | Error | BOOL | |||
| TIME | Timeout | ErrorID | DWORD | |||
| DWORD | MethodResult | MethodResult | DWORD | |||
| Vendor specific | InputArguments | InputArguments | Vendor specific | |||
| Vendor specific | OutputArguments | OutputArguments | Vendor specific | |||