gclib  2.0.8
Communications API for Galil controllers and PLCs
Vector Mode 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 vector mode.
  • How to read and maintain the length of the vector buffer.
  • How to read in a file of vector points and apply them to the controller.

Prerequisites

A Galil controller with two motors: one connected at the A axis and the other connected at the B axis.

Command Line Arguments

This example requires 2 arguments:

  • The IP Address of a Galil controller.
  • The path to a file containing vector commands.
vector_example.exe 192.168.42.92 vector_points.txt