gclib examples  0
Example Projects for the Communications API for Galil controllers and PLCs
contour_example.cpp File Reference
#include "examples.h"
#include <iostream>

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Main function for Contour Example. More...
 

Detailed Description

See contour() for implementation of logic

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.

Definition in file contour_example.cpp.