Vous êtes sur la page 1sur 74

Typ1 osa / CC 220

Diagnosis Operation, Application

Version

101

Typ1 osa / CC 220

Diagnosis Operation, Application


1070 073 306-101 (91.10) GB (V25)

1991

by Robert Bosch GmbH, All rights reserved, including applications for protective rights. Reproduction or handing over to third parties are subject to our written permission. Discretionary charge 10. DM

Flexible Automation

Contents

CC 220 / 320 Diagnosis

Contents
1. 2. 3. 4. General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 Safety instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 Calling the diagnostic programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 Description of the diagnostic programs D1 Logbook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D1 1 D5 Internal reference point offset . . . . . . . . . . . . . . . . . . . . . . . D5 1 D6 Interface data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D6 1 D7 Communication store display . . . . . . . . . . . . . . . . . . . . . . . D7 1 D9 EEPROM management . . . . . . . . . . . . . . . . . . . . . . . . . D9 1 D21 Logic analyzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D21 1 D22 Axis oscilloscope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D22 1 D23 Contour display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D23 1 D24 Axis optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D24 1 D25 Lead screw error compensation . . . . . . . . . . . . . . . . . D25 1 D26 CNC remote diagnosis (information) . . . . . . . . . . . . . . . . D26 1 D27 Putting into operation for circular compensation . . . D27 1 D28 Tapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D28 1

Notes:

Diagnostic programs which are not available in the CC 200/300 are identified by an in front of the page number. If a diagnostic program contains new or modified functions compared with the controls of the Type CC 200/300 , this is indicated by a in front of the page number. The following diagnostic programs are intended exclusively for BOSCH service personnel and are not described in this manual: D2 Reloading the operating program D3 Cancelling all memory Separate manuals are available for the diagnostic programs D4 and D26: D4 Machine parameter program CC 220 M/T: P. No.: 4201 CC 320 M: P. No.: 4180 D26 CNC remote diagnosis P. No.: 4184 The diagnostic programs D8 Change language D10 Library management implemented in the CC 220/320 are no longer present as special diagnostic programs in controls of the type CC 220/320, but can now be called directly by way of softkey. Please refer to the appropriate operating manual for operating instructions.

C1

Flexible Automation

Contents

CC 220 / 320 Diagnosis

C2

Flexible Automation

General

CC 220 / 320 Diagnosis

1.

General
This manual refers to the software version V25 for the controls CC 220/320. The diagnostic programs D21 to D28 are options which are subject to charge.

2.

Safety instructions
Diagnostic programs permit critical changes to be made in the interaction of CNC, machine and drives right up to complete deletion of the CNC memory. If they are used by insufficiently trained or untrained personnel, this may thus result in serious damage to the machine and drives, loss of software or even injury! For this reason, diagnostic programs must be started and operated only by correspondingly trained expert personnel. In this context, please note our extensive range of training courses. You will find an overview of the available seminars on the inner cover of this manual. Our training center will gladly provide you with further information. In some diagnostic programs, axes have to be traversed in order to optimize CNC servo loops and drives. For this reason, make sure that no one enters the machines danger area during execution of such diagnostic programs. The following symbols are used in this manual in order to point out certain things which are relevant to safety: Axis movement possible! For this reason, make sure that there are no persons or objects in the machines danger area. Make sure that no collisions are possible in the axis traversing range.

MOVE

MP

Machine parameter record is modified! This is followed by a CNC restart. The modified machine parameters are active after this. Is there a backup of the original machine parameters? BOSCH will not be liable for damaging resulting from incorrectly calculated, programmed or optimized machine parameters or nonobservance of limit data!

Active axis processor data is modified! This effects the axis response. SERVO

DATA

Data loss possible! Data in the user RAM (part programs, tables etc.) may possibly be deleted or overwritten. Do you possess a backup of this data?

3.

Calling the diagnostic programs


11

Flexible Automation

General

CC 220 / 320 Diagnosis

The following monitor display appears after selection of group operating mode (DIAGNOSTIC):

No PROGRAM ERROR

CP0 ACT

NC0 STOP CONDITION ON G 90 G 94 G 14 G 15 G 80 G 153 G 39 G 65 G 146 G 994 G 1 G 66 G 40 G 8 G 29 G 130 G 253 G 62 G 68 G 115 G 71 G 140 G 7 G 27 G 79 G 53 G 67 G 97 G 99 G 167

DIAGNOSTIC 12. 5 16:53 STATUS DRIVE ON

AT LAST PROGR. F 0.0 DIAGNOSTIC CONTROL

0 SERVICE FUNCTION

DIAGNOSTIC MACHINE

RESET FUNCTION

The control displays all available diagnostic programs after operation of the softkey SERVICE FUNCTION (possibly only after input of a code number; refer to the section Notes):
No PROGRAM CP0 ACT NC0 WAIT DIAGNOSTIC 14.10 8:28

NUMBER PROGRAM NAME LENGTH ACCESS D 1 LOGBOOK MONITOR E D 2 RELOAD OPERATING PROGRAM E D 3 CANCEL ALL MEMORY E D 4 MACHINE PARAMETER PROGRAM E D 5 INTERNAL REF. POINT OFFSET E D 6 INTERFACE DATA E D 7 COMMUNICATION STORE DISPLAY E D 9 MANAGE EEPROM E D 21 LOGICANALYZER E D 22 AXIS OSCILLOSCOPE E D 23 CONTOUR DISPLAY E D 24 AXIS OPTIMIZATION E D 25 LEAD SCREW ERROR COMPENSATION E D 27 PUTTING INTO OPERATION FOR CIRCULAR COMPENSATION E MEMORY USED BY DIAG.: 44384 OTHERS: 2658 MEMORY AVAILABLE: 2574398 SERVICE FUNCTION DATA IN DATA OUT START DELETE

The system asks for the number of the desired program when the softkey START is pressed. Input of the program number is acknowledged with the ENTER key. The CNC then starts the corresponding diagnostic program.

12

Flexible Automation

General

CC 220 / 320 Diagnosis

Notes: If the softkey RESET FUNCTION and then softkey CLEAR ALL LOGIC are pressed in group operating mode DIAGNOSTIC, it is possible to enter the softkey level SERVICE FUNCTION only by input of a code number as from this point in time. When a correct code number has been entered, the softkey level SERVICE FUNCTION is accessible without input of the code number until renewed operation of the softkey sequence DIAGNOSTIC, RESET FUNCTION, CLEAR ALL LOGIC. Some diagnostic programs create files with the group identifier L or D for recording data. This reduces the memory space which is available for part programs. Data recordings can be repeated any number of times within diagnostic programs, since the previous recording is overwritten by each new recording. All other operating modes of the control can be used during recording of data by a diagnostic program. Exception: CONTROL RESET and selection of a different diagnostic program cancel the currently active diagnostic program (except for D21).

13

Flexible Automation

General

CC 220 / 320 Diagnosis

14

Flexible Automation

D1 Logbook

CC 220 / 320 Diagnosis

4.

Description of the diagnostic programs D1 Logbook


General
The diagnostic program D1 is used for management of one or more logbooks. A logbook is a file with the identifier D which contains various data for reconstruction of operating sequences, error messages or warnings etc. This file is divided into 5 ring memories which store warnings, errors, system errors, other messages and operating steps in the order of their occurrence.

Activating/deactivating a logbook
There are two possibilities for activation of a logbook: Input of a logbook file number in machine parameter P 9914. Then ACTIVATE the machine parameters. The logbook is automatically initialized with the specified file number after control startup and is active as from this point in time. The ring memories are created with the following sizes: R1 to R4: 512 bytes, R5: 0 byte. Operation of softkey INIT in diagnostic program D1.

An already active logbook can be deactivated in diagnostic program D1 by pressing softkey INIT, input of 0 and acknowledgement with the ENTER key or by selection of a different logbook (also refer to softkey LOGBOOK SELECTION). A logbook cannot be activated again once it has been deactivated. Only deactivated logbooks can be deleted.

User interface/softkey assignments


The following display appears if no logbook is yet active when D1 is selected:

No PROGRAM

CP0 ACT

NC0 STOP

DIAGNOSTIC 12. 5 16:59

LOGBOOK NOT INITIALIZED!

DISPLAY RING STORE

INIT

LOGBOOK SELECTION

LOGBOOK PUNCHOUT

D1 5

Flexible Automation

D1 Logbook

CC 220 / 320 Diagnosis

The following monitor display is shown if a logbook is already active:


No PROGRAM LOGBOOK CP0 ACT NC0 STOP D 11000 ACTIVE SIZE = SIZE = SIZE = SIZE = SIZE = 100 BYTES 100 BYTES 100 BYTES 100 BYTES 100 BYTES DIAGNOSTIC 12. 5 16:59

RING STORE FOR WARNING RING STORE 2 FOR ERRORS RING STORE 3 FOR SYSTEM ERRORS RING STORE 4 FOR OTHER MESSAGES RING STORE 5 FOR OPERATING STEPS

TEST POINT 1 ADDRESS 0000064 TEST POINT 2 ADDRESS 00000000 TOTAL LOGBOOK SIZE: 605 BYTES

DISPLAY RING STORE

INIT

LOGBOOK SELECTION

LOGBOOK PUNCHOUT

INIT

Initialization of a logbook (creation of a new logbook file). When the softkey INIT is pressed, the CNC expects input of a logbook file number (value range 0.3000999999999). Input of 0 deactivates a currently active logbook (active means that recordings take place in this logbook). A logbook cannot be activated again once it has been deactivated. Only deactivated logbooks can be deleted. Two test points are interrogated after input of the file number. However, these are of importance only for service purposes. Skip test point input by pressing the ENTER key twice. The system then asks for the memory size for the individual ring stores. Reservation of approx. 500 bytes per ring store will already permit a sensible recording to be made. After this, the logbook is initialized and automatically activated. Any events which occur are recorded from this point in time onwards. The number of logbooks which can be created is limited by the available memory space. Only one logbook can be active at any time. In order to use the file number of a deactivated logbook again for an active logbook, it is first necessary to delete the deactivated logbook in the softkey level SERVICE FUNCTION and to then create a logbook again in D1 under softkey INIT.

LOGBOOK SELECTION

Selection of any existing deactivated logbooks for display on the monitor.

D1 6

Flexible Automation

D1 Logbook

CC 220 / 320 Diagnosis

LOGBOOK PUNCHOUT

The currently displayed logbook is output on an external data medium. The current setting in group operating mode DATA I/O, softkey DATA OUT, determines via which interface output takes place. A change in operating mode aborts active output. Output via the DNC interface is not possible.
DISPLAY RING STORE

This softkey results in display of the contents of the individual ring stores. The store contents are displayed in plain text with data, time and message. Example: Ring store 1 (warnings):
No PROGRAM CP0 ACT NC0 STOP DIAGNOSTIC

LOG 11 23.05 09:31 WARNING: DATA PROTECTED 1 KEYING: DATA SK1+ SK1 0 ENTR TEST POINT: 1=00000000 2=00000000 MODE: DATA LOG 7 16.05 11:34 WARNING: AXIS MOVING KEYING: SK5+ SK5 DIAG SK3+ SK3 SK3+ TEST POINT: 1=00000000 2=00000000 MODE: DIAGNOSTIC DISPLAY END

