Manual

Introduction 1-15
1.9 Machine Operation and the GEM Interface
1.9.1 Connecting to the Host
FmNT loads the GEM communications driver immediately upon startup. Once
connection to the driver is established, the device enters its default communication
state as set by the operator. This default state can be set via the GEM property page.
The recommended selection is “Enabled”. If enabled, the Communications State
Machine in the GEM driver sends the Establish Communications Request message
(S1F13) every ESTABLISHCOMMUNICATIONSTIMER seconds until a reply is
received from the Host. The Communication State changes to reflect this response.
Unlike other state machines, transitions in this state machine do not produce events
or message reports to the Host.
In the Main Window of FmNT, the GEM Status control can be seen in the lower
part of the screen in a status bar display format. The COMM section displays the
GEM communication state of the program. The CTRL section displays the control
state of the program. The SPOOL section displays the spooling state of the program.
General GEM controls are available to the user by clicking on the SECS/GEM
button from the main window.
The initial (default) control state is set through the GEM property page dialog.
“ONLINE/REMOTE” is recommended for this setting. This way, the host has
control of the machine once the application has started and communication has been
established. Refer to GEM Property Page section for further detail.
Normally, communications are established without fault, and going to the GEM
setup dialog would only be used by the operator to manually go off line for
maintenance reasons.
1.9.2 Device Identification
The Host periodically sends the Are You There message (S1F1) to the Equipment. If
the communication link is operational the Equipment automatically responds with
the acknowledgment message (S1F2) which contains FmNT model type (MDLN)
and software revision number (SOFTREV). The Host may receive more detailed
information by requesting the MachineID variable from the Equipment.