Académique Documents
Professionnel Documents
Culture Documents
Version
101
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
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
C2
Flexible Automation
General
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.
Flexible Automation
General
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
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
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
14
Flexible Automation
D1 Logbook
4.
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.
No PROGRAM
CP0 ACT
NC0 STOP
INIT
LOGBOOK SELECTION
LOGBOOK PUNCHOUT
D1 5
Flexible Automation
D1 Logbook
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
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
D1 6
Flexible Automation
D1 Logbook
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
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
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
No PROGRAM AXIS X Y Z
NC0 WAIT
MM MM MM
D5 9
Flexible Automation
D5 10
Flexible Automation
D6 Interface data
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.
DEVICE SELECT
STATUS
DFS SEARCH
DFSNO. SEARCH
START
DEVICE SELECT
Selection of the data interface and definition of the connected peripheral device.
STATUS
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
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
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.
<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
Page 0
Page 1
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
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
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
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 16
Flexible Automation
D9 EEPROM management
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
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
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.
D9 18
Flexible Automation
D9 EEPROM management
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
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
Memory
Clock
Trigger condition
Comparator
Clock
D21 21
Flexible Automation
No PROGRAM
CP0 ACT
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
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
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
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
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
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
DISPLAY
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
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
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
SELECT DISPLAY
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
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
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
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
TRIGGER CONDITION
JOG BUTTON
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
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
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 33
Flexible Automation
D22 34
Flexible Automation
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
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
TRIGGER
JOG BUTTON
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
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
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
<< <
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 40
Flexible Automation
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.
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
STARTING VALUES
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
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
MACHINE PARAMETER
No PROGRAM
CP0 ACT
NC0 STOP
DIAGNOSTIC
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
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
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
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 *****.
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
Note: The machine parameter P1509 (reversing backlash) is no longer active if the lead screw error compensation is active.
No PROGRAM
CP0 ACT
NC0 WAIT
AXIS X Y Z
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
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
D25 48
Flexible Automation
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
= 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
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
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
Compensation value 2 2 0
D25 52
Flexible Automation
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
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
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
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
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
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
Circle contour display in diagnostic program D23 and assignment of the reversal points to the axes
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
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
= =
SP3
SP4
SP2
SP1
V1
V2
V3
V4
VB
D27 58
Flexible Automation
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
ADJUSTMENTS AXIS: COMPENSATION PULSE 1.Q: COMPENSATION PULSE 2.Q: COMPENSATION TIME:
1 0 0 20
AXIS NUMBER
ACTIVATE
AXIS NUMBER
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
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.
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
pletely allocated in the Wtable. It is thus also permitted, for example, to specify only two parameter pairs.
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.
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.
D27 62
Flexible Automation
D28 Tapping
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
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.
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
OTHER COMMANDS
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
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
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
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