A very simple HTML trailer might be: Example 7.4. Simple HTML Trailer
<META HTTP-EQUIV=\"PRAGMA\" CONTENT=\"NO-CACHE\">
Trailer: Example 7.6. Trailer
' TEXTTRLR = '' GETDHDR = '
 j
Demo Form Interface to Karel Program
 
,). The command #PRINTENV will print out all local and environment variables. It is also useful in debugging. It will be surrounded by HTML preformatting specifiers (
,) also.
ROBOT IS FAULTED!
<>!--#include file="md:erract.ls" -->
ROBOT IS NOT FAULTED!
ROBOT IS NOT FAULTED!
The value of $version is :
The value of $acc_maxlmt is :
The value of $rmt_master is :
The value of $io_auto_cfg is :
The value of $http_ctrl.$dbglvl is :
The value of $hosts_cfg[1].$state -->
The value of $SCR.$TEMPER_LIMS[1]= The value of din[6] is : The value of dout[5] is : The value of tpin[TP_ENBL] is : The value of tpin[TP_ENBL] is : The value of tpout[FAULT] is : The value of anin[1] is : The value of anout[1] is : The value of [myprog]myint is : The value of [myprog]mystring is : The value of [myprog]mybool is : The value of numreg[1]= The value of posreg[1,1] is <META HTTP-EQUIV="PRAGMA"CONTENT="NO-CACHE"> The value of $hosts_cfg[1] is:
Example 7.37. $SCR.$TEMPER_LIMS:
The value of [myprog]mypos is :
This is the next line.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch07s04.html
4/16/2002
7.5. HTTP AUTHENTICATION
Page 1 of 4
7.5. HTTP AUTHENTICATION The HTTP Authentication feature can restrict access to certain resources (files) on the robot through the web server. This capability is included with the Web Server Enhancements option. A resource can be restricted to require authentication (name/password) or can be completely locked so no access is available through the web server. If a resource must be authenticated then the robot web server will respond with a HTTP Authentication error (401). Then the browser will prompt you for a name and password. When you provide the name and password the request is sent back to the robot with the credentials provided. If the credentials match, then the resource can be accessed. If the resource is locked, then an HTTP Forbidden error (403) is returned indicating that no access is allowed. Note The only HTTP authentication method supported is BASIC.Basic uses base 64 encoding method for HTTP Authentication. The HTTP Authentication feature also applies to any external requests through the web server. It does not apply to any requests from the local iPendant web browser. The following resources will be authenticated:
iPendant (this expands internally to FRH:\CGTP\CGTP.HTM) web server access -- This entry limits access to teach pendant screens from your browser. This functionality requires either the web enhancement option or internet connectivity and customizzation options are loaded.
KAREL:DEMO-- This entry limits access to the demo.pc KAREL program through your browser.
KCL:* -- This entry limits access to any KCL commands through your browser.
FR:*.HTM -- This entry limits access to any files with a HTM extension on the FR: device. Note Wild cards can be used within the resource description. However wildcard expansion is limited to an entire field (device, path, name and extension). The first matching entry between the actual request and the protected resource list will apply. This request matching is not case sensitive (but names and passwords are case sensitive).
The HTTP authentication feature is used within the robot controller password option. If the
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch07s05.html
4/16/2002
7.5. HTTP AUTHENTICATION
Page 2 of 4
password option is enabled, then the HTTP authentication uses the names and passwords configured within the password option and the associated access levels. If the robot controller password option is not enabled, then the names and passwords are local to HTTP authentication.
7.5.1. OPERATION HTTP Authentication is configured through the HTTP Authentication SETUP screen. This can be found under the SETUP Menu by choosing Host Comm. Note The Web Enhancements Option must be installed in order to get to this screen. The following resources require authentication by default.
iPendant
KAREL:*
KCL:*
The first field on the HTTP SETUP screen indicates whether the resource is one of the following.
Locked -- no access
Unlocked-- unlimited access
Authenticate-- name and password needed Note Changes to the SETUP screen take effect immediately.
7.5.1.1. Robot Controller Password Option Not Enabled If the controller password option is not enabled, then the HTTP Authentication Setup screen is shown. If the Resource is set to (A)uthenticate then the name and password must match. Names and passwords are limited to 6 characters and are case sensitive. Note The name and password must be set before any resource requiring authentication can be accessed.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch07s05.html
4/16/2002
7.5. HTTP AUTHENTICATION
Page 3 of 4
HTTP Authentication Setup Screen (controller password option not active) HTTP Setup
A A A A A A A A
PROTECTED RESOURCES Name Pwrd Resource ***** ***** iPendant ***** ***** KAREL:* ***** ***** KCL:* ***** ***** ********************** ***** ***** ********************** ***** ***** ********************** ***** ***** ********************** ***** ***** **********************
7.5.1.2. Robot Controller Password Option Enabled If the controller password option is enabled then the HTTP Authentication Setup screen shown below will be displayed. See the following screen for an example. If the Resource is set to Authenticate then the name and password entered must correspond to a user defined within the password option setup screens. The level associated with that user must be at least equivalent to the Level set for HTTP Authentication of that resource. The default level set for all resources is Install. This can be changed to Operator, Program, Setup, or Install with the [CHOICE] key when the cursor is on the Level field. HTTP Authentication Setup Screen (controller password option active) HTTP Setup
A A A A A A A A
PROTECTED RESOURCES Level Resource INSTALL iPendant INSTALL KAREL:* INSTALL KCL:* INSTALL *********************** INSTALL *********************** INSTALL *********************** INSTALL *********************** INSTALL ***********************
7.5.1.3. Example Configuration The following example configuration will allow unrestricted access to all files on the FR: device with the .HTM extension., but require authentication for any other files on the FR: device. Since the first match in the list applies any requests that match FR:*.HTM will use the configuration associated with this item, while other requests to FR: will use the configuration for the FR:*.* item. Note You must use the UNLOCK setting for FR:*.HTM and the AUTH setting for FR:*.*
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch07s05.html
4/16/2002
7.5. HTTP AUTHENTICATION
Page 4 of 4
HTTP Authentication Setup Screen with an Example Custom Configuration HTTP Setup PROTECTED RESOURCES Name Pwrd Resource A***** ***** iPendant A***** ***** KAREL:* A***** ***** KCL:* U***** ***** FR:*.HTM A***** ***** FR:*.* A***** ***** *********************** A***** ***** ************************ A***** ***** ************************
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch07s05.html
4/16/2002
8. PROXY SERVER
Page 1 of 1
8. PROXY SERVER 8.1. INTRODUCTION The proxy server on the robot allows you to browse web servers on the network from the iPendant. For the browser on the iPendant to be able to view web servers on the network, it needs a proxy server to proxy web requests from the iPendant to the remote server. The proxy server gets the response from the remote server and forwards it to the browser.
8.1.1. Operation of Proxy Server The proxy server operates in three different modes:
Mode 1: Allow access to all web servers on the building network.
Mode 2: Allow access to limited web servers on the building network.
Mode 3: Allow access to all web server on the building network and access to the internet using the building proxy server.
In the first mode (the default when proxy server option is loaded on the robot), a user can access all web servers on the building network from the iPendant. In the second mode, a user has restricted access to web servers on the building network. The servers have to be explicitly specified. Wildcard filtering is allowed. The third method can be used when internet access from the building network is allowed using a building proxy server ( contact your Information Systems department for details for your building proxy server.) The proxy server on the robot can be set up so that it uses the building proxy server for internet access. You can specify all the web servers that have direct access and no building proxy is required. Note The iPendant only supports the Basic (base 64 encoding) method for HTTP Authentication. If the building proxy server requires authentication, a pop-up window appears on the iPendant for you to enter the name and password.
8.1.2. Requirements for Using Proxy Server The proxy server is available for use only by the web browser on the iPendant. It cannot be used from Ethernet or PPP Serial/Modem connections. When browsing a particular web server, the proxy server needs to resolve names to IP addresses. So, the DNS (Domain Name Server) Client option is required. If the DNS option is not installed, you must make sure the web server name (used in the URL for the web browser) is present in the host entry table.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch08.html
4/16/2002
8.2. CONFIGURATION OF PROXY SERVER
Page 1 of 2
8.2. CONFIGURATION OF PROXY SERVER By default, when the proxy server option is installed, it is ready for use and works in mode 1. In order for mode 2 or 3 use the following procedure.
Procedure 8.1. Installing the Proxy Server Option 1. Press MENUS 2. Select 6 Setup. 3. Press F1, TYPE and select HOSTCOMM. You will see a screen similar to the following. Note You might have to go to the next page of the menu to see this option. SETUP\Protocols 1 2 3 4 5 6 7 8
Protocol TCP/IP TELNET PROXY PPP PING HTTP FTP DNS
Description TCP/IP Detailed Setup Telnet Protocol Proxy Server Point to Point Protocol Ping Protocol HTTP Authentication File Transfer Protocol Domain Name System
Note If PROXY protocol does not show up on the screen, you do not have the proxy server option installed. 4. Scroll to the PROXY protocol and press F3, DETAIL. You will see a screen similar to the following. Proxy/Setup External Proxy Enable : FALSE Server : ************************** Port : 8080 Exceptions: 1 ********************************** 2 ********************************** 3 ********************************** 4 ********************************** 5 ********************************** 6 ********************************** 7 ********************************** 8 **********************************
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch08s02.html
4/16/2002
8.2. CONFIGURATION OF PROXY SERVER
Page 2 of 2
5. To operate in mode 2 (allow limited access to web server on the building network), leave (External Proxy) Enable to be FALSE. Scroll to the Exceptions and enter the host names that you want to allow an iPendant user to access. You can enter wildcard at the beginning or the end of the entry. If no wildcards are used, an exact match is performed. Some examples are *.yahoo.com, 192.168.0.*, www.fanucrobotics.com. In the first case, all host names starting with 192.168.0 will be allowed. In the third case, an exact match for the hostname will be performed. 6. To operate in mode 3 (allow access to external web sites through a building proxy server and full access to web servers on the building network), change (External Proxy) Enable to be TRUE. Enter the external proxy server name or IP address (you can obtain this from your Information Systems department). The default port on the external proxy server is 8080 (you are able to change that if necessary). For all the web servers that are to be accessed directly from the robot without contacting the external proxy server, enter the names that would be used in the URL in the Exceptions list. For these entries, the robot will contact the web server directly. Note The Exception list uses string compare for the URL and the exception. It does not resolve the IP address for blocking or redirecting requests.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch08s02.html
4/16/2002
8.3. ERRORS RETURNED BY THE PROXY SERVER
Page 1 of 1
8.3. ERRORS RETURNED BY THE PROXY SERVER The Proxy Server returns any errors due to configuration to the web browser. The Proxy Server specifically returns the following errors.
HTTP 400 -- Bad Request: The request was not in the expected form. The expected form is http://hostname/...
HTTP 403 -- Forbidden: You are operating in mode 2 and were trying to browse a web server that was not in the exception list.
HTTP 414 -- Request URI Too Long The request (http://hostname/..) was longer than 4 Kbytes. The proxy server can handle requests only up to 4 Kbytes long. The content length can be any size but the URI can only be 4 Kybtes long.
HTTP 500 -- Internal Server Error: There was a problem opening connections as the system is out of resources.
HTTP 502 -- Bad Gateway: The hostname in the web request could not be resolved to an IP address. If you are using an external proxy server, the IP address does not match. Or, the web server you are trying to get does not respond. Verify that you have the DNS option installed or you have the hostname of the web server being used in the URL in the host entry table. Note The remote web server or the external proxy server might return one or more of these errors. The errors are standard HTTP errors specified by the RFC documents for the HTTP Protocol. You can contact your Information Systems department if you have any questions regarding these HTTP errors.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch08s03.html
4/16/2002
9. POINT-TO-POINT PROTOCOL CONNECTIVITY
Page 1 of 1
9. POINT-TO-POINT PROTOCOL CONNECTIVITY 9.1. OVERVIEW Point-to-Point Protocol (PPP) allows devices to connect to each other across a dedicated point to point link. FANUC Robotics SYSTEM R-J3iB Controllers support up to one user PPP connection via a serial port or with a modem installed in your R-J3iB controller. All internet options, except Ethernet Controller Backup and Restore, are available for devices to use over the PPP link.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 1 of 19
9.2. SETTING UP PPP ON YOUR CONTROLLER Point-to-Point Protocol (PPP) allows for simple point-to-point connections between network devices that exchange data. PPP allows a PC or other network device to establish a simple point-to-point network connection to your R-J3iB controller either directly through the P2 or P3 serial ports, or through an external modem connected to one of the available serial ports. You can make remote dial-in PPP connections to your R-J3iB robot, either through external modems installed on the P2 or P3 serial ports.
IP Addresses Table 9.1. and Table 9.2. show the default IP Addresses for the P2 and P3 ports. Table 9.1. Addresses for P2 Port (Direct Serial Port or External Modem) ITEM Robot Remote (PC) Subnet Mask
IP ADDRESS 1.1.2.10 1.1.2.11 255.255.255.0
Table 9.2. Addresses for P3 Port (Direct through Serial Port or External Modem) ITEM Robot Remote (PC) Subnet Mask
IP ADDRESS 1.1.3.10 1.1.3.11 255.255.255.0
If possible, you should use the default values in these tables. However, if you need to use different IP addresses for your Robot and Remote device, the IP addresses can be modified by using. Note If your robot is connected to an Ethernet network, you need make sure that the IP addresses for the PPP connections of both the R-J3iB robot and the remote device are on the same subnet, and that the subnet is different from the Ethernet subnet you are using for your R-J3iB Robot.
Supported Modems The following external modems are supported:
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 2 of 19
US Robotics Sportster, 56K Faxmodem with 2x
US Robotics Sportster, 28,800 Fax Modem with V.34 and V.32bis
9.2.1. Configuring the P2, P3, and P6 Ports You can configure ports P2 and P3 on the controller to be used as direct serial PPP connections, or you can connect an external modem to ports P2 and P3. Refer to Procedure 9.1. to configure port P2 or P3 for direct serial port connections to your network. Refer to Procedure 9.2. to set up port P2 or P3 for external modem connections to your network.
Procedure 9.1. Setting up Port P2 or P3 as Direct Serial Port Connections Steps 1. Cold start the controller. a. On the teach pendant , press and hold the SHIFT and RESET keys. Or, on the operator panel , press and hold RESET. b. While still pressing SHIFT and RESET on the teach pendant (or RESET on the operator panel), press the ON button on the operator panel. c. Release all of the keys. 2. Press MENUS. 3. Select SETUP. 4. Press F1, [TYPE]. 5. Select Port Init. You will see a screen similar to the following. SETUP Port Init 1 2 3 4
Connector Port RS-232-C P2: PORT B P3: JD17 RS-232-C P4: JD17 RS-422 P5:
[No [No [No [No
Comment use Use Use Use
] ] ] ]
6. Move the cursor to the port you want to set up, either P2 or P3. Press F3 DETAIL. You will see a screen similar to the following. 7. Move the cursor to Device, and press F4, [CHOICE]. 8. Move the cursor to PPP and press ENTER.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 3 of 19
Note The default and maximum supported baud-rate for the serial connection is 19.2 KB/Sec. 9. If the teach pendant does not show any messages, the port has been initialized for PPP. If the port setting was not displaying a No Use message, turn the controller on, and then on again.
Procedure 9.2. Setting up Port P2 or P3 for an External Modem Steps 1. Cold start the controller a. On the teach pendant , press and hold the SHIFT and RESET keys. Or, on the operator panel , press and hold RESET. b. While still pressing SHIFT and RESET on the teach pendant (or RESET on the operator panel), press the ON button on the operator panel or operator box. c. Release all of the keys. 2. Press MENUS. 3. Select SETUP. 4. Press F1, [TYPE]. 5. Select port Init, and press ENTER. You will see a screen similar to the following. SETUP Port Init 1 2 3 4
Connector Port RS-232-C P2: PORT B P3: JD17 RS-232-C P4: JD17 RS-422 P5:
[No [No [No [No
Comment use Use Use Use
] ] ] ]
6. Move the cursor to the port you want to configure, either P2 or P3, and press F3, DETAIL. You will see a screen similar to the following. SETUP Port Init PORT B P3: 1 Device [No Use 2 Speed(Baud rate) 3 Parity bit 4 Stop bit 5 Time out value(sec)
] [19200] [None ] [1bit ] [ 0]
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 4 of 19
7. Move the cursor to Device and press F4, [CHOICE]. 8. Move the cursor to Modem/PPP and press ENTER. Note The default and maximum supported baud rate for serial connections is 19.2 KB/sec. 9. Turn the controller off, and then on again for the changes to take effect.
9.2.2. Changing IP Addresses When assigning IP addresses to ports P2 and P3 you should use the default values listed in Table 9.1. and Table 9.2. . However, if you need to use different IP addresses for your robot or remote device, the default IP addresses can be changed by performing.
Procedure 9.3. Changing the Default IP Addresses Conditions
You have performed a Cold start on your controller
Steps 1. Press MENUS. 2. Select SETUP. 3. Press F1, [TYPE] 4. Select Host Comm. 5. Move the cursor to PPP. 6. Press F3, DETAIL. You will see a Port initialized for PPP or PPP/Modem message. 7. Press F3, DETAIL. You will see a screen similar to the following. SETUP PPP Port P3 Peer IP address : 1.1.3.11 Robot IP address : 1.1.3.10 Subnet mask : 255.255.255.0
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 5 of 19
8. Change the IP addresses and the subnet mask as desired.
9.2.3. Creating PPP Serial Port or Dial-Up Modem Connections on a Network PC You can configure your network PC for a Remote Access Server (RAS) dial-up connection. You can establish the dial-up connection to network devices either directly through a serial port, or through a modem. Use Procedure 9.4. to configure the RAS Software on your PC. For detailed information about how to add a dial-up connection to your PC, refer to the operating system software manual for your PC's operating system, or contact your network administrator. Note RAS is a component of Windows NT/98/2000.
Procedure 9.4. Setting up PPP on a Network PC Conditions
Make sure RAS on the PC is set up for dial-out only.
Steps 1. Click on "My Computer" Icon on the Desktop. 2. Double-click on "Control Panel." The following window will be displayed Figure 9.1. Control Panel Screen
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 6 of 19
3. Double-click on "Network" to configure network settings. 4. Select the "Services" tab as shown in the following figure. Figure 9.2. Network Screen
5. "Remote Access Service" should be present. If it is not present, click on Add and follow the directions provided by the Windows NT installation manual and install Remote Access Service (RAS). 6. Select "Remote Access Service" and click on properties. Figure 9.3. Remote Access Setup Screen
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 7 of 19
7. Select the Device to configure (Modem or Direct Serial Connection) and click on the configure button. The following window will be displayed. Figure 9.4. Configure Port Usage Screen
8. Select "Dial Out Only". 9. Select the icon My Computer on the desktop. You must double-click on Dial-Up Networking and select the New button. Figure 9.5. Dial-Up Networking
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 8 of 19
10. Type the name you want for this connection in the New Phone Book Entry Wizard window that is displayed. You must check the box that states the following:I know all about phonebook entries and would rather edit the properties directly. Figure 9.6. New Phonebook Entry Wizard
11. Set up the new phone book entry as follows: a. Type a name for your connection in the "Entry name" box. See Figure 9.7. . b. Select the network device you want to use for your RAS connection from the "Dial using" box. You can select either a Modem, or Dial-up Networking using a Serial cable. c. Click the Configure button, and proceed to Step 15. to configure your network device. Figure 9.7. New Phonebook Entry
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 9 of 19
12. Configure the modem or serial port. Do the following from the Modem Configuration dialog box: a. Turn off all hardware flow control, modem error control, and modem compression by leaving the "Hardware features" check boxes unchecked. See Figure 9.8. . Figure 9.8. Configure the Serial Device
b. Click the OK button to save your modem or serial port configuration. 13. Select the network protocol a. Click the Server tab on the Edit Phonebook Entry dialog box. b. Use the "Dial up server type" box to select PPP: Windows NT, Windows 95 Plus, Internet, as shown in Figure 9.9. . c. From the "Network protocols" frame, select TCP/IP, as shown in Figure 9.9. Do not use any of the other available network protocols. Figure 9.9. Select the Network Protocol
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 10 of 19
d. Turn off software compression and disable all PPP LCP extensions, as shown in Figure 9.9. Click the TCP/IP Settings button, and proceed to Step 23. to configure the PPP TCP/IP settings. 14. Configure the PPP TCP/IP settings. Do the following from the PPP TCP/IP Settings dialog box: a. Choose the IP address of the PC from the addresses specified in Table 9.1. through in Section 9.2.. b. Set all DNS and WINS server addresses to zero. Figure 9.10. Select the Network Protocol
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 11 of 19
c. Check the "Use IP header compression" and "Use default gateway on remote network" checkboxes, as shown in Figure 9.10. Click the OK button to save your PPP TC/IP settings. 15. Click the Security tab on the Edit Phonebook Entry dialog box . a. In the "Authentication and encryption policy" frame, enable the option to Accept any authentication including clear text, and shown in Figure 9.11. This will allow for plain text passwords. Note The R-J3iB controller does not have user name and password authentication capabilities. It will accept any (including blank) username and a blank password. Figure 9.11. Select the Network Protocol
16. Click OK and then dial to connect to the robot.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 12 of 19
Note Refer to the software documentation for you PC's operating system for detailed information about how to install and set up the RAS software.
Procedure 9.5. Setting Up a Serial PPP Connection to connect to a System RJ3/R-J3iB Robot on Windows 2000 1. Select Control Panel, Network and Dial Up Connections and Make a New Connection. 2. In the Network Connection Wizard, select Connect directly to another computer and press Next>.
3. Select Guest. The robot controller will be the host and you must Press Next> to continue.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 13 of 19
4. In the Select a Device Screen, select Communications cable between two computers (COMx), where x is the COM port you will be using for your connection. Press Next,> to continue.
5. If you want all users who log on to your PC to use this connection, select For all users and select NEXT,>.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 14 of 19
6. Give a name for this connection. Select Finish.
7. A user name and password is not required for this connection. You can leave them blank or ignore the boxes. Select Properties. You will see a screen similar to the following.
8. Select Configure and choose the proper baud rates. Select OK to return to this screen.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 15 of 19
9. Select the Security tab and Advanced (Custom Setting) and Settings.
10. Select Option Encrytion and select the box for Unencryted password (PAP) is checked. Uncheck all other boxes.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 16 of 19
11. Select the Networking tab. Uncheck Client for Microsoft Networks and File and Printer Sharing. You must make sure that Internet Protocol (TCP/IP) is selected.
12. Select Settings and make sure all the boxes are unchecked. Select OK.
13. Select Internet Protocol (TCP/IP) and choose Properties. Enter the IP address corresponding to the serial port you are using. Leave the entries for the DNS server address blank.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 17 of 19
14. Select the Advanced button. You must make sure the Use IP header compression box is selected.
15. Select the DNS tab. You must make sure that the boxes are checked/unchecked. See the following screen listed below.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 18 of 19
16. Select the WINS tab. Uncheck the box Enable LMHOSTS lookup.
17. Select the Options tab and choose IP Security and click on properties.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
9.2. SETTING UP PPP ON YOUR CONTROLLER
Page 19 of 19
18. You must make sure the Do not use IPSEC button is selected. Select OK.
19. If a window pops up with the message WINS entry is empty select OK to ignore the message.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch09s02.html
4/16/2002
10. DYNAMIC HOST CONFIGURATION PROTOCOL
Page 1 of 1
10. DYNAMIC HOST CONFIGURATION PROTOCOL 10.1. OVERVIEW DHCP (Dynamic Host Configuration Protocol) is a service which automates robot configuration on an existing Ethernet network. DHCP is used commonly on PCs to configure them on the network. The service requires a DHCP server to be present on the network. It returns the various network parameters to the requesting host (DHCP client) which configures it on the network automatically. The network parameters returned by the server typically include at least the IP address to be used by the robot, the subnet mask of the network, and the router or gateway used for that network. The server can be configured to return more information such as DNS servers and so forth which can be used to set up the robot as a DNS client. The DHCP server typically leases the IP address to the DHCP client. This means that the robot can use the IP address for a certain period of time called the lease time. The lease time period is returned by the DHCP server along with the IP address. The IP address given out by the server is valid for the duration of the lease time. This concept of allocating leases to an IP address is called Dynamic Allocation of the IP address. The server typically also returns a renewal time for dynamically allocated IP addresses. The renewal time is less than the lease expiry time. When the renewal time expires, the DHCP client typically renews the lease on the IP address (or gets back a new IP address) from the DHCP server.
10.1.1. Features of the Robot DHCP Client The Robot DHCP Client: ?
Is used at Controlled and Cold start for network configuration purposes
?
Is used at Configuration start for disaster recovery purposes (to be used with the ECBR option)
?
RFC2131 and RFC2132 (internet specification) compliant
?
Supports leasing of IP address
?
Checks IP address first to see if its in use before using it
?
Can act like a PC based DHCP client for seamless integration of the robots into the existing network
?
Is easy to set up
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch10.html
4/16/2002
10.2. SETTING UP DHCP ON THE ROBOT
Page 1 of 4
10.2. SETTING UP DHCP ON THE ROBOT The DHCP setup screens are located on the Setup-Hostcomm-TCP/IP screens. The DHCPCFG button on this screen launches the DHCP SETUP screen. Note The DHCP button shows up only when DHCP is installed on the robot.
Procedure 10.1. Setting up DHCP on the Robot 1. Press MENUS and select SETUP. 2. Press F1, [TYPE] and select Host Comm. You will see a screen similar to the following. SETUP\Host Comm TCP/IP Robot name: Robot IP addr: Router IP addr: Subnet Mask: Board address: Host Name (LOCAL) 1 *********** 2 *********** 3 ***********
ROBOT ************** ************** 255.255.255.0 08:00:19:02:68:22
Internet Address ***************** ***************** *****************
3. Press F2, DHCP to display the DHCP SETUP screen. You will see a screen similar to the following. DHCP Setup DHCP enable: DHCP status:
FALSE Disabled
4. Press F4, TRUE to enable DHCP. The DHCP status shows the status of the DHCP operation. DHCP Setup DHCP enable: TRUE DHCP status: Success
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch10s02.html
4/16/2002
10.2. SETTING UP DHCP ON THE ROBOT
Page 2 of 4
Note With the DHCP server properly configured, most users should be able to use the DHCP service on the robot by pressing the Enable button from the DHCP screens. If you need to reconfigure DHCP Setup (either on the robot side or on the server side) while DHCP is enabled, then you would need to disable DHCP first from the DHCP SETUP screens, make the necessary configuration changes, and re-enable DHCP again from the DHCP SETUP screens. Note It is recommended that when the system clock on the robot is changed, DHCP is disabled from the DHCP SETUP screen, and re-enabled again. 5. Press F3, ADV to go to the Advanced DHCP SETUP screen. You will see a screen similar to the following. Advanced DHCP Setup Client ID:
***********************
Set hostname in request:
FALSE
Retry rate on failure:
10 min
Use last valid IP on failure: FALSE
Note Most users do not need to go to the Advanced DHCP SETUP screen and change the defaults. The screen provides flexibility so that the robot can support different kinds of DHCP server configurations. In some cases it might be necessary to set advanced DHCP options from the Advanced DHCP Setup screen. You must consult with your network administrator if you have any questions.
10.2.1. Advanced DHCP Setup The client ID is an optional parameter that the client can send to the server to request for specific configuration information. The server needs to be configured to recognize the client ID that the user sets in this field. You can set this field to be the Ethernet address of the robot or to any string identifier. If you are typing an Ethernet address in this field, then the format of the Ethernet address must be 6 bytes separated by colons. An example might include http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch10s02.html
4/16/2002
10.2. SETTING UP DHCP ON THE ROBOT
Page 3 of 4
00:E0:E4:F7:94:AC Note The Ethernet address of your robot can be viewed from the TCP/IP screens. Setting the client ID field sets the system variable $DHCP_CLNTID. The set hostname in request field allows the robot to function like, Windows based DHCP clients (PC's) in sending out its hostname in the form of a DHCP request. Some servers are written explictly to service Microsoft clients only so this field allows the robot to function like PCs. To use the set hostname in request field, you have to make sure that the robot hostname field is set from the TCP/IP screens first. Setting this field sets $DHCP_CTRL.$SETHOST. Note It is up to the DHCP server to update DNS tables when an IP address is given out. If the server does not do this, then it will not be possible to access the robot using the robot hostname, and other hosts will need to use the IP address returned by the server to communicate with the robot. This feature where the DNS server gets informed about the new IP address (via the DHCP mechanism in this case) is called dynamic DNS. For security reasons, it is usually up to the server to do dynamic DNS and inform the DNS server of the IP address changes. The robot DHCP client does not support the dynamic DNS feature. Set this field to zero to disable retries. The retry rate on failure field controls the rate (in minutes) at which retries occur if the robot does not get a response back from the server. The DHCP internally tries for a full minute to contact the server before giving up and reporting an error. This retry rate field determines when the next attempt to contact the server must be done. Setting this field sets the system variable $DHCP_CTRL.$RETRATE. The last valid IP address on failure field is used in a case where the robot has a previously assigned IP address. and the lease is still valid on the IP address. When power is cycled on the robot, the robot on booting contracts the DHCP server to confirm the lease (this is standard DHCP behavior). If the DHCP server does not respond for some reason (network/ server is down or damage to cables), then this field determines if the robot will continue to use the IP address or not. If set to TRUE, then under these conditions, the robot will continue to use the IP address, but if set to FALSE, the robot will not use the IP address. Under no circumstances will the robot use the IP address beyond the lease expiry time, regardless of this setting. Setting this field sets the system variable $DHCP_CTRL.$USEIP.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch10s02.html
4/16/2002
10.2. SETTING UP DHCP ON THE ROBOT
Page 4 of 4
Note The Hostcomm-TCP/IP screens look different upon a successful DHCP operation. SETUP HostComm TCP/IP - DHCP enabled Robot name: Robot IP addr: Router IP addr: Subnet Mask: Board address: Host Name (LOCAL) 1 *********** 2 *********** 3 ***********
ROBOT 172.22.200.165 172.22.192.1 255.255.240.0 08:00:19:02:68:22
Internet Address ******************** ******************** ********************
The robot's network information, as returned by the server is reflected in the above screens, but also the first five lines are marked read-only and the user cannot edit these parameters when DHCP is enabled (regardless of whether the DHCP operation succeeded or not). If you must manually set these parameters, DHCP must be disabled.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch10s02.html
4/16/2002
10.3. DHCP SYSTEM VARIABLES
Page 1 of 3
10.3. DHCP SYSTEM VARIABLES $DHCP_CTRL_T structure includes the following fields. This system variable structure is saved in syshost.sv and can be copied to a media and moved between robots. $ENABLE: BOOLEAN: default FALSE This variable enables the robot to start functioning as a DHCP client. The robot tries to configure its Ethernet interface right away. On subsequent powerups, if this variable is set, the robot will try to contact the DHCP server and will use the configuration information returned by the server. If the variable is set, the robot will not use any parameters manually configured by the user from the teach pendant or via system variables on this power cycle or on subsequent power cycles. Enabling DHCP from the DHCP screens causes this field to be set to TRUE. Powerup:The powerup takes effect immediately. UIF Location:DHCP SETUP screen. $IPUSE: BOOLEAN default TRUE If DHCP is enabled and the robot has a valid lease on an IP address and power is cycled on the robot, then, on powerup, the robot tries to contact the DHCP server to validate its lease. If the server does not respond, the robot might not continue to use the IP address it obtained before. If this variable is set to TRUE, the robot will continue to use the IP address till the lease expires. If this variable is set to FALSE, the robot will shut down the ethernet interface right away. Under no circumstances will the robot continue to use an IP address after its lease has expired. PowerUp:Cycle power to take effect. UIF Location: DHCP advanced SETUP screen. $RETRATE: INTEGER: default 10 If DHCP is enabled, and the DHCP operation fails, this variable controls the rate (in minutes) at which attempts are made by the robot to contact the DHCP server. DHCP internally tries for a full minute to contact the server before giving up and reporting an error. This retry rate field determines when the next attempt to contact the server must be done. PowerUp: The powerup takes effect immediately. UIF Location:DHCP Advanced SETUP screen $SETHOST: BOOLEAN: default FALSE This variable sets the hostname field in the DHCP request sent to the server. Some servers require the hostname to be supplied in the hostname field in the request (especially servers
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch10s03.html
4/16/2002
10.3. DHCP SYSTEM VARIABLES
Page 2 of 3
serving microsoft clients). In this case, you may need to set this field to TRUE. When this field is set to TRUE, the robot hostname ($HOSTNAME) is supplied as the hostname in the DHCP request. Powerup: The powerup takes effect immediately. UIF Location: DHCP Advanced SETUP screen. $DHCP_INT_T structure This structure is used internally by DHCP. Users cannot modify this system variable structure (all fields are Read-Only). There is no UIF that displays this structure. This system variable is neither saved (not restored) in any .sv files. $LEASESTRTIME, ULONG: default 0 This variable gives the time of start of the lease. $LEASESTART: STRING Time of start of lease in a readable format. $LEASEENDTIME: ULONG: default 0 This variable gives the time when the lease will expire. $LEASEEND: STRING This variable is the lease expiry time in a readable format. $IPADD: STRING This variable indicates that the server returned the IP address. $ROUTERIP: STRING This variable indicates that the server returned router IP address. $SNMASK: STRING This variable indicates that the server returned subnet mask. $STATUS: STRING This variable indicates to the status of the DHCP operation. $DHCP_CLNTID: STRING: R/W Client identifier passed by the robot to the server. This might not have to be supplied, http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch10s03.html
4/16/2002
10.3. DHCP SYSTEM VARIABLES
Page 3 of 3
depending on how the DHCP server is configured. You must see your network administrator for more details. Typical use of the client identifier is either to supply an Ethernet address or to supply a string to the server. To use the Ethernet address, the 6 bytes must be separated by colons. Eg: 00:E0:E4:F7:94DC PowerUp: This variable takes effect immediately. UIF Location:DHCP SETUP screen.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch10s03.html
4/16/2002
10.4. DHCP TROUBLESHOOTING
Page 1 of 1
10.4. DHCP TROUBLESHOOTING Some of the DHCP errors that you might receive include the following: ?
The DHCP operation failed with HOST-244 DHCP: No response from the server You must make sure that the robot is connected to the network with a working Ethernet cable. You must contact your network administrator and make sure that the DHCP server is configured and running. The DHCP server must typically be located on the same network as the robot (otherwise, there must be a router on the network that functions as a DHCP relay agent and forwards requests and responses from one network to another). This problem could also happen if the network is having problems (such as heavy traffic). You can check this by looking at the Ethernet diagnostics by pressing DIAG key under the Host-Comm/TCP/IP screens.
?
The DHCP operation failed with HOST-255: DHCP duplicate IP
?
Ethernet on robot stops working with HOST-226 and HOST-227 errors (lease time expired/shutting down ethernet) The robot could not renew the DHCP lease and the lease expired. This should not happen under normal circumstances. The robot might not be connected to the network or the network is having problems or the DHCP server might not be running any more.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch10s04.html
4/16/2002
11. SOCKET MESSAGING
Page 1 of 1
11. SOCKET MESSAGING 11.1. OVERVIEW The Socket Messaging Option gives you the benefit of using TCP/IP socket messaging from KAREL. Socket Messaging enables data exchange between networks R-J3iB robots and a remote PC with Windows 9x/NT, or a UNIX workstation. A typical application of Socket Messaging might be an R-J3iB robot running a KAREL program that sends process information to a monitoring program on the remote PC. Socket Messaging uses the TCP/IP protocol to transfer raw data, or data that is in its original, unformatted form across the network. Commands and methods that Socket Messaging uses to transfer data are part of the TCP/IP protocol. Since Socket Messaging supports client and server tags, applications requiring timeouts, heartbeats, or data formatting commands can provide these additional semantics at both the client and server (application) sides of the socket messaging connection.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11.html
4/16/2002
11.2. SYSTEM REQUIREMENTS
Page 1 of 1
11.2. SYSTEM REQUIREMENTS This section contains information about the compatibility of socket messaging with some typical network software, transmission protocols, and interface hardware.
11.2.1. Software Requirements Socket Messaging is compatible with all other SYSTEM R-J3iB Internet Options including DNS, FTP, Web Server, and Telnet. Note Client and Server tags are shared between Socket Messaging and FTP. A tag can be set for either FTP operation or for SM (Socket Messaging) operation
11.2.2. Hardware Requirements Socket Messaging is compatible with all network hardware configurations that use the TCP/IP network protocol. Some of these network hardware configurations include Ethernet, serial PPP connections and PPP modem connections.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s02.html
4/16/2002
11.3. CONFIGURING THE SOCKET MESSAGING OPTION
Page 1 of 6
11.3. CONFIGURING THE SOCKET MESSAGING OPTION In order to use Socket Messaging, you need to configure the following network hardware and software parameters: ?
On the server, ?
?
The port you want to use for socket messaging
On the client, ?
The IP address or name of your server
?
The port on the server that you want to use for socket messaging.
Use Procedure 11.1. to set up a Socket Messaging Server Tag. Use Procedure 11.2. to set up a Socket Messaging Client Tag. Note The server port at which the server listens on should match the port the client tries to connect on.
11.3.1. Setting up a Server Tag You need configure the server tags you want to use for socket messaging. Use Procedure 11.1. to set up your server tags. Note If the server tags you want to use are being used by a network protocol other than TCP/IP, you need to undefine the tags before they can be used for socket messaging. After making sure the tag you want to use is not critical to another component of your network, use Procedure 4.3. to undefine a client tag. Use Procedure 4.4. to undefine a server tag.
Procedure 11.1. Setting up a Server Tag Conditions ?
The tag you want to set up is not configured to be used by another device on your network.
Steps http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s03.html
4/16/2002
11.3. CONFIGURING THE SOCKET MESSAGING OPTION
Page 2 of 6
1. Cold start the controller. a. On the teach pendant , press and hold the SHIFT and RESET keys. Or, on the operator panel , press and hold RESET. b. While still pressing SHIFT and RESET on the teach pendant (or RESET on the operator panel), press the ON button on the operator panel. c. Release all of the keys. 2. On the teach pendant, press MENUS. 3. Select SETUP. 4. Press F1, [TYPE]. 5. Select Host Comm. 6. Press F4, [SHOW]. 7. Choose Servers. 8. Move the cursor to the tag you want set up for Socket Messaging, and press F3, DETAIL. You will see screen similar to the following. SETUP Tags Tag S3: 1 Comment: **************** 2 Protocol name: ******** 3 Port name: ***** 4 Mode: ************************* Current State: UNDEFINED 5 Remote: ******** 6 Path: **************************** Startup 7 State: 8 Remote: ********** 9 Path: **************************** Options 10 Error Reporting: OFF 11 Inactivity Timeout: 15 min
9. Move the cursor to Protocol name, and press F4, [CHOICE]. 10. Select SM. 11. Move the cursor to Startup State, and press F4, [CHOICE]. 12. Select START, and press F2, [ACTION]. http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s03.html
4/16/2002
11.3. CONFIGURING THE SOCKET MESSAGING OPTION
Page 3 of 6
13. Select DEFINE, and press F2, [ACTION]. 14. Select START. 15. Set the system variable: a. Press MENUS. b. Select NEXT. c. Select SYSTEM, and press F1, [TYPE]. d. Select Variables. e. Move the cursor to $HOSTS_CFG, and Press ENTER. f. Move the cursor to the structure corresponding to the tag selected in Step 11.. For example, if you are setting up tag S3, move the cursor structure element [3], as shown in the following screen. SYSTEM Variables $HOSTS_CFG 1 [1] 2 [2] 3 [3] 4 5 6 7 8
[4] [5] [6] [7] [8]
HOST_CFG_T HOST_CFG_T HOST_CFG_T HOST_CFG_T HOST_CFG_T HOST_CFG_T HOST_CFG_T HOST_CFG_T
g. Press ENTER. You will see a screen similar to the following. SYSTEM Variables $HOSTS_CFG[3] 1 $COMMENT 2 $PROTOCOL 3 $PORT 4 $OPER 5 $STATE 6 $MODE 7 $REMOTE 8 $REPERRS 9 $TIMEOUT 10 $PATH 11 $STRT_PATH 12 $STRT_REMOTE 13 $USERNAME 14 $PWRD_TIMOUT 15 $SERVER_PORT
*uninit* 'SM' *uninit* 3 3 *uninit* *uninit* FALSE 15 *uninit* *uninit* *uninit* *uninit* 0 0
h. Move the cursor to $SERVER_PORT. Type in the name of the TCP/IP port you http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s03.html
4/16/2002
11.3. CONFIGURING THE SOCKET MESSAGING OPTION
Page 4 of 6
want to use for socket messaging. The server tag is now ready to use from a KAREL program.
11.3.2. Setting up a Client Tag You need configure the client tags you want to use for socket messaging. Use Procedure 11.2. to set up your server tags. You can also use Procedure 11.2. to undefine server tags. Note If the client tags you want to use are being used by a network protocol other than TCP/IP, you need to undefine the tags before they can be used for socket messaging.
Procedure 11.2. Setting up a ClientTag Conditions ?
The tag you want to set up is not configured to be used by another device on your network.
Steps 1. Cold start the controller. a. On the teach pendant , press and hold the SHIFT and RESET keys. Or, on the operator panel , press and hold RESET. b. While still pressing SHIFT and RESET on the teach pendant (or RESET on the operator panel), press the ON button on the operator. c. Release all of the keys. 2. On the teach pendant, press MENUS. 3. Select SETUP. 4. Press F1, [TYPE]. 5. Select Host Comm. 6. Press F4, [SHOW]. 7. Choose Clients. 8. Move the cursor to the tag you want set up for Socket Messaging, and press F3, DETAIL. You will see screen similar to the following.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s03.html
4/16/2002
11.3. CONFIGURING THE SOCKET MESSAGING OPTION
Page 5 of 6
SETUP Tags Tag C3: 1 Comment: **************** 2 Protocol name: ******** 3 Port name: ***** 4 Mode: ************************* Current State: UNDEFINED 5 Remote: ******** 6 Path: **************************** Startup 7 State: 8 Remote: ********** 9 Path: **************************** Options 10 Error Reporting: OFF 11 Inactivity Timeout: 15 min
9. Move the cursor to Protocol name, and press F4, [CHOICE]. 10. Select SM. 11. Move the cursor to Startup State, and press F4, [CHOICE]. 12. Select Remote, and press ENTER. 13. Type in the of the remote host server you want to use for socket messaging, and press F2, [ACTION]. 14. Select DEFINE. Note If you are not using DNS, you must use Procedure 2-2 to add the remote host and its IP address into the host entry table. 15. Set the system variable: a. Press MENUS. b. Select NEXT. c. Select SYSTEM, and press F1, [TYPE]. d. Select Variables. e. Move the cursor to $HOSTS_CFG, and press ENTER. f. Move the cursor to the structure corresponding to the tag selected in Step 11.. For http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s03.html
4/16/2002
11.3. CONFIGURING THE SOCKET MESSAGING OPTION
Page 6 of 6
example, if you are setting up tag S3, move the cursor structure element [3], as shown in the following screen. SYSTEM Variables $HOSTS_CFG 1 [1] 2 [2] 3 [3] 5 [5] 6 [6] 7 [7] 8 [8]
HOST_CFG_T HOST_CFG_T HOST_CFG_T HOST_CFG_T HOST_CFG_T HOST_CFG_T HOST_CFG_T
4
[4]
HOST_CFG_T
g. Press ENTER. You will see a screen similar to the following. SYSTEM Variables $HOSTS_CFG[3] 1 $COMMENT 2 $PROTOCOL 3 $PORT 4 $OPER 5 $STATE 6 $MODE 7 $REMOTE 8 $REPERRS 9 $TIMEOUT 10 $PATH 11 $STRT_PATH 12 $STRT_REMOTE 13 $USERNAME 14 $PWRD_TIMOUT 15 $SERVER_PORT
*uninit* 'SM' *uninit* 3 3 *uninit* *uninit* FALSE 15 *uninit* *uninit* *uninit* *uninit* 0 0
h. Move the cursor to $SERVER_PORT. Type in the name of the TCP/IP server port you want to use for socket messaging. The client tag is now ready to use from a KAREL program.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s03.html
4/16/2002
11.4. SOCKET MESSAGING AND KAREL
Page 1 of 2
11.4. SOCKET MESSAGING AND KAREL Socket messaging is an integrated component of KAREL. When you use socket messaging functions and utilities from a KAREL program, the syntax is similar to other file read and write operations, except that you need to establish a network connection when you use socket messaging functions and utilities. The following KAREL socket messaging functions and utilities enable the server to establish a connection with a remote host on your network. There are several KAREL program samples in this section that provide examples of how these functions and utilities can be used with KAREL file read and write functions and utilities to write a complete Socket Messaging KAREL client or a server program or application. The Environment flbt statement is required to use any of the listed builtins (%ENVIRONMENT flbt).
11.4.1. MSG_CONN(string, integer) MSG_CONN needs to be called before any tag can be used for socket messaging. The first parameter of this command contains the tag name ("S1:" for example) and the second parameter is an integer that will contain the status of the operation. If you are using this command to connect to a server tag, this command will return a status value only after a remote client device has established a connection with this server tag. If you are using this command to connect to a client tag, this command will return a status value only if the remote server is attempting to accept the connection. If the connection was successful, the command will return a value indicating a successful connection was made. If the connection was not successful, the command will return a value indicating that a connection error has occurred. During a socket messaging session, you must use MSG_DISCO to close the socket connection with a client or server tag before any subsequent attempts to connect to the same client or server tag can be made using MSG_CONN.
11.4.2. MSG_DISCO(string, integer) MSG_DISCO is used to close socket messaging connections. If a connection is lost, perhaps because a READ or WRITE error occurred when the remote server terminated a socket messaging connection, you will need to use MSG_DISCO to close the connection to the remote server. In this case, MSG_DISCO must be used to close the connection at the client side before MSG_CONN can be used to establish another connection to the remote server. The first parameter of this command contains the tag name (e.g. "S1:") and the second parameter is an integer value that indicates the status of closing the connection on the client side.
11.4.3. MSG_PING(string, integer) MSG_PING is a utility command used to check network connections with a remote host, so
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s04.html
4/16/2002
11.4. SOCKET MESSAGING AND KAREL
Page 2 of 2
that you can determine if it is currently connected to the network. The MSG_PING command sends ping packets to the remote host and waits for a reply. (Ping packets are chunks of data that are transferred between hosts on a network. ) If there is no reply from the remote host, this usually means that you will not be able to use other network protocols like FTP, TELNET, or Socket Messaging to connect to that host. If you have attempted without success to use Socket Messaging to connect to a remote host, the MSG-PING utility is a good place to start in trying to diagnose the problem. The first parameter of this command contains the name of the remote host to ping. If you are not using DNS on your network, the host name and IP address of the remote host will have to exist in the Host Entry table.
11.4.4. Exchanging Data during a Socket Messaging Connection After you have successfully established a socket messaging connection, you can use KAREL commands to exchange data between connected devices. KAREL has several commands that can be used for data exchange operations: ?
OPEN FILE
?
WRITE
?
READ
?
BYTES_AHEAD
Refer to the FANUC Robotics SYSTEM R-J3iB Controller KAREL Reference Manual for details.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s04.html
4/16/2002
11.5. NETWORK PERFORMANCE
Page 1 of 1
11.5. NETWORK PERFORMANCE Performance of socket messaging on your network will vary depending upon the number of devices connected to the network, the number of applications being run on the R-J3iB controller, the network cabling configuration, and number of hops that the message will have to make to reach its destination device. Note Hops is a term that indicates the number of routers between the source host and destination host. In general, the fewer the number of hops the data makes from router to router, the faster the data is transmitted between the source and destination hosts. Data transfer is fastest between hosts on the same network.
11.5.1. Guidelines for a Good Implementation Use the following guidelines when implementing a solution for any application using socket messaging. ?
You must not transfer small data separately, instead gather the data and transfer as a larger packet. This applies to both read and write.
?
You must understand that the rate of data does not flood the remote side.
?
You must understand that there are other nodes on the ethernet network so performance cannot be guaranteed.
?
You must understand that other applications on robot also use TCP/IP and performance can be affected.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s05.html
4/16/2002
11.6. PROGRAMMING EXAMPLES
Page 1 of 6
11.6. PROGRAMMING EXAMPLES This section contains programming examples for a KAREL socket messaging client, and a KAREL socket messaging server. There is also a UNIX-based ANSI C example for a loopback client application, which assumes that you have access to a UNIX-compatible ANSI C compiler, and a basic knowledge of programming in the ANSI C language. Note The KAREL examples assume the appropriate tags (C2 for client and S3 for Server) have been setup for socket messaging using Procedure 11.1. and Procedure 11.2. .
11.6.1. A KAREL Client Application Example 11.1. and Example 11.2. provides code for a basic KAREL server application that can be used to establish a socket messaging connection to a remote host, which could be the KAREL server socket messaging application shown in Example 11.3. and Example 11.4. . Example 11.1. A KAREL Client Application -This material is the joint property of Fanuc Robotics Corporation and -FANUC LTD Japan, and must be returned to either Fanuc Robotics -Corporation or FANUC LTD Japan immediately upon request. This material -and the information illustrated or contained herein may not be -reproduced, copied, used, or transmitted in whole or in part in any way -without the prior written consent of both Fanuc Robotics and FANUC --All Rights Reserved -Copyright (C) 2000 -Fanuc Robotics Corporation -FANUC LTD Japan --Karel is a registered trademark of -Fanuc Robotics Corporation -+ -Program: loopcl.kl - Program for TCP Messaging --Description: --This program serves as an example on how to use TCP messaging and write -a client Karel program. --Authors: Fanuc Robotics Corporation -3900 West Hamlin -Rochester Hills, MI 48309 --Modification history: -------------------------------------------------------------------------------PROGRAM loopcl %RWACCESS %STACKSIZE = 4000 %NOLOCKGROUP
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s06.html
4/16/2002
11.6. PROGRAMMING EXAMPLES
Page 2 of 6
%NOLOCKGROUP %NOPAUSE=ERROR+COMMAND+TPENABLE %ENVIRONMENT uif %ENVIRONMENT sysdef %ENVIRONMENT memo %ENVIRONMENT kclop %ENVIRONMENT bynam %ENVIRONMENT fdev %ENVIRONMENT flbt %INCLUDE klevccdf %INCLUDE klevkeys %INCLUDE klevkmsk ------------------------------------------------------------------------------VAR file_var : FILE tmp_int : INTEGER mp_str : string[128] status : integer entry : integer loop1 : BOOLEAN --------------------------------------------------------
Example 11.2. BEGIN SET_FILE_ATR(file_var, ATR_IA) SET_VAR(entry, '*SYSTEM*','$HOSTC_CFG[2].$SERVER_PORT',59002,status) -- Connect the tag WRITE('Connecting..',cr) MSG_CONNECT('C2:',status) WRITE(' Connect Status = ',status,cr) loop1 = TRUE IF status = 0 THEN WHILE loop1 = TRUE DO WRITE('Opening File..',cr) OPEN FILE file_var('rw','C2:') status = io_status(file_var) IF status = 0 THEN FOR tmp_int = 1 TO 100 DO tmp_str = '0123456789012345' WRITE file_var(tmp_str::10) WRITE('Wrote 126 Bytes',cr) IF status <> 0 THEN WRITE('Loop Test Fails',cr) loop1 = FALSE tmp_int = 100 ELSE WRITE('Read 126 Bytes',cr) READ file_var(tmp_str::10) status = io_status(file_var) WRITE('Read Status ',status,cr) ENDIF ENDFOR WRITE('Closed File',cr) CLOSE FILE file_var ELSE WRITE('Error Opening File',cr) loop1 = FALSE ENDIF
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s06.html
4/16/2002
11.6. PROGRAMMING EXAMPLES
Page 3 of 6
ENDWHILE WRITE('Disconnecting..',cr) MSG_DISCO('C2:',status) WRITE('Done.',cr) ENDIF END loopcl
11.6.2. A KAREL Server Application Example 11.3. and Example 11.4. provide code for a basic KAREL server application that can be used to host a socket messaging connection made by a remote client, which could be the KAREL client socket messaging application shown in Example 11.1. and Example 11.2. . Example 11.3. KAREL Server Application --------
This material is the joint property of Fanuc Robotics Corporation and FANUC LTD Japan, and must be returned to either Fanuc Robotics Corporation or FANUC LTD Japan immediately upon request. This material and the information illustrated or contained herein may not be reproduced, copied, used, or transmitted in whole or in part in any way without the prior written consent of both Fanuc Robotics and FANUC.
-----
All Rights Reserved Copyright (C) 2000 Fanuc Robotics Corporation FANUC LTD Japan
-Karel is a registered trademark of -Fanuc Robotics Corporation -+ -Program: tcpserv3.kl - Program for TCP Messaging --Description: --This program serves as an example on how to use TCP messaging and write -a server Karel program. --Authors: Fanuc Robotics Corporation -3900 West Hamlin -Rochester Hills, MI 48309 --Modification history: -------------------------------------------------------------------------------PROGRAM tcpserv3 %RWACCESS %STACKSIZE = 4000 %NOLOCKGROUP %NOPAUSE=ERROR+COMMAND+TPENABLE %ENVIRONMENT uif %ENVIRONMENT sysdef %ENVIRONMENT memo %ENVIRONMENT kclop %ENVIRONMENT bynam %ENVIRONMENT fdev %ENVIRONMENT flbt %INCLUDE klevccdf
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s06.html
4/16/2002
11.6. PROGRAMMING EXAMPLES
Page 4 of 6
%INCLUDE klevkeys %INCLUDE klevkmsk ------------------------------------------------------------------------------VAR file_var : FILE tmp_int : INTEGER tmp_int1 : INTEGER tmp_str : string[128] tmp_str1 : string[128] status : integer entry : integer -------------------------------------------------------------------------------
Example 11.4. BEGIN SET_FILE_ATR(file_var, ATR_IA) -- set the server port before doing a connect SET_VAR(entry, '*SYSTEM*','$HOSTS_CFG[3].$SERVER_PORT',59002,status) WRITE('Connecting..',cr) MSG_CONNECT('S3:',status) WRITE(' Connect Status = ',status,cr) IF status = 0 THEN -- Open S3: WRITE ('Opening',cr) FOR tmp_int1 = 1 TO 20 DO OPEN FILE file_var ('rw','S3:') status = io_status(file_var) WRITE (status,cr) IF status = 0 THEN -- write an integer FOR tmp_int = 1 TO 1000 DO WRITE('Reading',cr) -- Read 10 bytes BYTES_AHEAD(file_var, entry, status) WRITE(entry, status, cr) READ file_var (tmp_str::10) status = io_status(file_var) WRITE (status, cr) -- Write 10 bytes WRITE (tmp_str::10, cr) status = io_status(file_var) WRITE (status, cr) ENDFOR CLOSE FILE file_var ENDIF ENDFOR WRITE('Disconnecting..',cr) MSG_DISCO('S3:',status) + WRITE('Done.',cr) ENDIF END tcpserv3
11.6.3. ANSI C Loopback Client Example
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s06.html
4/16/2002
11.6. PROGRAMMING EXAMPLES
Page 5 of 6
Example 11.5. provides an example of a UNIX-based loopback client that can be used to establish a connection with a remote host. Example 11.5. ANSI C UNIX-Based Loopback Client Example /* BSD Standard Socket Programming Example - UNIX */ #include
Example 11.6. void str_cli (int sockfd) { int n, i; char sendline[MAXLINE], recvline[MAXLINE + 1]; while(1) { memset (sendline, 2, 128); if(written(sockfd, sendline, 126)!=126){ printf("strcli:written error on sock\n");
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s06.html
4/16/2002
11.6. PROGRAMMING EXAMPLES
Page 6 of 6
} i = readline(sockfd, recvline, 126); } } int readline(int fd, char *ptr, int maxlen) { int n, rc; char c; for(n = 0; n < maxlen; n++){ if((rc = read(fd, &c, 1)) == 1){ *ptr++ = c; if(c=='\n'){ break; } else if(rc== 0) { if(n== 0) { return (0); } else{ break; } } } else{ return (-1); } } *ptr = 0; return (n); } int written(int fd, char *ptr, int nbytes) { int nleft, nwritten; nleft = nbytes; while(nleft > 0) { nwritten = write(fd, ptr, nleft); if(nwritten <= 0) { return(nwritten); } nleft -= nwritten; ptr += nwritten; } return(nbytes - nleft); }
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ch11s06.html
4/16/2002
A. SYSTEM VARIABLES
Page 1 of 30
A. SYSTEM VARIABLES $DNS_CFG.$PRIMAR_IP Minimum:""Default:" "Maximum:"" KCL/Data:RW Program:RW GET/SET_VAR:RW Data Type:STRING Name: Primary DNS Server Description: IP address of the primary DNS server Power Up: Requires a Cold start to take effect. User Interface Location: SETUP DNS screens.
$DNS_CFG.$ALTERN_IP Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Secondary DNS Server Description: IP address of the secondary DNS server Power Up: Requires a Cold start to take effect. User Interface Location: SETUP DNS screens.
$DNS_LOC_DOM[1] Minimum: 0 Default: 0 Maximum: 255 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: UBYTE Name: Local Domain Name Description: An array of UBYTES used to hold the local domain name. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP DNS screens.
$DNS_CFG.$RETRIES Minimum: 1 Default: 2 Maximum: 3 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: LONG
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 2 of 30
Name: Retries Description: The number of times DNS will try to contact a DNS server after the initial query failed. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP DNS screens.
$DNS_CFG.$WAIT_TIME Minimum: 1 Default: 2 Maximum: 7 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: LONG Name: Wait Time Description: The length of time between queries. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP DNS screens.
$ENETMODE.$en_loopback Minimum: 0 Default: 0 Maximum: 1 KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: BOOLEAN Name: Ethernet Mode Selection for Diagnostic Loopback Description: Enables (TRUE) or disables (FALSE) Ethernet Diagnostic Loopback. Selecting TRUE will cause the TX output to be loopbacked and appear at the RX input. The current setting for $EN_LOOPBACK is FALSE, and it is write protected. Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$ENETMODE.$auto_port_s Minimum: 0 Default: 1 Maximum: 1 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: BOOLEAN Name: Ethernet Mode Selection for Automatic Port Selection. Description: Enables (TRUE) or disables (FALSE) Ethernet Automatic Port Selection. Selecting TRUE will automatically select TP (Twisted Pair) based on the presence or http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 3 of 30
absence of valid link frames at the Twisted Pair port. Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$ENETMODE.$coll_detect Minimum: 0 Default: 1 Maximum: 1 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: BOOLEAN Name: Ethernet Mode selection for Collision Detection. Description: Enables (TRUE) or disables (FALSE) Ethernet Twisted Pair Signal Quality Error Test Enable. Selecting TRUE will enable testing of the internal TP (twisted pair) collision detection circuitry after each transmit operation to the remote host via Ethernet communication. Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$ENETMODE.$full_duplex Minimum: 0 Default: 0 Maximum: 1 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: BOOLEAN Name: Ethernet Mode selection for Twisted Pair Full Duplex. Description: Enables (TRUE) or disables (FALSE) Ethernet Twisted Pair Full Duplex. Selecting TRUE will allow simultaneous transmit and receive operation on the twisted pair port without causing collision. Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$ENETMODE.$polarity_ce Minimum: 0 Default: 1 Maximum: 1 KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: BOOLEAN Name: Ethernet Mode selection for Twisted Pair Automatic Polarity Correction Enable Description: Enables (TRUE) or disables (FALSE) Ethernet Twisted Pair Automatic Polarity Correction Enable. Selecting TRUE will enable automatic polarity correction, and will internally correct the polarity fault. The current setting for $POLARITY_CE is TRUE is 1, or http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 4 of 30
TRUE, and it is write protected. Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$ENETMODE.$en_tpenable Minimum: 0 Default: 1 Maximum: 1 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: BOOLEAN Name: Ethernet Mode selection for Twisted Pair Port Enable Description: Enables (TRUE) or disables (FALSE) Ethernet Twisted Pair Port Enable. If $AUTO_PORT_S (automatic port selection) is set to FALSE (disabled), then you will be able to manually select either the TP port (i.e., set $EN_TPENABLE to TRUE for the TP port). If $AUTO_PORT_S is set to TRUE, then the setting of $EN_TPENABLE will have no effect on Ethernet port selection. Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$ENETMODE.$SPEED Minimum: 0 Default: 2 Maximum: 2 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: BOOLEAN Name: Ethernet Speed Description: This variable sets the speed of the ethernet interface: ?
If set to 0, 10 MBPS is selected
?
If set to 1, 100 MBPS is selected
?
If set to 2, it autonegotiates
Power Up: Change takes effect on powerup. User Interface Location: SYSTEM Variables screen
$FSAC_DEF_LV Minimum: -1 Default: -1 Maximum: 5 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 5 of 30
Name: FTP Server Access Control Default Access Level Description: Defines the default access level if a remote FTP client is not found in $FSAC_LIST. See $FSAC_ENABLE also. (Saved in SYSFSAC.SV) Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$FSAC_ENABLE Minimum: 0 Default: 0 Maximum: 1 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: FTP Server Access Control Enable Flag Description: When set to 1, enables checking of remote FTP clients when logging into the robot to use the robot FTP server. If enabled, FTP access through robot FTP server is granted based on matching $FSAC_LIST.$IP_ADDRESS[], and using associated access level ($FSAC_LIST.$ACCESS_LVL); or using $FSAC_DEF_LVL if no match. (Saved in SYSFSAC.SV) Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$FSAC_LIST[1-20] Name: FANUC Server Access Control Default Access Level Minimum: MIN_FSAC_LST Default: DEF_FSAC_LST Maximum: MAX_ FSAC_LST KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: FSAC_LST_T Description: See $FSAC_ENABLE. (Saved in SYSFSAC.SV) Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$FSAC_LIST[1] .$clnt_name Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: FANUC Server Access Control List
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 6 of 30
Description: Contains a list of hosts that can use the FTP server on the robot based on the associated Access Level. (Saved in SYFSAC.SV) Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$FSAC_LIST[1] .$ip_address Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: FANUC Server Access Control List Description: Contains list of hosts which can use FTP server on robot based on associated Access Level. (Saved in the SYSFSAC.SV file) Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$FSAC_LIST[1] .$access_lvl Minimum: 0 Default: 0 Maximum: 3 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: FANUC Server Access Control List Access Level Description: Contains a list of hosts that can use the the FTP server on the robot based on the associated Access Level. Access Level can be : -1 - no access (useful if use $FSAC_DEF_LVL but want to exclude one) 0 - Operator Level (read only) 1 - program level 2 - setup level 3 - installation level (full write permissions) (Saved in the SYSFSAC.SV file) Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 7 of 30
$FSAC_LIST[1] .$apps Minimum: 0 Default: 0xFF Maximum: 0xFFFFFFFF KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: ULONG Name: FANUC Server Access Control applications Description: $FSAC_LIST[x].$apps is a ULONG bitmask, of which applications use the xth entry in the table for authentication. This field defaults to 255 (bits in the last byte set to all 1's, which means that the table entry is used by all applications that use the FSAC feature.) Applications using this field will interpret this field as follows: The least significant bit (bit 7) in the last byte is used by FTP. The next bit (bit 6) in the last byte is used by TELNET. The next bit (bit 5) in the last byte is used by Web server. The next bit (bit 4) in the last byte is used by PMON. All other bits are reserved for future use. An example use of this field is as follows: If $FSAC_LIST[2].$APPS = 2, then bit 6 in the last byte is set, which means only TELNET will use the second entry in the FSAC table for authentication of the client IP address. The addition of this field gives the user the flexibility of separating out which PCs are used to log in to the different servers on the robot. Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$HOST_PWRD[1] Minimum: "" Default: " " Maximum: "" KCL/Data: NO Program: NO GET/SET_VAR: NO Data Type: STRING Name: Description: An array containing the passwords associated with each USERNAME. Power Up: Change takes effect immediately.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 8 of 30
User Interface Location: SYSTEM FTP Host Comm Setup Screen
$HOST_SHARED STRUCTURE Name: Host Shared Description: Array of structures defining the Internet node name to address mapping on the controller. This array is used for the same purpose as the /etc/hosts file on BSD UNIX systems. Individual members of structure are described below. Power Up: Requires a Cold start if the element corresponding to $HOSTNAME is changed. Changes to other elements which correspond to Client connections take effect immediately. This should not include HOSTNAME or ROUTERNAME entries. This structure is saved in the SYSHOST.SV file, and can be shared between robots. User Interface Location: SETUP MOTET screen
$HOST_SHARED [1].$h_addr Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Node Address Description: This is the Internet (IP) address of the node defined by the first element of $HOST_SHARED array. It should be unique across the network. It is a string and should have the following format: DDD.DDD.DDD.DDD where DDD is a decimal number, 0 <= DDD <= 255. Power Up: See $HOST_SHARED. User Interface Location: SETUP MOTET screen
$HOST_SHARED[1].$h_addrtype Minimum: 0 Default: 0 Maximum: 99 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Address Type Description: An integer Internet variable whose value is 2 by default and should not be changed. Power Up: See $HOST_SHARED.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 9 of 30
User Interface Location: SYSTEM Variables screen
$HOST_SHARED[1].$h_length Minimum: 0 Default: 0 Maximum: 17 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Length Description: An integer Internet variable whose value is 4 by default and should not be changed. Power Up: See $HOST_SHARED. User Interface Location: SYSTEM Variables screen
$HOST_SHARED [1].$h_name Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Node Name Description: A string of up to 32 characters representing the node name of the first element in $HOST_SHARED array. Example: KCL>set var $HOST_SHARED[1].$H_NAME='MICKEY' Power Up: See $HOST_SHARED. User Interface Location: SETUP MOTET screen
$HOSTC_CFG[n] STRUCTURE Name: Host Client Tag Configuration Structure Description: Variable structure containing configuration information for Host Client Tags. This information is used to define how they are used in the R-J3iB controller. Power Up: Determined on a per-field basis. See individual fields for specifics. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n].$comment Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 10 of 30
Name: Host Client Tag Comment Description: Provides an area to include up to 16 characters of information used to describe the communications tag being defined. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n].$mode Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Client Tag Mode Description: Not currently used. Power Up: Not currently used. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n].$oper Minimum: 0 Default: 0 Maximum: 2 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Host Client Tag Operation Description: Specifies the state to which the tag will attempt to be set at powerup. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n] .$path Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Client Tag Path (Current) Description: Specifies the current (default) Host path. When a file-spec does not include the path, this default value is used. Power Up: Change takes effect immediately. Upon power-up, the startup Host path is copied http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 11 of 30
into the current Host path, where you can modify it as necessary. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n].$port Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Client Tag Port Description: Specifies the serial port over which this tag will operate. This is not required on network based protocols such as MAP and MOTET. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n].$protocol Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Client Tag Protocol Description: Specifies the name of the protocol that will be used with the tag. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTC_CFG[1] .$pwrd_timout Minimum: 0 Default: 0 Maximum: 0xFFFFFFFF KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: ULONG Name: Host Client Tag Password Timeout Description: Specifies the default timeout value, after which an existing connection's user name will be set to "anonymous", and password will be set to "guest". Power Up: Requires a Cold start to take effect. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n].$remote http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 12 of 30
Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Client Tag Remote Host Name Description: Specifies the remote host name to which a connection will be made. This is used by certain host communications services such as InformationReport. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n].$reperrs Minimum: 0 Default: 0 Maximum: 1 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: BOOLEAN Name: Host Client Tag Error Reporting Flag Description: When set to TRUE, indicates that errors sent to the ERROR LOG will also be sent to this tag via the MMS Information Report service. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n].$server_port Minimum: 0 Default: 0 Maximum: 32767 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Server Port Number Description: Specifies the TCP or UDP port number on the server. For Cn:, this is the port on the foreign computer. For Sn:, this is the port on the robot controller. Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$HOSTC_CFG[n].$state Minimum: 0 Default: 0 Maximum: 2 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Host Client Tag State http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 13 of 30
Description: Specifies the current state of the tag. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTC_CFG[1] .$strt_path Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Client Tag Path (Startup) Description: Specifies the startup Host path. Power Up: This variable takes effect at Cold start. Upon power-up, the startup Host path is copied into the current Host path, where the user may modify it as necessary. User Interface Location: SETUP Tags screen
$HOSTC_CFG[1] .$strt_remote Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Client Tag Remote Host Name (Startup) Description: Specifies the startup (default) remote host name to which a connection will be made. This is used by certain host communications services such as InformationReport. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP Tags screen
$HOSTC_CFG[n].$timeout Minimum: 0 Default: 15 Maximum: 0xFFFFFFFF KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Host Client Tag Timeout Description: Specifies the number of minutes of inactivity on the network before a connection will be concluded by the R-J3iB controller. This variable takes effect at Cold start. Power Up: Requires a Cold start to take effect.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 14 of 30
User Interface Location: SETUP Tags screen
$HOSTC_CFG[1] .$username Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Client Tag User Name Description: Specifies the default user name to be used when establishing communications with a remote Host. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTENT STRUCTURE Name: Host Entry Description: Array of structures defining the Internet node name to address mapping on the controller. This array is used for the same purpose as the /etc/hosts file on BSD UNIX systems. Individual members of structure are described below. Power Up: Requires a Cold start if the element corresponding to $HOSTNAME is changed. Changes to other elements which correspond to Client connections take effect immediately. User Interface Location: SETUP MOTET screen
$HOSTENT[1].$h_addr Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Node Address Description: This is the Internet (IP) address of the node defined by the first element of $HOSTENT array. It should be unique across the network. It is a string and should have the following format: DDD.DDD.DDD.DDD where DDD is a decimal number, 0 <= DDD <= 255. Power Up: See $HOSTENT. User Interface Location: SETUP MOTET screen
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 15 of 30
$HOSTENT[1].$h_addrtype Minimum: 0 Default: 0 Maximum: 99 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Address Type Description: An integer Internet variable whose value is 2 by default and should not be changed. Power Up: See $HOSTENT. User Interface Location: SYSTEM Variables screen
$HOSTENT[1].$h_length Minimum: 0 Default: 0 Maximum: 17 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Length Description: An integer Internet variable whose value is 4 by default and should not be changed. Power Up: See $HOSTENT. User Interface Location: SYSTEM Variables screen
$HOSTENT[1].$h_name Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Node Name Description: A string of up to 32 characters representing the node name of the first element in HOSTENT array. Example: KCL>set var $HOSTENT[1].$H_NAME='MICKEY' Power Up: See $HOSTENT. User Interface Location: SETUP MOTET screen
$HOSTNAME Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 16 of 30
Data Type: STRING Name: Hostname Description: A string of up to 32 characters defining the name which represents the robot on the network. It should be unique across the network. It must also be defined as an element in the $HOSTENT array. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP MOTET screen
$HOSTS_CFG[8] STRUCTURE Name: Host Server Tag Configuration Structure Description: Variable structure containing configuration information for Host Server Tags. This information is used to define how they are used in the R-J3iB controller. Power Up: Determined on a per-field basis. See individual fields for specifics. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$comment Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Server Tag Comment Description: Provides an area to include up to 16 characters of information used to describe the communications tag being defined. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$mode Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Server Tag Mode Description: Not currently used. Power Up: Not currently used. http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 17 of 30
User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$oper Minimum: 0 Default: 0 Maximum: 2 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Host Server Tag Operation Description: Specifies the state to which the tag will attempt to be set at powerup. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$path Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Server Tag Path (Current) Description: Specifies the current (default) Host path. When a file-spec does not include the path, this default value is used. Power Up: Upon power-up, the startup Host path is copied into the current Host path, where the user can modify it as necessary. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$port Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Server Tag Port Description: Specifies the serial port over which this tag will operate. This is not required on network based protocols such as MAP and MOTET. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen.
$HOSTS_CFG[1].$protocol http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 18 of 30
Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Server Tag Protocol Description: Specifies the name of the protocol that will be used with the tag. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$pwrd_timout Minimum: 0 Default: 0 Maximum: 0xFFFFFFFF KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: ULONG Name: Host Server Tag Password Timeout Description: Specifies the default timeout value, after which an existing connection's password will be set to "guest". Power Up: Requires a Cold start to take effect. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$remote Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Server Tag Remote Host Name Description: Specifies the remote host name to which a connection will be made. This is used by certain host communications services such as InformationReport. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$reperrs Minimum: 0 Default: 0 Maximum: 1 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: BOOLEAN Name: Host Server Tag Error Reporting Flag
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 19 of 30
Description: When set to TRUE, indicates that errors sent to the ERROR LOG will also be sent to this tag via the MMS InformationReport service. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTS_CFG[n].$server_port Minimum: 0 Default: 0 Maximum: 32767 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Server Port Number Description: Specifies the TCP or UDP port number on the server. For Cn:, this is the port on the foreign computer. For Sn:, this is the port on the robot controller. Power Up: Change takes effect immediately. User Interface Location: SYSTEM Variables screen
$HOSTS_CFG[1 ].$state Minimum: 0 Default: 0 Maximum: 2 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Host Server Tag State Description: Specifies the current state of the tag. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$strt_path Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Server Tag Path (Startup) Description: Specifies the startup Host path. Power Up: Upon power-up, the startup Host path is copied into the current Host path, where the user may modify it as necessary.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 20 of 30
User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$strt_remote Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Server Tag Remote Host Name (Startup) Description: Specifies the startup (default) remote host name to which a connection will be made. This is used by certain host communications services such as InformationReport. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$timeout Minimum: 0 Default: 15 Maximum: 0xFFFFFFFF KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: ULONG Name: Host Server Tag Timeout Description: Specifies the number of minutes of inactivity on the network before a connection will be concluded by the R-J3iB controller. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP Tags screen
$HOSTS_CFG[1].$username Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Host Server Tag User Name Description: Specifies the default user name to be used when establishing communications with a remote Host. Power Up: Change takes effect immediately. User Interface Location: SETUP Tags screen
$HTTP_CTRL.$ENABLE http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 21 of 30
Minimum: 0 Default: 1 Maximum: 32767 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: HTTP ENABLE Task Flag Description: Specifies whether the HTTP (Web Server) task should be enabled on powerup. Power Up: Requires a Cold start to take effect. User Interface Location: None
$HTTP_CTRL.$ENAB_SMON Minimum: 0 Default: 0 Maximum: 32767 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: HTTP Enable SMON Flag Description: Not currently used. Power Up: Chagnes take effect immediately. User Interface Location: None
$HTTP_CTRL.$DBGLVL Minimum: 0 Default: 0 Maximum: 32767 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: HTTP Debug Level Description: Specifies the HTTPD (Web Server Task) debug level. This variable is not currently used. Power Up: Changes take effect immediately. User Interface Location: None
$HTTP_CTRL.$HITCOUNT Minimum: 0 Default: 0 Maximum: 0xFFFFFFFF KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: ULONG Name: HTTP Hitcount Description: HTTP Hitcount increments each time a request is made of the web server. http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 22 of 30
Power Up: Changes take effect immediately. User Interface Location: None
$HTTP_CTRL.$KRL_TIMOUT Minimum: 0 Default: 10 Maximum: 32767 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: HTTP KAREL Timeout Description: Specifies the HTTP Timeout to run a KAREL program started through a browser. This is the time the server will wait for a KAREL program to complete before sending an error back to the browser. Power Up: Changes take effect immediately. User Interface Location: None
$PING_CTRL.$TIMEOUT Minimum: 0 Default: 2 Maximum: 32767 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: PING timeout value Description: This variable indicates the number of seconds before ping times out. The default is 2. Note that the user normally does not need to change any of the PING system variables. Power Up: Changes take effect immediately. User Interface Location: None
$PING_CTRL.$DATALEN Minimum: 0 Default: 56 Maximum: 4096 KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER Name: Data size of the ping packet Description: This variable defaults to 56. This results in a 64-byte ping packet. The maximum value of packet is 4096. Power Up: Changes take effect immediately.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 23 of 30
User Interface Location: None
$PING_CTRL.$NPACKETS Minimum: 0 Default: 1 Maximum: 0x7FFFFFFF KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER Name: Number of ping packets (Refer to Section 11.4.3. for a description of ping packets.) Description: This variable decides how many ping requests are sent out. The ping routine is going to timeout after (NPACKETS*TIMEOUT) seconds. Power Up: Changes take effect immediately. User Interface Location: None
$PING_CTRL.$DEBUG Minimum: 0 Default: 0 Maximum: 1 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: BOOLEAN Name: Enable debug code Description: This variable enables detailed debug messages on the console for diagnostics. Power Up: Changes take effect immediately. User Interface Location: None
$PPP_LIST[1] .$ROBOTIP Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Robot IP Address Description: This variable is the local PPP interface IP address. Power Up: Changes take effect immediately. User Interface Location: SYSTEM Variables screen
$PPP_LIST[1].$ PEERIP Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 24 of 30
Data Type: STRING Name: Remote Host's IP Address Description: The remote host needs to have an IP address set that is the same as this system variable value. Power Up: Changes take effect immediately. User Interface Location: SYSTEM Variables screen
$PPP_LIST[1] .$NETMASK Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Subnet Mask of the PPP Interface Description: This variable is the subnet mask of the PPP interface. Power Up: Changes take effect immediately. User Interface Location: SYSTEM Variables screen
$PPP_LIST[1].$MRU Minimum: 0 Default: 0 Maximum: 1500 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Maximum Receive Unit Description: This variable is the maximum number of bytes in one PPP packet. The recommended default is 1500. Note that use of this variable is not implemented yet. Power Up: Changes take effect immediately. User Interface Location: SYSTEM Variables screen
$PPP_LISTL[1].$COMP Minimum: 0 Default: 0 Maximum: 15 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: ULONG Name: Compression Description: This variable is the bit mask of compression supported in different protocol layers, as follows: http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 25 of 30
bit 1 - Van Jacobson compression of TCP/IP headers (IPCP config) bit 2 - IP compression protocol (IPCP config parameter) bit 3 - Protocol field compression (LCP config parameter) bit 4 - Address and control field compression (LCP config parameter) The default value for this variable is 1, i.e., only VJ compression is enabled by default. Note that use of this variable is not implemented yet. Power Up: Changes take effect immediately. User Interface Location: SYSTEM Variables screen
$PPP_LIST[1] .$DEVTYPE Minimum: 0 Default: 0 Maximum: 15 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Device Type Description: This variable is the device type (straight serial, serial modem, PCMCIA modem). The values are as follows: 1 - straight serial 2 - serial modem 3 - PCMCIA modem Power Up: Changes take effect immediately. User Interface Location: SYSTEM Variables screen
$PROTOENT STRUCTURE Name: Protocol Entry Description: An array of structures defining the available protocols on the controller. Individual fields within this structure are described below. Power Up: Requires a Cold start to take effect. User Interface Location: System Variables screen
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 26 of 30
$PROTOENT[1 ].$p_name Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Protocol Name Description: Name of an available protocol on the controller. Power Up: Requires a Cold start to take effect. User Interface Location: SYSTEM Variables screen
$PROTOENT[1].$p_proto Minimum: 0 Default: 0 Maximum: 2500 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Protocol Number Description: Number associated with this particular protocol. Power Up: Requires a Cold start to take effect. User Interface Location: SYSTEM Variables screen
$ROBOT_NAME Minimum: "" Default: " " Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Description: Specifies the application entity name that represents this node on the network. Available only if the KSL, MOTET or MAP options have been installed. Used only for MAP. Power Up: Requires a Cold start to take effect. User Interface Location: SYSTEM System Variables screen or KCL.
$RPC_TIMEOUT Minimum: 0 Default: 120 Maximum: 0x7FFFFFFF KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: ULONG
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 27 of 30
Name: RPC Server Timeout Description: This variable specifies the time in seconds for a server connection to wait for a reply from the PC before cancelling the read operation. Power Up: Effective at Cold start or when the PC client is reconnected. User Interface Location: SYSTEM Variables screen
$SERVENT[1] STRUCTURE Name: Server Entry Description: An array of structures defining the Internet Protocol Services. Individual fields within this structure are described below. Power Up: Requires a Cold start to take effect. User Interface Location: SYSTEM Variables screen
$SERVENT[1].$s_name Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Service name Description: Identifies the service. Power Up: Requires a Cold start to take effect. User Interface Location: SYSTEM Variables screen
$SERVENT[1].$s_port Minimum: 0 Default: 0 Maximum: 30000 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Port Description: Port number associated with this service. Power Up: Requires a Cold start to take effect. User Interface Location: SYSTEM Variable screen
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 28 of 30
$SERVENT[1].$s_proto Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Server Protocol Description: Name of the Protocol associated with this service. Power Up: Requires a Cold start to take effect. User Interface Location: SYSTEM Variables screen
$TEL_LIST STRUCTURE Name: Telnet List Description: An array of structures defining the various parameters necessary to login to a device and establish a Telnet connection with it. Individual fields within this structure are described below. Power Up: Requires a Cold start to take effect. User Interface Location: SYSTEM Variables screen
$TEL_LIST.$DEV_NAME Minimum: "" Default: "" Maximum: "" KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: STRING Name: Device Name Description: This is the name of the device that needs to be accessed over the remote connection. Power Up: Takes effect immediately. User Interface Location: SYSTEM Variables screen
$TEL_LIST.$PASSWORD Minimum: '''' Default: '''' Maximum: ''''KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Password
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 29 of 30
Description: This is the password used to authenticate access to the device over the remote connection. Power Up: Takes effect immediately. User Interface Location: SYSTEM Variables screen
$TEL_LIST.$ACCESS_LVL Minimum: 0 Default: 0 Maximum: 2 KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER Name: Access Level Description: This controls the access level of the user over the remote Telnet connection, as follows: ?
0 - No access
?
1 - Output only (display only from the controller) the TP display device to this level.
?
2 - Input & output (full access - both input and outputs accepted into the controller) the KCL device default to this level.
Power Up: Takes effect immediately. User Interface Location: SYSTEM Variables screen
$TEL_LIST.$TIMEOUT Minimum: 0 Default: 0 Maximum: 0x7FFFFFFF KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: ULONG Name: Timeout Value Description: This controls the duration of inactivity (in minutes) over the remote Telnet connection before terminating the connection. The default is 0 (no timeout specified). Any change in this value affects existing as well as future connections to the device. Power Up: Requires a Cold start to take effect. User Interface Location: SYSTEM Variables screen
$TMI_ETHERAD Minimum: "" Default: "" Maximum: "" KCL/Data: RO Program: RO GET/SET_VAR: RO http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
A. SYSTEM VARIABLES
Page 30 of 30
Data Type: STRING Name: ETHERNET address Description: This is the ETHERNET board address and should be unique. Ethernet addresses have the following format: HH:HH:HH:HH:HH:HH where H is a hexadecimal number. Power Up: Requires a Cold start to take effect. User Interface Location: BMON DIAG screen
$TMI_ROUTER Minimum: "" Default: "" Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Router Description: A string of up to 32 characters defining the network router node name. Although a value is required for this variable, MOTET Interface does not make use of routers. Power Up: Requires a Cold start to take effect. User Interface Location: SETUP MOTET screens
$TMI_SNMASK Minimum: "" Default: 255.255.255.0 Maximum: "" KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING Name: Ethernet Subnet mask Description: This variable is a string with the following format: DDD.DDD.DDD.DDD, where DDD is a three-digit decimal with a range 0<<= DDD <<= 255, e.g., the default subnet mask for a class C type network is 255.255.255.0. Please consult your network administrator for the proper Ethernet subnet mask configuration for your network environment. Power Up: Change takes effect immediately User Interface Location: System Variables screen and SETUP TCP/IP screens
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap01.html
4/16/2002
B. DIAGNOSTIC INFORMATION
Page 1 of 1
B. DIAGNOSTIC INFORMATION B.1. ETHERNET PCB LEDS The Ethernet LEDs are located on the Main CPU PCB. See Figure B.1.. Figure B.1. Ethernet LEDs
Description Transmit Receive Link Status Full Duplex Collision 10 Base-T 100 Base-TX
Label TX RX L FDX COL BT BTX
Color Green Green Yellow Green Red Green Green
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap02.html
4/16/2002
B.2. ETHERNET CONNECTION
Page 1 of 1
B.2. ETHERNET CONNECTION This section describes the status of the Ethernet LEDs on the Main CPU PCB. Refer to Table B.1. for a description of the status LEDs. Table B.1. LED Status Description LED Link Status
TX Transmit Status
RX COL Collision Status FDX Full Duplex BT
BTX
On
Flashing
The ethernet connection is plugged into the robot and the link is functional. Indicates Indicates that transmit continuous activity has been transmit activities detected at the at the selected ethernet. port. Indicates that receive Indicates activity has been continuous receive detected at the activities at the ethernet. selected port. Indicates that Indicates Collision Status has continuous been detected at the collisions at the ethernet. selected port. The port operating is Full Duplex mode. The port is operating at 10 MBPS (10 BaseT) The port is operating at 100 MBPS (100 Base-TX)
Off Color The ethernet connection is not plugged into the robot or there is a problem on the link Yellow (a cable is missing, for example) Indicates no transmit activity at the selected port.
Green
Indicates no receive activity at the selected port.
Green
Normal state
Red
The port is operating in half duplex mode.
Green
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap02s02.html
Green
Green
4/16/2002
B.3. CONNECTOR PIN ASSIGNMENTS
Page 1 of 1
B.3. CONNECTOR PIN ASSIGNMENTS This section contains information about pin assignments for the 10 Base-T/100 Base-TX.
B.3.1. 10 Base-T Connector Pin Assignments See Figure B.2. for 10 Base-T/100 Base-TX connector assignment. Figure B.2. 10 Base-T/100 Base-TX Connector Pin Assignments
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap02s03.html
4/16/2002
C. ERROR MESSAGES
Page 1 of 15
C. ERROR MESSAGES This appendix contains a listing of the error messages that might be displayed during the operation of ECBR/FTP: ?
HOST
?
HRTL
Refer to the appropriate application-specific Setup and Operations Manual for information on error messages not included in this appendix.
C.1. HOST Error Codes HOST-001 WARN End of directory reached Cause: Your listing has reached the end of the directory. You do not have to do anything for this warning message. Remedy: This is a notification.
HOST-002 WARN File already exists Cause: The file name you are trying to create or copy to already exists on this device. Remedy: Delete the file on this device or choose a different file name.
HOST-003 WARN File does not exist Cause: The file you are trying to open or copy does not exist on this device. Remedy: Open or copy a file that exists on the device.
HOST-004 WARN Illegal command received Cause: The requested operation is not supported. Remedy: Use only supported operations, or check command syntax.
HOST-005 WARN Disk is full Cause: The disk file capacity has been reached. Remedy: Delete some unneeded files or use a disk with sufficient free space.
HOST-006 WARN End of file reached
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 2 of 15
Cause: The end of the file was reached while reading. Remedy: Do not attempt to read beyond the end of a file.
HOST-008 WARN Only one file may be opened Cause: An attempt was made to open more than one file. Remedy: Do not attempt to open more than one file at a time.
HOST-100 WARN Communications error Cause: The protocol format was invalid. Remedy: Verify protocol field in the setup menu and retry the operation.
HOST-101 WARN Directory read error Cause: The directory information is corrupted and unreadable. Remedy: Clean the disk drive,try another disk or reformat the disk.
HOST-102 WARN Block check error Cause: The checksum data is bad. Data is corrupted on the disk and can not be read. Remedy: Try another disk, or reformat the disk
HOST-103 WARN Seek error Cause: There is a bad sector or track on the disk. Remedy: Clean the disk drive, try another disk, or reformat the disk.
HOST-104 WARN Disk timeout Cause: The drive did not respond to a command. Remedy: Check the cable to the drive and make sure drive power is on.
HOST-105 WARN Write protection violation Cause: The disk has write protection enabled. Remedy: Remove write protection from the disk or use a disk that is not write protected.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 3 of 15
HOST-106 WARN $PROTOENT entry not found Cause: Protocol Entry structure ($PROTOENT) is invalid. It should be reset to default values. Remedy: Return Protocol Entry structure to initial values from Setup and Operations manual.
HOST-107 WARN $SERVENT entry not found Cause: Server Entry structure ($SERVENT) is invalid. It should be reset to default values. Remedy: Return Server Entry structure to initial values from Setup and Operations manual.
HOST-108 WARN Internet address not found Cause: Internet Address needs to be set. Remedy: Set Internet Address in the Setup Host Comm TCP/IP Protocol Menu.
HOST-109 WARN Host name not found Cause: Host Name needs to be set. Remedy: Set Host Name and Internet Address in the Host Comm TCP/IP Protocol Setup Menu.
HOST-110 WARN Node not found Cause: The Remote Node Name needs to be set. 9 Remedy: Set Remote Node Name in the Host Comm TCP/IP Protocol Setup Menu.
HOST-111 WARN Cycle power to use Ethernet Cause: ER-1 or ER-2 Ethernet hardware is already running and can not be restarted without cycling power. Remedy: Turn off and then turn on the controler.
HOST-126 WARN Invalid Ethernet address Cause: The Ethernet address needs to be set. Remedy: Set the Ethernet address in Configuration Menu.
HOST-127 WARN Ethernet firmware not loaded
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 4 of 15
Cause: The Ethernet Board firmware is not loaded. Remedy: Load the Ethernet Board firmware in BMON.
HOST-128 WARN Ethernet hardware not installed Cause: The Ethernet Board needs to be reinitialized. Remedy: Install or reseat the Ethernet Board.
HOST-129 WARN Receiver error Cause: Data received from external device is invalid. Most likely caused by electrical noise on receivers. Remedy: The error can be cleared by Stopping and Starting the Tag in Host Comm Setup Menu.
HOST-130 WARN Buffer alignment wrong Cause: A buffer was passed to the Serial Port Driver which can not be accessed. Remedy: Ensure program can run on this version of controller. You might need to retranslate your program.
HOST-131 WARN Wrong state Cause: The Host Comm system can not execute the requested command in the present operating mode. Remedy: Stop and Start the Host Comm Tag in the Host Comm Setup Menu to reset the operating mode.
HOST-132 WARN Can't allocate memory Cause: The Host Comm system can not allocate memory buffers for receiving or transmitting messages Remedy: Either add more memory to the controller or reduce the number of simultaneous connections.
HOST-133 WARN Wrong setup conditions Cause: The Host Comm system is receiving messages but can not decode them. Remedy: Correct port settings: data rate, data size, stop bits, etc to match external device.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 5 of 15
HOST-134 WARN BCC or CRC error Cause: The Host Comm system is receiving checksum errors on all messages. Remedy: Ensure that the external device is using the same protocol.
HOST-135 WARN Timeout Cause: There has not been any network activity on the Comm Tag for a period specified by Inactivity Timeout. The Comm Tag has been stopped as a result. Remedy: Restart the Comm Tag.
HOST-136 WARN Device not ready Cause: The remote device is connected but is not responding to requests. Remedy: Check cabling between the devices and/or insure the device is powered.
HOST-137 WARN Request cancelled Cause: The remote device indicates the operation was successfully terminated. Remedy: The cancel command was successful.
HOST-138 WARN Request aborted Cause: The remote device did not indicate operation was terminated. Remedy: The command might have been completed before the cancel command was received.
HOST-139 WARN Invalid function Cause: The Host Comm Protocol does not support the requested function. Remedy: Check the Host Comm Protocol to ensure the function is supported.
HOST-140 WARN Device offline Cause: The remote device is connected but it is not online. Remedy: Set the remote device online.
HOST-141 WARN Protocol Start/Stop error
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 6 of 15
Cause: The Host Comm Protocol could not be started (Mounted) or stopped (dismounted) on the selected comm tag. Remedy: Either use another Comm Tag or Stop and Undefine the selected Comm Tag under Menus-Setup-HostComm-Show
HOST-142 WARN Connection error Cause: The Host Comm Protocol could not establish communication with the remote device. Possible software mismatch. Remedy: Ensure both local and remote are using compatible software versions.
HOST-143 WARN Comm port cannot be closed Cause: The selected hardware port defined for the Comm Tag could not be closed. Remedy: Power the controller OFF and then ON and try again. If the error occurs again a cabling or hardware problem might exist with the port.
HOST-144 WARN Comm Tag error Cause: The Comm Tag either does not have a protocol defined or if required does not have a port assigned. Remedy: DEFINE a protocol to the Comm Tag or assign a port.
HOST-145 WARN Permission denied Cause: An attempt has been made either to read a file opened for write access only or to write a file opened for read access only. Remedy: If possible, close and reopen the file with the correct access parameters.
HOST-146 WARN Bad address for Comm Tag Cause: A bad address has been detected. Remedy: Verify the tag has a supported protocol &newline then UNDEFINE and DEFINE the Comm Tag
HOST-147 WARN Block device required Cause: The selected protocol requires a device port. Remedy: First ensure the Port has No Use from Port Init Setup. Then assign it to the selected Comm Tag. http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 7 of 15
HOST-148 WARN Mount device busy Cause: Either the Comm Tag is STARTED or it is presently in use. Remedy: Either STOP the Comm Tag or select another Tag.
HOST-149 WARN No such device Cause: The passed Device Type is not a Comm Tag type (Cx or Sx). Remedy: Only Comm Tags can be used with this command.
HOST-150 WARN Invalid argument Cause: The system does not support selected protocol. Remedy: Either select another protocol or install the selected protocol.
HOST-151 WARN No more Ethernet buffers. Cause: The System has run out of buffers to communicate with the Ethernet Remote PCB. Remedy: Reduce the number of simultaneous connections as there is not enough memory.
HOST-158 WARN FTP: no connection available Cause: An error occurred in the networking software. Remedy: Consult your network administrator. If the error is not cleared, document the events that led to the error and call your FANUC Robotics technical representative.
HOST-159 WARN FTP: login failed Cause: The Comm Tag does not have a valid username and password. Remedy: Enter a valid username and password for the Comm Tag.
HOST-160 WARN FTP: tag dismount request ignored Cause: An error occurred in the networking software. Remedy: Consult your network administrator. If the error is not cleared, document the events that led to the error and call your FANUC Robotics technical representative.
HOST-161 WARN FTP: need remote host name
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 8 of 15
Cause: The Comm Tag does not have a remote host defined. Remedy: Enter a remote host name in SETUP TAGS menu Current Remote and Startup Remote fields.
HOST-162 WARN FTP: Error on Ethernet Init. Cause: The Ethernet PCB isn't initialized properly. Remedy: Ensure both Ethernet PCB firmware and Main PCB Ethernet tasks are activated.
HOST-163 WARN EXMG: Invalid Buffer Size Cause: Invalid buffer size in call Remedy: Ensure correct buffer size
HOST-164 WARN EXMG: Read Pending Cause: Attempt to write before read. Remedy: Make a read call after write before making a new write call.
HOST-165 WARN EXMG: Internal Error Cause: Error in Explicit Messaging Task. Remedy: Unrecoverable - Contact Help Desk.
HOST-166 WARN EXMG: Write Pending Cause: Attempt to read before write. Remedy: A write should precede read.
HOST-167 WARN EXMG: Connection Error Cause: Explicit Messaging Connection broken Remedy: Check cable and remote device. Close connection and open again.
HOST-168 WARN EXMG: Invalid Channel Cause: Invalid Channel specified. Channel may not be online. Remedy: Make sure the channel specified is online or specify the correct channel
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 9 of 15
HOST-169 WARN EXMG: Invalid Path Cause: Invalid Path Specified. Remedy: Verify Path format specified EM:/DNET/1/10/40 DNET-Protocol, 1-Channel,10-MAC Id 40-buffer size Also verify values are legal.
HOST-170 WARN EXMG: Invalid Name Cause: Invalid Name specified. Remedy: Verify Explicit Messaging mapping system variables are correctly set and the values are legal.
HOST-171 WARN EXMG: Message Truncated Cause: Connection Buffer size small. Remedy: Reopen connection with correct buffer size.
HOST-172 WARN DNS: Host Not Found Cause: Domain Name Does Not exist Remedy: Make sure your host name and local domain name are correct. Your DNS server may not have the. current host listed.
HOST-173 WARN DNS: Server Failure Cause: Problem with DNS server. Remedy: Verify that you DNS server is running. Check with your DNS administrator to verify that the server is working properly.
HOST-174 WARN DNS: Format or Recovery Error Cause: DNS Recovery Error . Remedy: Verify that the host name and local domain name and formatted correctly. Verify that your server supports recursive queries. Verify that your server grants access to your robot.
HOST-175 WARN DNS: Server Has No Address Cause: Server has no IP address listed. Remedy: Your host name is valid and is recognized by the DNS server. The server has no IP http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 10 of 15
address for the host queried on. Have your DNS administrator provide the server with an IP address for the host queried on.
HOST-176 WARN DNS: Configuration Error Cause: DNS is not properly configured Remedy: Go to the DNS configuration menu and verify that the server IP address and local domain name are correct.
HOST-177 WARN Router Name Not Defined Cause: No router name has been defined. The router name has been set to the robot name. Remedy: If your network has a router, then define a router in the TCP/IP set up menu.
HOST-178 WARN Router Address Not Defined Cause: Router does not have an address listed in the local host table. The router address will be set to the robot address. Remedy: If your network has a router, then define an address for it in the local host table.
HOST-180 WARN NETMEM: buffer is not created Cause: Internal software problem. Network memory service request occurs before any memory is not created. Remedy: Network memory should be created before accessing.
HOST-181 WARN NETMEM: time out Cause: Timeout occurred at getting memory access right. Remedy: Network may overload if this error occurs frequently.
HOST-182 WARN NETMEM: BD error Cause: Internal software problem. Specified network memory buffer descriptor was not correct. Remedy: Verify that correct buffer descriptor is specified.
HOST-183 WARN NETMEM: buffer is auto ack mode Cause: Internal software problem. Network memory update request issued to automatic acknowledge transmit memory.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 11 of 15
Remedy: Verify that correct buffer descriptor is specified.
HOST-184 WARN NETMEM: transmit BD error Cause: Internal software problem. Specified buffer descriptor is not for transmit buffer. Remedy: Verify that correct buffer descriptor is specified.
HOST-185 WARN NETMEM: receive BD error Cause: Internal software problem. Specified buffer descriptor is not for receive buffer. Remedy: Verify that correct buffer descriptor is specified.
HOST-186 WARN NETMEM: send socket open fail Cause: UDP open for datagram sending was failed. Remedy: Confirm that UDP port was consumed by another network application.
HOST-187 WARN NETMEM: receive socket open fail Cause: UDP open for datagram receiving was failed. Remedy: Verify that there is RLSYNC entry in $SERVENT system variable. Verify that port number for RLSYNC is correct.
HOST-188 WARN PPP init on port %d fails Cause: Invalid port/insufficient memory Remedy: Verify that a correct port number is specified
HOST-189 WARN Invalid port number Cause: invalid port/insufficient memory Remedy: Verify that a correct port number is specified
HOST-190 WARN Invalid baud rate Cause: Invalid port/insufficient memory Remedy: Verify that a correct port number is specified.
HOST-191 WARN Invalid device type
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 12 of 15
Cause: Invalid port/insufficient memory Remedy: Verify that a correct port number is specified.
HOST-192 WARN PPP channel already initialized Cause: Iinvalid port/insufficient memory Remedy: Verify that a correct port number is specified.
HOST-193 WARN TLNT:Login to %s Cause: Login made to a device using telnet. Remedy: This is not an error
HOST-194 WARN TLNT:Logout of %s Cause: Logout made out of device using telnet. Remedy: This is not an error.
HOST-195 WARN TLNT:rejected conn request Cause: TELNET connection attempt rejected. Please look at cause code for further information. Remedy: Correct the cause of failure and try again.
HOST-196 WARN TLNT:%s already connected Cause: The device is already connected. Remedy: Ensure the device is not connected and try again.
HOST-197 WARN TLNT:invalid login id Cause: Invalid login id supplied. Remedy: Ensure the login id is valid and try again.
HOST-198 WARN TLNT:invalid password %s Cause: invalid password supplied Remedy: ensure the password is valid and try again
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 13 of 15
HOST-199 WARN TLNT:timeout on %s Cause: Tthe inactivity timer for the device expired. Remedy: Log in again or increase the timer value for the device from the TELNET screens.
HOST-200 WARN TLNT:FSAC need lvl %d for %s Cause: The FSAC security feature is enabled and the client PC doesn't have sufficient privileges. Remedy: Make an entry for the PC in the FSAC table.
HOST-201 WARN TLNT:bad access lvl for %s Cause: Insufficient access level. Remedy: Check the access level for the device from the TELNET screens.
HOST-202 WARN TLNT:invalid port for %s Cause: Valid port not configured for device. Remedy: Configure a valid port for device from Port Init screens first.
HOST-203 WARN TLNT:from %s Cause: Connection from remote host detected. Remedy: Not an error.
HOST-204 WARN SM: Remote Client Name is invalid Cause: The host name in the Client tag is not set correctly. If DNS is enabled, DNS server did not resolve the name. Remedy: Change the host name to be a valid name in the client tags.
HOST-205 WARN SM: Tag Already Mounted Cause: A request to mount a tag which was already mounted was received. Remedy: Do not try to remount a tag without dismounting it.
HOST-206 WARN SM: Bad Port Number
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 14 of 15
Cause: The system variable $server_port in the Client tag or the host tag was invalid. Remedy: Set the $hosts_cfg[n].$server_port sysvar for the server tag or $hostc_cfg [n].$server_port for the client to a valid number
HOST-207 WARN SM: Tag is not mounted Cause: The requested tag is not mounted. Remedy: Mount the tag before using it.
HOST-208 WARN SM: Not Yet Connected Cause: The requested tag is not yet connected to the remote host/device. Remedy: Use MSG_CONNECT to connect the tag before opening it.
HOST-209 WARN SM: Connection Aborted Cause: The connection was aborted by remote host. Remedy: Check the remote host and reconnect to it.
HOST-210 WARN SM: Connection Timed Out Cause: Connection was timed out by remote. Remedy: Reconnect to remote host.
HOST-211 WARN SM: Connection Write Buffer is full Cause: Write buffer is full. The remote host may not be responding or the network is down. Remedy: Check remote host and network connection.
HOST-212 WARN SM: Write Direction shut down by Peer Cause: Write direction was shutdown by remote. Remedy: Check remote and reconnect to remote host.
HOST-213 WARN SM: Read Direction shut down by Peer Cause: Read direction was shutdown by remote. Remedy: Check remote and reconnect to remote host
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C. ERROR MESSAGES
Page 15 of 15
HOST-214 WARN SM: Connection is Pending Cause: Remote host has not yet connected. Remedy: Wait for remote to connect.
HOST-215 WARN SM: Connection is in use Cause: The requested tag is in use. Remedy: Stop using the remote tag. If necessary close any open file to the tag and disconnect the tag by using MSG_DISCO.
HOST-216 WARN SM: Invalid Socket Cause: A request was received for a socket which is invalid Remedy: Re-establish the connection.
HOST-217 WARN SM: Socket Error Cause: A socket error was returned by the tcpip library. Remedy: Retry the operation. All sockets may be use. Free some resources by closing some connections to telnet, ftp or socket mesg If that is not feasible, the same error may occur again.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03.html
4/16/2002
C.2. HRTL Error Codes
Page 1 of 11
C.2. HRTL Error Codes HRTL-001 WARN Not owner Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-002 WARN File/Comm Tag does not exist Cause: Either the file or the Comm Tag could not be found Remedy: Either retype the file name or DEFINE the Comm Tag. Please refer to the section of Defining and Starting FTP on a Device in the manual of Ethernet Controller Backup and Restore- FTP Setup and Operations.
HRTL-003 WARN No such process Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-004 WARN Interrupted system call Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-005 WARN I/O error Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-006 WARN No protocol or device dest Cause: The Comm Tag either does not have a protocol defined or if required does not have a port assigned Remedy: DEFINE a protocol to the Comm Tag or assign a port
HRTL-007 WARN Arg list too long
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 2 of 11
Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-008 WARN Exec format error Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-009 WARN Bad file number Cause: The file number passed does not match with any open files. Remedy: Copy the conditions which caused this to occur.
HRTL-010 WARN No children Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-011 WARN No more processes Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-012 WARN Not enough core Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-013 WARN Access permission denied Cause: Access Ethernet socket table permission denied. Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-014 WARN Invalid Comm Tag http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 3 of 11
Cause: A bad address has been detected Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-015 WARN Port device required Cause: The selected protocol requires a device port Remedy: First ensure the Port has No Use from Port Init Setup. Then assign it to the selected Comm Tag
HRTL-016 WARN Comm Tag already defined Cause: Either the Comm Tag is STARTED or it's presently in use Remedy: Either STOP the Comm Tag or select another Tag. Please refer to the section of Defining and Starting FTP on a Device in the manual of Ethernet Controller Backup and Restore- FTP Setup and Operations.
HRTL-017 WARN File exists Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-018 WARN Cross-device link Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-019 WARN Invalid device type Cause: The passed Device Type is not a Comm Tag type (Cx or Sx) Remedy: Only Comm Tags can be used with this command.
HRTL-020 WARN Not a directory Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 4 of 11
HRTL-021 WARN Is a directory Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-022 WARN Invalid argument Cause: System does not support selected protocol. Remedy: Either select another protocol or install the selected protocol.
HRTL-023 WARN File table overflow Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-024 WARN Too many open files Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-025 WARN Not a typewriter Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-026 WARN Text file busy Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-027 WARN File too large Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance. http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 5 of 11
HRTL-028 WARN No space left on device Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-029 WARN Illegal seek Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-030 WARN Read-only file system Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-031 WARN Too many links Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-032 WARN Broken pipe Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-035 WARN Operation would block Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-036 WARN Operation now in progress Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 6 of 11
assistance.
HRTL-037 WARN Operation now in progress Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-038 WARN Socket operation on non-socket Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-039 WARN Destination address required Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-040 WARN Message size too long Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-041 WARN Protocol wrong type Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-042 WARN Protocol not available Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-043 WARN Protocol not supported Cause: An error occurred in the Ethernet networking software (TCP/IP).
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 7 of 11
Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-044 WARN Socket type not supported Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-045 WARN Operation not supported Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-047 WARN Address family not supported Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-048 WARN Address already in use Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-049 WARN Can't assign requested address Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-050 WARN Network is down Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-051 WARN Network is unreachable
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 8 of 11
Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-052 WARN Connection dropped on reset Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-053 WARN Software caused connect abort Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-054 WARN Connection reset by peer Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-055 WARN No buffer space available Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-056 WARN Socket is already connected Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-057 WARN Socket is not connected Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 9 of 11
HRTL-058 WARN Can't send, socket is shutdown Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-060 WARN Ethernet Connection timed out Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-061 WARN Ethernet Connection refused Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-063 WARN Protocol family not supported Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-064 WARN Host is down Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-065 WARN Host is unreachable Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-066 WARN No urgent data Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 10 of 11
assistance.
HRTL-067 WARN No out of bound data Cause: An error occurred in the Ethernet networking software (TCP/IP). Remedy: Consult your network administrator or call the FANUC Robotics Service Hotline for assistance.
HRTL-068 WARN Device is already attached Cause: Device is already in use Remedy: Free Device for use
HRTL-069 WARN Device Function Code invalid Cause: Device does not support command Remedy: Check usage against device
HRTL-070 WARN Cannot detach with open files Cause: Device in use Remedy: Wait for command complete then retry
HRTL-071 WARN Device is already allocated Cause: Device is already allocated Remedy: Wait until Device free then retry
HRTL-072 WARN Device doesn't support attach Cause: Device does not support attaching Remedy: Check usage against device
HRTL-073 WARN End of device list reached Cause: Device limit reached Remedy: Check that device is valid
HRTL-074 WARN Device is not supported
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
C.2. HRTL Error Codes
Page 11 of 11
Cause: Device not available Remedy: Check device installation
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap03s02.html
4/16/2002
D. HOST SETUP EXAMPLES
Page 1 of 2
D. HOST SETUP EXAMPLES D.1. PERSONAL COMPUTER EXAMPLE SETUP This section describes an example setup of a personal computer running Distinct TCP/IP V3.31. If you want to use the example setup or one similar to it, perform Procedure D.1..
Procedure D.1. Example Setup for a Personal Computer Running Distinct TCP/IP Conditions ?
The Ethernet printed circuit board has been installed and all required software has been installed.
?
The Ethernet cable is attached to the Ethernet printed circuit board and is terminated properly.
Steps 1. From MS-DOS or the Windows File Manager, create directories on the disk you want to use (usually C:) for storage of the backup files for each of your robots. ?
Create a subdirectory for the TFTP server, such as "\tftpdir."
?
From this subdirectory, create subdirectories for each one of your robots, such as "\tftpdir\robot1."You might want to use the robot's node name to identify each robot's storage directory clearly.
2. Highlight the BOOTP Server icon in the Distinct TCP/IP window group by moving the mouse cursor over the icon and clicking the left mouse button once. 3. On the Program Manager's menu bar, pull down the File menu and select Properties. 4. In the Working Directory field, enter "c:\tftpdir," or the directory you chose in Step 1., and close the dialog box. 5. Start the BOOTP server by double-clicking the left mouse button on the BOOTP server icon. 6. Pull down the Setup menu and select Addresses. 7. Enter the Ethernet and IP addresses selected for a robot controller. 8. In the Boot file field, enter "robot1\restore.c f," or the directory you chose in Step 1.. The file name must be "restore.cf."
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap04.html
4/16/2002
D. HOST SETUP EXAMPLES
Page 2 of 2
9. Press Define to create this entry. 10. Repeat Step 7. through Step 9. for each of your robots. 11. Pull down the Setup menu and select Enabled. The BOOTP server is now running. You can minimize the program to an icon for convenience. 12. Start the TFTP server by double-clicking with the left mouse button on the TFTP icon. 13. Pull down the Server menu to display the server dialog box. 14. In the prompt field, type "c:\tftpdir," or the directory name you chose in Step 1.. 15. Move the mouse cursor over the checkbox labeled Enable TFTP server and press the left mouse button to select it. 16. Press the Set button. The TFTP server is now enabled. You can minimize the program to an icon for convenience.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap04.html
4/16/2002
D.2. SUN WORKSTATION EXAMPLE SETUP
Page 1 of 3
D.2. SUN WORKSTATION EXAMPLE SETUP This section describes an example setup of a Sun workstation running bootpd V2.4.3 and tftpd V4.1. If you want to use the example setup or one similar to it, performProcedure D.2..
Procedure D.2. Example Setup for a Sun Workstation Running bootpd and tftpd Conditions ?
The Ethernet printed circuit board has been installed and all required software has been installed.
?
The Ethernet cable is attached to the Ethernet printed circuit board and is terminated properly.
?
Ensure that BOOTP V2.4.3 is available to the workstation.
Steps 1. Log onto the workstation as the super-user. 2. Create directories for storage of the backup files for each of your robots. ?
If it does not exist already, create the directory "/usr/tftpd ir." The TFTP server restricts usage to the "/usr" directory on the workstation's local hard disk drive. This restriction is due to the TFTP protocol's unsecure (not password-protected) access capability.
?
From this directory, create directories for each of your robots, such as "/usr/tftpdir/robot1." You might want to use the robot's node name to identify each robot's storage directory clearly. Note The directory "/usr/tftpdir" must agree with directory name entries in Step 2., Step 3., and Step 4..
Verify that the following two lines exist in "/etc/inetd.conf" bootps dgram udp wait root /usr/etc/bootpd bootpd-i tftp dgram udp wait root /usr/etc/in.tftpd in.tft-s /usr/tftpdirpd
Note the following: ?
These lines might be commented out with a preceding "#." If they are, remove the
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap04s02.html
4/16/2002
D.2. SUN WORKSTATION EXAMPLE SETUP
Page 2 of 3
"#." ?
"/usr/etc/bootpd" is the fully qualified path to the bootpd executable.
?
"/usr/etc/in.tftpd" is the fully qualified path to the tftpd executable.
?
"-s /usr/tftpdir" tells tftp to use "/usr/tftpdir" as its root login directory. Refer to Step 2., Step 3., and Step 4..
3. Add the following to the file "/etc/bootptab" for each robot: robot1: \ hn:\ ht=ethernet:\ ha=08003B148025: \ sm=255.255.255.0:\ vm=rfc1048:\ gw=199.5.148.1:\ ra=199.5.148.255: \ ip=199.5.148.25: \ bf=/robot1/restore.cf:
The first field is the robot's node name. Use the actual controller assignments for the node name, "ha" field, and "ip" field. The "gw" field is the gateway or router IP address, if needed. The "ra" field is the broadcast IP address. "bf" is the location of the boot file. This is relative to the tftp root login directory in Step 2., Step 3., and Step 5.. In the "bf" field, use the actual directory name (chosen in Step 2.) plus "restore.cf." The file name must be "restore.cf." 4. tftp must have a password entry to be able to log in. The precedence is "/etc/passwd" then the NIS password. ?
To check whether tftp has a login locally, type grep tftp /etc/passwd
?
To check whether there is an NIS login, type ypcat passwd |grep tftp
One or both should show the following entry: tftp:*:510:10:tftp directory:/usr/tftpdir:/bin/false
If neither have an entry, then an entry must be created in "etc/passwd" or NIS. Consult your network system administrator for where to create this entry.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap04s02.html
4/16/2002
D.2. SUN WORKSTATION EXAMPLE SETUP
Page 3 of 3
Note The parameter "/usr/tftpdir" is tftp's root login directory and must match the information in Step 2., Step 3., Step 5., and . 5. Add the following to the file "/etc/services": bootps 67/udp bootpc 68/udp tftp 69/udp
6. Execute the command: ps -auxw|grep inetd
to determine the process ID of the "inetd" process. You should see a line similar to the following: root
156
0.0
0.0
52
0
?
IW
Jul 28
1:22 inetd
The first number, "156" in this case, is the process ID. 7. Signal the process "inetd" to read its configuration file by executing the following command: kill -HUP 156
Substitute the actual process ID for "156." This starts up the BOOTP and TFTP servers.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap04s02.html
4/16/2002
D.3. HEWLETT-PACKARD WORKSTATION EXAMPLE SETUP
Page 1 of 3
D.3. HEWLETT-PACKARD WORKSTATION EXAMPLE SETUP This section describes an example setup of a Hewlett-Packard workstation running HP-UX 9.0 bootpd and tftpd. If you want to use the example setup or one similar to it, perform Procedure D.3..
Procedure D.3. Example Setup for a Hewlett-Packard Workstation Running HP-UX 9.0 bootpd and tftpd Conditions ?
The Ethernet printed circuit board has been installed and all required software has been installed.
?
The Ethernet cable is attached to the Ethernet printed circuit board and is terminated properly.
Steps 1. Log onto the workstation as the super-user. 2. Create directories for storage of the backup files for each of your robots. ?
If it does not exist already, create the directory "/usr/tftpd ir." The TFTP server restricts usage to the "/usr" directory on the workstation's local hard disk drive. This restriction is due to the TFTP protocol's unsecure (not password-protected) access capability.
?
From this directory, create directories for each of your robots, such as "/usr/tftpdir/robot1." You might want to use the robot's node name to identify each robot's storage directory clearly. Note The directory "/usr/tftpdir" must agree with directory name entries in Step 3., Step 4., and Step 5..
3. Add the following lines to the file "/etc/inetd.conf": bootps dgram udp wait root /etc/bootpd bootpd tftp dgram udp wait root /etc/tftpd tftpd
Note the following:
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap04s03.html
4/16/2002
D.3. HEWLETT-PACKARD WORKSTATION EXAMPLE SETUP
Page 2 of 3
?
These lines might be commented out with a preceding "#." If they are, remove the "#."
?
"/usr/etc/bootpd" is the fully qualified path to the bootpd executable.
?
"/usr/etc/in.tftpd" is the fully qualified path to the tftpd executable.
?
"-s /usr/tftpdir" tells tftp to use "/usr/tftpdir" as its root login directory. Refer to Step 2., Step 4., and Step 5..
4. Add the following to the file "/etc/bootptab" for each robot: robot1: \ hn:\ ht=ethernet:\ ha=08003B148025: \ sm=255.255.255.0:\ vm=rfc1048:\ gw=199.5.148.1:\ ba=199.5.148.255: \ ip=199.5.148.25: \ bf=/robot1/restore.cf:
The first field is the robot's node name. Use the actual controller assignments for the node name, "ha" field, and "ip" field. The "gw" field is the gateway or router IP address, if needed. The "ba" field is the broadcast IP address. "bf" is the location of the boot file. This is relative to the tftp root login directory in Step 2., Step 3., and Step 5.. In the "bf" field, use the actual directory name (chosen in Step 2. ) plus "restore.cf." The file name must be "restore.cf." 5. tftp must have a password entry to be able to log in. The precedence is "/etc/passwd" then the NIS password. ?
To check whether tftp has a login locally, type grep tftp /etc/passwd
?
To check whether there is an NIS login, type ypcat passwd |grep tftp
One or both should show the following entry: tftp:*:510:10:tftp directory:/usr/tftpdir:/bin/false
If neither have an entry, then an entry must be created in "etc/passwd" or NIS. Consult your network system administrator for where to create this entry.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap04s03.html
4/16/2002
D.3. HEWLETT-PACKARD WORKSTATION EXAMPLE SETUP
Page 3 of 3
Note The parameter "/usr/tftpdir" is tftp's root login directory and must match the information in Step 2., Step 3., and Step 4.. 6. Add the following to the file "/etc/services": bootps 67/udp bootpc 68/udp tftp 69/udp
7. To determine the process ID of the "inetd" process, execute the command: ps -ale|grep inetd
You should see a line similar to the following: root
130
1
0
Aug 24
?
0:02 /etc/inetd
The first number, "130" in this case, if the process ID. 8. Signal the process "inetd" to read its configuration file by executing the following command: kill -s SIGHUP 130
Substitute the actual process ID for "130." This starts up the BOOTP and TFTP servers.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap04s03.html
4/16/2002
E. CONFIGURING FTP AND USING FTP SETUP
Page 1 of 1
E. CONFIGURING FTP AND USING FTP SETUP E.1. DEFAULT CONFIGURATION When you use FTPSETUP to create a default configuration, you do not need to provide any information. FTPSETUP will assign an IP address and name to the robot controller, and a server tag. After you turn the controller on, it can be accessed by client PCs with any FTP protocol, via an Ethernet connection. Use Procedure E.1. to create a default configuration.
Procedure E.1. FTPSETUP Default Configuration Conditions ?
You have installed the FTP software on your controller.
Steps 1. Perform a Controlled start. 2. Press MENUS. 3. Select S/W INSTALL. 4. Select FTP SETUP. 5. Press ENTER. You will see a screen similar to the following. FTP Setup - MAIN 1 Configuration type:
Custom
Quit using EXIT to save values
6. Press F4, [CHOICE]. You will see a screen similar to the following. 1 2 3 4
Custom Default 1 Default 2 Default 3
5 6 7 8
Default Default Default -- NEXT
4 5 6 --
7. Choose one of the Default Configurations and press ENTER. If any of the defaults is selected, robot name and IP address is already set. This is the address which should be used by a remote PC when talking to the robot. One default server tag is already set. The robot is ready to act as an FTP server 8. Press F3, EXIT, to quit FTPSETUP and save values. The controller is now ready to act as a FTP server after you cold start the controller.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap05.html
4/16/2002
E.2. CUSTOM CONFIGURATION
Page 1 of 7
E.2. CUSTOM CONFIGURATION When performing a custom configuration with FTPSETUP, you need the following information: ?
Robot Node Name
?
Robot Node IP Address
?
Subnet mask
?
Router Name
?
Information for Host Name/Address Table E.1. , which is information about other nodes connected to the network. This information is required for if the robot is to function as a FTP client served by FTP servers. This table lists the FTP servers on the network. This information is required for the robot's FTP client to communicate.
TCP/IP definition allows for two kinds of tables: Local Host Name and Address, and Shared Host Name and Address. Use Table E.1. to write in the information specific to your robot for the Local Host name and address. Use Table E.2. to write in information specific to your robot for the Shared Host Name and Address. Use Procedure E.2. to create a custom configuration with FTPSETUP by importing a .VR file with the TCP/IP settings you want to use. Use Procedure E.3. to create a custom configuration with values that you supply. Table E.1. Local Host Table HOST NAME INTERNET ADDRESS
Table E.2. Shared Host Table HOST NAME INTERNET ADDRESS
Procedure E.2. FTPSETUP Custom Configuration Using an Imported .VR File Conditions ?
You have installed the FTP software on your controller.
Steps 1. Perform a Controlled start.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap05s02.html
4/16/2002
E.2. CUSTOM CONFIGURATION
Page 2 of 7
2. Press MENUS. 3. Select S/W INSTALL. 4. Select FTP SETUP. 5. Press ENTER. You will see a screen similar to the following. FTP Setup - MAIN 1 Configuration type:
Custom
Quit using EXIT to save values
6. Press F1, CONFIG. You will see a screen similar to the following. FTP Setup TCP/IP Definition 1 Robot Node Name: 2 Robot IP Addr: 3 Router Name; 4 Router IP Addr: 5 Subnet Mask:
palrob 199.5.148.208 flea 199.5.148.1 255.255.255.0
Host Information (local) Do NOT enter/repeat any of the above Host Name Host IP Addr 6 milletrl 199.5.148.220
7. Press NEXT. You will see a screen similar to the following. FTP Setup TCP/IP Definition 1 Robot Node Name: 2 Robot IP Addr: 3 Router Name: 4 Router IP Addr : 5 Subnet Mask :
palrob 199.5.148.208 flea 199.5.148.1 255.255.255.0
Host Information (local) Do NOT enter/repeat any of the above Host Name Host IP Addr 6 milletrl 199.5.148.220
8. Press F4, FILE. You will see a screen similar to the following. FTP Setup Import/Export Settings 1 Device MC: 2 File Name ********.VR
9. Select the Device where the .VR settings file is located. 10. Move the cursor to line 2, File Name, and type in the appropriate file name. If you do
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap05s02.html
4/16/2002
E.2. CUSTOM CONFIGURATION
Page 3 of 7
not enter a file name, FTPSETUP.VR will be selected. 11. Press F2, IMPORT. You will see a screen similar to the following. FTP Setup Import Settings 1 Import Robot IP Addr:
FALSE
Select TRUE to OVERWRITE current robot IP name and address
12. Select the appropriate value: ?
F4, TRUE, if the current robot IP address on the robot controller is to be overwritten.
?
F5, FALSE, if you want to enter a new IP address.
13. Press F2, RUN. 14. Press F1, BACK, two times. 15. Press NEXT. 16. Press F2, EXIT, to quit FTPSETUP and save settings. The controller is now ready to act as a FTP server after you Cold start the controller.
Procedure E.3. FTPSETUP Custom Configuration Conditions ?
You have installed the FTP software on your controller.
Steps 1. Perform a Controlled start. 2. Press MENUS. 3. Select S/W INSTALL. 4. Select FTP SETUP. 5. Press ENTER. You will see a screen similar to the following. FTP Setup - MAIN 1 Configuration type: Custom Quit using EXIT to save values
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap05s02.html
4/16/2002
E.2. CUSTOM CONFIGURATION
Page 4 of 7
6. Press F1, CONFIG. You will see a screen similar to the following. FTP Setup TCP/IP Definition 1 Robot Node Name: 2 Robot IP Addr: 3 Router Name: 4 Router IP Addr: 5 Subnet Mask: Host Information (local) Do NOT enter/repeat any of the above Host Name Host IP Addr
7. Type the Robot name, robot IP address, router name, router IP address, and subnet mask. In addition to these, type the IP name and address information in the Host Information table for any FTP server to which the controller can connect. 8. Press F1, CHECK. No error should be present in the top line of the teach pendant screen. 9. To define an FTP server: a. Press F2, SERVER. You will see a screen similar to the following. FTP Setup Server Setup Tag Startup 1 S1 UNDEF 2 S2 UNDEF 3 S3 UNDEF 4 S4 UNDEF 5 S5 UNDEF 6 S6 UNDEF 7 S7 UNDEF 8 S8 UNDEF
Protocol Comment NONE **************** NONE **************** NONE **************** NONE **************** NONE **************** NONE **************** NONE **************** NONE ****************
b. Set the startup mode to start and protocol to FTP for the server tags that you need to start. c. Press F1, BACK, to return to the Definition Screen. 10. To define an FTP client: a. Select the client tag to be defined, and press ENTER. You will see a screen similar to the following.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap05s02.html
4/16/2002
E.2. CUSTOM CONFIGURATION FTP Setup Client Setup Tag Startup 1 C1 UNDEF 2 C2 UNDEF 3 C3 UNDEF 4 C4 UNDEF 5 C5 UNDEF 6 C6 UNDEF 7 C7 UNDEF 8 C8 UNDEF
Protocol NONE NONE NONE NONE NONE NONE NONE NONE
Page 5 of 7
Remote NONE NONE NONE NONE NONE NONE NONE NONE
b. Press F3, DETAIL. You will see a screen similar to the following. FTP Setup Client Tag Setup C3: 1 Comment **************** 2 Remote Server NONE 3 Remote Path ******************** EXIT Program and Cycle power for values to take effect IMPORTANT: Values will not be saved if program not exited properly
c. Press F4, [CHOICE]. You will see a screen similar to the following. 1 2 3 4
flea milletrl AJM NONE
d. Select the appropriate remote host in the list for the tag. e. Select 3 Remote Path. f. Press ENTER and type in the remote path. g. Press F3, LIST. h. Press F1, BACK. 11. To export the current configuration: a. Press NEXT. You will see a screen similar to the following.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap05s02.html
4/16/2002
E.2. CUSTOM CONFIGURATION
Page 6 of 7
FTP Setup TCP/IP Definition 1 Robot Node Name: 2 Robot IP Addr: 3 Router Name; 4 Router IP Addr: 5 Subnet Mask:
palrob 199.5.148.208 flea 199.5.148.1 255.255.255.0
Host Information (local) Do NOT enter/repeat any of the above Host Name Host IP Addr 6 milletrl 199.5.148.220
b. Press F4, FILE. You will see a screen similar to the following FTP Setup Import/Export Settings 1 Device MC: 2 File Name ********.VR
c. Select the Device where you want the .VR settings file saved. d. Select 2, File Name. e. Enter the appropriate file name. If you do not enter a file name, FTPSETUP.VR will be selected. f. Press F3, EXPORT. You will see a screen similar to the following. FTP Setup Export Settings 1 Overwrite
False
Select TRUE to OVERWRITE current file IF one with the same name exists
g. Select the appropriate value: ? F4, TRUE, if the file you are exporting should be overwritten if one with the same name exists on the device. ?
F5, FALSE, otherwise. If false is selected and the file exists on the device, settings will not be saved to the file.
h. Press F2, RUN. i. Press F1, BACK, two times. 12. To quit FTP setup and save all values: a. From the screen TCP/IP definitions of ftpsetup, press NEXT.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap05s02.html
4/16/2002
E.2. CUSTOM CONFIGURATION
Page 7 of 7
b. Select F2, EXIT, to quit FTPSETUP and save all values. Note If abort is selected or if the program is interrupted in any other way, the settings will not be saved. FTPSETUP does not set users and passwords for FTP clients you have defined. This is done for security reasons. Refer to Section 4.3. and Procedure 4.2. to set up users and passwords for FTP clients.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap05s02.html
4/16/2002
F. CONFIGURE FTP WITH A KAREL COMMAND FILE
Page 1 of 5
F. CONFIGURE FTP WITH A KAREL COMMAND FILE F.1. CONFIGURING NETWORK PARAMETERS WITH A KAREL COMMAND FILE You can use a command file to set up R-J3iB Ethernet TCP/IP Parameters. The example command file can be run from the KAREL command line with the RUNCF command. You must turn the controller off, and then back on for the settings to take effect. See Table F.1. for an example NETSETUP.CF file. Table F.1. Example NETSETUP.CF File INSTRUCTION R-J3iB Name and IP address set var $hostname = 'ROBOT1' set var $hostent [1].$h_name = ' set var $hostent [1].$h_addr = '192.168.0.2' set var $tmi_router = 'ROUTER' set var $hostent [2].$h_name = 'ROUTER' set var $hostent [2].$h_addr = '192.168.0.1' set var $tmi_snmask = '255.255.255.0' set var $hostent [3].$h_name = 'PC_HOST' set var $hostent [3].$h_addr = '192.168.0.3'
DESCRIPTION
(REQUIRED)
Router name and IP address (if router is used) Robot Subnet Mask (based on network IP address, Class C mask shown)
Additional Entries might be needed in the local robot HOST table to identify remote FTP servers referenced by FTP clients on robot.-The local HOST table has up to 12 entries, only 8 can be seen on setup screens.
set var $host_shared [1].$h_name = 'UNIX_HOST'
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap06.html
4/16/2002
F. CONFIGURE FTP WITH A KAREL COMMAND FILE
set var $host_shared [1].$h_addr = '192.168.0.4' set var $hosts_Cfg [1].$protocol ='FTP' set var $hosts_Cfg [1].$port = '' set var $hosts_Cfg [1].$oper = 3 set var $hosts_Cfg [2].$oper = 3 set var $hosts_Cfg [2].$protocol = 'FTP' set var $hosts_Cfg [2].$port = '' $hosts_Cfg [3].$protocol = 'FTP' set var $hosts_Cfg [3].$port = '' set var $hosts_Cfg [3].$oper = 3 set var $hosts_Cfg [4].$protocol = 'FTP' set var $hosts_Cfg [4].$port = '' set var $hosts_Cfg [4].$oper = 3 set var $hosts_Cfg [5].$protocol = 'FTP' set var $hosts_Cfg [5].$port = '' set var $hosts_Cfg [5].$oper = 3 set var $hosts_Cfg [6].$protocol = 'FTP' set var $hosts_Cfg [6].$port = '' set var $hosts_Cfg [6].$oper = 3 set var $hosts_Cfg [7].$protocol = 'FTP'
Page 2 of 5
Additional Entries might be needed in sharedrobot HOST table to identify remote FTP servers referenced by FTP clients on robot.The shared HOST table has up to 20 entries and is held in SYSHOST.SV so it can be shared between robots which might share common FTP servers. Up to 8 FTP servers can be configured on the robot. You need to start enough FTP servers to handle the maximum number of simultaneous FTP connections to the robot.
Configure to be STARTED when you turn the controller ON.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap06.html
4/16/2002
F. CONFIGURE FTP WITH A KAREL COMMAND FILE set var $hosts_Cfg [7].$port = '' set var $hosts_Cfg [7].$oper = 3 set var $hosts_Cfg [8].$protocol = 'FTP' set var $hosts_Cfg [8].$port = '' set var $hosts_Cfg [8].$oper = 3 set var $hostc_Cfg [1].$protocol = 'FTP' set var $hostc_Cfg [1].$port = '' set var $hosts_Cfg [1].$oper = 2 set var $hostc_Cfg [1].$strt_path = './testing/ftp/' set var $hostc_Cfg [1].$strt_remote = 'UNIX_HOST' set var $hostc_Cfg [2].$protocol = 'FTP' set var $hostc_Cfg [2].$port = '' set var $hostc_Cfg [2].$oper = 2 set var $hostc_Cfg [2].$strt_path = 'C:\TEMP\' set var $hostc_Cfg [2].$strt_remote = 'PC_HOST' set var $hostc_Cfg [3].$protocol = 'FTP' set var $hostc_Cfg [3].$port = '' set var $hostc_Cfg [3].$oper = 2 set var $hostc_Cfg [3].$strt_path = './testing/ftp/'
Page 3 of 5
Up to 8 FTP clients can be configured on the robot.
Configure to be DEFINED when you turn the controller ON.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap06.html
4/16/2002
F. CONFIGURE FTP WITH A KAREL COMMAND FILE
Page 4 of 5
set var $hostc_Cfg [3].$strt_remote = 'UNIX_HOST' set var $hostc_Cfg [4].$protocol = 'FTP' set var $hostc_Cfg [4].$port = '' set var $hostc_Cfg [4].$oper = 2 set var $hostc_Cfg [4].$strt_path = './testing/ftp/' set var $hostc_Cfg [4].$strt_remote = 'UNIX_HOST' set var $hostc_Cfg [5].$protocol = 'FTP' set var $hostc_Cfg [5].$port = '' set var $hostc_Cfg [5].$oper = 2 set var $hostc_Cfg [5].$strt_path = './testing/ftp/' set var $hostc_Cfg [5].$strt_remote = 'UNIX_HOST' set var $hostc_Cfg [6].$protocol = 'FTP' set var $hostc_Cfg [6].$port = '' set var $hostc_Cfg [6].$oper = 2 set var $hostc_Cfg [6].$strt_path = './testing/ftp/' set var $hostc_Cfg [6].$strt_remote = 'UNIX_HOST' set var $hostc_Cfg [7].$protocol = 'FTP' set var $hostc_Cfg [7].$port = ''
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap06.html
4/16/2002
F. CONFIGURE FTP WITH A KAREL COMMAND FILE
Page 5 of 5
set var $hostc_Cfg [7].$oper = 2 set var $hostc_Cfg [7].$strt_path = './testing/ftp/' set var $hostc_Cfg [7].$strt_remote = 'UNIX_HOST' set var $hostc_Cfg [8].$protocol = 'FTP' set var $hostc_Cfg [8].$port = '' set var $hostc_Cfg [8].$oper = 2 set var $hostc_Cfg [8].$strt_path = './testing/ftp/' set var $hostc_Cfg [8].$strt_remote = 'UNIX_HOST'
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/ap06.html
4/16/2002
Page 1 of 35
Glossary A abort Abnormal termination of a computer program caused by hardware or software malfunction or operator cancellation. absolute pulse code system A positional information system for servomotors that relies on battery-backed RAM to store encoder pulse counts when the robot is turned off. This system is calibrated when it is turned on. A/D value An analog to digital-value. Converts a multilevel analog electrical system pattern into a digital bit. AI Analog input. AO Analog output. alarm The difference in value between actual response and desired response in the performance of a controlled machine, system or process. Alarm=Error. algorithm A fixed step-by-step procedure for accomplishing a given result. alphanumeric Data that are both alphabetical and numeric. AMPS Amperage amount. analog The representation of numerical quantities by measurable quantities such as length, http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 2 of 35 voltage or resistance. Also refers to analog type I/O blocks and distinguishes them from discrete I/O blocks. Numerical data that can vary continuously, for example, voltage levels that can vary within the range of -10 to +10 volts. AND An operation that places two contacts or groups of contacts in series. All contacts in series control the resulting status and also mathematical operator. ANSI American National Standard Institute, the U.S. government organization with responsibility for the development and announcement of technical data standards. APC See absolute pulse code system. APC motor See servomotor. application program The set of instructions that defines the specific intended tasks of robots and robot systems to make them reprogrammable and multifunctional. You can initiate and change these programs. arm A robot component consisting of an interconnecting set of links and powered joints that move and support the wrist socket and end effector. articulated arm A robot arm constructed to simulate the human arm, consisting of a series of rotary motions and joints, each powered by a motor. ASCII Abbreviation for American Standard Code for Information Interchange. An 8-level code (7 bits plus 1 parity bit) commonly used for the exchange of data. automatic mode The robot state in which automatic operation can be initiated. automatic operation
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 3 of 35
The time during which robots are performing programmed tasks through unattended program execution. axis 1. A straight line about which a robot joint rotates or moves. 2. One of the reference lines or a coordinate system. 3. A single joint on the robot arm.
B backplane A group of connectors mounted at the back of a controller rack to which printed circuit boards are mated. BAR A unit of pressure equal to 100,000 pascals. barrier A means of physically separating persons from the restricted work envelope; any physical boundary to a hazard or electrical device/component. battery low alarm A programmable value (in engineering units) against which the analog input signal automatically is compared on Genius I/O blocks. A fault is indicated if the input value is equal to or less than the low alarm value. baud A unit of transmission speed equal to the number of code elements (bits) per second. binary A numbering system that uses only 0 and 1. bit Contraction of binary digit. 1. The smallest unit of information in the binary numbering system, represented by a 0 or 1. 2. The smallest division of a programmable controller word. bps Bits per second.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 4 of 35
buffer A storage area in the computer where data is held temporarily until the computer can process it. bus A channel along which data can be sent. bus controller A Genius bus interface board for a programmable controller. bus scan One complete communications cycle on the serial bus. Bus Switching Module A device that switches a block cluster to one bus or the other of a dual bus. byte A sequence of binary digits that can be used to store a value from 0 to 255 and usually operated upon as a unit. Consists of eight bits used to store two numeric or one alpha character.
C calibration The process whereby the joint angle of each axis is calculated from a known reference point. Cartesian coordinate system A coordinate system whose axes (x, y, and z) are three intersecting perpendicular straight lines. The origin is the intersection of the axes. Cartesian coordinates A set of three numbers that defines the location of a point within a rectilinear coordinate system and consisting of three perpendicular axes (x, y, z). cathode ray tube A device, like a television set, for displaying information.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 5 of 35
central processing unit The main computer component that is made up of a control section and an arithmeticlogic section. The other basic units of a computer system are input/output units and primary storage. channel The device along which data flow between the input/output units of a computer and primary storage. character One of a set of elements that can be arranged in ordered groups to express information. Each character has two forms: 1. a man-intelligible form, the graphic, including the decimal digits 0-9, the letters A-Z, punctuation marks, and other formatting and control symbols; 2. a computer intelligible form, the code, consisting of a group of binary digits (bits). circular A MOTYPE option in which the robot tool center point moves in an arc defined by three points. These points can be positions or path nodes. clear To replace information in a storage unit by zero (or blank, in some machines). closed loop A control system that uses feedback. An open loop control system does not use feedback. C-MOS RAM Complementary metal-oxide semiconductor random-access memory. A read/write memory in which the basic memory cell is a pair of MOS (metal-oxide semiconductor) transistors. It is an implementation of S-RAM that has very low power consumption, but may less dense than other S-RAM implementations. coaxial cable A transmission line in which one conductor is centered inside and insulated from an outer metal tube that serves as the second conductor. Also known as coax, coaxial line, coaxial transmission line, concentric cable, concentric line, concentric transmission line. component
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 6 of 35
An inclusive term used to identify a raw material, ingredient, part or subassembly that goes into a higher level of assembly, compound or other item. computer A device capable of accepting information, applying prescribed processes to the information, and supplying the results of these processes. configuration The joint positions of a robot and turn number of wrist that describe the robot at a specified position. Configuration is designated by a STRING value and is included in positional data for the R-J3i B system. continuous path A trajectory control system that enables the robot arm to move at a constant tip velocity through a series of predefined locations. A rounding effect of the path is required as the tip tries to pass through these locations. controller memory A medium in which data are retained. Primary storage refers to the internal area where the data and program instructions are stored for active use, as opposed to auxiliary or external storage (magnetic tape, disk, diskette, and so forth.) continuous process control The use of transducers (sensors) to monitor a process and make automatic changes in operations through the design of appropriate feedback control loops. While such devices historically have been mechanical or electromechanical, microcomputers and centralized control is now used, as well. continuous production A production system in which the productive equipment is organized and sequenced according to the steps involved to produce the product. Denotes that material flow is continuous during the production process. The routing of the jobs is fixed and set-ups are seldom changed. controlled stop A controlled stop controls robot deceleration until it stops. When a safety stop input such as a safety fence signal is opened, the robot decelerates in a controlled manner and then stops. After the robot stops, the Motor Control Contactor opens and drive power is removed. controller http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 7 of 35
A hardware unit that contains the power supply, operator controls, control circuitry, and memory that directs the operation and motion of the robot and communications with external devices. See control unit. control, open-loop An operation where the computer applies control directly to the process without manual intervention. control unit The portion of a computer that directs the automatic operation of the computer, interprets computer instructions, and initiates the proper signals to the other computer circuits to execute instructions. coordinate system See Cartesian coordinate system. CPU See central processing unit. CRT See cathode ray tube. CRT/KB Cathode ray tube/keyboard. An optional interface device for the R-J3i B robot system. The CRT/KB is used for some robot operations and for entering programs. It can be a remote device that attaches to the robot via a cable. cycle 1. A sequence of operations that is repeated regularly. The time it takes for one such sequence to occur. 2. The interval of time during which a system or process, such as seasonal demand or a manufacturing operation, periodically returns to similar initial conditions. 3. The interval of time during which an event or set of events is completed. In production control, a cycle is the length of time between the release of a manufacturing order and shipment to the customer or inventory. cycle time 1. In industrial engineering, the time between completion of two discrete units of production. 2. In materials management, the length of time from when material enters a production facility until it exits. See throughput.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 8 of 35
cursor An indicator on a teach pendant or CRT display screen at which command entry or editing occurs. The indicator can be a highlighted field or an arrow (> or ^). cylindrical Type of work envelope that has two linear major axes and one rotational major axis. Robotic device that has a predominantly cylindrical work envelope due to its design. Typically has fewer than 6 joints and typically has only 1 linear axis.
D D/A converter A digital-to-analog converter. A device that transforms digital data into analog data. D/A value A digital-to-analog value. Converts a digital bit pattern into a multilevel analog electrical system. daisy chain A means of connecting devices (readers, printers, etc.) to a central processor by partyline input/output buses that join these devices by male and female connectors. The last female connector is shorted by a suitable line termination. daisy chain configuration A communications link formed by daisy chain connection of twisted pair wire. data A collection of facts, numeric and alphabetical characters, or any representation of information that is suitable for communication and processing. data base A data file philosophy designed to establish the independence of computer program from data files. Redundancy is minimized and data elements can be added to, or deleted from, the file designs without changing the existing computer programs. DC Abbreviation for direct current. DEADMAN switch http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 9 of 35
A control switch on the teach pendant that is used to enable servo power. Pressing the DEADMAN switch while the teach pendant is on activates servo power and releases the robot brakes; releasing the switch deactivates servo power and applies the robot brakes. debugging The process of detecting, locating and removing mistakes from a computer program, or manufacturing control system. See diagnostic routine. deceleration tolerance The specification of the percentage of deceleration that must be completed before a motion is considered finished and another motion can begin. default The value, display, function or program automatically selected if you have not specified a choice. deviation Usually, the absolute difference between a number and the mean of a set of numbers, or between a forecast value and the actual data. device Any type of control hardware, such as an emergency-stop button, selector switch, control pendant, relay, solenoid valve, or sensor. diagnostic routine A test program used to detect and identify hardware/software malfunctions in the controller and its associated I/O equipment. See debugging. diagnostics Information that permits the identification and evaluation of robot and peripheral device conditions. digital A description of any data that is expressed in numerical format. Also, having the states On and Off only. digital control The use of a digital computer to perform processing and control tasks in a manner that http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 10 of 35 is more accurate and less expensive than an analog control system. digital signal A single point control signal sent to or from the controller. The signal represents one of two states: ON (TRUE, 1. or OFF (FALSE, 0). directory A listing of the files stored on a device. discrete Consisting of individual, distinct entities such as bits, characters, circuits, or circuit components. Also refers to ON/OFF type I/O blocks. disk A secondary memory device in which information is stored on a magnetically sensitive, rotating disk. disk memory A non-programmable, bulk-storage, random-access memory consisting of a magnetized coating on one or both sides of a rotating thin circular plate. drive power The energy source or sources for the robot servomotors that produce motion. D-RAM Dynamic Random Access Memory. A read/write memory in which the basic memory cell is a capacitor. D-RAM tends to have a higher density than S-RAM. Due to the support circuitry required, and power consumption needs, it is generally impractical to use. A battery can be used to retain the content upon loss of power.
E edit 1. A software mode that allows creation or alteration of a program. 2. To modify the form or format of data, for example, to insert or delete characters. emergency stop The operation of a circuit using hardware-based components that overrides all other robot controls, removes drive power from the actuators, and causes all moving parts of to stop. The operator panel and teach pendant are each equipped with EMERGENCY http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 11 of 35 STOP buttons. enabling device A manually operated device that, when continuously activated, permits motion. Releasing the device stops the motion of the robot and associated equipment that might present a hazard. encoder 1. A device within the robot that sends the controller information about where the robot is. 2. A transducer used to convert position data into electrical signals. The robot system uses an incremental optical encoder to provide position feedback for each joint. Velocity data is computed from the encoder signals and used as an additional feedback signal to assure servo stability. end effector An accessory device or tool specifically designed for attachment to the robot wrist or tool mounting plate to enable the robot to perform its intended tasks. Examples include gripper, spot weld gun, arc weld gun, spray paint gun, etc. end-of-arm tooling Any of a number of tools, such as welding guns, torches, bells, paint spraying devices, attached to the faceplate of the robot wrist. Also called end effector or EOAT. engineering units Units of measure as applied to a process variable, for example, psi, Degrees F., etc. envelope, maximum The volume of space encompassing the maximum designed movements of all robot parts including the end effector, workpiece, and attachments. EOAT See end of arm tooling, tool. EPROM Erasable Programmable Read Only Memory. Semiconductor memory that can be erased and reprogrammed. A non-volatile storage memory. error The difference in value between actual response and desired response in the performance of a controlled machine, system or process. Alarm=Error. http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 12 of 35
error message A numbered message, displayed on the CRT/KB and teach pendant, that indicates a system problem or warns of a potential problem. Ethernet A Local Area Network (LAN) bus-oriented, hardware technology that is used to connect computers, printers, terminal concentrators (servers), and many other devices together. It consists of a master cable and connection devices at each machine on the cable that allow the various devices to "talk" to each other. Software that can access the Ethernet and cooperate with machines connected to the cable is necessary. Ethernets come in varieties such as baseband and broadband and can run on different media, such as coax, twisted pair and fiber. Ethernet is a trademark of Xerox Corporation. execute To perform a specific operation, such as one that would be accomplished through processing one statement or command, a series of statements or commands, or a complete program or command procedure. extended axis An optional, servo-controlled axis that provides extended reach capability for a robot, including in-booth rail, single- or double-link arm, also used to control motion of positioning devices.
F faceplate The tool mounting plate of the robot. feedback 1. The signal or data fed back to a commanding unit from a controlled machine or process to denote its response to the command signal. The signal representing the difference between actual response and desired response that is used by the commanding unit to improve performance of the controlled machine or process. 2. The flow of information back into the control system so that actual performance can be compared with planned performance, for instance in a servo system. field A specified area of a record used for a particular category of data. 2. A group of related items that occupy the same space on a CRT/KB screen or teach pendant LCD screen. Field name is the name of the field; field items are the members of the group.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 13 of 35
field devices User-supplied devices that provide information to the PLC (inputs: push buttons, limit switches, relay contacts, an so forth) or perform PLC tasks (outputs: motor starters, solenoids, indicator lights, and so forth.) file 1. An organized collection of records that can be stored or retrieved by name. 2. The storage device on which these records are kept, such as bubble memory or disk. filter A device to suppress interference that would appear as noise. Flash File Storage A portion of FROM memory that functions as a separate storage device. Any file can be stored on the FROM disk. Flash ROM Flash Read Only Memory. Flash ROM is not battery-backed memory but it is nonvolatile. All data in Flash ROM is saved even after you turn off and turn on the robot. flow chart A systems analysis tool to graphically show a procedure in which symbols are used to represent operations, data, flow, and equipment. See block diagram, process chart. flow control A specific production control system that is based primarily on setting production rates and feeding work into production to meet the planned rates, then following it through production to make sure that it is moving. This concept is most successful in repetitive production. format To set up or prepare a memory card or floppy disk so it can be used to store data in a specific system. FR See Flash ROM. F-ROM
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 14 of 35
See Flash ROM. FROM disk See Flash ROM.
G general override stat A percentage value that governs the maximum robot jog speed and program run speed. Genius I/O bus The serial bus that provides communications between blocks, controllers, and other devices in the system especially with respect to GE FANUC Genius I/O. gripper The "hand" of a robot that picks up, holds and releases the part or object being handled. Sometimes referred to as a manipulator. See EOAT, tool. group signal An input/output signal that has a variable number of digital signals, recognized and taken as a group. gun See applicator.
H Hand Model. Used in Interference Checking, the Hand Model is the set of virtual model elements (spheres and cylinders) that are used to represent the location and shape of the end of arm tooling with respect to the robot's faceplate. hardware 1. In data processing, the mechanical, magnetic, electrical and electronic devices of which a computer, controller, robot, or panel is built. 2. In manufacturing, relatively standard items such as nuts, bolts, washers, clips, and so forth. hard-wire To connect electric components with solid metallic wires. http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 15 of 35
hard-wired 1. Having a fixed wired program or control system built in by the manufacturer and not subject to change by programming. 2. Interconnection of electrical and electronic devices directly through physical wiring. hazardous motion Unintended or unexpected robot motion that can cause injury. hexadecimal A numbering system having 16 as the base and represented by the digits 0 through 9, and A through F. hold A smoothly decelerated stopping of all robot movement and a pause of program execution. Power is maintained on the robot and program execution generally can be resumed from a hold. HTML. Hypertext Markup Language. A markup language that is used to create hypertext and hypermedia documents incorporating text, graphics, sound, video, and hyperlinks. http. Hypertext transfer protocol. The protocol used to transfer HTML files between web servers.
I impedance A measure of the total opposition to current flow in an electrical circuit. incremental encoder system A positional information system for servomotors that requires calibrating the robot by moving it to a known reference position (indicated by limit switches) each time the robot is turned on or calibration is lost due to an error condition. index An integer used to specify the location of information within a table or program. index register http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 16 of 35
A memory device containing an index. industrial robot A reprogrammable multifunctional manipulator designed to move material, parts, tools, or specialized devices through variable programmed motions in order to perform a variety of tasks. industrial robot system A system that includes industrial robots, end effectors, any equipment devices and sensors required for the robot to perform its tasks, as well as communication interfaces for interlocking, sequencing, or monitoring the robot. information The meaning derived from data that have been arranged and displayed in a way that they relate to that which is already known. See data. initialize 1. Setting all variable areas of a computer program or routine to their desired initial status, generally done the first time the code is executed during each run. 2. A program or hardware circuit that returns a program a system, or hardware device to an original state. See startup, initial. input The data supplied from an external device to a computer for processing. The device used to accomplish this transfer of data. input device A device such as a terminal keyboard that, through mechanical or electrical action, converts data from the form in which it has been received into electronic signals that can be interpreted by the CPU or programmable controller. Examples are limit switches, push buttons, pressure switches, digital encoders, and analog devices. input processing time The time required for input data to reach the microprocessor. input/output Information or signals transferred between devices, discreet electrical signals for external control. input/output control http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 17 of 35
A technique for controlling capacity where the actual output from a work center is compared with the planned output developed by CRP. The input is also monitored to see if it corresponds with plans so that work centers will not be expected to generate output when jobs are not available to work on. integrated circuit A solid-state micro-circuit contained entirely within a chip of semiconductor material, generally silicon. Also called chip. interactive Refers to applications where you communicate with a computer program via a terminal by entering data and receiving responses from the computer. interface 1. A concept that involves the specifications of the inter-connection between two equipments having different functions. 2. To connects a PLC with the application device, communications channel, and peripherals through various modules and cables. 3. The method or equipment used to communicate between devices. interference zone An area that falls within the work envelope of a robot, in which there is the potential for the robot motion to coincide with the motion of another robot or machine, and for a collision to occur. interlock An arrangement whereby the operation of one control or mechanism brings about, or prevents, the operations of another. interrupt A break in the normal flow of a system or program that occurs in a way that the flow can be resumed from that point at a later time. Interrupts are initiated by two types of signals: 1. signals originating within the computer system to synchronize the operation of the computer system with the outside world; 2. signals originating exterior to the computer system to synchronize the operation of the computer system with the outside world. I/O Abbreviation for input/output or input/output control. I/O block
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 18 of 35
A microprocessor-based, configurable, rugged solid state device to which field I/O devices are attached. I/O electrical isolation A method of separating field wiring from logic level circuitry. This is typically done through optical isolation devices. I/O module A printed circuit assembly that is the interface between user devices and the Series Six PLC. I/O scan A method by which the CPU monitors all inputs and controls all outputs within a prescribed time. A period during which each device on the bus is given a turn to send information and listen to all of the broadcast data on the bus. ISO The International Standards Organization that establishes the ISO interface standards. isolation 1. The ability of a logic circuit having more than one inputs to ensure that each input signal is not affected by any of the others. 2. A method of separating field wiring circuitry from logic level circuitry, typically done optically. item 1. A category displayed on the teach pendant on a menu. 2. A set of adjacent digits, bits, or characters that is treated as a unit and conveys a single unit of information. 3. Any unique manufactured or purchased part or assembly: end product, assembly, subassembly, component, or raw material.
J jog coordinate systems Coordinate systems that help you to move the robot more effectively for a specific application. These systems include JOINT, WORLD, TOOL, and USER. JOG FRAME A jog coordinate system you define to make the robot jog the best way possible for a specific application. This can be different from world coordinate frame.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 19 of 35
jogging Pressing special keys on the teach pendant to move the robot. jog speed Is a percentage of the maximum speed at which you can jog the robot. joint 1. A single axis of rotation. There are up to six joints in a robot arm (P-155 swing arm has 8). 2. A jog coordinate system in which one axis is moved at a time. JOINT A motion type in which the robot moves the appropriate combination of axes independently to reach a point most efficiently. (Point to point, non-linear motion). joint interpolated motion A method of coordinating the movement of the joints so all joints arrive at the desired location at the same time. This method of servo control produces a predictable path regardless of speed and results in the fastest cycle time for a particular move. Also called joint motion.
K K Abbreviation for kilo, or exactly 1024 in computer jargon. Related to 1024 words of memory. KAREL The programming language developed for robots by the FANUC Robotics North America, Inc.
L label An ordered set of characters used to symbolically identify an instruction, a program, a quantity, or a data area. LCD See liquid crystal display.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 20 of 35
lead time The span of time needed to perform an activity. In the production and inventory control context, this activity is normally the procurement of materials and/or products either from an outside supplier or from one's own manufacturing facility. Components of lead time can include order preparation time, queue time, move or transportation time, receiving and inspection time. LED See Light Emitting Diode. LED display An alphanumeric display that consists of an array of LEDs. Light Emitting Diode A solid-state device that lights to indicate a signal on electronic equipment. limiting device A device that restricts the work envelope by stopping or causing to stop all robot motion and that is independent of the control program and the application programs. limit switch A switch that is actuated by some part or motion of a machine or equipment to alter the electrical circuit associated with it. It can be used for position detection. linear A motion type in which the appropriate combination of axes move in order to move the robot TCP in a straight line while maintaining tool center point orientation. liquid crystal display A digital display on the teach pendant that consists of two sheets of glass separated by a sealed-in, normally transparent, liquid crystal material. Abbreviated LCD. load 1. The weight (force) applied to the end of the robot arm. 2. A device intentionally placed in a circuit or connected to a machine or apparatus to absorb power and convert it into the desired useful form. 3. To copy programs or data into memory storage. location
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 21 of 35
1. A storage position in memory uniquely specified by an address. 2. The coordinates of an object used in describing its x, y, and z position in a Cartesian coordinate system. lockout/tagout The placement of a lock and/or tag on the energy isolating device (power disconnecting device) in the off or open position. This indicates that the energy isolating device or the equipment being controlled will not be operated until the lock/tag is removed. log A record of values and/or action for a given function. logic A fixed set of responses (outputs) to various external conditions (inputs). Also referred to as the program. loop The repeated execution of a series of instructions for a fixed number of times, or until interrupted by the operator.
M mA See milliampere. machine language A language written in a series of bits that are understandable by, and therefore instruct, a computer. This is a "first level" computer language, as compared to a "second level" assembly language, or a "third level" compiler language. machine lock A test run option that allows the operator to run a program without having the robot move. macro A source language instruction from which many machine-language instructions can be generated. magnetic disk A metal or plastic floppy disk that looks like a phonograph record whose surface can http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 22 of 35 store data in the form of magnetized spots. magnetic disk storage A storage device or system consisting of magnetically coated metal disks. magnetic tape Plastic tape, like that used in tape recorder, on which data is stored in the form of magnetized spots. maintenance Keeping the robots and system in their proper operating condition. MC See memory card. mechanical unit The robot arm, including auxiliary axis, and hood/deck and door openers. medium plural media . The physical substance upon which data is recorded, such as a memory card or floppy disk. memory A device or media used to store information in a form that can be retrieved and is understood by the computer or controller hardware. Memory on the R-J3i B system includes C-MOS RAM, Flash ROM and D-RAM. memory card A C-MOS RAM memory card or a flash disk-based PC card. menu A list of options displayed on the teach pendant screen. message A group of words, variable in length, transporting an item of information. microprocessor A single integrated circuit that contains the arithmetic, logic, register, control and http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 23 of 35 memory elements of a computer. microsecond One millionth (0.000001) of a second milliampere One one-thousandth of an ampere. Abbreviated mA. millisecond One thousandth of a second. Abbreviated msec. module A distinct and identifiable unit of computer program for such purposes as compiling, loading, and linkage editing. It is eventually combined with other units to form a complete program. motion type A feature that allows you to select how you want the robot to move from one point to the next. MOTYPES include joint, linear, and circular. mode 1. One of several alternative conditions or methods of operation of a device. 2. The most common or frequent value in a group of values.
N network 1. The interconnection of a number of devices by data communication facilities. "Local networking" is the communications network internal to a robot. "Global networking" is the ability to provide communications connections outside of the robot's internal system. 2. Connection of geographically separated computers and/or terminals over communications lines. The control of transmission is managed by a standard protocol. non-volatile memory Memory capable of retaining its stored information when power is turned off.
O Obstacle Model. Used in Interference Checking, the Obstacle Model is the set of virtual model elements http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 24 of 35 (spheres, cylinders, and planes) that are used to represent the shape and the location of a given obstacle in space. off-line Equipment or devices that are not directly connected to a communications line. off-line operations Data processing operations that are handled outside of the regular computer program. For example, the computer might generate a report off-line while the computer was doing another job. off-line programming The development of programs on a computer system that is independent of the "onboard" control of the robot. The resulting programs can be copied into the robot controller memory. offset The count value output from a A/D converter resulting from a zero input analog voltage. Used to correct subsequent non-zero measurements also incremental position or frame adjustment value. on-line A term to describe equipment or devices that are connected to the communications line. on-line processing A data processing approach where transactions are entered into the computer directly, as they occur. operating system Lowest level system monitor program. operating work envelope The portion of the restricted work envelope that is actually used by the robot while it is performing its programmed motion. This includes the maximum the end-effector, the workpiece, and the robot itself. operator A person designated to start, monitor, and stop the intended productive operation of a robot or robot system.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 25 of 35
operator box A control panel that is separate from the robot and is designed as part of the R-J3i B system. It consists of the buttons, switches, and indicator lights needed to operate the system. operator panel A control panel designed as part of the R-J3i B system and consisting of the buttons, switches, and indicator lights needed to operate the system. optional features Additional capabilities available at a cost above the base price. OR An operation that places two contacts or groups of contacts in parallel. Any of the contacts can control the resultant status, also a mathematical operation. orientation The attitude of an object in space. Commonly described by three angles: rotation about x (w), rotation about y (p), and rotation about z (r). origin The point in a Cartesian coordinate system where axes intersect; the reference point that defines the location of a frame. OT See overtravel. output Information that is transferred from the CPU for control of external devices or processes. output device A device, such as starter motors, solenoids, that receive data from the programmable controller. output module An I/O module that converts logic levels within the CPU to a usable output signal for controlling a machine or process . http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 26 of 35
outputs Signals, typically on or off, that controls external devices based upon commands from the CPU. override See general override. overtravel A condition that occurs when the motion of a robot axis exceeds its prescribed limits. overwrite To replace the contents of one file with the contents of another file when copying.
P parity The anticipated state, odd or even, of a set of binary digits. parity bit A binary digit added to an array of bits to make the sum of all bits always odd or always even. parity check A check that tests whether the number of ones (or zeros) in an array of binary digits is odd or even. parity error A condition that occurs when a computed parity check does not agree with the parity bit. part A material item that is used as a component and is not an assembly or subassembly. pascal A unit of pressure in the meter-kilogram-second system equivalent to one newton per square meter. path
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 27 of 35
1. A variable type available in the KAREL system that consists of a list of positions. Each node includes positional information and associated data. 2. The trajectory followed by the TCP in a move. PCB See printed circuit board. PC Interface The PC Interface software uses Ethernet connections to provide file transfer protocol (FTP) functions, PC send macros, telnet interface, TCP/IP interface web server functions, and host communications. pendant See teach pendant. PLC See programmable logic controller or cell controller. PMC The programmable machine controller (PMC) functions provide a ladder logic programming environment to create PMC functions. This provides the capability to use the robot I/O system to run PLC programs in the background of normal robot operations. This function can be used to control bulk supply systems, fixed automation that is part of the robot workcell, or other devices that would normally require basic PLC controls. printed circuit board A flat board whose front contains slots for integrated circuit chips and connections for a variety of electronic components, and whose back is printed with electrically conductive pathways between the components. production mode See automatic mode. program 1. A plan for the solution of a problem. A complete program includes plans for the transcription of data, coding for the computer, and plans for the absorption of the results into the system. 2. A sequence of instructions to be executed by the computer or controller to control a robot/robot system. 3. To furnish a computer with a code of instructions. 4. To teach a robot system a specific set of movements and instructions to http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 28 of 35 do a task. programmable controller See programmable logic controller or cell controller. programmable logic controller A solid-state industrial control device that receives inputs from user-supplied control devices, such as switches and sensors, implements them in a precise pattern determined by ladder diagram-based programs stored in the user memory, and provides outputs for control of processes or user-supplied devices such as relays and motor starters. Program ToolBox The Program ToolBox software provides programming utilities such as mirror image and flip wrist editing capabilities. protocol A set of hardware and software interfaces in a terminal or computer that allows it to transmit over a communications network, and that collectively forms a communications language. PSI Pounds per square inch.
Q queue. 1. Waiting lines resulting from temporary delays in providing service. 2. The amount of time a job waits at a work center before set-up or work is performed on the job. See also job queue.
R RAM See Random Access Memory. random access A term that describes files that do not have to be searched sequentially to find a particular record but can be addressed directly. Random Access Memory http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 29 of 35
1. Volatile, solid-state memory used for storage of programs and locations; battery backup is required. 2. The working memory of the controller. Programs and variable data must be loaded into RAM before the program can execute or the data can be accessed by the program. range 1. A characterization of a variable or function. All the values that a function can possess. 2. In statistics, the spread in a series of observations. 3. A programmable voltage or current spectrum of values to which input or output analog signals can be limited. RI Robot input. RO Robot output. read To copy, usually from one form of storage to another, particularly from external or secondary storage to internal storage. To sense the meaning of arrangements of hardware. To sense the presence of information on a recording medium. Read Only Memory A digital memory containing a fixed pattern of bits that you cannot alter. record To store the current set or sets of information on a storage device. recovery The restoration of normal processing after a hardware or software malfunction through detailed procedures for file backup, file restoration, and transaction logging. register 1. A special section of primary storage in a computer where data is held while it is being worked on. 2. A memory device capable of containing one or more computer bits or words. remote/local A device connection to a given computer, with remote devices being attached over http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 30 of 35 communications lines and local devices attached directly to a computer channel; in a network, the computer can be a remote device to the CPU controlling the network. repair To restore robots and robot systems to operating condition after damage, malfunction, or wear. repeatability The closeness of agreement among the number of consecutive movements made by the robot arm to a specific point. reset To return a register or storage location to zero or to a specified initial condition. restricted work envelope That portion of the work envelope to which a robot is restricted by limiting devices that establish limits that will not be exceeded in the event of any reasonably foreseeable failure of the robot or its controls. The maximum distance the robot can travel after the limited device is actuated defines the restricted work envelope of the robot. RIA Robotic Industries Association Subcommittee of the American National Standards Institute, Inc. robot A reprogrammable multifunctional manipulator designed to move material, parts, tools, or specialized devices, through variable programmed motions for the performance of a variety of tasks. Robot Model. Used in Interference Checking, the Robot Model is the set of virtual model elements (sphere and cylinders) that are used to represent the location and shape of the robot arm with respect to the robot's base. Generally, the structure of a six axes robot can be accurately modeled as a series of cylinders and spheres. Each model element represents a link or part of the robot arm. ROM See Read Only Memory. routine
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 31 of 35
1. A list of coded instructions in a program. 2. A series of computer instructions that performs a specific task and can be executed as often as needed during program execution.
S saving data. Storing program data in Flash ROM, to a floppy disk, or memory card. scratch start Allows you to enable and disable the automatic recovery function. SI System input. SO System output. sensor A device that responds to physical stimuli, such as heat, light, sound pressure, magnetism, or motion, and transmits the resulting signal or data for providing a measurement, operating a control or both. Also a device that is used to measure or adjust differences in voltage in order to control sophisticated machinery dynamically. serial communication A method of data transfer within a PLC whereby the bits are handled sequentially rather than simultaneously as in parallel transmission. serial interface A method of data transmission that permits transmitting a single bit at a time through a single line. Used where high speed input is not necessary. Server Side Include (SSI) A method of calling or "including" code into a web page. servomotor An electric motor that is controlled to produce precision motion. Also called a "smart" motor.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 32 of 35
signal The event, phenomenon, or electrical quantity that conveys information from one point to another. significant bit A bit that contributes to the precision of a number. These are counted starting with the bit that contributes the most value, of "most significant bit," and ending with the bit that contributes the least value, or "least significant bit." slip sheet A sheet of material placed between certain layers of a unit load. Also known as tier sheet. specific gravity The ratio of a mass of solid or liquid to the mass of an equal volume of water at 45C. You must know the specific gravity of the dispensing material to perform volume signal calibration. The specific gravity of a dispensing material is listed on the MSDS for that material. S-RAM A read/write memory in which the basic memory cell is a transistor. S-RAM tends to have a lower density than D-RAM. A battery can be used to retain the content upon loss of power. Standard Operator Panel (SOP). A panel that is made up of buttons, keyswitches, and connector ports. state The on or off condition of current to and from and input or output device. statement See instruction. storage device Any device that can accept, retain, and read back one or more times. The available storage devices are S-RAM, Flash ROM (FROM or F-ROM), floppy disks, and memory cards. system variable http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 33 of 35
An element that stores data used by the R-J3i B system to indicate such things as robot specifications, application requirements, and the current status of the system.
T Tare The difference between the gross weight of an object and its contents, and the object itself. The weight of an object without its contents. TCP See tool center point. teaching Generating and storing a series of positional data points effected by moving the robot arm through a path of intended motions. teach mode 1. The mode of operation in which a robot is instructed in its motions, usually by guiding it through these motions using a teach pendant. 2. The generation and storage of positional data. Positional data can be taught using the teach pendant to move the robot through a series of positions and recording those positions for use by an application program. teach pendant 1. A hand-held device used to instruct a robot, specifying the character and types of motions it is to undertake. Also known as teach box, teach gun. 2. A portable device, consisting of an LCD display and a keypad, that serves as a user interface to the KAREL system and attaches to the operator box or operator panel via a cable. The teach pendant is used for robot operations such as jogging the robot, teaching and recording positions, and testing and debugging programs. telemetry The method of transmission of measurements made by an instrument or a sensor to a remote location. termination type Feature that controls the blending of robot motion between segments. tool A term used loosely to define something mounted on the end of the robot arm, for http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 34 of 35 example, a hand, gripper, or an arc welding torch. tool center point 1. The location on the end-effector or tool of a robot hand whose position and orientation define the coordinates of the controlled object. 2. Reference point for position control, that is, the point on the tool that is used to teach positions. Abbreviated TCP. TOOL Frame The Cartesian coordinate system that has the position of the TCP as its origin to stet. The z-axis of the tool frame indicates the approach vector for the tool. TP. See teach pendant. transducer A device for converting energy from one form to another.
U UOP See user operator panel. URL Universal Resource Locator. A standard addressing scheme used to locate or reference files on web servers. USER Frame The Cartesian coordinate system that you can define for a specific application. The default value of the User Frame is the World Frame. All positional data is recorded relative to User Frame. User Operator Panel User-supplied control device used in place of or in parallel with the operator panel or operator box supplied with the controller. Abbreviated UOP .
V variable A quantity that can assume any of a given set of values. http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002
Page 35 of 35
variance The difference between the expected (or planned) and the actual, also statistics definitions. vision system A device that collects data and forms an image that can be interpreted by a robot computer to determine the position or to "see" an object. volatile memory Memory that will lose the information stored in it if power is removed from the memory circuit device.
W web server An application that allows you to access files on the robot using a standard web browser. warning device An audible or visible device used to alert personnel to potential safety hazards. work envelope The volume of space that encloses the maximum designed reach of the robot manipulator including the end effector, the workpiece, and the robot itself. The work envelope can be reduced or restricted by limiting devices. The maximum distance the robot can travel after the limit device is actuated is considered the basis for defining the restricted work envelope. write To deliver data to a medium such as storage.
http://www.frc.com/edoc/latest/latest_software/maro62int09011e_rev_a/gl01.html
4/16/2002