gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GInterrupt()

byte GInterrupt ( ) throws GclibJavaException
inline

Provides access to PCI and UDP interrupts from the controller.

Interrupts can be generated automatically by the firmware on important events via EI (Enable Interrupt) or by the user in embedded DMC code via UI (User Interrupt). To use this function, -s EI must be used in the GOpen() address string to subscribe to interrupts.

Returns
The status byte of the interrupt.
Exceptions
GclibJavaExceptionIf an error is generated by gclib.

Definition at line 207 of file GclibJava.java.