PAGE FORWARDS

PAGE BACK

LAST KEY

SOFTKEY MASK

Example: Ring store 5 (operating steps):


No PROGRAM CP0 ACT NC0 STOP ENTR SK3 5 RESET 2 DIAG DATA SK5+ SK1+ SK5 SK5+ SK1 SK2+ SK1+ ERET 1 SK3+ 2 SK3+ 7 SK3 RESET ENTR SK1 SK5+ SK1 SK1+ SK1 ENTR SK4 DIAGNOSTIC 12. 5 17: 5 SK4 DIAG 7 SK3 2 SK3+ SK5+ 0 SK1+ ENTR SK1+ SK1 SK1+ 3 SK4+ SK4+ ERET 2 SK3+ SK4 SK3 SK4 1 SK5 0 SK3 SK1+ SK2 3 SK4

SK4 ERET SK4 DIAG SK4+ SK3+ SK4+ SK5 SK5+ 2 SK3+ ENTR SK2+ SK4

SK4+ ERET SK4+ SK4 2 SK4 SK3 SK5+ ERET SK1 DATA 5 SK1 SK4+

ERET SK4 SK4+ 5 SK4+ SK3+ ENTR SK4 SK1+ SK2 SK1 SK1+ ENTR

ERET SK4+ ENTR 2 SK4 DIAG 0 SK4+ SK3 SK2+ SK1+ ENTR 2

RESET ENTR 6 SK4 SK4+ ERET 2 SK3 SK3+ SK1 ERET 1 SK4

SK3+ 6 5 SK4+ DIAG SK5 SK1 SK3+ SK5 SK1+ SK2 SK1 SK4+

PAGE FORWARDS

PAGE BACK

The lastpressed key is shown at the top left in the uppermost data line of the monitor (ENTR here in the example).

D1 7

Flexible Automation

D1 Logbook

CC 220 / 320 Diagnosis

The following abbreviations are used for display of the keys: ABAR, MDI, MASC, DATA, DIAG, KORR CUP+, CDN+, CRI+, CLE+ CUP, CDN, CRI, CLE LPE+ LPE SK1+, SK2+, SK3+, SK4+, SK5+ SK1, SK2, SK3, SK4, SK5 ERET DEL ENTR 1 ... 0 :*+= +/ . RESET Group operating modes Cursor keys pressed Cursor keys released Magnifier pressed Magnifier released Softkey pressed Softkey released Level return Delete key Enter key Numeric keys Arithmetic operation keys Sign change Decimal point Stands for Control Reset, CAL = System error 1 NC reset, switching on/off, Logbook Init Unknown key code

??

SOFTKEY MASK

The softkey mask present at the time of the entry is displayed. If the key assignment is displayed by a number, this indicates variable softkey designations, such as occur, for example, for wool subtables.

D1 8

Flexible Automation

D5 Internal reference point offset

CC 220 / 320 Diagnosis

D5 Internal reference point offset


The currently active axis offset values are displayed after selection of the program D5. These may have been generated by G92 or by ZERO SET. Zero offsets by way of G54 G59, G154 G159, G254 G259, G60 or G160 are not taken into account here.

No PROGRAM AXIS X Y Z

CP0 ACT OFFSET VALUE 767.766 715.692 124.423

NC0 WAIT

DIAGNOSTIC 14.10 8:32

MM MM MM

D5 9

Flexible Automation

D5 Internal reference point offset

CC 220 / 320 Diagnosis

D5 10

Flexible Automation

D6 Interface data

CC 220 / 320 Diagnosis

D6 Interface data
General
Data arriving at the standard interfaces can be displayed with D6. The data is not stored during this operation. No check is made of the data (e.g. with respect to correct file header, program end, ECODE etc.). Readingin is not subject to any time monitoring function. No message is issued if data transfer is faulty.

User interface/softkey assignments


The following functions are offered after program selection:

DEVICE SELECT

STATUS

DFS SEARCH

DFSNO. SEARCH

START

DEVICE SELECT

Selection of the data interface and definition of the connected peripheral device.
STATUS

The following softkey bar appears when STATUS is pressed:

SW CONTROL SW CONTROL

HEX

CHAR/HEX

CHAR/SYMB

Activation/deactivation of the XON/XOFF protocol. Softkey is shown inverted: software handshake active (Xon/Xoff). Softkey is displayed normally: hardware handshake active (DTR/DSR).
HEX

Display of the incoming data in HEX format.


CHAR/HEX

Incoming data is displayed as ASCII characters. Exception: display of control characters occurs in HEX format.
CHAR/SYMB

Incoming data is shown as ASCII characters. Exception: control characters are displayed symbolically (e.g. <SP> = Space, <LF> = Line Feed).

D6 11

Flexible Automation

D6 Interface data

CC 220 / 320 Diagnosis

START

Start of the readingin operation. This operation continues until the screen is full. Half of the screen is filled again in each case by repeated operation of this key.

DFS SEARCH

Readingin is started by pressing the softkeys DFS SEARCH and START and is then continued until a correct DFS identifier is found. After this, a maximum of 17 lines of the program/table are displayed. The rest of the incoming program/table data of this file is skipped after renewed operation of DFS SEARCH and then START. The control displays the first 17 lines of the program/table again only after the next DFS identifier has been found. Note: DFS search is active as long as the softkey is shown inverted. The function is executed only if the DFS identifier is correctly received.

DFSNO. SEARCH

The system asks for the file number for which a search is to be made after operation of this softkey. After input of this number and subsequent operation of the softkey START, readingin takes place until the specified file number (DFS identifier) is found. The incoming data is displayed only after this has occurred. Note: DFS search is active as long as the softkey is displayed inverted. The function is executed only if the DFS identifier is received correctly.

Example: Display of readin data in the format CHAR/HEX:


No PROGRAM CP0 ACT NC0 WAIT DIAGNOSTIC 14.10 8:40

<13><12><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00 <00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00 <00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00 <00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><14><12 <00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00 <00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00 <00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00 <00><00><02><0D><0A> <14><12>(DFS,P 55555,TEACH IN 18.08,RWED)< D><0A> <14><12>1 A%=3:REM NUMBER OF AXES <0D><0A> 1 A1$="X":REM AXIS ADDRESS<0D><0A> 1 A2$="Y"<0D><0A> 1 A3$="Z"<0D><0A> 1 A4$="B"<0D><0A> 1 A5$="B"<0D><0A> 1 <14><12>B%=250:REM INTERFACE OUTPUT FOR SETTING MODE ACTIVATION <0D><0A>

INTERFACE DATA DEVICE SELECT. STATUS DFS SEARCH DFSNo. SEARCH START

D6 12

Flexible Automation

D7 Communication store display

CC 220 / 320 Diagnosis

D7 Communication store display


General
The content of the communication store from the point of view of the PLC can be displayed on the monitor of the CNC in hexadecimal format using the diagnostic program D7. D7 is offered only if word coupling exists between the CNC and PLC. The communication store is a 128 KByte dual port RAM area on the NCPLCword module (WK3). Both the CNC and the PLC (PC 600) have read and write access to this area.

Start address Page 0

8000 H . . . . . FFFF H 8000 H . . . . . FFFF H

Page 0

End address Page 0 Start address Page 1

Page 1

End address Page 1

User interface/softkey assignments


After D7 is started, the control always displays the communication store content from address C000 H to C07F H (address information as hexadecimal numbers from the point of view of the PLC):
No PROGRAM C00 0002 E752 E852 E010 E73E E746 E952 F000 EA26 F006 F026 F0BA E000 0000 F092 BB00 C000 *000 C01 C400 F212 F24C F04E E95E 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 CP0 ACT C02 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 NC0 WAIT C03 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C04 BC34 BC34 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C05 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C06 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C07 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 DIAGNOSTIC 17.10 14: 0 0 1 2 3 4 5 6 7 8 9 A B C D E F PAGE 0 PAGE 1

COMMUNICATION STORE DISPLAY 0*00 00*0 *ADVANCE BACKUP

128 data words (256 bytes) can be displayed on one screen page. The data is displayed in a table form (8 columns of 16 lines each). It is possible to see the assign-

D7 13

Flexible Automation

D7 Communication store display

CC 220 / 320 Diagnosis

ment between the displayed data words and their addresses in the communication store by way of the inversely displayed bars above and on the right of the table. The three most significant positions of an address (e.g. C02 of address C02F) are shown in the top, highlighted bar, while the least significant position is shown in the bar on the right of the table (e.g. F of the address C02F). The address of the top left data word is displayed in the prompt line (here in the example: C000 COMMUNICATION STORE DISPLAY).

Example:
No PROGRAM C00 0002 E752 E852 E010 E73E E746 E952 F000 EA26 F006 F026 F0BA E000 0000 F092 BB00 C000 *000 C01 C400 F212 F24C F04E E95E 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 CP0 ACP C02 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 NC0 WAIT C03 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C04 BC34 BC34 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C05 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C06 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C07 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 DIAGNOSTIC 17.10 14: 0 0 1 2 3 4 5 6 7 8 9 A B C D E F PAGE 0 PAGE 1

COMMUNICATION STORE DISPLAY 0*00 00*0 *ADVANCE BACKUP

Address C025 H

Address C046 H

Search for an arbitrary address Select the required memory area by means of the softkey PAGE 0/PAGE1. The currently displayed memory area is shown inverted on the softkey. The individual digits of the address displayed in the prompt line can be incremented or decremented by means of the three softkeys *000,0*00 and 00*0. The asterisk on the softkey indicates the position which is changed. The least significant address need not be specified, since all 16 possible addresses are displayed underneath each other in one column. It is possible to switch between incrementation and decrementation of the corresponding position by means of the softkey ADVANCE/BACKUP. The active condition is shown inverted.

D7 14

Flexible Automation

D7 Communication store display

CC 220 / 320 Diagnosis

Example: You are on Page 0. The prompt line shows the address C000 H. You are looking for the content of the address D123 H on Page 0. Switch to Increment (the field ADVANCE on the softkey ADVANCE/BACKUP is then shown inverted). Press the softkey *000 once. Press the softkey 0*00 once. Press the softkey 00*0 twice. The 4th data value (from the top) in the left column now shows the content of address D123 H.

D7 15

Flexible Automation

D7 Communication store display

CC 220 / 320 Diagnosis

D7 16

Flexible Automation

D9 EEPROM management

CC 220 / 320 Diagnosis

D9 EEPROM management General


The MEM5 memory module (or CP/MEM4 in the case of CC220) contains a 32 KByte EEPROM area as standard (optionally 64 KBytes). Important data should be saved in the EEPROM since the content of the EEPROM area is not lost in contrast to the RAM area after a total power failure on the MEM module or after forced backup loading. The following files can be written into the EEPROM area and read out again using the diagnostic program D9: Part programs LSEC tables W tables Zero offset tables Compensation tables Machine parameters. For example, it is then possible to choose whether machine parameters and tables are to be copied back from the EEPROM to the RAM when the control is put into operation again.

User interface/softkey assignment


After D9 has been started, the monitor displays a list of all files stored in the EEPROM area. Each entry in the list additionally contains information as to whether a file with the same name already exists in the RAM area (column IN RAM) and whether this file also contains the same data (column EQUAL).
No PROGRAM CP0 ACT NC0 WAIT DIAGNOSTIC 14.10 8:45 IN RAM YES YES YES YES YES EQUAL NO NO NO NO NO

