Connecting a TwinCAT PLC over ADS
The simulator can read and write a TwinCAT 3 PLC's variables by name over ADS, Beckhoff's own protocol. Each
part's tag is the PLC's name for the variable, like MAIN.Eye, so nothing is mapped to an address.
Your program runs on the PLC.
ADS goes through the TwinCAT router, and the simulator uses the router on its own computer. So TwinCAT has to be installed on the computer running the simulator, and a PLC on another computer has to be reachable through a route, exactly as TwinCAT XAE reaches it. Part A uses the runtime on the same computer; part B adds the route to a PLC elsewhere.
You need
- The Windows desktop app. A browser tab cannot open a network connection, and the TwinCAT router runs only on Windows.
- TwinCAT 3 on this computer: the XAE engineering, the XAR runtime, or the ADS setup alone. Any of them brings the router.
- A TwinCAT 3 PLC: the runtime on this computer (part A), or a Beckhoff controller or another PC on the network (part B).
- A license to run the PLC. Beckhoff's documentation describes the options, a trial license for development among them.