Galil DMC-3425 Home Security System User Manual


 
DMC-3425 Chapter 4 Communication 45
CAUTION: Be sure that there is only one BOOT-P server running. If your network has DHCP or BOOT-P
running, it may automatically assign an IP address to the controller upon linking it to the network. In order to
ensure that the IP address is correct, please contact your system administrator before connecting the controller
to the Ethernet network.
The second method for setting an IP address is to send the IA command through the DMC-3425 main
RS-232 port. The IP address you want to assign may be entered as a 4 byte number delimited by
commas (industry standard uses periods) or a signed 32 bit number. (Ex. IA 124,51,29,31 or IA
2083724575) Type in BN to save the IP address to the controller's non-volatile memory.
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. The Galil controller does not
require a specific port number. The port number is established by the client or master each time it
connects to the controller.
Ethernet Handles
An Ethernet handle is a communication resource within a device. The DMC-3425 can have a
maximum of 8 Ethernet handles open at any time. When using TCP/IP, each connection to a device,
such as the host computer, requires an individual Ethernet handle. In UDP/IP, one handle may be used
for all the masters, but each slave uses one. (Pings and ARP's do not occupy handles.) If all 8 handles
are in use and a 9
th
master tries to connect, it will be sent a "reset packet" that generates the appropriate
error in its windows application.
The TH command may be used to indicate which handles are currently connected to and which are
currently free.
Global vs. Local Operation
Each DMC-3425 controls two axes of motion, referred to as A and B. The host computer can
communicate directly with any DMC-3425 using an Ethernet or RS-232 connection. When the host
computer is directly communicating with any DMC-3425, all commands refer to the first two axes as
A and B. Direct communication with the DMC-3425 is known as LOCAL OPERATION.
The concept of Local and Global Operation also applies to application programming. See Chapter 7:
Global vs. Local Programming.