LIST OF PROGRAMS TO BE SPECIFIED No PROGRAM NAME 0 MACHINE PARAMETER 1 P 3000 MAIN PROGRAM MOD. DIA 2 P 3001 SR SELECT MODULE 3 P 3002 SR TEST DIAGNOSTIC CHANNEL 4 P 1131 SR CP

18.08 22.06 02.07 22.01

MEMORY USED BY PROGRAM: MEMORY AVAILABLE: : MANAGE EEPROM MACHINE PARAMETER PROGRAM SELECTION

5409 22239

OTHERS:

3224

DELETE

COPY

EEPROM PROGR.

This list can now be extended by new entries or be shortened by deleting entries. The functions PROGRAM EEPROM and COPY (from EEPROM to RAM) refer to the files displayed here! If it is wished to store files in addition to the files which are already contained in the EEPROM, it is not necessary for files which are already stored in the EEPROM to also be present in the RAM for programming of the EEPROM.

D9 17

Flexible Automation

D9 EEPROM management

CC 220 / 320 Diagnosis

The following functions can be initiated by means of the softkeys:

MACHINE PARAMETER

The currently active machine parameter record (not file L444!) is incorporated in the list under number 0. A machine parameter record stored in the EEPROM can be copied into the RAM area again only if the softkey FROM EEPROM is selected when reloading the complete operating system (diagnostic program D2). File L444 must be stored in the EEPROM (by means of the softkey PROGRAM SELECTION) if it is wished to permit restoration of machine parameters without reloading the complete operating system.

PROGRAM SELECTION

PROGRAM

ALL PROGRAMS

NEXT GROUP

PREVIOUS GROUP

Files can be entered in the list from the groups P, L, V, K, W after pressing PROGRAM SELECTION. To do this, first select the desired file group with the softkeys NEXT GROUP or PREVIOUS GROUP. The control then shows you all existing files of the selected group. All files of this group can be included in the list by pressing the softkey ALL PROGRAMS. The softkey PROGRAM permits selection of a single file.

Notes: When programs are entered in the list, the CNC checks whether the size of the EEPROM area is sufficient for later programming. If not, the error message MEMORY FULL appears in the prompt line. Link files cannot be included in the list. The K1 table must not be stored in the EEPROM.

DELETE DELETE LIST ENTRIES PROGRAM ALL PROGRAMS

D9 18

Flexible Automation

D9 EEPROM management

CC 220 / 320 Diagnosis

DATA

It is possible to delete either individual entries or all entries in the list. This function relates only to modification of the displayed list! If it is wished to delete a file in the EEPROM, it is first necessary to delete the corresponding file in this list. The EEPROM must then be reprogrammed with the thus modified list. Files existing in the EEPROM are then possibly overwritten by newer file versions (which are contained in the RAM). If an individual list entry is deleted (by means of the softkey PROGRAM), it is necessary to enter not the file number but the list number of the corresponding file (column NO) and confirm this with the ENTER key.
COPY COPY FILES FROM EEPROM PROGRAM ALL PROGRAMS

Files can be copied from the EEPROM area to the RAM area of the control by means of the function COPY. All files entered in the list are copied into the RAM after operation of the softkey ALL PROGRAMS. If you wish to copy an individual file (by means of the softkey PROGRAM), you must enter the list number of the corresponding file (column NO) after operation of the softkey PROGRAM and then confirm this with the ENTER key.

Notes: Copying of the machine parameter record (list entry 0) to the RAM area is not possible using this function. A machine parameter record stored in the EEPROM can be copied into the RAM area again only if the softkey FROM EEPROM was selected when reloading the operating system. The function COPY is protected by a code.

EEPROM PROGR.

Programming the EEPROM area with the files entered in the list. The system first asks for input of a code in order to prevent unintentional programming. After this, the operator can enter an identifier consisting of a maximum of 50 ASCII characters. This identifier is of no significance in the current software version. If it is wished to start programming, skip input of the identifier by pressing the ENTER key. However, if it is wished to abort the function EEPROM PROGRAMMING at this point, simply press the level return key.

D9 19

Flexible Automation

D9 EEPROM management

CC 220 / 320 Diagnosis

DATA

The softkey EEPROM PROGR. is displayed inversely during programming. CNC operation is not possible during this time. The message PROGRAMMING IS ACTIVE! flashes in the prompt line. The number of programmed bytes is displayed continuously. An asterisk appears in front of the list number of a file as soon as this file has been completely programmed. The list is moved up on the screen if not all previously programmed files can be displayed on one screen page.

D9 20

Flexible Automation

D21 Logic analyzer

CC 220 / 320 Diagnosis

D21 Logic analyzer


General
The logic analyzer permits recording of a maximum of 16 signals of the CNCPLC interface. During a recording, 500 sampling operations of all selected signals (refer to softkey CHANNEL SELECTION) are always stored. The interval between two sampling steps is adjustable. File D121 is used to record the data. If this file does not yet exist, the system creates it automatically before a recording (file size: approx. 2 2.5 KByte part program memory). An existing file D121 is overwritten by each new recording. In addition, recorded data (including the current logic analyzer settings at the time of recording) or arbitrary logic analyzer settings can also be stored in separate files for possible subsequent use (refer to softkey FILE SELECTION).

Functional principle of the logic analyzer:


0 ...................500 (Sampling steps) Trigger position Delay Data stream

Memory

Clock

Trigger condition

Comparator

Clock

D21 21

Flexible Automation

D21 Logic analyzer

CC 220 / 320 Diagnosis

User interface/softkey assignments


The following display appears after selection of D21:

No PROGRAM

CP0 ACT

NC0 WAIT LOGICANALYZER STATUS

DIAGNOSTIC 13. 5 8:57

LOGICANALYZER WAITING STARTING VALUES CHANNELS 8 STORE 500 CLOCKS CLOCK 1 PLCCY TRIGGERPOS. 250 CLOCKS

No TYPE 0I 1O 2O 3O 4O 5O 6O 7O

CHANNELS ADDR. BIT TRIGGER COND. 40.7 1 36.0 * 36.1 * 36.2 * 36.3 * 36.4 * 36.5 * 36.6 *

DISPLAY

CHANNEL SELECTION

STARTING VALUES

FILE SELECTION

START RECORDING

STARTING VALUES STARTING VALUES CHANNELS 8 OR 16 TRIGGER POSITION CLOCK

The functions of the logic analyzer can be adapted to the respective task by means of these softkeys:
CHANNELS 8 OR 16

It is possible to record 8 or 16 channels simultaneously. The number of channels can be set to 8 or 16 by means of this softkey.
TRIGGER POSITION

You define here how many sampling steps are to be stored before occurrence of the trigger event. 500 sampling steps are always stored in total in the recording file. Examples: Trigger position = 250: The sampling step executed when the trigger event occurs is assigned the number 250. A further 250 sampling steps (500 250) are then stored additionally as from this point. Trigger position = 10: The sampling step executed when the trigger event occurs is assigned the number 10. A further 490 sampling steps (500 10) are then stored additionally as from this point.

D21 22

Flexible Automation

D21 Logic analyzer

CC 220 / 320 Diagnosis

CLOCK

Specification of the time interval between two sampling steps. It is possible to set three different types of time interval here. In addition, it is necessary to enter the size of an individual time interval. The following table provides an overview of the possible inputs: Interval type 1 (MS) Size 1 ms 50 ms Meaning Channels can be sampled at ms intervals. Possible interval size: 1 ms to 50 ms, depending on set size. The channels can be sampled on the basis of task changes. This type of interval is relevant only for users who possess extremely good system knowledge of the control. The channels can be sampled each time the PLC performs a PE. (Possible interval size: time from PE to PE.) (Possible only for PIC 250 or word coupled PC 600).

2 (TASKS)

1 9999

3 (PLC CYCLES)

1 9999

CHANNEL SELECTION INPUT OF CHANNEL AND TRIGGER CONDITION PLC INPUT I PLC OUTPUT O PLC MARKER M STORE S TRIGGER CONDITION

Select the channel number to be changed (0 7 or 0 15) with the cursor keys after operation of CHANNEL SELECTION. It is then possible to assign an input, output, marker or memory address to the selected channel number by means of softkey and numeric input. The input must be acknowledged with the ENTER key. Setting the trigger condition:  Selection of the channel number with the cursor keys is shown inverted.  Input of 0 1 * . The active channel

results in lowlevel triggering, results in highlevel triggering, (multiplication symbol) No trigger.

 An input, output, marker or memory bit is assigned to the active channel by pressing the corresponding softkey (1 4) and subsequently making a numeric input. The following input values are permitted: Input/output: bits 0.0 to 255.7 Marker: markers 0.0 to 511.7

D21 23

Flexible Automation

D21 Logic analyzer

CC 220 / 320 Diagnosis

START RECORDING

MOVE

The logic analyzer records. The message RECORDING appears underneath the line LOGIC ANALYZER. The condition WAITING is displayed here when the recording has been completed.

Notes: The recording is aborted by selection of a different diagnostic program. CONTROL RESET does not normally interrupt recording. However, if active remote diagnosis is aborted by selection of D21 and a restart then performed by CONTROL RESET, this operating sequence results in termination of the recording and of diagnostic program D21.

D21 24

Flexible Automation

D21 Logic analyzer

CC 220 / 320 Diagnosis

FILE SELECTION LOGIC ANALYZER DIAGRAM/PARAMETER FILES SAVE LOAD MODIFY HEADER FILE PARAMETER ONLY COMPLETE DIAGRAM

The softkey FILE SELECTION permits access to a number of functions which are used for storage or loading of current logic analyzer settings or complete logic analyzer recordings (time diagrams). The control displays all logic analyzer recording or setting files which exist in the system on this softkey level.
SAVE

Using the softkey SAVE, it is possible to store current settings or the current recording (including settings) in a file of the group D, depending on which softkey (PARAMETER ONLY or COMPLETE DIAGRAM) is shown inverted. File numbers from 3101 to 3300 are permitted. A recording (time diagram) can be stored only after completion of storage in one of these files.
LOAD

Loading of a stored setting or stored recording. Only the files which contain recordings are displayed on the monitor after operation of LOAD if the softkey COMPLETE DIAGRAM is shown inverted.
MODIFY HEADER FILE

The file header (text) can be modified after input of the file number. The text LOGIC DIAGRAM is entered as standard in the file header for recording files and the text LOGIC PARAMETER for setting files.
PARAMETER ONLY

Only current settings of the logic analyzer are taken into account for LOAD or SAVE if this softkey is inverted. Settings should be understood as all parameters which can be influenced on the softkey levels INITIAL VALUES and CHANNEL SELECTION.
COMPLETE DIAGRAM

If this softkey is shown inverted, recordings (time diagrams) are also taken into account in addition to settings (refer to SK PARAMETER only) for LOAD or SAVE.

D21 25

Flexible Automation

D21 Logic analyzer

CC 220 / 320 Diagnosis

DISPLAY

The current recording (time diagram) appears on the monitor:


