| gclib 2.0.7 Communications API for Galil controllers and PLCs |

## ◆ GAssign()

void GAssign | ( | String | ipAddress,
|  | String | macAddress
| ) |  | throws GclibJavaException
| inline

Uses GUtility(), G_UTIL_GCAPS_ASSIGN or G_UTIL_ASSIGN to assign an IP address over the Ethernet to a controller at a given MAC address.

Parameters

  ipAddress | The IP address to assign.
  macAddress | The MAC address of the hardware.

Exceptions

  GclibJavaException | If an error is generated by gclib.

Definition at line 419 of file GclibJava.java.