Example contains:
- A "provider" PLC (port 851), with a function block method to be called via RPC.
- A "caller" PLC (port 852), that invokes the method in the function block of the "provider" PLC.
FB_InvokeRpcMethod is generic and can be used on any PLC method exposed via the attribute {attribute 'TcRpcEnable'}
This sample is created by Beckhoff Automation LLC., and is provided as-is under the Zero-Clause BSD license.
Should you have any questions regarding the provided sample code, please contact your local Beckhoff support team. Contact information can be found on the official Beckhoff website at https://www.beckhoff.com/en-us/support/.
The following components must be installed to run sample code:
- TE1000 TwinCAT 3 Engineering version 3.1.4024.0 or higher