No PROGRAM C O I I I I I I O 5.4 0.0 0.1 2.0 0.2 0.3 2.1 36.6 0 CUR: *1 0 REF: 500 REFCUR: *10 250 500 ( CURSOR 5.0005) REFERENCE START RECORDING 500 CP0 ACT T NC0 STOP DIAGNOSTIC R CR 00 01 00 10 00 01 10 00

The recording contains three markings in the form of vertical lines. These are identified by C (cursor), T (trigger position) and R (reference mark). The cursor is located at the cursor position 0 (1st sampling step) in the initial display condition. The mark T indicates the defined trigger position. The mark T is moved to the respective sampling step if fewer sampling steps are performed than defined under softkey TRIGGER POSITION after the start of recording before the trigger condition occurs. The mark R is initially located at the cursor position 500. The marks C and R can be moved after corresponding softkey selection (CURSOR or REFERENCE) with the cursor keys number. or by input of a sampling step

The positions of the marks C and R and the distance of the reference mark from the cursor mark (in sampling steps and seconds) are displayed in the message line under CUR, REF and REFCUR. The current level (0 or 1) at the markings C and R is displayed at the right edge of the screen (under C and R) for each channel. The current signal assignment (input, output, marker, store) is shown for each channel at the left edge of the screen. The time axis can be expanded by a factor of ten (*10) by softkey.

D21 26

Flexible Automation

D22 Axis oscilloscope

CC 220 / 320 Diagnosis

D22 Axis oscilloscope

General
The diagnostic program allows the user to assess the dynamic response of the axes. It is thus possible to establish sluggish movement, jamming or overshoot of the axes or excessively slow axis circling. For this purpose, D22 offers the possibility of simultaneously recording axis movements and 2 logical signals and displaying these as diagrams on the CNC monitor. The file D122 is used for data recording. If this file does not yet exist, the system creates it automatically before a recording (file size approx. 5 KByte part program memory). An existing file D122 is overwritten by each new recording. In addition, recorded data (including the axis oscilloscope settings valid at the time of recording) or arbitrary axis oscilloscope settings can also be stored in separate files for possible subsequent use (refer to softkey FILE SELECTION). 480 actual axis position values are always stored during a recording at the time interval defined in machine parameter P9901 (interpolation time in ms). From these values, the control calculates the following: Setpoint/actual speed Setpoint/actual acceleration Setpoint speed/lag

This data can then be displayed on the monitor as diagrams.

User interface/softkey assignments


The following display appears after selection of D22:
No PROGRAM AXISOSCIL. WAITING ADJUSTMENTS AXIS: 1 PC1 A 0.0 PC2 E 0.0 Y1: 1.000000 Y2: 1.000000 X: 240.00 XEXP .START = 0 TRIGGERPOS. 0 TRIGGER ACTIVATION JOG BUTTON CP0 ACT NC0 STOP OSCILLOSCOPE STATUS 2670 DIAGNOSTIC 10. 4 16:12

M/S" 2 PER SCALE DIVISION M/S " 2 PER SCALE DIVISION MS PER SCALE DIVISION SCALE DIVISIONS SCALE DIVISIONS 1st AXIS

DISPLAY

SELECT DISPLAY

DISPLAY SPLITTING

OTHER COMMANDS

START RECORDING

D22 27

Flexible Automation

D22 Axis oscilloscope

CC 220 / 320 Diagnosis

SELECT DISPLAY

CMD. SPEED ACT. SPEED

CMD. ACCEL. ACT. ACCEL.

CMD. SPEED LAG

Select the diagram which is desired after operation of the softkey DISPLAY here. It is possible to choose between setpoint and actual speed (CMD. SPEED/ACT. SPEED), setpoint and actual acceleration (CMD. ACCEL. ACT. ACCEL.) or setpoint speed and lag (CMD. SPEED/LAG). The inverted softkey indicates the currently active setting. The settings can also still be changed after recording.

DISPLAY SPLITTING

XDISPLAY START

EXPAND X *10

SCALE 1.YAXIS

SCALE 2.YAXIS

The diagram representation can be influenced by means of these functions:

XDISPLAY START

The time axis of a diagram is divided into 20 scale divisions. Complete representation of the diagram is not possible if the time axis is expanded by a factor of 10. Using the softkey XDISPLAY START, it is thus possible to specify as from which scale division the diagram is displayed on the monitor with an expanded time axis (inputs: 018) (also refer to softkey EXPAND X*10). The scale division specified here is marked on the nonexpanded representation of the diagram with the character D (also refer to softkey DISPLAY).

EXPAND X *10

This softkey allows the diagram to be expanded by a factor 10 in the Xaxis (time axis). The softkey is shown inverted if axis expansion is active. It is possible to switch back to the nonexpanded diagram by pressing the softkey once more. The time axis of a diagram is subdivided into 20 scale divisions. Two scale divisions are shown on the screen in the expanded diagram. One scale division of the time axis corresponds here to the time t = 2.4 x P9901.

SCALE 1.YAXIS

SCALE 2.YAXIS

The scale of the two Yaxes is set here. SCALE 1.YAXIS acts on the YAXIS of the top diagram, while SCALE 2.YAXIS acts on the YAXIS of the bottom diagram (refer to softkey DISPLAY for diagram structure). Input range: 0.00000019999999 m/min.

D22 28

Flexible Automation

D22 Axis oscilloscope

CC 220 / 320 Diagnosis

Examples: Input: 1 Input: 2 Input: 0.25 Setpoint speed of 1 m/min. corresponds to a Yvalue of 1 scale division. Setpoint speed of 1 m/min. corresponds to a Yvalue of 1/2 scale division. Setpoint speed of 1 m/min. corresponds to a Yvalue of 4 scale divisions.

OTHER COMMANDS

RECORDING SELECTION RECORDING SELECTION

TRIGGER CONDITION

TRIGGER POSITION

FILE SELECTION

AXIS NUMBER

PLC INPUT I

PLC OUTPUT O

STORE S

The axis for which recording is desired is defined on this softkey level (softkey AXIS NUMBER). In addition, it is possible to use the cursor keys to select channels to which an interface signal or, in the case of word coupling between CNC and PC 600, also a memory bit can be assigned with the softkeys PLC INPUT I, PLC OUTPUT O and STORE S (maximum of 2 channels can be selected). These 2 channels are then recorded during recording and later displayed on the DISPLAY between the top and bottom diagrams. The bits 0.0 to 255.7 are permitted as input values for an input or output.

D22 29

Flexible Automation

D22 Axis oscilloscope

CC 220 / 320 Diagnosis

TRIGGER CONDITION

JOG BUTTON

PROG.NO. BLOCK NO.

PLC INPUT I

PLC OUTPUT O

STORE S

Setting the trigger condition. When the softkey START RECORDING is pressed, the start of recording is delayed until the trigger event set here occurs. The active trigger condition is identified by inverse display of the corresponding softkey. If the trigger event does not occur, the axis oscilloscope must be reset by means of a control reset.

Note: If JOG BUTTON is selected as the trigger condition, jog mode must have been activated in group operating mode MACHINE. If not, triggering is initiated by the jog button, but no axis movement takes place.

TRIGGER POSITION

You define here how many actual axis position values are to be stored before the trigger event occurs. 480 actual axis position values are always stored in total. The input must be made in the unit Scale divisions (see example). The permitted value range for inputs lies within the limits 0.0 to 20.0. The time interval from scale division to scale division is calculated as follows: nt = Machine parameter P9901 * 24. Example: It is wished to store 252 actual axis position values before the trigger event occurs: 252 : 24 = 10.5 ! Input: 10.5 The recording thus consists of 252 values before the trigger event occurs plus 228 values after this trigger event (always making up a total of 480 actual axis position values).

D22 30

Flexible Automation

D22 Axis oscilloscope

CC 220 / 320 Diagnosis

FILE SELECTION AXIS OSCILLOSCOPE SAVE DIAGRAM/PARAMETER FILES MODIFY HEADER FILE PARAMETER ONLY COMPLETE DIAGRAM

LOAD

The softkey FILE SELECTION allows access to a number of functions which can be used to store or load current axis oscilloscope settings or complete axis oscilloscope recordings (time diagrams). The control displays all axis oscilloscope recording or setting files which exist in the system on this softkey level.
SAVE

DATA

The softkey SAVE allows current settings or the current recording (including settings) to be stored in a file of the group D, depending on which softkey (PARAMETER ONLY or COMPLETE DIAGRAM) is shown inverted. File numbers from 3301 to 3500 are permitted. A recording (time diagram) can be stored only after inclusion in one of these files. Memory requirement of a recording: approx. 5 KByte. Memory requirement of a setting: approx. 100 Byte.

LOAD

Loading of a stored setting or stored recording. If the softkey COMPLETE DIAGRAM is shown inverted, only the files which contain recordings are displayed on the monitor after operation of LOAD.
MODIFY HEADER FILE

The header of a file (text) can be changed after input of the file number. The text OSCILDIAGRAM is entered in the file header as standard for recording files and OSCILPARAMETER for setting files.
PARAMETER ONLY

If this softkey is shown inverted, only current settings of the axis oscilloscope are taken into account for LOAD or SAVE.
COMPLETE DIAGRAM

Recordings, (time diagrams) are taken into account as well as settings (refer to SK PARAMETER ONLY) for LOAD or SAVE if this softkey is shown inverted.

D22 31

Flexible Automation

D22 Axis oscilloscope

CC 220 / 320 Diagnosis

START RECORDING

The axis oscilloscope records. The message RECORDING appears under the line AXIS OSCILLOSC.. The status WAITING is displayed here when the recording has been completed.

Notes: An ongoing recording is aborted by selection of a different diagnostic program or by CONTROL RESET. If the trigger event does not occur, the axis oscilloscope must be reset by means of a control reset. If JOG BUTTON was activated as the trigger condition, jog mode must have been activated in group operating mode MACHINE. Otherwise, no traversing movement occurs.

DISPLAY

The axis oscilloscope recording appears on the monitor. Once scale division of the time axis corresponds to the time t = 24 x P9901 in nonexpanded form and t = 2.4 x P9901 in expanded form. The recording contains the marks D (for the expansion function) and T (trigger position). The mark D can be moved with the cursor keys .

COMMAND SPEED D T

ACTUAL SPEED

The display is expanded by a factor of 10 in the Xaxis (time axis) by pressing the MAGNIFIER key. The starting point for the expanded display is the position of the mark D in this case (refer to following monitor screen for an example of an expanded display). The display switches back to nonexpanded form if MAGNIFIER is pressed again (same function as softkeys EXPAND X *10 and XDISPLAY START).

D22 32

Flexible Automation

D22 Axis oscilloscope

CC 220 / 320 Diagnosis

The display can be quit by pressing the level return key.

D22 33

Flexible Automation

D22 Axis oscilloscope

CC 220 / 320 Diagnosis

D22 34

Flexible Automation

D23 Contour display

CC 220 / 320 Diagnosis

D23 Contour display


General
The contour display permits comparison of a programmed contour with the contour generated by the machine tool. Evaluation is performed by means of the measuring system feedback function with the resolution set in the machine parameters (P 9901). The actual values are recorded exactly to 1 increment for each sampling step.

User interface/softkey assignments


