Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 72 of 91

9/Series CNC Hardware Integration and Maintenance Manual, pages 711 to 720

Pages 711 to 720 of 898

The original document is the PDF (8.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 8500-1746I

Page 711

Section

15A

Troubleshooting the Control

15A.0 Section Overview

This Section presents some features available to you to help troubleshoot your control. These features include: System Initialization Software - This feature allows you to initialize the control to default AMP parameters and/or remove the existing PAL logic program. Search Monitor (online) -- This optional feature allows you to search and monitor the PAL program using the operator panel. System Diagnostic Screens. Description and operation. I/O ring diagnostics displays remote I/O diagnostic displays Fast I/O diagnostic displays (9/260 and 9/290 only) Servo system diagnostic displays Serial I/O diagnostics data scope monitor Additional troubleshooting features are available in other sections of this manual that include : A listing of error and status messages for identifying incorrect commands and configurations on the control is available at the end of this manual. Since electro-mechanical devices on the machine tool can also malfunction, these messages and their recoveries can also locate certain problems outside of the control. Offline Search Monitor -- This feature is similar to the Online Search Monitor feature found on the control except the offline search monitor must interface through ODS and is displayed on the ODS workstation, not the operator panel. Refer to your 9/Series PAL reference manual for details.

15A-1

Page 712

Section 15A Troubleshooting The Control

15A.1 System Initialization Software

This section describes the operation of a software utility supplied with your 9/Series ODS disks. This utility allows you to initialize the control to Default AMP parameters and /or remove the PAL logic program. Use of this utility may become necessary if during power turn on (PTO) the CRT is blank and system watch-dog LED is not on, or if the PTO screen is displayed with no error messages and pressing “transmit” does not change the display. For example you may need to use this utility when a PAL program downloaded to the control requires a foreground scan time that is incompatible with the AMP defined “system scan time” parameter.

15A.1.1 Loading the Utility

This initialization utility is not activated in the same way that other ODS functions are called (pull-down menus). It must be converted from the compacted form as it is stored on the original ODS floppies to the hard disk of the workstation (PC). 1.

Create a directory to be used for this utility, and “CHANGE DIRECTORY” to this directory. For example: MKDIR TEMP makes the directory called temp. CD TEMP changes to the temp directory.

2.

Depending on the floppy disk size you are using, copy one of the files listed below from the original ODS disk to the new directory (TEMP in our example): - INIT33.ZIP from the 3 1/2 inch disk #3

- For example: COPY B:INIT33.ZIP C:\TEMP copies the init33.zip file from the B: drive to the temp directory on the C: drive 3.

While in the newly created directory (temp in our example), uncompress the Initialize utility using PKUNZIP. PKUNZIP is found on disk #1 of your ODS disks. Place disk #1 in the disk drive and enter the appropriate command based on which “INIT...” file was copied. For example: B:PKUNZIP INIT33.ZIP uncompresses the initialize utility

The initialize utility is now ready to use.

15A-2

Page 713

Section 15A Troubleshooting the Control

15A.1.2 Using the Utility

The following steps are for executing the Initialization utility. 1.

While still in the selected directory, enter the command: - INIT9S This will run the file INIT9S.EXE

2.

The following should be displayed on the workstation screen: * ******************* * Initialize AMP/PAL Utility Revision 1.0 * * Allen-Bradley Company, 1992 * *

*******************

Please Choose Initialize Function: 1. Remove Custom AMP and Load Default AMP 2. Remove PAL 3. Remove PAL, Remove AMP and Load Default AMP 4. Exit Please Enter Selection

Important: Note that the selections having to do with AMP cause both the AMP in RAM and the AMP in BACKUP to be removed from the control. This in turn will cause the DEFAULT AMP to be loaded to RAM. Important: Note that the selections having to do with PAL will cause the PAL program in FLASH memory to be deleted. 3.

At this point, you should power-down the CNC, if you have not already done so.

4.

Make a selection (1-4) on the workstation. The workstation screen displays informative messages, and instructions.

5.

Connect the workstation’s serial port “COM1” to PORT B on the CNC.

6.

Power-up the CNC. Then “press a key when ready” as indicated on the workstation (PC). This will start the process of deleting the AMP and/or PAL as selected in step 4.

7.

The Workstation and CNC screens will display the status of the executing“INIT9S” utility. When complete, the utility is automatically exited.

8.

Now cycle power to the CNC. This will load the default AMP (if AMP was cleared).

15A-3

Page 714

Section 15A Troubleshooting The Control

This utility can remain on the workstation hard disk, and will not affect the operation of ODS. You can delete the file INIT33.ZIP or INIT57.ZIP from the hard disk.

15A.2 Search Monitor (online)

The search monitor utility is provided as a maintenance and debugging tool. It allows you to search and monitor the active PAL program using the control’s operator panel. This feature is similar to the ODS PAL monitor utility however the search monitor utility does not require an independent workstation to monitor the PAL logic. Important: For the search monitor feature to function, you must have previously downloaded the PAL source code along with your PAL program using the download “Control with source” option from ODS. Refer to your PAL reference manual for details on how to download the PAL source code. If your PAL program with source is larger than the control has memory to store, ODS will selectively not download the source code for certain modules. Any modules that ODS has not downloaded the source code for can not be monitored using the search monitor utility. Identify modules that have not had their source code downloaded using the select module search option discussed on page 15A-9. Modules that have not had their source code downloaded with them are identified with the words “Source Not Included” displayed next to the module name. The search monitor utility is an option on your 9/Series control. Refer to your original invoice to determine if you have purchased the search monitor option group. The search monitor can also be password protected to prevent unauthorized access. Protecting the search monitor utility with password protection disables not only the softkey access to the utility, but the hotkey access as well. If however you password protect only the System Suport softkey, access to the search monitor utility is still available using the hotkey. Password protecting System Suport only prevents softkey access to the search monitor utility. Refer to your 9/Series Operation and Programming manual for details on password protection.

15A.2.1 Selecting Search Monitor

There are two methods to access the search monitor utility. The first method is using the softkeys and is discussed below. You can also access the search monitor utility using the hotkey discussed on page 15A-11. Access the search monitor utility using softkeys as follows: Important: You can not use the [DISP SELECT] key to select displays when the search monitor utility is active. Additionally you can not use the search monitor hotkey if you have the [DISP SELECT] keys active. If you need to use the display select functions you must select the display prior to entering any of the search monitor screens. 1.

15A-4

Press the {SYSTEM SUPORT} softkey.

Page 715

Section 15A Troubleshooting the Control

(softkey level 1) QUICK CHECK

SYSTEM SUPORT

DEVICE MONISETUP TOR

TIME PARTS

PRGRAM OFFSET MACRO MANAGE PARAM

2.

Press the {MONI--TOR} softkey. (softkey level 2) PRGRAM PARAM

AMP

PTOM SI/OEM

3.

Press the {SEARCH MONITR} softkey to display the search monitor screen. (softkey level 3) RING I/O

REMOTE I/O

DATA SCOPE

SEARCH MONITR

FAST I/O

AXIS SERIAL MONTOR I/O

The search monitor utility is automatically enabled when you access the search monitor screen. The first rungs of the first PAL module are displayed when you access the search monitor utility. The following is an example search monitor screen:

15A-5

Page 716

Section 15A Troubleshooting The Control

<MESSAGE AREA> <USER INPUT AREA>

Currently Active Search String

E-STOP

| | 0+-( FORE: TEST REV: 001 )-----------------------------------(START)--+ | | | %a %b %c %e %x | 10+---] [--+---]/[------] [--+---] [--------------------------------+---( )----| | | | | | | | %d | | +120 | | +---] [-----------+ +--(TON)---+ | +120 | | | | | | %int1 %msg1 | 20+-----[get]-------------------------------------------------------[PUT]-----| | 1253 1253 | | | | | 9999+---------------------------------------------------------------------(END)--+

Current Module Type (Foreground or Background) Current Module Name This key is only available if you entered this page using the softkeys. It is not available when the hotkey has been used.

MODULE:TEST1

TYPE:FORE

SEARCH OBJECT :$ACT*

SEARCH FORWRD REVRSE ADJUST SYMBOL COMENT TYPE SEARCH SEARCH VIEW

Boolean rung elements displayed on the monitor are shown in reverse video if they are “TRUE” as the control executes the currently active PAL program. The current values of the integer, message, and display page rung elements are displayed underneath their corresponding rung elements. The search monitor utility can be configured to display timer elements as either their preset value or their current value. The following is an example of a PAL rung being monitored. | | 0+-( FORE: TEST REV: 001 )-----------------------------------(START)--+ | | | %a %b %c %e %x | 10+---] [--+---]/[------] [--+---] [--------------------------------+---( )----| | | | | | | | %d | | +120 | | +---] [-----------+ +--(TON)---+ Boolean elements | +120 | reverse video | | when TRUE. | | | %int1 %msg1 | 20+-----[get]-------------------------------------------------------[PUT]-----| | 1253 1253 | | | | | 9999+--------------------------------------------------------------------(END)--+ Integer, message, and display page values are shown below their elements.

15A-6

Timer elements can show either preset value or current value

Page 717

Section 15A Troubleshooting the Control

Important: While monitoring, the last executed rung that contains a specific rung element determines the value displayed for that rung element throughout the module. For example, if a rung element in rung 10 is set “TRUE” but the same rung element is set “FALSE” in rung 200, it is displayed as “FALSE” in both rungs. While the monitor is active the following operator panel keys are available: If you want to:

Press this key on the operator panel:

move up or down one rung at a time. If the monitor is at the last rung of a module, pressing the down cursor key will cause the monitor to move to the top of the next module of the same type. If the monitor is at the first rung of a module, pressing the up cursor key will cause the monitor to move to the bottom of the previous module of the same type. If the next module is not of the same type (foreground/background) you will be prompted to answer if it is okay to change module types.

[Up] Cursor [Down] Cursor jump to the beginning or end of the module or jump to the next or previous module. If the next module is not of the same type (foreground/background) you will be prompted to answer if it is okay to change module types.

[Shift + Up] Cursor [Shift + Down] Cursor

15A.2.2 Using Search Functions

The search features of the search monitor utility allow you to search for a specific section of your PAL program. There are 5 different searches available. Most search operations (with the exception of select rung and select module) all require a search string be selected prior to performing the search. Once the search string is entered, the search is performed by pressing the {FORWRD SEARCH} or {REVRSE SEARCH} softkeys. All of these search types are accessed by pressing the {SEARCH TYPE} softkey. (softkey level4) SEARCH FORWRD REVRSE ADJUST SYMBOL COMENT TYPE SEARCH SEARCH VIEW

If the search fails to find the search string in the current module, it proceeds in the direction you have specified and searches the next module. If the next module is not of the same type (foreground module or background module) the search monitor utility asks if its okay to change module types. Answer yes to continue the search in the other module type. Answer no to abort the search.

15A-7

Page 718

Section 15A Troubleshooting The Control

For example, your PAL program consists of three foreground modules and two background modules. You are currently in the second foreground module and you want to search for the symbol $ESTOP only in foreground. You enter the symbol $ESTOP as the symbol search type and press {FORWRD SEARCH}. This searches the rest of the second foreground module and the third foreground module. If it is not found in that direction when the utility reaches the first background module it prompts, SEARCH BACKGROUND MODULES (Y/N). Answering NO aborts the search and leaves the cursor at the original starting position. The search string is still in memory. Select {REVRSE SEARCH}. This searches the second foreground module from the cursor to the beginning of the module and the first foreground module. If the search string is still not found, the OBJECT NOT FOUND IN PROGRAM message appears and the search string does not exist in any foreground modules. The five different types of searches are as follows: (softkey level5) SELECT SELECT SELECT SELECT SELECT RUNG OPERTR SYMBOL ELEMNT MODULE

Select Rung Use this search type when you know the rung number that you want to monitor. When you press the {SELECT RUNG} softkey, the control will prompt you to enter a rung number. Enter a rung number between 1 and 9999 and press transmit (wild cards are not permitted with this search type). If it does not find the rung number in the current module, the message RUNG NUMBER DOES NOT EXIST is displayed. The search monitor utility will only attempt to find this rung number in the currently selected module. To search other modules you must change the active module using the Select Module option, or cursor keys. Select Operator Use this search when you need to search the PAL program for a specific operator (such as a GTO or TON). Refer to your PAL reference manual for details on these specific operators. To select an operator search press the {SELECT OPERTR} softkey. The search monitor utility displays a listing of the available operators. Use the cursor keys to select an operator and press transmit. Then select the direction you wish to search in using the {FORWRD SEARCH} or {REVRSE SEARCH} softkeys. Select Symbol Use this search when you need to search the PAL program for a specific symbol. This search operation allows the use of one wildcard character (*). Select the symbol search by pressing the {SELECT SYMBOL} softkey. The control will prompt you to enter a symbol. Enter that symbol name and press transmit. Then select the direction you wish to 15A-8

Page 719

Section 15A Troubleshooting the Control search in using the {FORWRD SEARCH} or {REVRSE SEARCH} softkeys. Wildcards are permitted in symbol searches so you do not always have to know the full name of an element being searched for. Valid symbol search strings are a maximum of eight characters and can contain one wildcard. The wildcard character is the asterisk (*) symbol. Only one wildcard is permitted in a search string. The wildcard must come as either the first or last character in the search string. For example: Invalid Search Strings:

Valid Search Strings: Search String:

Finds symbols:

Search String:

Is Bad Because the search string:

$S* beginning with $S and ending with anything

*BRAKE* can not have two wildcards

*GAGE ending with gage and starting with anything

*TOOLARGE can not be more then eight characters

!A* symbol beginning with !A and ending with anything

$*S wildcard must be the first or last character

Select Element Use this search when you need to search the PAL program for the entire element. This includes both the operator (such as a normally closed (--]/[--) or normally open (--] [--) operator) combined with a symbol name (such as $ESTOP). You can use a wildcard character in the symbol name if desired (as discussed under symbol search). Refer to your PAL reference manual for details on these specific elements. To select an element search press the {SELECT ELEMNT} softkey. The search monitor utility displays a listing of the available operators and prompts you for the symbol name. Use the cursor keys to select an operator, key in the symbol name and press transmit. Then select the direction you wish to search in using the {FORWRD SEARCH} or {REVRSE SEARCH} softkeys. Select Module Typically a PAL program is broken up into smaller segments called modules. Use this search when you need to select a specific PAL module. To select a module press the {SELECT MODULE} softkey. The search monitor utility displays a listing of the modules in the current PAL program (foreground modules first followed by background modules). Use the cursor keys to select a module and press transmit. The first rungs of the module you have selected are displayed.

15A-9

Page 720

Section 15A Troubleshooting The Control

15A.2.3 Displaying Symbol Comments

The {SYMBOL COMENT} softkey is only displayed if your system has had the PAL logic program downloaded with symbol comments. This softkey allows you to view or hide the comments that have been assigned to each logic symbol by the your system integrator. When symbol comments are displayed, each branch of a logic rung occupies nine lines on the display. When Symbol comments are displayed, only two branches, of the possible seven, can be seen on the screen at one time. Use the {ADJUST VIEW} softkey to see the remianing branches ( see the next section ) (softkey level4) SEARCH FORWRD REVRSE ADJUST SYMBOL TYPE SEARCH SEARCH VIEW COMENT

15A.2.4 Adjusting View

One PAL rung can contain up to seven branches, each branch using three lines of the display. This can result in a PAL rung that is three lines more than the 19--line display of the 9/Series monitor will allow. Use the {ADJUST VIEW} softkey to move the display up or down to allow you to quickly show the three lines that are not displayed at the end of a seven branch rung. The display toggles between showing the three lower and three upper lines of the displayed ladder rung each time the {ADJUST VIEW} softkey is pressed. If you are displaying the symbol comments (see previous section) the {ADJUST VIEW} softkey will move the display down a up to three times to allow you to view all seven branches of every rung. Pushing this softkey when you are displaying the last branch of the rung will return the display to the first branch of the rung. (softkey level4) SEARCH FORWRD REVRSE ADJUST SYMBOL TYPE SEARCH SEARCH VIEW COMENT

15A.2.5 Timer Displays

Rungs with timers can be configured to display either their preset values, or their current value in PAL. You can not display both the preset, and the current value at the same time. When you choose to display current value or preset for a timer, you are choosing the display format of all timer rungs. All timer rungs either display their preset, or their current value. Display Time Pressing the {DISPLY TIME} softkey will display the current value of the timer as it executes in PAL. The timers value is shown just below the timer element and changes as the timer is running.

15A-10