Samples WPF 2. Creating a user interface Now change to Microsoft Expression Blend and open the project you just created in order to create the user interface. In the upper left you see the two outputs that are also output to the Bus Terminals. The bottom left shows the variable for counting the workpieces. The cycle speed of the motor can be changed via the 'Speed' field on the right. The 'Steps' display shows the number of cycles that are output on output 1. To make the user interface constantly adapt its size, copy the upper grid and insert a view box instead of the grid. Now insert the grid into the view box. Now set the size of the page, the view box and the grid to 'Auto'.
This may result in a shift of elements. You will then have to position them again. Please ensure that the size of the page, the view box and the grid is not inadvertently reset to fixed. 3. Adding a reference Once the interface has been created, add a reference called 'TwinCAT.Ads.dll'. This can be done in Visual Studio or Expression Blend. In both cases proceed via the menu 'Project --> Add Reference'. TX1000 30 Version: 1.2