If D23 is selected, the control first checks whether file D123 exists. This file is required by D23 to store a recording. If D123 does not exist, it is necessary to enter the number of desired sampling steps. Approx. 16 KByte of part program memory is required for D123 for every 1000 sampling steps. The maximum number of sampling steps is restricted only by the available free part program memory. The recording duration depends on the number of defined sampling steps and on machine parameter P9901: T [ms] = number of sampling steps * P9901 Example: Number of sampling steps = 2000; P9901 = 10 . Duration of recording = 20 s; required part program memory: approx. 32 KByte

Note: D123 must be deleted if it is wished to change the number of sampling steps. Only after this can the number of desired sampling steps be entered again when starting D23.

The following display appears when the number of sampling steps has been entered:
No PROGRAM CP0 ACT NC0 STOP CONTOUR DISPLAY STATUS CONTOUR DISPLAY WAITING ADJUSTMENTS DISPLAY AXIS: X: X Y: Y TRIGGER: JOG BUTTON 1st AXIS DIAGNOSTIC 14.10 8:48

SCALING FACTOR

DISPLAY

STARTING VALUE

TRIGGER

START RECORDING

D23 35

Flexible Automation

D23 Contour display

CC 220 / 320 Diagnosis

STARTING VALUES

DISPLAY XAXIS

DISPLAY YAXIS

YAXIS EXPANSION

XAXIS EXPANSION

The softkeys DISPLAY XAXIS and DISPLAY YAXIS are used to assign an arbitrary machine axis (axis number) to the abscissa (DISPLAY XAXIS) and to the ordinate (DISPLAY YAXIS) of the contour diagram. The softkeys YAXIS EXPANSION and XAXIS EXPANSION should be used only in conjunction with D27 (circular compensation). In order to optimize parameters set with D27, it is necessary to expand the representation of one axis involved in circular interpolation more than the other (e.g. X and Y). This makes it possible to see the contour errors at quadrant transitions of a circle more easily. The expansion factor can be entered separately for each axis (value range: 1 1000). In order to avoid a situation where the contour can no longer be completely displayed on the monitor as a result of axis expansion, reduction of the nonexpanded axis by the specified factor occurs instead of an increase in the expanded axis. The displayed proportions are thus correct. Example: Y Y Y

X
No expansion Yaxis expanded by a factor of 2

X
Xaxis expanded by a factor of 2

Note: If the function EXPANSION is active for an axis, the text AXIS with the corresponding expansion factor appears on the display under the column MAGNIFI. FACTOR (refer to softkey DISPLAY) in addition to DISPLAY and MAGNIF..

D23 36

Flexible Automation

D23 Contour display

CC 220 / 320 Diagnosis

TRIGGER

JOG BUTTON

PROGR. NO. BLOCK NO.

Definition of trigger condition. When the softkey START RECORDING is pressed, recording is delayed until the trigger event defined here occurs. The active trigger condition is indicated by inverted display of the corresponding softkey.

START RECORDING

MOVE

After operation of START RECORDING, recording is started when the trigger condition occurs. The message RECORDING appears under the line CONTOUR DISPLAY. The status WAITING is displayed here when recording has been completed.

DISPLAY

The contour diagram can be called after the end of a recording by pressing the softkey DISPLAY. The set and actual contours are shown (set contour: green; actual contour: red). Two crosshairs can be moved simultaneously along the contour with the cursor keys . results in crosshair movement opposite to the machining direc-

tion and in movement in machining direction. The values for axis position and axis speed (referred to the contour locations marked by the crosshairs) are displayed on the left of the monitor. The movement speed of the crosshairs can be preselected with the softkey
<< <

(see next monitor display). The active mode is shown inverted on the softkey: << < Fast movement (step distance = 10 sampling steps) Slow movement (step distance = 1 sampling step).

D23 37

Flexible Automation

D23 Contour display

CC 220 / 320 Diagnosis

MAGNIFI. FACTOR DISPLAY 1.00 MAGNIF. CURSOR VALUE COMMANDPOS. X 47.883 Y 47.883 ACTUALPOS. X 48.618 Y 49.110 COMMANDSPEED X 0.708 Y 0.708 ACTUALSPEED X 0.243 Y 0.531

X
<< <

The whole display or part of it can be magnified with the MAGNIFIER key in order to examine certain contour locations. A frame appears on the screen after operation of the MAGNIFIER key. In addition, the following softkey bar is offered:

MAGNIFI. FACTOR DISPLAY 1.00 MAGNIF. 10.00 CURSOR VALUE COMMANDPOS. X 47.883 Y 47.883 ACTUALPOS. X 48.618 Y 49.110 COMMANDSPEED X 0.708 Y 0.708 ACTUALSPEED X 0.243 Y 0.531

X
ON OFF + << <

ON

Magnification of the displayed frame content to the complete display area of the monitor. The crosshairs stay in their current position and may thus not be visible initially after magnification.
OFF

Deactivation of the magnifier function. The graphic display is built up again without magnification. The crosshairs stay in their current positions.

D23 38

Flexible Automation

D23 Contour display

CC 220 / 320 Diagnosis

Magnification or reduction in size of the displayed magnifier frame. The step distance by which the frame is magnified or reduced each time the softkeys + or are pressed can be set by means of the softkey
<< <

The frame can be moved arbitrarily with the cursor keys while the magnifier frame is displayed on the monitor. The step width by which the frame is moved can be adjusted by way of softkey
<< <

Example: Magnified display of the previously marked screen section.

Y
MAGNIFI. FACTOR DISPLAY 10.00 MAGNIF. 10.00 CURSOR VALUE COMMANDPOS. X 47.883 Y 47.883 ACTUALPOS. X 48.618 Y 49.110 COMMANDSPEED X 0.708 Y 0.708 ACTUALSPEED X 0.243 Y 0.531

X
ON OFF + << <

Note: It is possible to perform magnification several times successively. However, when the displayed values under the column MAGNIFI. FACTOR are replaced by an asterisk, magnification should be stopped.

D23 39

Flexible Automation

D23 Contour display

CC 220 / 320 Diagnosis

D23 40

Flexible Automation

D24 Axis optimization

CC 220 / 320 Diagnosis

D24 Axis optimization


General
The servo loops of the control must be adapted to the drives used. The diagnostic program D24 offers the following functions for this purpose: Definition of a step function (speed) for each applied axis. Graphic representation of the axis reaction to the step function (as speed characteristic) and numeric display of the determined servo loop parameters. Display of position, lag, offset and required lag of all axes. Modification of the active required closedloop gain. Offset adjustment of one axis. Acceptance of the optimized closedloop gain and offset values in the machine parameters.

The axis reaction is always measured by recording of 160 actual axis position values. The time between 2 sampling operations corresponds to the value entered in machine parameter P9901. The recording time is thus 1.6 s if P9901 = 10 ms.

User interface/softkey assignment


The following monitor display appears after selection of D24:
No PROGRAM CP0 ACT NC0 WAIT AXIS OPTIMIZATION STATUS AXIS OPTIMIZATION WAITING ADJUSTMENTS DISPLAY AXIS: TIME SCALE (SEC): TRAVEL RANGE (MM): TARGET VALUE (M/MIN): SERVO LOOP WITH SLOPE ACCELERATE X 0.50 100 1.00 DIAGNOSTIC 20.2 17:2

DISPLAY

STARTING VALUES

MACHINE PARAMETER

AXIS SELECTION

START RECORDING

AXIS SELECTION

Selection of the machine axis which it is wished to optimize by input of the axis number.

D24 41

Flexible Automation

D24 Axis optimization

CC 220 / 320 Diagnosis

STARTING VALUES

SERVO O/P SERVO LOOP SERVO O/P SERVO LOOP

DECELERATE/ ACCELERATE

TARGET VALUE

TRAVEL RANGE

Selection of the following operating modes is possible by repeated operation of this softkey: SERVO LOOP WITH SLOPE: The axis accelerates to the speed entered on the softkey TARGET VALUE with a slope. The servo loop is closed during this operation (refer to machine parameter P1002 for details of slope).

SERVO LOOP WITHOUT SLOPE: The axis accelerates without slope to the speed entered under the softkey TARGET VALUE. The servo loop is closed during this operation (refer to machine parameter P1002 for details of slope). SERVO OUTPUT: The servo loop is open. The axis traverses at the speed which was entered under the softkey TARGET VALUE. The measuring system is used only for speed measurement.

DECELERATE ACCELERATE

Selection of acceleration or deceleration.


TARGET VALUE

It is possible to define the desired axis speed in m/min. here. 10 % of the maximum speed (refer to machine parameter P501) is stored as a default value for the modes SERVO LOOP with/without SLOPE. The entered value is interpreted in V in SERVO OUTPUT mode (default value: 1.5 V).
TRAVEL RANGE

Input of the maximum distance which may be traversed for a single measurement (corresponds to an incremental value as from the starting position!). If the limit value entered here should be exceeded during the measurement, the axis will stop and a corresponding message is displayed. Please note the maximum traversing range of your machine if you perform several successive measurements!

D24 42

Flexible Automation

D24 Axis optimization

CC 220 / 320 Diagnosis

MACHINE PARAMETER

The following display appears:

No PROGRAM

CP0 ACT

NC0 STOP

DIAGNOSTIC

POSITION X Y Z 0.000 0.000 0.000 0.000 X Y Z

LAG 0.000 0.000 0.000 0.000 X Y Z

OFFSET 0.002 0.000 0.000 0.000 X Y Z

REQIRED LAG 2000.000 2000.000 10000.000 10000.000

OFFSETADJ AUTO

OFFSETADJ MANUAL

REQUIRED LAG

ACTIVATE

Offset and required lag values of all axes can be changed on this operating level. Select the axis where you wish to change the values with the cursor keys
OFFSETADJ AUTO OFFSETADJ MANUAL

SERVO

Automatic or manual offset adjustment. The lag should set itself to zero when the offset has been entered or automatically adjusted. The changed offset value is transferred directly to the axis processor and is thus active. The machine parameter record is not yet changed at this point in time. Active offset values remain active until they are overwritten by other offset values or until the control is reset.
REQUIRED LAG

SERVO

Input of a new required lag value. This input must be made with care in order to exclude incorrect drive response. The required lag is calculated as follows: Required lag = max. axis speed (P501)/required closed loop gain (P1001). If the required lag is changed by means of this softkey, the new value becomes active for the corresponding axis when the ENTER key is pressed. For this purpose, the CNC adapts the currently active required closed loop gain in accordance with the above relationship (the maximum axis speed remains constant). The entered value remains active until the control is reset or until a different value is entered. The CNC modifies machine parameter P1001 correspondingly if the required lag is changed by means of the softkey REQUIRED LAG and this value then transferred to the machine parameter record (by softkey ACTIVATE). P501 remains constant. The new values are then active after each control runup.

D24 43

Flexible Automation

D24 Axis optimization

CC 220 / 320 Diagnosis

ACTIVATE

MP

All currently active closed loop gain and offset values are immediately transferred to the machine parameter record when the softkey ACTIVATE is pressed. The READY 2 signal is cancelled and a new control runup takes place. Caution: The new values are not transferred to the file L444, if this file should exist. If you wish the file L444 to contain the modified values, you must first delete L444 after transfer and then regenerate it (with/without texts).

D24 44

Flexible Automation

D24 Axis optimization

CC 220 / 320 Diagnosis

