gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches
Contour 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.
  • How to record position data and save to a text file.
  • How to play back recorded data using contour mode.

Prerequisites

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

Command Line Arguments

This example requires 3 arguments:

  • The IP Address of a Galil controller.
  • The path to a csv file to store positional data for the A axis.
  • The path to a csv file to store positional data for the B axis.
contour_example.exe 192.168.42.200 axis_a.csv axis_b.csv