Galil Motion Control DMC-21 5 Series User Manual page 32

Table of Contents

Advertisement

Be sure that there is only one DHCP server running. If the network has DHCP running, it may
automatically assign an IP address to the DMC controller upon linking it to the network. In order to
WARNING
ensure that the IP address is correct, please contact the system administrator before connecting the
I/O board to the Ethernet network.
The third method for setting an IP address is to send the
will automatically change the
by commas (industry standard uses periods) or a signed 32 bit number (e.g.
2083724575). Type in
NOTE: Galil strongly recommends that the IP address selected is not one that can be accessed across the Gateway.
The Gateway is an application that controls communication between an internal network and the outside world.
The third level of Ethernet addressing is the UDP or TCP port number. Communication over TCP to the controller
uses port 23. Communication over UDP to the controller uses port 23 and 60007.
Communicating with Multiple Devices
The DMC-21x5 is capable of supporting multiple masters and slaves. The masters may be multiple PC's that send
commands to the controller. The slaves are typically peripheral I/O devices that receive commands from the
controller. The term "Master" is equivalent to the internet "client". The term "Slave" is equivalent to the internet
"server".
An Ethernet handle is a communication resource within a device. The DMC-21x5 can have a maximum of 8
Ethernet handles open at any time. When using TCP/IP, each master or slave uses an individual Ethernet handle. In
UDP/IP, one handle may be used for all the masters, but each slave uses one. Pings and ARPs do not occupy
handles.
When the Galil controller acts as the master, the
The IP address may be entered as a 4 byte number separated with commas (industry standard uses periods) or as a
signed 32 bit number.
Which devices receive what information from the controller depends on a number of things. If a device queries the
controller, it will receive the response unless it explicitly tells the controller to send it to another device. If the
command that generates a response is part of a downloaded program, the response will route to whichever port is
specified as the default (unless explicitly told to go to another port with the
destination for the information, add {Ex} to the end of the command. (Ex.
"Hello" to handle #3.)
Multicasting
A multicast may only be used in UDP/IP and is similar to a broadcast (where everyone on the network gets the
information) but specific to a group. In other words, all devices within a specified group will receive the
information that is sent in a multicast. There can be many multicast groups on a network and are differentiated by
their multicast IP address. To communicate with all the devices in a specific multicast group, the information can
be sent to the multicast IP address rather than to each individual device IP address. All Galil controllers belong to a
default multicast address of 239.255.19.56. The controller's multicast IP address can be changed by using the IA> u
command.
Using Third Party Software
Galil supports DHCP, ARP, and Ping which are utilities for establishing Ethernet connections. DHCP is a protocol
used by networked devices (clients) to obtain the parameters necessary for operation in an Internet Protocol
Chapter 4 Software Tools and Communication ▫ 27
DH
setting from 1 to 0. The IP address may be entered as a 4 byte number delimited
BN
to save the IP address to the DMC-21x5 non-volatile memory.
IA
command through the serial port. The
IH
command is used to assign handles and connect to its slaves.
MG{EC}"Hello"
IA
IA
124,51,29,31
or
IA
command). To designate a specific
CF
will send the message
DMC-21x5 User Manual 1.0a1
command

Advertisement

Table of Contents
loading

Table of Contents