Addressing, Ethernet handles, Addressing ethernet handles – Yaskawa LEGEND-MC User Manual

Page 50

Advertising
background image

40

LEGEND-MC User’s Manual

Addressing

There are three levels of addresses defining Ethernet devices. The first is the Ethernet or hardware
address- a unique and permanent 6 byte number, or MAC address. No other device has the same Ethernet
address. The LEGEND-MC Ethernet address is set by the factory and the last two bytes of the address are
the serial number of the controller.

The second level of addressing is the IP address. This is a 32-bit (or 4 byte) number. The IP address is
constrained by each local network and must be assigned locally. Assigning an IP address to the controller
can be done in a number of ways.

The first method is to use the BOOT-P utility via the Ethernet connection (the LEGEND-MC must be
connected to the network and powered). For an explanation of BOOT-P see Third Party Software.

The second method for setting an IP address is to send the IA command through the LEGEND-MC 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: Yaskawa recommends that the IP address selected is not one that can be accessed across the Gate-
way. The Gateway is an application that controls communication between an internal network and the out-
side world.

The third level of Ethernet addressing is the UDP or TCP port number. The Yaskawa controller does not
require a specific port number. The port number is established by the master each time it connects to the
controller.

Ethernet Handles

An Ethernet handle is a communication resource within a device. The LEGEND-MC can have a
maximum of 16 Ethernet handles open at any time. When using TCP/IP, each connection to a device; i.e.,
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 ARPS 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 native

application.

CAUTION: Be sure 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. To ensure that the IP address is correct, please contact your system
administrator before connecting the controller to the Ethernet network.

PIC REQUIRED

Advertising