Quick start
To start, create or open a TwinCAT HMI project
Installation
Install the NuGet package “Beckhoff.TwinCAT.HMI.Motion” via the NuGet Package Manager.
Adding the control.
- 1. Open a View, Content or UserControl
- 2. Open your toolbox
- 3. Use drag and drop to add the Motion Control from your toolbox to the open View, Content or UserControl.
- 4. Select the newly added control.
- 5. Open the Properties window.
- Under the Common group, you will find the Main NC and NC Task parameters.
- 6. Set the Main NC and NC Task parameters. Use the existing names or adapt them. ("Main NC" = NC, "NC Task" = NC-Task1)
- The control has been successfully configured.
Configuring the ADS interface
- 1. Open the server configuration page
- 2. Go to the ADS tab.
- All configurations of the ADS interface are displayed here.
- 3. Open the subitem Runtime.
- All configured runtimes are displayed here.
- 4. Insert the corresponding ADS runtimes for Motion Control. Use the names that you entered in the control configuration.
Default values:
Main NC: "NC" Port 500
NC Task: "NC-Task1" Port 501
- The configuration of the ADS extension is complete.
Displays
- 1. Start the LiveView.
- 2. Go to the corresponding page where you have placed the control.
- The control is displayed with the corresponding configuration.