Move a stage in X and Y direction according to the graph below.
- Two Triamec drives with a motor and encoder connected and configured with a stable position controller
- Connection to the drives by Tria-Link via PCI adapter card TL.
This project is made and built with Microsoft Visual Studio.
In addition you need TAM Software installation.
-
Set the upper and lower limit in the registers for the X and Y axis (for example with the TAM System Explorer). These limits are used by the application (with some safety margin) to determine the corner points of the movement pattern.
-
Open file
Properties > Settings.settings
(if used in a IDE) orXY Demo.exe.config
(if used as an executable) and configure the parameters to your needs.xNumberOfSteps
: Number of steps in X direction. In the graph above,xNumberOfSteps = 5
sleepTime
: Dwell time (in milliseconds) in between moves.yAxisName
: Name of the axis that behaves as the Y axis according to the graph above.xAxisName
: Name of the axis that behaves as the X axis according to the graph above.
-
Build/start the
XY Demo.sln
(if used in an IDE) or theXY Demo.exe
(if used as an executable)
Simply use the Start and Stop buttons. The Start of the sequence might takes some seconds, as the axes are enabled and start commutation according to your configuration.