gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches
Record Position 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 manage a record array (RC/RD/RA) ring buffer.
  • How to record position data and save to a text file.

Prerequisites

A Galil controller with a motor connected at the A axis and 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 file to save Axis A positional data.
  • The path to a file to save Axis B positional data.
record_position_example.exe 192.168.42.96 axis_a.csv axis_b.csv