| gclib 528 Communications API for Galil controllers and PLCs |

IP Assigner 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 issue basic commands.
- How to listen on the network for Galil Controllers requesting an IP Address.
- How to assign a Galil Controller an IP Address.
- How to connect to a controller via IP Address.
- How to get information on a connected controller such as MAC Address and Serial Number.

### Prerequisites

A Galil controller connected to the same network as the host computer.

### Command Line Arguments

This example requires 2 arguments:

- The Serial # of a Galil Controller.
- A value between 1-255 that defines the last byte of the newly assigned IP Address.