Ethernet Services
Ethernet Services
Ethernet Services
no 3HAC 7844-1
Ethernet Services
CONTENTS
Page
1 Overview .......................................................................................................................... 3 1.1 Requirements for using the Ethernet Services........................................................ 3 1.1.1 Controller Hardware .................................................................................... 3 1.1.2 Controller Software...................................................................................... 3 1.1.3 External Computer (PC) Software ............................................................... 4 2 Remote Mounted disk ..................................................................................................... 5 2.1 Overview ................................................................................................................ 5 2.2 Server and local path .............................................................................................. 5 2.3 Error handling......................................................................................................... 5 2.4 Authorization .......................................................................................................... 6 2.4.1 NFS .............................................................................................................. 6 2.4.2 FTP............................................................................................................... 6 2.5 Software on external computer............................................................................... 6 3 Protocols........................................................................................................................... 7 4 References ........................................................................................................................ 9
Ethernet Service
Ethernet Services
Overview
1 Overview
This document describes the functionality of the Option Ethernet Services and Ethernet services with FTP. This option has the following functionality: Remote Mounted Disks Access of the hard drive of an external computer from the controller
Ethernet TCP/IP Figure 1 The Ethernet services are all based on controller connected to a external computer. Note that the ethernet cable configuration in the picture are only drawn in a schematic manner. The real configuration varies depending on what type of ethernet is used.
1.1.1
Controller Hardware The following Controller Hardware is required for the Ethernet Services: S4Cplus
1.1.2
Overview
Ethernet Services
1.1.3 External Computer (PC) Software Both services TCP/IP stack Remote Mounted disk NFS Server or FTP server
Ethernet Services
Ethernet Services
down. Accessing the unit after the error message has been given will result in an error. Trusted units If the flag is set to Yes an error will be generated, the RAPID program will stop and the controller will switch to motors off mode.
2.4 Authorization
2.4.1 NFS The NFS protocol specifies a way of authorizing the user to access a specific server. These parameters are setup using the User ID and Group ID parameters. If these parameters are not used which usually is the case on a PC, set them to the default value 0. Note that these two parameters must be the same for all mountings on one robot controller.
2.4.2
FTP FTP makes it possible to control the access to the server. The user has to have an account to login on the server. The account specifies username and a password. Note that the password will be visible on the TPU and in the configuration file, sio.cfg.
Ethernet Services
Protocols
3 Protocols
RAP, remote mounted disk and booting via network are all based on the TCP/IP protocol suite. TCP/IP is not vendor-specific and is widely used both for Wide and Local Area Networks. RAP NFS FTP
RPC/XDR
ICMP
IP
PPP
Ethernet
Figure 2 The protocols used for the Communication in the S4C controller
Figure 2 shows the protocols used in the controller. All protocols except the Robot Application Protocol (RAP) are standard protocols. The list below briefly explains the function of each protocol and includes references for further information. PPP PPP is a de-facto standard for point-to-point serial connections running TCP/ IP. It is used in the controller for RAP-communications via a serial line. Ethernet Ethernet is a common standard for communication in networks. It was developed by Xerox Corporation 1976. The standard IEEE802.3 was developed from the original ethernet. Information is transferred in packets on the cable. When a node wants to send a packet, it first checks that there is no traffic on the line. In that case it waits a while. This technique for collision detection is called CSMA/CD, Carrier Sense Multiple Access with Collision Detection. The transmission rate is 10Mbit/s and there are four different cabling systems Thick (standard ethernet) with thick (10mm) coaxial cables, thin ethernet with thinner (5mm) coaxial cables, fibre optic ethernet and Twisted pair cables. References: Nemzov, The Ethernet management guide: keeping the link. Ethernet Services User s Guide 7
Protocols
Ethernet Services
IP Internet Protocol, IP provides a packet delivery service for TCP, UDP and ICMP. ICMP Internet Control Message Protocol handles errors and control information between gateways and hosts in the network. This messages are normally generated and handled within the TCP/IP networking software. TCP Transmission Control Protocol is a connection-oriented protocol that provides a reliable full-duplex stream. TCP guarantees that the messages reach their intended destination. UDP A connectionless protocol. UDP does not guarantee that the messages reach the indented destination. This has instead to be handled by the overlaying protocols RPC/XDR Remote Procedure Call/eXternal Data Representation. RPC is a protocol for invoking a procedure on an remote machine. For the user of the RPC calls it appears like they are executed on the local machine, i.e. the network is transparent. XDR provides a standardized form for transmission of data between different computers. The controller uses Sun/RPC Version 4.0r NFS Network File System NFS is a protocol developed by Microsystems that uses IP to allow a computer to access the file system of another computer. FTP File Transfer Protocol FTP provides file transfer using TCP/IP. FTP copies a complete file from one system to another system.
Ethernet Services
References
4 References
1 RAP Protocol Specification (ABB Flexible Automation) 2 RAP Service Specification (ABB Flexible Automation) 3 User s Guide (ABB Flexible Automation) 4 RobComm User s Guide (ABB Flexible Automation) 5 Nemzow, Martin A. W., The Ethernet management guide: keeping the link. 2nd ed., McGraw-Hill, 1992. ISBN 0-07-046320. 6 Power Programming with RPC by John Bloomer, OReilly & Associates, Inc. ISBN 0-937175-77-3 7 Comer, Douglas E., Internetworking with TCP/IP, Prentice-Hall International, Inc. Vol I-III. 8 A number of RFCs. These are the standard document for the Internet protocols. They can be downloaded from the internet from several sites.: - RFC 760 IP - RFC 761 and 793 TCP - RFC 768 UDP - RFC 1050 RPC - RFC 1094 NFS - RFC 959FTP
References
Ethernet Services
10