beautypg.com

Using galil software for windows – Galil DMC-2X00 User Manual

Page 29

background image

Step 6. Establish Communications with Galil Software

Communicating through the Main Serial Communications Port

Connect the DMC-2x00 MAIN serial port to your computer via the Galil CABLE-9PIN-D (RS-232
Cable).

Using Galil Software for DOS (serial communication only)

To communicate with the DMC-2000, type TALK2DMC at the prompt. Once you have established
communication, the terminal display should show a colon, :. If you do not receive a colon, press the
carriage return. If a colon prompt is not returned, there is most likely an incorrect setting of the serial
communications port. The user must ensure that the correct communication port and baud rate are
specified when attempting to communicate with the controller. Please note that the serial port on the
controller must be set for handshake mode for proper communication with Galil software. The user
must also insure that the proper serial cable is being used, see appendix for pin-out of serial cable.

Using Galil Software for Windows

In order for the windows software to communicate with a Galil controller, the controller must be
registered in the Windows Registry. To register a controller, you must specify the model of the
controller, the communication parameters, and other information. The registry is accessed through the
Galil software under the “File” menu in WSDK or under the “Tools” menu in the Galil Smart
Terminal.

The registry window is equipped with buttons to Add a New Controller, change the Properties of an
existing controller, Delete a controller, or Find an Ethernet Controller.

Use the “New Controller” button to add a new entry to the Registry. You will need to supply the
Galil Controller model (eg: DMC-2000). Pressing the down arrow to the right of this field will reveal
a menu of valid controller types. You then need to choose serial or Ethernet connection. Remember, a
DMC-2000 connected via USB is plug and play and should be automatically added to the registry
upon connection.
The registry information will show a default Comm Port of 1 and a default Comm
Speed of 19200 appears. This information can be changed as necessary to reflect the computers
Comm Port and the baud rate set by the dip switches on the front of the controller (default is 19200
with HSHK on). The registry entry also displays timeout and delay information. These are advanced
parameters which should only be modified by advanced users (see software documentation for more
information).

Once you have set the appropriate Registry information for your controller, Select OK and close the
registry window. You will now be able to communicate with the controller.

If you are not properly communicating with the controller, the program will pause for 3-15 seconds
and an error message will be displayed. In this case, there is most likely an incorrect setting of the
serial communications port or the serial cable is not connected properly. The user must ensure that the
correct communication port and baud rate are specified when attempting to communicate with the
controller. Please note that the serial port on the controller must be set for handshake mode for proper
communication with Galil software. The user must also insure that a “straight-through” serial cable is
being used (NOT a Null Modem cable), see appendix for pin-out of serial cable.

Once you establish communications, open up the Terminal and hit the “Enter” key. You should
receive a colon prompt. Communicating with the controller is described in later sections.

DMC-2X00

Chapter 2 Getting Started

y 19