START RECORDING

When this softkey is pressed, the text under AXIS OPTIMIZATION changes from WAITING to RECORDING. The instruction ACTIVATE JOG BUTTON appears in the message line. The traversing movement starts after operation of the jog button (also without approached reference point or active jog mode!) MOVE

DISPLAY

The step response of the corresponding axis can be displayed as a graph after completion of a recording by pressing the softkey DISPLAY:

ABSOLUTE VALUE (M/MIN) XI 1.00 CHARACTERISTIC DELAY TIME 0.000 S TU REACTION TIME S TA 0.136 OVERSHOOT UE 44.600 CHAR.FREQ. WO 68.837 DAMPING DA 0.320 I.S.E. 3.7 KV 8.867 X 1/S

XI

One scale division of the time axis (T) always corresponds to 50 sampling steps. Consequently, the corresponding time interval of a scale division is nt = 50*P9901 (the time interval of a scale divisions is also displayed numerically in the start screen of D24 under the column ADJUSTMENTS as TIME SCALE (SEC):). One scale division of the absicissa (XI) always corresponds to 10 % of the currently set target value. In addition to the graph, the CNC also displays the internally calculated characteristic servo loop values on the left side of the screen: XI: TU: TA: UE: WO: DA: I.S.E.: KVact: Currently active target value Delay time Reaction time Overshoot (in % of XI) Characteristic frequency (characterized by envelope curve A in following figure) Damping (characterized by n1/n2 in the following figure) Quadratic control area Actual closed loop gain factor KVact = measured speed/measured lag (at last sampling step).

D24 45

Flexible Automation

D24 Axis optimization

CC 220 / 320 Diagnosis

Notes: If the CNC cannot calculate characteristic values which are sufficiently accurate, question marks are displayed instead of the numbers. Range transgression of a calculated number (numeric value is greater than the display range) is indicated by the CNC by *****.

Interrelationships of the servo loop characteristics: V

D1 D2
WP A V Set TU TA

Magnitude of the 1st overshoot Magnitude of the 2nd overshoot Reversing point Envelope curve Setpoint speed Delay time Reaction time

D1

D2

V Set

5% limit

WP

t
TU TA

Optimization instructions While the setpoint speed should be reached as quickly as possible for pure positioning operations (thus accepting overshoot), a compromise must be reached between fast attainment of the setpoint speed and the minimum possible overshoot (contour violation by overshoot) in the case of machining operations (tool engaged).

D24 46

Flexible Automation

D25 Lead screw error compensation

CC 220 / 320 Diagnosis

D25 Lead screw error compensation


General
The lead screw error compensation function permits compensation of the mechanical inaccuracies of drive spindles or rack drives. It is possible to determine and compensate both linearity errors as well as reversing backlash. In order to permit compensation, an error curve is recorded for each axis traversing direction for each machine axis to be compensated. The actual axis position is measured exactly with an external device for this purpose. The established compensation data is entered in the files L101L108 using this diagnostic program. After activation of the function (refer to the section General information at the end of this chapter), the control corrects the corresponding machine positions automatically.

Note: The machine parameter P1509 (reversing backlash) is no longer active if the lead screw error compensation is active.

User interface/softkey assignment


The following display is an example of the display which will appear on the screen after selection of D25:

No PROGRAM

CP0 ACT

NC0 WAIT

DIAGNOSTIC 14.10 8:49

AXIS X Y Z

LEAD SCREW ERROR 0 0 0 INCREMENTS INCREMENTS INCREMENTS

POSITION 5 2 4 INCREMENTS INCREMENTS INCREMENTS

EDIT

DATA IN

PRERUN

DATA OUT

MANAGE

DATA IN

DATA OUT

These keys are used to read the compensation files (L101L108) in or out via the standard interfaces of the CNC. Please refer to the operating manual for further information on reading data in/out.

D25 47

Flexible Automation

D25 Lead screw error compensation

CC 220 / 320 Diagnosis

MANAGE

Deletion of the displayed L files. All compensation files (L101L108) are deleted (if present) by the softkey DELETE ALL. Other files are not deleted by this softkey. DATA It is possible to selectively delete individual files by means of the softkey DELETE and specification of a file number. It is thus possible to delete all displayed files individually.
EDIT

A compensation file can be created or modified by means of EDIT. After pressing the key EDIT, enter the file number (101108) and confirm this with the ENTER key. An L file is permanently assigned to each axis (X, Y, Z etc.). The following applies in accordance with machine parameter P102: Axis 1: L101; Axis 2: L102...Axis 8: L108. After selection of the required file, the control switches to the LSEC editor. All ASCII characters required for programming of the compensation values are displayed in the softkey bar:
EDIT LF L101 X S R P N OTHER COMMANDS

The ASCII character is inserted at the current cursor position by operation of the 1st or 2nd softkey (from the left). In the case of softkeys which possess 2 characters, first select the character which it is wished to insert by repeatedly pressing this key (the selected character is shown inverted in the softkey). This character is then inserted at the current cursor position after operation of the ENTER key.

Notes: The 2nd softkey is always assigned the axis address valid for this compensation file. Refer to the section Programming compensation values for the meaning of the ASCII characters. All required characters (except for the character LF!) can also be entered on the ASCII keyboard.

OTHER COMMANDS

