Quickstart
Creation of a simulation project with the hardware that is to be used in the control project.
- 1. To export the hardware configuration of the control project click in the Solution Explorer on the EtherCAT Master Device, then on the tab EtherCAT and finally on the button Export Configuration File... .
- 2. Then create the simulation project on the simulation IPC
- 3. click on Add New Item in order to create an EtherCAT simulation device.
- 4. Open the context menu of the EtherCAT simulation device and click on Import ENI file in order to import the EtherCAT configuration of the EtherCAT master.
- The simulation project is created and filled with the hardware configuration of the control project.
What else needs to be done?
- Creation or instancing of the “simulation” TwinCAT modules
- Creation of a task that drives the simulation modules (with half the cycle time on account of the sampling theorem)
- Linking of the variables of the process image of the simulation models with those of the mirrored process image of the EtherCAT simulation device