| gclib 1.35.5 Communications API for Galil controllers and PLCs |

Position Tracking Example

C++ | C# | Visual Basic
--- | --- | ---
Example | Example | Example
Logic | Logic | Logic
Instructions | Instructions | Instructions

We are always interested in what our customers would like to see! To request any new examples or supported languages, please email suppo.nosp@m.rt@g.nosp@m.alil..nosp@m.com.

## Concepts

This example demonstrates:

- How to connect to a controller via IP Address.
- How to issue basic commands.
- A controller in position tracking mode.

## Prerequisites

A Galil controller with a motor connected at the A axis is needed for this example.

## Command Line Arguments

This example has 1 required argument and 1 optional argument:

- Required: The IP Address of a Galil controller.
- Optional: The speed of the controller in Position Tracking mode (Default 5000).

position_tracking_example.exe 192.168.42.96 4000

## Example Output

Begin Position Tracking with speed 5000. Enter a non-number to exit.
Enter a new position:
4000
Enter a new position:
-8000
Enter a new position:
10000
Enter a new position: