beautypg.com

IAI America XSEL Ethernet User Manual

Page 49

background image

- 43 -


7. Common Items to Note (Be Sure to Read This Section.)

(1)

The Ethernet option will be enabled when a reset is executed on the controller equipped with an
Ethernet interface board, following a parameter setup (Ethernet option function-selection parameter
and network environment parameters) by transferring the parameters to the controller and writing
them to the flash ROM, and an Ethernet cable connection.

Check the connection to the network using a “ping” command (the command for checking the status
of communication on the IP level of TCP/IP using an MS-DOS prompt (or command prompt in
Windows NT/2000)) or similar command.
* For details on the parameters, refer to “Appendix: “X-SEL (Cartesian/IX SCARA) Ethernet Option

Parameters.”


(2)

Build the system by ensuring a sufficient period so that the port opening order of the connected
device and controller will satisfy “server port open

 client port open.”


(3)

When the controller is used as a server, the number of clients that can be connected to one
server-port channel simultaneously is 1.


(4)

When the controller is used as a server, if the IP address and port number of the connected device
do not match, the network status will become “connected” and then the connection will close.

When the controller is used as a server, the port number on the client side is not already known in a
system where the client’s port number is not bound (the own port number on the client side is
assigned automatically). Therefore, set the port number of connection destination to “0” (= Ignore
port number of connected device).

With this setting, the first connection from the specified IP address will be considered a valid
connection. All connections from other ports of the same IP address will be considered invalid and
rejected until the first connection is disconnected.


(5)

When the controller is used as a server, no other port may not be opened (socket cannot be
generated) in the event of insufficient socket space caused by continuous external connection to the
server port.


(6)

Build the system in such a way that the power will be shut off only after a disconnection process
(socket closure) is performed on the connected-device side whenever the power is to be shut off only
to the connected device while maintaining power to the controller.


(7)

The system to be connected to the controller should constantly perform a connection check via
polling, etc., and return a close response upon receipt of a closing command from the controller.
Given the lack of a close response, in some cases the controller may not be able to open the port
(generate a socket).


(8)

Select a straight or crossed Ethernet cable as deemed appropriate for the connection environment.

[Normal]

Controller

 HUB connection

Straight

Connection between controllers

Crossed

Controller

 PC connection

Crossed