Selection of further editor functions (refer to manual Operating instructions.

D25 48

Flexible Automation

D25 Lead screw error compensation

CC 220 / 320 Diagnosis

PRERUN

When the corresponding Lfiles have been created for all axes which are to be compensated, a test run can be started by way of the PRERUN function which checks the created Lfiles for errors. Errorfree files are provided with the identifier LSEC instead of the date in the directory display after the test run. The lead screw error compensation function can be activated by CLEAR ALL LOGIC only when all compensation files are errorfree. The following error messages can occur during the test run: LSECSYNTAX: LSECLOGIC: LSECGRID: LSECOVER: Syntax error in the file. The file is not unambiguous. Entered compensation positions are not on the grid defined by the step distance. Values outside the display range. The following rules apply: Positions: max. 8 positions Error values: max. +/ 32 767 A maximum of 4000 compensation values are possible per traversing direction for all axes. This includes grid points which are not programmed with a compensation value.

Refer to the handbook Error messages, P. No. 3914 for detailed error descriptions.

D25 49

Flexible Automation

D25 Lead screw error compensation

CC 220 / 320 Diagnosis

Determination of the error curve


The position errors must be determined for both the positive and negative traversing directions for each desired axis. The unit of length for position and compensation values depends on the resolution used. Normally, the resolution is 1 lm for linear and 1/100 of a degree for circular axes. First subdivide the traversing range of an axis into a number of equally large sections (guide value, approx. 1020 mm). This grid defines the positions in the traversing range at which position compensation values may be programmed later on (refer to the section General information for maximum number of position compensation values). Travel the axis to the start of the traversing range (normally position 0) after reference point travel. MOVE Now define the actual axis position using an external measuring device. The difference between the actual and setpoint positions (Pact Pset) corresponds to the compensation value which must be specified later on for this position. First perform this measurement in positive traversing direction for arbitrary setpoint positions located on the grid. When you reach the end of the traversing range, perform measurement in negative traversing direction for arbitrary setpoint positions on the grid. A maximum of 4000 compensation values can be entered in the control per traversing direction for all axes together.

Pos. traversing direction

Neg. traversing direction

Complete traversing range

= Measuring positions; the measuring position distribution may be nonuniform over the complete traversing range. The measuring positions themselves must, however, all be located on the grid.

Note: It is not necessary to measure all positions defined by the grid in one traversing direction. If several grid points which are not measured lie between 2 positions in a traversing direction, the compensation value of the lastmeasured point applies to these grid points (also refer to the section General information at the end of this chapter). In this way, it is possible to perform compensation only in specific, particularly critical areas of the traversing path of an axis.

D25 50

Flexible Automation

D25 Lead screw error compensation

CC 220 / 320 Diagnosis

Programming the compensation values


Several characters are used as well as numbers for programming a compensation file. By means of these characters, the control recognizes the meaning of any numeric value which has been programmed after them.

Note: All characters required are offered on the softkey level EDIT, but can also be entered on the ASCII keyboard. Exception: The character LF must be entered by way of the softkey LF on the softkey level EDIT.

All numeric values must be programmed as integers in the unit of the positioning resolution (minimum traversable distance). The positioning resolution depends on machine parameter P103: Positioning resolution: 1 10 P103 (increment length) Examples: Axis type Linear Linear Circular Circular P103 3 2 3 2 Positioning resolution 1m 10 m 1/1000th degree 1/100th degree

Characters used for programming: <LF>: (LINE FEED). Each programmed line of a compensation file must be terminated with <LF>. Step distance of the grid. The step distance must be programmed in the first line of the compensation file. The reference point and all axis position values programmed later on must lie on this grid. However, it is not necessary to assign a compensation value to each grid point. Examples: Linear axes: S20000 means: compensation values may be programmed every 20 mm (with 1 m positioning resolution). Circular axes: S1000 means: compensation values may be programmed every 10 degrees (with 1/100th degree positioning resolution). <AXIS ADDRESS>: (e.g. X, Y, Z). The position of the compensation value is programmed by the axis address with subsequent numeric value. The compensation value itself (refer to character P or N) must be programmed in the same line as the position value.

S:

D25 51

Flexible Automation

D25 Lead screw error compensation

CC 220 / 320 Diagnosis

R:

This identifies the following number as the position of the reference point. The compensation value itself (refer to characters P, N) must be programmed in the same line as the reference point position. Examples: Linear axis: R100000 means: reference point position at 100 mm (with 1 m positioning resolution). Circular axis: R35000 means: reference point position at 350 degrees (with 1/100th degree positioning resolution).

P, N:

P identifies the following number as a compensation value in positive traversing direction. N identifies the following number as a compensation value in negative traversing direction. The compensation value to be entered corresponds to the difference between the actually measured position and setpoint position in the unit of positioning resolution. Examples: Setpoint position 10000 10000 10000

Actual position 10002 9998 10000

Compensation value 2 2 0

Programming for circular axes


Only compensation values for the position range 0 x X t 360 need be programmed for circular or infinite axes. If a circular axis moves out of this range, a modulo calculation is performed with respect to the axis position for access to the compensation values so that the compensation values for the position range 0 x X t 360 are active. Examples: An initial position of 300 and an end position of 400 are defined, for example, when programming a circular axis in the part program. The compensation values programmed for the traversing range from 300 to < 360 are used for this range, while the compensation values programmed for the range 0 to 40 are used for the traversing range from 360 to 400. The same is true analogously, for example, for a traversing distance from +40 to 40. The compensation values programmed for the range from < 360 to 320 are active for the path from 0 to 40.

D25 52

Flexible Automation

D25 Lead screw error compensation

CC 220 / 320 Diagnosis

Programming example:
The traversing range of the Xaxis (0100 mm) has been subdivided into a grid with a step distance of 10 mm. Let the reference point position of the Xaxis in this example be X = 100 [mm].

Error [m]
8 6 4 2 2 4 6 8 10 20 30 40 50 70 60 80 : Measuring points : Compensation char. in positive direction : Compensation char. in negative position 90 100

110

Setpoint position [m * 103]

Compensation characteristic of the Xaxis

Programming:
The file L101 must be programmed for the compensation values of the Xaxis. S10000<LF> X0P0<LF> X10000P2<LF> X30000P2<LF> X40000P4<LF> X60000P1<LF> X70000P4<LF> X80000P2<LF> X90000P0<LF> R100000P0<LF> R100000N0<LF> X90000N0<LF> X80000N2<LF> X50000N6<LF> X20000N3<LF> X10000N2<LF> X0N0<LF> M30 Step distance 10000 l; compensation value input possible every 10 mm. No compensation in pos. travel direction at X0 Compensation by +2 l in pos. travel direction at X10 Compensation by +2 l in pos. travel direction at X30 Compensation by +4 l in pos. travel direction at X40 Compensation by +1 l in pos. travel direction at X60 Compensation by 4 l in pos. travel direction at X70 Compensation by 2 l in pos. travel direction at X80 No compensation in pos. travel direction at X90 No compensation in pos. travel direction at X100 (reference point) No compensation in neg. travel direction (reversal point) at X100 (reference point) No compensation in neg. travel direction at X90 Compensation by 2 l in neg. travel direction at X80 Compensation by +6 l in neg. travel direction at X50 Compensation by +3 l in neg. travel direction at X20 Compensation by +2 l in neg. travel direction at X10 No compensation in neg. travel direction at X0 File end

D25 53

Flexible Automation

D25 Lead screw error compensation

CC 220 / 320 Diagnosis

General information
If there are several grid points which have not been programmed between two programmed grid points in a traversing direction, the compensation value of the lastprogrammed grid point applies to these grid points which have not been programmed. Compensation values for machine positions between two successive group points are calculated by the control by way of linear interpolation. Error compensation starts to act at the first programmed position in a compensation file. Error compensation ends at the last programmed position in a compensation file. A maximum of 4000 compensation values are possible per traversing direction for all axes. The grid points which have not been filled out are included in this total. The position values for the positive traversing direction must be programmed in ascending order and those for the negative traversing direction in descending order. Position information for circular axis compensation values must lie in the range 0 x X t 360. The reference point must lie on the compensation grid; a compensation value can be entered here as well.

D25 54

Flexible Automation

D26 CNC remote diagnosis (information)

CC 220 / 320 Diagnosis

D26 Remote diagnosis (information)


Fast and extensive information about failed installations is essential in order to satisfy the availability demands placed nowadays on modern machine concepts. For this purpose, BOSCH offers the user the remote diagnosis option, which allows the service center to be informed by telephone about the type and scope of the problems which have occurred at short notice. For this purpose, the service or maintenance center possesses a remote diagnosis computer, a fullyconfigured CNC control equipped with special software. The option remote diagnosis must be applied to the machine (at the machine tool manufacturer or end customer) for the CNC to be diagnosed and REMOTE DIAGNOSIS (softkey) activated. D26 is activated directly by the remote diagnosis computer only for certain diagnostic functions such as local analyzer, axis oscilloscope, MSD etc. D26 automatically deactivates itself after completion of these functions. Information is exchanged between the CNC and service center on a telephone line using an acoustic coupler or modem. The signalling rate can be set to 300, 1200, 2400 or 4800 baud by means of machine parameter 5509. When a connection has been established between the two controls, the service center is in a position to inform itself about the following data of the connected CNC: Error messages All pending error messages (from control and machine) are transmitted to the service center immediately after they occur and are displayed on the CNC. DIAGNOSTIC mode, softkey CONTROL The service center can receive information about the software version on this operating level. DIAGNOSTIC mode, softkey MACHINE Transmission of the current MSD data (machine status display) and the input and output states present at the PLC at the time of transmission. Messages The service center can output any message in plain text on the monitor of the connected CNC if it is wished to exchange all information (e.g. Please remove receiver from acoustic coupler). DIAGNOSTIC mode, softkey SERVICE FUNCTION Axis oscilloscope: Recording of axis data with subsequent transmission of the values to the service center for evaluation. Logic analyzer: Signal and trigger settings; after the end of recording, the recorded data can be transmitted to the service center.

File transfer The following files can be transferred: Part programs (file group P), diagnostic programs (file group D), graphic programs (file group G), system data (file group L), offset tables (file group V), compensation tables (file group K) and Wtables (file group W).

D26 55

Flexible Automation

D26 CNC remote diagnosis (information)

CC 220 / 320 Diagnosis

Directory display The service center can have displayed all or specially selected directories of the individual file groups. File transfer CNC > remote diagnosis computer After a certain file has been selected, this can be transmitted by the control to the remote diagnosis computer and evaluated there. File transfer remote diagnosis computer > CNC Any files can be transmitted to the user by the remote diagnosis computer (e.g. after correction of a part program at the service center). File deletion Individual files can be deleted from the service center.

D26 56

Flexible Automation

D27 Putting into operation for circular compensation

CC 220 / 320 Diagnosis

D27 Putting into operation for circular compensation

General
The diagnostic program acts as an aid for putting into operation the option CIRCULAR COMPENSATION. Other required commissioning aids: D23 Contour display. You will find further information on the option CIRCULAR COMPENSATION in the section Circular compensation. Please refer to the sections Preparations for optimization and Optimizing the circular compensation parameters for preparations and procedure for optimization.

Notes: The option requires the servo loop board SERVOi and the option CS TABLES. Circular compensation is possible only for synchronous linear axes and is sensible only in conjunction with a direct measuring system. If the option PILOT CONTROL is activated in the system, the pilot control weighting factors (machine parameters P1016 and P1017) must have been optimized to minimize lag before circular compensation is activated and optimized.

Circular compensation
The option CIRCULAR COMPENSATION allows contour errors to be minimized during circular interpolation in the area of the quadrant transitions (at the reversal point of an axis). These contour errors occur with different degrees of severity on individual machines owing to the respective mechanical design (static friction, torsion etc.).

D27 57

Flexible Automation

D27 Putting into operation for circular compensation

CC 220 / 320 Diagnosis

Circle contour display in diagnostic program D23 and assignment of the reversal points to the axes

Speed characteristic of both axes involved in circular interpolation Vx Ux1 Ux2 t

Y
Uy1

Ux2

Ux1

Vy Uy1 Uy2 t

Uy2

X
Ux1 = 1st reversal point Xaxis Ux2 = 2nd reversal point Xaxis Uy1 = 1st reversal point Yaxis Uy2 = 2nd reversal point Yaxis

Vy Uy1

t Magnified representation of the point Uy1

In order to avoid contour errors, a compensation pulse is generated at the reversal point of the respective axis in addition to the setpoint input. This ensures continuous movement of this axis through the standstill point (breakaway from static friction at the right time). The ideal pulse height is related nonlinearly to the path velocity. When the option is put into operation, this nonlinear function must first be determined and graphically plotted for the reversal points of all axes involved in circular interpolation on the basis of measurements (with D27 and D23). This function is then approximated by a maximum of three adjacent straight lines, thus providing a maximum of four reference points (SP1SP4) with the parameter pairs of pulse height (PH) and path velocity (VB) (refer to following figure).

PH

SP

= =

Measured values Reference points

SP3

SP4

SP2

SP1

V1

V2

V3

V4

VB

Measured curve and its approximation by 3 straight lines

D27 58

Flexible Automation

D27 Putting into operation for circular compensation

CC 220 / 320 Diagnosis

The Wtable W999999003 is used for recording all parameters necessary for circular compensation (refer to the section Preparations for optimization for the W table definition program). The content of this table is read during every control runup and is then active until a renewed runup operation. On the basis of these values, the CNC calculates the required pulse height by linear interpolation for arbitrary speeds. The pulse height is decreased linearly down to PH = 0 for path velocities below the first programmed reference point (SP1) down to the speed VB = 0. The pulse height remains constant for path velocities above the last programmed reference point (SP4).

D27 59

Flexible Automation

D27 Putting into operation for circular compensation

CC 220 / 320 Diagnosis

User interface/softkey assignments


The following monitor display appears after D27 has been started:
No PROGRAM CP0 ACT NC0 STOP CIRCULAR COMPENSATION DIAGNOSTIC 30.11. 14: 8

ADJUSTMENTS AXIS: COMPENSATION PULSE 1.Q: COMPENSATION PULSE 2.Q: COMPENSATION TIME:

1 0 0 20

AXIS NUMBER

COMPENSATION COMPENSATION COMPENSATION PULSE 1.Q PULSE 2.Q TIME

ACTIVATE

AXIS NUMBER

Selection of the axis to be optimized (value range: 08).


COMPENSATION PULSE 1.Q COMPENSATION PULSE 2.Q

Input of the compensation pulse height at the 1st and 2nd reversal points respectively of the selected axis in the unit lm (value range: 0 9999).
COMPENSATION TIME

Input of the compensation pulse duration in interpolation steps (value range: 0 9999). The actual pulse duration is calculated as follows: T = input value *P9901. The parameter Compensation time is preassigned the value 20 and should not normally be changed.
ACTIVATE

SERVO

The values displayed under ADJUSTMENTS are transferred directly to the interpolation processor for optimization when this softkey is pressed. Transfer of the values to the Wtable does not take place automatically. Caution: The optimized circular compensation parameters have to be manually entered in the Wtable W 999999003 (refer to the section Preparations for optimization for definition and structure of the Wtable). This Wtable is evaluated during every control runup (if the option CIRCULAR COMPENSATION is applied).

D27 60

Flexible Automation

D27 Putting into operation for circular compensation

CC 220 / 320 Diagnosis

The values become active only if all parameters of the corresponding axis have been preassigned the value 0 in the Wtable before the last control runup or if W 999999003 does not exist.

Preparations for optimization


Several preparations have to be made before optimization: Test program generation Example: P110 N10 G0 X50 Y60 Z0 N20 G17 G2 X60 Y50 R40 N30 G0 X50 Y60 M30

Since circular compensation is active only during circular interpolation and not at its start/end, the start and end points must not be programmed at a quadrant transition in this test program. Generation of a definition program for Wtable W999999003 (DFS, W999999003,COMPENSATIONTAB) $[8] $[A,W,40,0,COMPENSATION TIME] $[B,W,40,0,U1:.1.FVALUE.] $[C,W,40,0,U1:.1.PHEIGHT] $[D,W,40,0,U1:.2.FVALUE.] $[E,W,40,0,U1:.2.PHEIGHT] $[F,W,40,0,U1:.3.FVALUE.] $[G,W,40,0,U1:.3.PHEIGHT] $[H,W,40,0,U1:.4.FVALUE.] $[I,W,40,0,U1:.4.PHEIGHT] $[J,W,40,0,U2:.1.FVALUE.] $[K,W,40,0,U2:.1.PHEIGHT] $[L,W,40,0,U2:.2.FVALUE.] $[M,W,40,0,U2:.2.PHEIGHT] $[N,W,40,0,U2:.3.FVALUE.] $[O,W,40,0,U2:.3.PHEIGHT] $[P,W,40,0,U2:.4.FVALUE.] $[Q,W,40,0,U2:.4.PHEIGHT] $[@1,8,AXIS NUMBER] #* M30 Store the definition program on a data medium (Important: read out without DFS identifier!). The Wtable is generated later on by reading this definition program into the control. The table contains 8 columns (axis number 18) of 17 lines each (circle parameters). The compensation time required for the respective axis will be entered later under address A. A maximum of 4 parameter pairs (pulse height and path velocity) can be specified under addresses B to I for the first reversal point (U1). The parameter pairs for the second reversal point (U2) should be entered in addresses J to Q. The addresses of the parameter pairs valid for a reversal point need not be com-

D27 61

Flexible Automation

D27 Putting into operation for circular compensation

CC 220 / 320 Diagnosis

pletely allocated in the Wtable. It is thus also permitted, for example, to specify only two parameter pairs.

Optimizing the circular compensation parameters


D27 allows you to preallocate corresponding compensation values for the two reversal points of each axis. Please note that the entered values are active only if the Wtable values of the corresponding axis have been preallocated the value 0 and are active or if W999999003 does not exist (also refer to the section User interface/software assignments under softkey ACTIVATE). Diagnostic program D23 can be used to check the contour after execution of a circle. For this purpose, setpoint and actual contours are displayed in D23. In order to permit the quadrant transition to be seen more easily, the respective axis can be expanded on the display (for instructions on operation of D23, refer to chapter D23 Contour display, softkey EXPANSION. 1. Define the radius which is to be used for optimization. Define the speed range within which optimization is to take place. 9999 mm/min. is the maximum permitted path feedrate. Adapt the test program P110 (feedrate, radius) and then perform program selection. Select D23 and set the trigger condition (e.g. program number = 110, block number = 20). Start D23 recording. Start test program.

2. 3. 4. MOVE 5. 6. SERVO 7. MOVE 8. 9.

Check quadrant transitions with contour display. Select D27. Enter the corresponding axis number and compensation values (compensation pulse 1.Q/2.Q). Then press softkey ACTIVATE.

Select D23. Start recording. Start test program.

Check the quadrant positions. Optimize the compensation values if the compensation is too large or too small (repeat steps 68). Determine the optimum compensation values for various speeds by adapting the test program (feedrate). Note the found compensation values in a table (feedrate value, compensation path). Plot noted values graphically for each reversal point. Perform further measurements if necessary at critical points. Approximate measured curves by maximum of 3 straight lines (refer to section Circular compensation). Generate Wtable and plot parameter pairs of the reference points. Transfer the Wtable values by pressing the softkeys RESET FUNCTION and CLEAR ALL LOGIC in group operating mode DIAGNOSTIC.

10. 11. 12.

D27 62

Flexible Automation

D28 Tapping

CC 220 / 320 Diagnosis

D28 Tapping without compensation chuck


General
The diagnostic program D28 acts as a commissioning aid for the option TAPPING WITHOUT COMPENSATION CHUCK for correct adjustment of the pilot control weighting factors for speed and acceleration (machine parameters P7203 and P7204).

Note: The option requires the servo loop board SERVO i.

User interface/softkey assignments


The following display appears after D28 is started:
No PROGRAM CP0 ACT NC0 STOP DIAGNOSTIC 30.11. 14: 8

TAPPING RECORDING WAITING ADJUSTMENTS AXIS: 1 0 VWEIGHTING: 0 AWEIGHTING: Y1 : 1000 MM/MIN PER SCALE DIVISION Y2 : 1000 MM/MIN PER SCALE DIVISION XEXPANSION: 100 MS PER SCALE DIVISION 0 SCALE DIVISION XEXP START: . TRIGGER SETTING JOG BUTTON 1. AXIS

DISPLAY

AXIS DATA

DISPLAY SPLITTING

OTHER COMMANDS

START RECORDING

DISPLAY

After the end of a recording (refer to softkey START RECORDING), you can have recorded feedrate and lag values displayed as diagrams on the monitor by pressing this softkey. The graphic display parameters are influenced by means of the functions offered by the softkey DISPLAY SPLITTING.

D28 63

Flexible Automation

D28 Tapping

CC 220 / 320 Diagnosis

AXIS DATA

AXIS NUMBER

FEED WEIGHTING

ACCELERATION WEIGHTING

ACTIVATE

SERVO

On this softkey level, the axis to be optimized and the setpoints of the pilot control values for feedrate and acceleration can be defined for an optimization step (refer to the section Optimizing the pilot control weighting factors for the optimization procedure). In addition, it is possible to transfer the pilot control values to the machine parameters 7203 and 7204 after optimization by means of the softkey ACTIVATE, without the option PILOT SPEED CONTROL having to be activated in the system. A CNC reset automatically takes place after operation of the softkey ACTIVATE. Caution: The values are entered only in the machine parameter record by operation of the softkey ACTIVATE. The file L444 is not modified. In order to keep L444 up to date, L444 must first be deleted after transfer and then regenerated (with/without text) if necessary. Possibly save the machine parameter record in the EEPROM!

MP

Note: If it is wished to optimize several axes, it is not necessary to press the softkey ACTIVATE after adjustment of an individual axis. First optimize all desired axes successively and then press the softkey ACTIVATE.

SOFTKEY DISPLAY SPLITTING

XDISPLAY START

EXPAND X * 10

SCALE Y1AXIS

SCALE Y2AXIS

It is possible to manipulate the display parameters of the graphic display here (refer to softkey DISPLAY). Both the right start point of the Xaxis and expansion of the Xaxis by a factor 10 as well as scale factors for the Yaxes of the feedrate (Y1) and lag diagram (Y2) can be defined separately.

D28 64

Flexible Automation

D28 Tapping

CC 220 / 320 Diagnosis

OTHER COMMANDS

TRIGGER JOG TRIGGER BUTTON PROG./BLOCK

After activation of recording (refer to softkey START RECORDING), the start of data recording is delayed until a specific trigger event occurs. Both operation of a jog button and the start of execution of a specific program block can be defined as a trigger event. The set trigger condition is identified by inverse display of the corresponding softkey.

START RECORDING

Data recording is activated after operation of this softkey. At this point in time, the pilot control values entered on softkey level AXIS DATA are valid and not the machine parameter values. Recording starts when the trigger event occurs in accordance with the set trigger condition. During recording, the text RUNNING is displayed on the monitor instead of the text WAITING (under the line RECORDING). 480 feedrate and lag values are always recorded. The recording time is calculated as follows: T[ms] = 480 * P9901. The generated diagram can be called by means of the softkey DISPLAY only after the end of recording.

MOVE

D28 65

Flexible Automation

D28 Tapping

CC 220 / 320 Diagnosis

Preparations for optimization


Several preparations must be made before optimization:

Adaption of the PLC program The CNC output signal 16.5 is output for the duration of tapping. Feed enable is permitted by means of this signal although no M3, M4 is output.

Adjustment of machine parameters P7201 (gear speeddependent spindle closedloop gain): First take over the closedloop gain value for the spindle axis from machine parameter P7014. The closedloop gain must be set for each gear speed so that no spindle oscillations occur at the maximum speed which is to be used for tapping. P7202 Gear speeddependent spindle acceleration: Take over the value from machine parameter P7015. P7203 and P7204 (axisspecific pilot control weighting factors): First leave these values unchanged. The values determined later on during optimization can be transferred here directly from D28 by means of the softkey ACTIVATE. If the option PILOT CONTROL is applied, it is additionally necessary to take into account the settings of P1014 and P1015 for optimization. Both parameters define the maximum possible limit values for speed and acceleration pilot control weighting factors.

Test program generation Example: P111 N10 G1 X0 Y0 Z0 M19 S0 N20 G32 F1000 M3 S1000 Z30 N30 G32 F1000 M4 S1000 Z0 M30

Before the start of tapping, the position servo loop of the spindle must be closed. This is achieved, for example, by way of the function SPINDLE ORIENTATION or SPINDLE STOP (M5). If drilling is to take place several times in a hole, the spindle must be positioned with M19 before G32 (e.g. subsequent cutting after tool breakage).

D28 66

Flexible Automation

D28 Tapping

CC 220 / 320 Diagnosis

Optimizing the pilot control weighting factors


Aim of optimization: The lag of the drilling axis should be 0 if possible during tapping. Realistic values here are a lag of less than 10 lm during constant speed phases and lag values of less than 20 lm during acceleration phases. The procedure for setting the pilot control parameters is described below. Since the magnitude of the remaining lag significantly effects the accuracy of the thread, careful adjustment of the pilot control parameters is essential. 1. 2. 3. 4. MOVE Select D28. Set the trigger condition (e.g. program number = 11, block number = 20). Set the axis number (e.g. axis number = 3; Zaxis). Start recording by means of the softkey START RECORDING then start test program (P111). Evaluate recording. Calculate the active closedloop gain from the recorded feedrate and lag values. Compare the active closedloop gain (CLGact) with the value entered in machine parameter P1001. Depending on the result, you can now enter the rough value of the feedrate weighting factor in D28 under softkey level AXIS DATA: Result of comparison CLGact ~ P1001 CLGact > P1001 CLGact < P1001 7. MOVE 8. SERVO Evaluate recording. The lag which occurred during unaccelerated travel is now relevant (stationary lag). Lag became less has changed sign (overcompensation) no reduction possible without sign change Entered feedrate weighting factor increase; repeat as from step 7. reduce; repeat as from step 7. OK; continue with step 9. Feedrate weighting factor to be entered approx. 10000 ( 300) significantly less than 10000 greater than 10000

5. 6.

SERVO

Start recording by means of the softkey START RECORDING. Then start test program (P111).

Note: It is possible to increase the resolution of the lag diagram in Ydirection by scale switchover on the softkey level DISPLAY SPLITTING in order to permit easy recognition of small lag values.

D28 67

Flexible Automation

D28 Tapping

CC 220 / 320 Diagnosis

9. SERVO 10. MOVE 11. SERVO

Increase the value of the acceleration weighting factor in D28 on the softkey level AXIS DATA in order to now minimize the lag during acceleration/deceleration (recommendation: step distance 100). Start recording by means of the softkey START RECORDING. Then start test program (P111).

Evaluate recording. The lag which occurred during accelerated travel is now relevant. Lag became less changed sign no reduction possible without sign change Entered acceleration weighting factor increase; repeat as from step 10. reduce; repeat as from step 10. OK; continue with step 12.

Notes: It is possible to increase the resolution of the lag diagram in Ydirection by switching the scale on softkey level DISPLAY SPLITTING in order to permit easy recognition of small lag values. The lag during an accelerated travel must not change.

12.

Select the next axis to be optimized on softkey level AXIS DATA and adapt test program (P111). Then continue with step 4.

MP

When the weighting factors have been set for all drilling axes, press the softkey ACTIVATE on softkey level AXIS DATA. This transfers all optimized pilot control weighting factors to the machine parameter record. The file L444 is not changed as a result. A CNC reset automatically takes place after this. In order to keep L444 up to date, you must first delete L444 after transfer and then regenerate it (with/without text) again if necessary. 13. Check the optimized settings using the diagnostic program D23 CONTOUR DISPLAY: The offset between spindle and drilling axis at the reversal point can be determined with D23. To do this, plot the spindle axis and drilling axis against each other (by means of the softkeys DISPLAY X/Y AXIS on the softkey level STARTING VALUES). In the ideal case, the ACTUAL CONTOUR produces a straight line for drilling in and out.

D28 68

1070 073 306-101 (91.10) GB

HB NC AT/VSP Printed in Germany

Vous aimerez peut-être aussi