Application
Manual
SYSTEM200
MTC200/TRANS200 NCProgrammingSystem ApplicationManual
DOK-CONTRL-NC*PSYS*V22-AW01-EN-P
DocumentNumber120-0400-B384-01/EN
This documentation describes the handling of NCprogramming system, thedifferenteditorsandtheNCassistent.
Description Release
Date
Notes
120-0400-B384-01/EN 09.02 Validfromversion22
¤ 2002RexrothIndramatGmbH
Copyingthis document,givingit toothers andtheuseor communication ofthecontentsthereofwithoutexpressauthority,areforbidden.Offenders areliableforthepaymentofdamages.Allrightsarereservedintheevent of the grant of a patent or the registration of a utility model or design (DIN34-1).
The specifieddata isforproduct description purposes only and maynot bedeemedto beguaranteedunless expresslyconfirmedinthecontract. All rights are reserved with respect to thecontent of this documentation andtheavailabilityoftheproduct.
RexrothIndramatGmbH
Bgm.-Dr.-Nebel-Str.2 • D-97816Lohra.Main
Telephone+49(0)9352/40-0 • Tx689421 • Fax+49(0)9352/40-4885 http://www.boschrexroth.de/
Dept.BRC/ESM2(PSR) Dept.BRC/ESM6(DiHa) Title
TypeofDocumentation
DocumentTypecode
InternalFileReference
PurposeofDocumentation
RecordofRevisions
Copyright
Validity
Contents
1
NC
Program
Handling
1-1
1.1 GeneralInformationRegardingNCProgramHandling ... 1-1 1.2 NCPackages(MTC200) ... 1-2 1.3 FreeNCPrograms ... 1-2 1.4 A/BMemory(MTC200) ... 1-2 1.5 NCProgramPreselection(MTC200) ... 1-3 1.6 ActiveNCProgram ... 1-3
2
Representation
in
the
Project
Navigator
2-1
2.1 GeneralInformationAbouttheProjectNavigator ... 2-1 RepresentationoftheProjectNavigator... 2-2 2.2 StructureView... 2-4 2.3 DataView ... 2-5 2.4 ConfigurationView ... 2-6 2.5 FunctionsintheStructureView(FreeNCPrograms) ... 2-7 NCPrograms:New<F2>... 2-8 NCPrograms:Delete<F3> ... 2-8 NCPrograms:PreselectProgram(MTC200)<F5>... 2-9 NCPrograms:Edit<F6>... 2-10 NCPrograms:Download<F7>... 2-10 NCPrograms:Upload<>>/F7> ... 2-13 NCPrograms:DataHandling<F4>... 2-14 NCPrograms:ExitNavigator<F9> ... 2-14 NCPrograms:Import<F4/F2> ... 2-14 NCPrograms:Export<F4/F3> ... 2-14 NCPrograms:Rename<F4/F4> ... 2-15 NCPrograms:Copy<F4/F5> ... 2-15 NCPrograms:Paste<F4/F6> ... 2-15 NCPrograms:Cut<F4/F7> ... 2-16 NCPrograms:ChangingofLevelwith<F9> ... 2-17 NCPrograms:ContinuingtheLevelwith<F8> ... 2-17 NCPrograms:Disable/Enable<>>/F3> ... 2-17 2.6 FunctionsintheNCPackageStructureView ... 2-18 NCPackages:GeneralInformation ... 2-19 NCPackages:New<F2> ... 2-19 NCPackages:Delete<F3> ... 2-20 NCPackages:DataHandling<F4>... 2-20 NCPackages:PreselectProgram<F5>... 2-20
NCPackages:Download<F7>... 2-20 NCPackages:PackageContent ... 2-22 NCPackages:Rename<F4/F4>... 2-23 NCPackages:Copy<F4/F5> ... 2-23 NCPackages:Paste<F4/F6> ... 2-24 NCPackages:Upload<F4/F7> ... 2-24 NCPackages:ExitNavigator<F9> ... 2-25 2.7 FunctionsintheNCPackageDataView ... 2-25 NCPackageDataView:Update... 2-25 NCPackageDataView:Tree+List ... 2-25 NCPackageDataView:View>> ... 2-25 NCPackageDataView:ExitNavigator... 2-25
3
NC
Editor
3-1
3.1 NCEditorOverview... 3-1 3.2 NCEditor:MenuFunctions ... 3-3 NCEditor:FunctionsunderFileMenu... 3-3 FunctionsoftheEditMenu ... 3-5 NCEditor:FunctionsunderViewMenu... 3-7 NCEditor:FunctionsunderPasteMenu ... 3-7 NCEditor:FunctionsunderExtrasMenu ... 3-8 NCEditor:FunctionsunderHelp"?"Menu ... 3-9 NCEditor:FunctionsunderWindowMenu... 3-10 3.3 NCEditor:PasteCycle ... 3-11 NCEditor:PasteCycle-Overview ... 3-11 NCEditor:HandlingthePasteCycleDialogBox ... 3-12
4
NC
Program
Assistant
4-1
4.1 Overview ... 4-1 4.2 General... 4-2 4.3 Step:NCProgram ... 4-3 4.4 Step:Function ... 4-4 Withoutmainfunction ... 4-5 LinearInterpolation-G00(positioninginrapidtraverse)/G01(linearinterpolation)... 4-7 Circularinterpolation–G02(clockwise)/G03(counterclockwise) ... 4-8 Dwelltime–G04... 4-10 Tapping–G63(withstoppedspindle)/G64(withturningspindle)... 4-11 Homing–G74 ... 4-12 Feedtopositivestop–G75 ... 4-13 Cancelfeedtopositivestop–G76 ... 4-14 AdaptiveDepth–G68(encoder1)/G69(encoder2)... 4-14 Mathematicalexpression ... 4-15
4.9 Step:Label ... 4-25 4.10 Step:Offset ... 4-26 4.11 Step:Comment ... 4-27 4.12 NCBlockNotSuitableForAssistance... 4-28
5
Macro
Editor
(MTC200)
5-1
5.1 GeneralInformationRegardingtheMacroEditor ... 5-1 5.2 MacroEditorCommands ... 5-1 MacroEditor:Editing... 5-2 5.3 MacroEditor:MenuFunctions ... 5-2 MacroEditor:FunctionsunderFileMenu... 5-2 MacroEditor:FunctionsunderEditMenu ... 5-3 MacroEditor:FunctionsunderViewMenu... 5-4 MacroEditor:FunctionsunderPasteMenu ... 5-4 MacroEditor:FunctionsunderMenuEntryHelp("?")... 5-4
6
Offsets
6-1
6.1 GeneralInformationonOffsets... 6-1 Offsets:StructureofScreen... 6-3 Offsets:IndicationofActiveData... 6-4 Offsets:DisplayasFullFrameorSegment(MTC200)... 6-4 Offsets:DataManagement ... 6-5 6.2 Offsets:UsingtheOffsetsEditor... 6-6 Offsets:MenuBar,FunctionKeyBar,Pop-UpMenu ... 6-6 Offsets:Shortcuts ... 6-7 Offsets:Editing... 6-7 6.3 Offsets:IndexintheProjectNavigator ... 6-8 Offsets:FunctionKeyBar,Pop-UpMenuintheTreeView ... 6-10 Offsets:FunctionKeyBar,Pop-UpMenuintheListView ... 6-10
7
NC
Variables
7-1
7.1 GeneralInformationonNCVariables ... 7-1 NCVariables:StructureofScreen... 7-3 NCVariables:DisplayasFullFrameorSegment(MTC200)... 7-4 NCVariables:DataManagement ... 7-4 7.2 UsingtheNCVariableEditor ... 7-5 NCVariables:MenuBar,Pop-UpMenu... 7-5 NCVariables:Shortcuts... 7-7 NCVariables:EditingofValuesintheTable... 7-8 NCVariables:ConfiguringandEditingtheTable ... 7-10 7.3 IndexofNCVariablesintheProjectNavigator... 7-12 NCVariables:FunctionKeyBar,Pop-UpMenuintheTreeView... 7-13 NCVariables:FunctionKeyBar,Pop-UpMenuintheListView ... 7-14
8
NC
Events
8-1
NCEvents:StructureofScreen... 8-3 NCEvents:DisplayasFullFrameorSegment(MTC200)... 8-4 NCEvents:DataManagement ... 8-4 8.2 UsingtheNCEventEditor ... 8-5 NCEvents:MenuBar,Pop-UpMenu ... 8-5 NCEvents:Shortcuts... 8-7 NCEvents:EditingofValuesintheTable... 8-8 NCEvents:ConfiguringandEditingtheTable ... 8-10 8.3 DirectoryofNCEventsintheProjectNavigator ... 8-12 NCEvents:FunctionKeyBar,Pop-UpMenuintheTreeView... 8-13 NCEvents:FunctionKeyBar,Pop-UpMenuintheListView ... 8-14
9
D
Corrections
9-1
9.1 GeneralInformationonDCorrections ... 9-1 DCorrections:StructureofScreen ... 9-2 DCorrections:IndicationofActiveData ... 9-4 DCorrections:DisplayasFullFrameorSegment(MTC200) ... 9-4 DCorrections:DataManagement ... 9-4 9.2 UsingtheDCorrectionEditor ... 9-5 DCorrections:MenuBar,Pop-UpMenu ... 9-5 DCorrections:Shortcuts... 9-7 DCorrections:EditingofValuesintheTable ... 9-8 DCorrections:TypeSelection ... 9-10 DCorrections:ConfiguringandEditingtheTable ... 9-11 9.3 DirectoryofDCorrectionsintheProjectNavigator ... 9-13 DCorrections:FunctionKeyBar,Pop-UpMenuintheTreeView... 9-14 DCorrections:FunctionKeyBar,Pop-UpMenuintheListView... 9-15
10 List
of
Figures
10-1
11 Index
11-1
12 Service
&
Support
12-1
12.1 Helpdesk ... 12-1 12.2 Service-Hotline ... 12-1 12.3 Internet ... 12-1 12.4 VorderKontaktaufnahme...-Beforecontactingus... 12-1 12.5 Kundenbetreuungsstellen-Sales&ServiceFacilities ... 12-2
1
NC
Program
Handling
1.1
General
Information
Regarding
NC
Program
Handling
TheNCprogrammingsystemsupportsthefollowingsystemfamilies:
• MTC200
• TRANS200
Note: Passageswhicharenotvalidforbothcontrolunitfamiliesare identifiedwiththevalidcontrolunitfamilyinparentheses.
• (MTC200) forcontrolunitfamilyMTC200
• (TRANS200) forcontrolunitfamilyTRANS200
Benutzerober_gr.bmp
Fig.1-1: Operatorcontrolusinggraphicuserinterface
The project navigator (PN) provides different screens for the various systemfamilies.
ThefollowingelementsareusedforoperationintheWin200desktopuser interface:
• Menubarwithhotkeysupport
• Pop-upmenus
• Functionkeybar
Controlelementscanbeactivatedasfollows:
• usingthemouse,
• usingthekeyboard(cursorkeys,tabkey,spacekey,andEnterkey). Certain functions inthe NC programmingsystem are protected byUser Management. These functions are available only if the user has the associated authorization. See User Management, dialog box "Rights of user",tab"NCProgSys".
Menu
bar
with
hotkey
support
The menu bar isadapted depending on the selected screen section. In otherwords,itprovidesallfunctionswhichcanbeexecutedinthescreen section selected. The menu bar can be controlled both with the mouse andthekeyboard.Ifthekeyboardisused,shortcutsandhotkeysarealso provided.
Function
key
bar
Operationvia thefunction key baris also referred to as "worker mode". Operation of the NC programming system is based on the BTV20. For thispurpose, alltheimportantfunctions canbeoperatedvia thefunction keys. The operator is thus permitted quick control actions. All functions thatcannot beoperated usingthe function keyshave to be selectedvia themenu.
Pop-up
Pop-upmenuscanbeusedforselectedentries.Pressingtherightmouse buttonopensa menu.From thismenu,theessential functionsrelatingto theparticularentrycanbeselected.
Keyboard
(operation
without
mouse)
Tooperatetheuserinterface viathekeyboard, theuserfunctionsknown from Windowsor theSAAstandard areused.Operationissimilar tothe processescommonlyappliedunderWindows.
Navigation is achievedbymeans of the cursorkeys and selection or by executing commands by pressing the <space bar> or <Enter>. In addition,theshortcut<Shift>+<F10>opensapop-upmenucontainingan editing selection list. Essentially, this list comprises parts of the F key assignment.
Mouse
Inadditiontoallotheroperationmodes–menubar,FKeybarandmouse click –a process selectioncan beactivatedviatheright mouse key,i.e. opening a pop-up menu. Essentially, this comprises parts of the F key assignment.
1.2
NC
Packages
(MTC200)
An NC program package contains all NC programs required for all MTC200 processes involved in editing. NC program packages are availableonlyfortheMTC200.
ApackageisalwaysloadedcompletelyintothememoryoftheMTC200. SingleNCprogramsor NCprograms of aprocess cannotbeloadedinto theMTC200.IntheTRANS,onlysingleNCprogramscanbeloaded.
1.3
Free
NC
Programs
So-called"freeNCprograms"arenotmanagedinNCprogrampackages. Theyarecreatedandmanagedwithintheprocesses.
Function "Active NCprogram" of the NCscreen can be used to access NCprogramsinmemoryAorBoftheNC.
MemoryID"NC","NCA"or"NCB"isdisplayedinthedirectoriesoftheNC programs /NCpackages onlyiftheNCprograms/NCpackagesloaded intothecontrolunitarecompletelyidenticaltothoseontheharddisk. If NC package data are modified without subsequent loading of the control unit, thememory IDvanishes. It is nolonger possible to access data in the control unit, although the programs in the memory of the controlunitarenotaffectedandprocessingcanbeexecutedwithlimits.
Thefollowingfunctionscannolongerbeused:
• activeNCprogram,and
• programpreselection.
Modificationsofthedataintheactivememoryareinducedby:
• pastinganNCprogramintothepackage,and
• importinganNCprogramintothepackage.
Modificationsofthedataintheinactivememoryarealsoinducedby:
• deletinganNCprogram,
• modifyinganNCprogram,
• renaminganNCprogram,and
• deletinganNCprogram.
Note: Ifaccess tothe dataintheNCmemoryisto beretained,the modifiedpackagemustbereloadedintothecontrolunit. Thebest procedureisto generate acopyof theNCpackage andtomakethedesiredchangesinthecopy.
1.5
NC
Program
Preselection
(MTC200)
Using program preselection (not provided with the TRANS200), the operator can preselect and activate the active memory and an NC programforprocessing.
1.6
Active
NC
Program
Whenfunction "ActiveNCprogram" is calledintheoperator screen,the active program in the active NC memory of the CNC is offered immediately for modification of the selected process. After quitting the editor,theNCprogramissavedtotheharddiskandautomaticallyloaded intothecontrolunit.
Note: In order to call the editor in the active NC memory, an NC program/packagemusthavealreadybeenproperlyloadedinto theactivecontrolunitmemory.
2
Representation
in
the
Project
Navigator
2.1
General
Information
About
the
Project
Navigator
Note: AlloftheillustrationsrelatetotheMTC200only.
TheTRANS200hasneithertheOPkeybarnorNCpackages.
TheNCprogrammingsystemcomprisesthetwofollowingparts:
NCpackagehandling There are max. 99 NC packages with up to 7 processes(process0toprocess6,dependingon thesettingsinthemachineparameters)andmax. 99NCprogramsperprocess.
FreeNCprograms The free NC programs are only assigned to the processes.IfafreeNCprogramisdownloaded,a package number and a program number are assigned internally. This assignment cannot be affected by the user. Only the NC program marked in the process selectedis loaded. If the NC memory contains NC programs of other processes, then these are deleted from the memory.ThepurposeofthefreeNCprogramsis to process individualNCprograms.Furthermore, theycan beused to quicklytest an NCprogram inthe controlunit before it is implemented in an NCpackage.
Note: TheTRANS200 control unit operates with free NC programs only.
Representation
of
the
Project
Navigator
Thenavigator canbedisplayed inthree differentviews andaccording to threeorderingcriteria.
Therearethefollowingthreeviews:
Thisviewisintendedforquicknavigationwithinthetree.
ProjectnavBaum_gr.bmp
Fig.2-1: Projectnavigatortreeview
The list view is intended for the operator at the machine. The list view displaystheprojectnavigatorif calledupfromtheNCscreens.Thus,the operatordoesnothavetobotherwiththecomplexstructureoftheproject navigator. Only those sections are displayed which are required for the taskselected.
Thelistdisplaysallinformationonthevariousprograms atthesametime (seeFig.2-2).
Projectnavigatorasatree
ProjectnavList_gr.bmp
Fig.2-2: Projectnavigatorlistview
Thisviewisintendedforquicknavigationandviewingofdata.
ProjectnavBauList_gr.bmp
Fig.2-3: Tree+listviewofprojectnavigator
2.2
Structure
View
The structure view assigns data to the individual control units. Each controlunitisprovided withitsown dataarea.This dataarearepresents theprocess-dependentdataintheprocesses.
Struktursicht_gr.bmp
Fig.2-4: RepresentationoffreeNCprogramsinprojectnavigator
StruktursichtPaket_gr.bmp
2.3
Data
View
Thedataviewcollectsalldataofonesectorandorganizesitforallcontrol units in the same group. The following areas are applicable to the NC programmingsystem(seeFig.2-6):
• NCpackages(MTC200)
• FreeNCprograms
Datensicht_gr.bmp
Fig.2-6: RepresentationoffreeNCprogramsindataview
DatensichtPaket_gr.bmp
2.4
Configuration
View
Machine parameters and machine data arehandled in the configuration view.Themachineparametersareusedtomakethebasicsettingsofthe controlunit(e.g.numberofprocesses(MTC200).
NoNCdataisshownintheconfigurationview.
Konfigsicht_gr.bmp
2.5
Functions
in
the
Structure
View
(Free
NC
Programs)
The sections belowdescribe thefunction key assignment inthe various levels.
The function key assignment changes depending on whether the active cursorispositionedinthetreeorinthelistview.
FkeyCurTree_gr.bmp
Fig.2-9: FunctionkeysforfreeNCprograms:activecursorisintree
FkeyCurList_gr.bmp
NC
Programs:
New
<F2>
ThisfunctionopenstheNCeditorwiththecontentofthetemplatefile.
TheNCeditorisstarted.
The template file of thecurrent process is loaded. It is displayed inthe editorwindow.Thecursorisinthefirstline.
The identificationof theNCprogram is automaticallyinitialized with "NC Prg. <time stamp>" (year/month_hour/minute_second). On saving, the identificatorcanbechanged.
The identificator is provided for identification of an NC package. The identificator has 32characters and is savedas UNI code.The following characters are not permitted for the identificator and are refused during entry: /,\,:,*,?,",>,<,|@
NC
Programs:
Delete
<F3>
This function deletes one or more NC programs from the NC program directory.
The user selects one or more NC programs from the NC program list. TheNCprogram(s)is(are)deletedbyclickingthe"Delete"key.Programs currently transferred to the control unit (identified by NC, NC A, NC B) cannotbedeleted.Amessageboxisdisplayed.
FkeyLoeDown_gr.bmp
Fig.2-11: DeletionofanNCprogramloadedintoNCnotpossible
IfoneoftheseNCprogramsisjustbeingprocessed(edited,loaded),this functionisnotavailableeither.
Note: DeletionofNCprogramscannotbeundone! Process
NC
Programs:
Preselect
Program
(MTC200)
<F5>
Note: Function "Preselect program" is only available for the MTC200.
TRANS200: After a NC program is downloaded, it is automaticallypreselected.
Select the program selection screen by clicking function key "Preselect Program". The program preselection screen is applicable only for the currentprocess.
Fkey_Progrwahl_gr.bmp
Fig.2-12: Programpreselectionscreen
TheprogrampreselectionscreendisplaystheNCprograms containedin thecontrolunit intheselectedNCmemory. Select anNCprogram from this list by clicking function key "Preselect Program" or using <Enter>. This activates theassociated memoryand preselects the program. This NC program is processed the next time the NC is started. Press F key "Cancel" or <Esc> to exit program preselection without making a preselection.
In addition, the active program memory can be selected by clicking functionkey"MemoryB"or"MemoryA".
After program preselection, the preselected and the active program are thesame.If branchingintoanotherprogramoccurswhiletheprogramis beingprocessedorduringarecordssearchduetoaJumpcommandora subprogramcall, thisprogram, whichdiffersfrom thepreselectedone,is active.
Likewise, thepreselected program inMDI operation is maintained while "MDI"isdisplayedastheactiveprogram.
Process
Differencebetweenpreselected
Note: The preselected program number is retained in the NC memory even after a new NC package/program is loaded. This number can thus be assigned to a totally different NC programwhichisprocessedwith"Start"withoutpreselectinga programagain.
NC
Programs:
Edit
<F6>
ThisfunctioncanbeusedforeditingtheNCprogramselected.
The user selects an NC program from the NC program list. Start the editor by clicking function key "Edit" or using the pop-up menu; if a program has already been edited before, the cursor is at the same positionwhereitwasplacedwhentheeditorwasexited.
Note: If an NC program that is in the active memoryof the NC is edited,themodifiedNCprogramisbothsavedtotheharddisk andautomaticallyloadedintotheNCwhenexitingtheeditor.
NC
Programs:
Download
<F7>
The downloadfunction isavailable only if the parameter set isactive. If thecontrolunitisinofflineoperation,thisfunctionisnotavailable.
Ifanactiveparametersetisnotavailable,aparameterdownloadmustbe executed.
Performaparameterdownload.
Thenrestartthedownloadfunction.
TheNCprogramselectedisdownloadedtotheNC.
The user selects an NC program from the NC program list. The NC programisloadedintotheNCbyclickingfunctionkey"→ NCDownload". Downloadingispossibleonlyifthereisno"Processactive"signal.
There is a "Process active" signal if an NC program is currently being processedfromtheactivememory.If anattemptismadetonevertheless executeadownload,anerrormessageappears.
In preparation, a program/package can be loaded into the inactive memorywhileaprogramisbeingprocessedintheactivememory. IftheNCprograminnotenabled,thefollowingdialogboxappears. Process
FkeyDownload1_gr.bmp
Fig.2-13: LoadinganNCprogramthathasnotbeenenabled
If NCmemories A andBare available(incaseof MTC200 control units only),thefollowingdialogboxappears:
FkeyDownload1_gr.bmp
Fig.2-14: Memoryselection
WhiletheNCprogramistransferredtothecontrolunit,aprogress baris displayed.
TheNCprogramdownloadedisselectedbyitsmemoryidentification(NC A and/or NC B) in the "Memory" column of the list. If the TRANS200 control unit is used, the program downloaded is identified by the NC symbol.
Anerrormessageisgeneratedif anerroroccurswhiledownloading isin progress.
Afterwards,theenvironmentopenstheeditorandplacesthecursoratthe erroneous position in the NC program. The erroneous NC block is displayedinred.
FkeyDownload3_gr.bmp
Fig.2-15: Displayoferroneousposition
Theerrormustbecorrected inthe editor.Then theeditor canbeexited. The loading procedure continues automatically. If the error is not corrected,theloadingprocedureiscancelled.
IftheNCprogramcontainscommandswhichmustbecompiled,theyare compiled automatically. If errors are detected during compilation, the download is interrupted. The error is handled in thesame way as is an errorduringdownloading.
IftheNCprogramtobedownloadedisjustbeingprocessed(editor), itis notpossibletodownloadthisspecificNCprogram.
FkeyDownload1_gr.bmp
Fig.2-16: LoadinganNCprogramjustbeingprocessednotpossible
SuccessfulcompletionofthedownloadisdisplayedbytheGUI.
NC
Programs:
Upload
<
>>/F7>
This function loads oneor more NCprograms from theNC into theNC programdirectoryoftheinterface.
The TRANS200 has only one memory in which no more than one NC programatatimecanbelocated.
Theuploadprocedureisstartedbyclickingfunctionkey"← NCUpload".
• IfthereisanNCprograminbothmemoriesofthecontrolunit(onlyfor theMTC200 controlunit), thememoryselection boxis opened;here, theusermustdecidefromwhichmemorythedataaretobeloaded.
• If thereareNCprograms inonlyonememory(nomore thanoneNC program for the TRANS200), theseare immediately loaded from the correspondingmemory.
• IfthereisnoNCprograminthememory,amessageisissuedandthe uploadprocedureisterminated.
A progress bar isdisplayed during the transfer of the NC program from the control unit to the NC program directory of the interface; the bar disappears automatically when the upload procedure is complete. If the userpressesthe"Cancel"buttonwhichiscontainedinthedialogboxwith theprogressbar,theuploadprocedureiscancelledimmediately.
Therearetwotypesofcompleteuploads: 1. NCprogramupload–creation
Anew "active" NCprogram iscreated intheGUI.This requires that theGUIdoesnotcontainanyNCprogramhavingthesamenameas theNCprogramfrom thecontrolunit.TheNCprogramistransferred from the control unit to the NC program directory of the GUIand is providedwiththenameanddateoftheoriginalNCprogram.
2. NCprogramupload–update
AnexistingNCprogramis updatedintheGUI.This requiresthatan NCprogramexistsintheGUIwhichhasthesamenameastheactive NCprograminthecontrolunit,butdoesnothavethesamecontents. Process
After the question for overwriting has been confirmed, the NC programisupdatedandisprovidedwiththedate oftheNCprogram inthecontrolunit.
Aftertheupload,theNCprogramloadedfromthecontrolunitisidentified asa"loaded"NCprogram(aloadedNCprogramisidentifiedwithbitmap "NC"intheTRANS200andwithbitmaps"NCA"or"NCB"intheMTC).
NC
Programs:
Data
Handling
<F4>
Function key "DataHandling" permits branchingto the next level of the functionkeybar.
NC
Programs:
Exit
Navigator
<F9>
The project navigator is closed. The window that was active last will be activatedintheforeground.
Note: OpenNC editors will stay open. They can be selectedusing the"Window"menuitem.
NC
Programs:
Import
<F4/F2>
An NC program can be imported from a physical data carrier to the currentdirectoryofNCprogramsintheprojectnavigator.
ImportingispossibleforanNCprogramthatwasexportedintheinternal format of the machine tool interface with versions V18-V19 ("*.dat") or V20-V22("*.npg") or inversionV22 asa textfile inUNIcode ("*.uni") or ASCIIcode("*.txt").
Furthermore,this function permits theuser to load a textfile (UNICODE or ASCII with or without NCblock numbers),which has been created in "text" format (TXT) using an external editor ("NOTEPAD"), into the internalNCprogramdirectoryoftheGUI.Thetextfileshouldcomplywith a format specified by Rexroth Indramat (file header). If there is no file header,thedataaresupplementedautomatically.Anymissingdatamust beentered.
Callthefunctionbyclickingfunctionkey"Import".
A dialog box appears, permitting the user to select the source (drive, directorypathandnameofthefiletobeimported).
Anadditionaldialogboxcanbeusedtoentertheidentifier.Thefilename ispreassignedastheidentifier.
If the identifier is alreadyavailable for theprocess selected, the system returnstothedialogboxforenteringtheidentifier.
Acheckbox inthedialogbox canbeusedto definewhethertheeditoris tobeopenedautomaticallythereafter.
Defaultvalue:"Activated".
NC
Programs:
Export
<F4/F3>
Oneor moreNCprograms canbeexportedfrom thecurrentdirectoryof NCprogramsintheprojectnavigatortoaphysicaldatacarrier.
Theprogramstobeexportedaretobeselectedfromthecurrentdirectory Process
programasof versionV20 of themachinetoolinterface ("*.npg")andas textfilesinUNIcode("*.uni")andASCIIcode("*.txt").
WhenseveralNCprogramsareselected,theiridentificationsareusedfor theexportedNCprograms;thespecification of theprogramnameinthe dialogboxfieldisignored.
The drive directory is saved by the program and is set as the default settingthenexttimethatthefiledialogboxiscalled.
NC
Programs:
Rename
<F4/F4>
ThisfunctionrenamesanNCprogram.
Adialog box field isdisplayed, inwhich anotherunique identifier can be assignedfortheprogrammarkedinthedirectoryofNCprograms.
IftheselectedNCprogramisloadedintheNCandislocatedintheactive memory,thisfunctionisnotavailable.
NC
Programs:
Copy
<F4/F5>
ThisfunctioncopiesoneormoreNCprogramstotheclipboard.
TheuserselectsoneormoreNCprogramsfromtheNCprogramlist. TheNCprogram(s)is(are)copiedtotheclipboardbyclickingfunctionkey "Copy".
NC
Programs:
Paste
<F4/F6>
This function pastes the NC programs contained in the clipboard to the currentNCprogramdirectoryoftheGUI.
Thisfunctioniscalledbypressingthe"Paste"functionkey.
The NC program(s) is(are) included inthe NC directory structure of the processselected.
Thefollowingdialogboxisdisplayed:
FkeyEinfügen1_gr.bmp
Fig.2-17: IdentifierforpastedNCprogram
Process
Process
Itischeckedwhethertheidentifierisalreadypresentintheprocess.Ifthe identifier isdetectedinthecurrentNCdirectory,theuser isrequested to adjusttheidentifier.
Theidentifiercanbereentered.
NC
Programs:
Cut
<F4/F7>
This function cuts one or more NC programs and copies them to the clipboard.
TheuserselectsoneormoreNCprogramsfromtheNCprogramlist. TheNCprogram(s)is(are)copiedtotheclipboardanddeletedbyclicking function key "Cut". If one of the NC programs selected is loaded inthe NC,thisfunctionisnotavailable.Thefollowingmessageboxisdisplayed:
FkeyAusschneiden1_gr.bmp
Fig.2-18: Cutfunctionnotavailablebecauseselectedprogramisloaded
If an NC program is selected which is currently being processed in the editor,thefollowingmessageboxappears:
FkeyAusschneiden2_gr.bmp
Fig.2-19: Cutfunctionnotavailablebecauseselectedprogramisbeingedited
NC
Programs:
Changing
of
Level
with
<F9>
The<F9> keycanbeusedtomovetothenexthigherlevelinthe functionkeybar.
NC
Programs:
Continuing
the
Level
with
<F8>
Usingthe">>"key,youadvancewithinoneoperationlevel.
NC
Programs:
Disable/Enable
<
>>/F3>
This function enables/disablesanidentifier inregardto thetest statusof this file. If the fileis disabled,a warning is displayed on loadinginto the NC(seeNCPrograms:Download<F7>).
The user selects an NC program from the NC program list. The NC program can be enabled for use or an enabled NC program can be disabled by clicking function key "Disable/Enable". In the list, the concerned item appears inthecolumn "Disabled". The defaultsetting is "Enabled". A disabled program is marked by an "X" in the "Disabled" column.
2.6
Functions
in
the
NC
Package
Structure
View
The sections belowdescribe thefunction key assignment inthe various levels.
The function key assignment changes depending on whether the active cursorispositionedinthetreeorinthelistview.
PaketStrukturTree_gr.bmp
Fig.2-20: Structureview:cursorintree
NC
Packages:
General
Information
An NC package comprises all NC programs required for processing a "workpiece"forallprocessesinvolved.
The number of NC packages is limited to 99. Each NC package is uniquelyidentifiablebyitspackagenumberandidentifier.
The NCpackagenumber is a numberbetween 1 and 99.Each number maybeassignedonlyonce.
The identifier is provided for identification of an NC package. The identifier has 32 characters and is saved as UNI code. The following characters are not permitted for the identifier and are refused during entry: /,\,:,*,?,",>,<,|@
Theidentifier maybeused,forinstance,forclassification oras asorting andsearchcriterion.
NC
Packages:
New
<F2>
ThisfunctioncreatesanewemptyNCpackage.
This function iscalled by pressingthe "New" function key. A dialog box appears,wherethepackagenumberandtheidentifieroftheNCpackage mustbeentered.ThefirstunassignedNCpackagenumberandaunique NC package identifier are already specified. The user can change the packagenumberandidentifier.
PaketNeu_gr.bmp
Fig.2-22: Enteridentifier
Any already available package numbers are rejected. The following messageboxisdisplayed:
Description
Number
Packagenumber
Identifier
PaketNeu1_gr.bmp
Fig.2-23: Unallowedpackagenumber
The inputdialog reappears; thepackageiscreated after a valid number hasbeenentered.
NC
Packages:
Delete
<F3>
ThisfunctiondeletestheNCpackageselected.
SelectanNCpackagefromthelist(ortree)containingtheNCpackages. The function isselected via the "Delete" F key. If the packageis inthe activememory,thisfunctionisnotavailable.
Note: DeletionofNCpackagescannotbeundone!
NC
Packages:
Data
Handling
<F4>
The function key "Data Handling" permits branching to the next level of thefunctionkeybar.
NC
Packages:
Preselect
Program
<F5>
See2.5FunctionsintheStructureView(FreeNCPrograms).
NC
Packages:
Download
<F7>
The downloadfunction isavailable only if the parameter set isactive. If thecontrolunitisinofflineoperation,thisfunctionisnotavailable.
Ifanactiveparametersetisnotavailable,aparameterdownloadmustbe executed.
Performaparameterdownload.
ThenrestarttheNCpackagedownloadfunction. Process
SelectanNCpackagefromthelist(ortree)containingtheNCpackages. The package is loaded into the NC by clicking function key "→ NC Download". Downloading is possible only if there is no "Process active" signal.
There is a "Process active" signal if an NC program is currently being processedfromtheactivememory.Ifanattemptismadetonevertheless executeadownload,anerrormessageappears.
In preparation, a program/package can be loaded into the inactive memorywhileaprogramisbeingprocessedintheactivememory. IfanNCprogramof thepackagehasnotyetbeenenabled, thefollowing dialogboxappears.
PaketDownFehl_gr.bmp
Fig.2-24: LoadingapackagewithadisabledNCprogram
The download is interrupted. The disabled NC program must first be enabled.
ThepackagecanalsobeloadedintothecontrolunitonlyifthereisnoNC programwith status"E" (syntaxor compilererror)ina programdirectory ofthepackages.
TransferringanNCpackageto
Thenadialogboxforselectingthememoryappears.
PaketDown_gr.bmp
Fig.2-25: Memoryselection
Afterconfirmation,theprogressbarisdisplayed:
An errormessage is generated if anerror occurs during downloading in anNCprogram.
In this event, the GUI opens the editor with the corresponding NC programandpositionsthecursorattheerrorpositionintheprogram.The defectiveNCblockisdisplayedinred.Theerrormustbecorrectedinthe editor. Then the editor can be exited. The package is transferred automaticallyto the controlunit. If the erroris notcorrected, theloading procedureiscancelled.
If the NC packagecontains NCprograms which must be compiled, this compilation occurs automatically. If errors are detected during compilation,thedownloadisinterrupted.Theerrorishandledinthesame wayasisanerrorduringdownloading.
IfoneoftheNCprogramscontainedinthepackageto bedownloadedis just being processed (editor), it is not possibleto download this specific package.
TheNCpackagedownloaded isselectedbyits memoryname(A and/or B)inthe"Memory"columnofthelist.
SuccessfulcompletionofthedownloadisdisplayedbytheGUI.
NC
Packages:
Package
Content
This function displays the content of an NC package. The next level displayed is the process level. As a precondition for this level, a parametersetmustbeavailable.
Use the process level to make your selection and then return to the packagecontentlist.
PaketInhalt_gr.bmp
Fig.2-26: ContentsofanNCpackage
The NC program directory provides the same functions as the free NC programdirectory–exceptthedownloadfunction.
NCpackagescanbetransferredonthepackagelevelonly. ItisnotpossibletostartadownloadofasingleNCprogram.
NC
Packages:
Rename
<F4/F4>
ThisfunctionrenamesanNCpackage.
Adialog box field isdisplayed, inwhich anotherunique identifier can be assignedforthepackagemarkedinthedirectoryofNCpackages.
If the NC package selected is loaded in the NC, this function is not available.
NC
Packages:
Copy
<F4/F5>
ThisfunctioncopiesanNCpackagetotheclipboard.
TheuserselectsanNCpackagefromtheNCpackagelist.
The NC package is copied to the clipboard by clicking function key "Copy".
Process
NC
Packages:
Paste
<F4/F6>
This function pastes the NC package contained in the clipboard to the currentNCprogramdirectoryoftheGUI.
Thisfunctioniscalledbypressingthe"Paste"functionkey. TheNCpackageisincludedintheNCdirectorystructure. Thefollowingdialogboxisdisplayed:
paket-copy_gr.bmp
Fig.2-27: Pasteapackage
NC
Packages:
Upload
<F4/F7>
This function loads an NC package from the NC into the NC program directoryoftheinterface(onlyfortheMTC200).
AnNCpackagecanbelocatedinbothmemoryAandmemoryB.
Theuploadprocedureisstartedbyclickingfunctionkey"← NCUpload".
• If thereisanNCpackageineachof thememories ofthecontrolunit, thememoryselectionboxisopened;here,theusermustdecidefrom whichmemorytheNCpackageistobeloaded.
• If there is an NC package in only one of the memories, this is immediatelyloadedfromthecorrespondingmemory.
• IfthereisnoNCpackageineithermemory,amessageisissuedand theuploadprocedureisterminated.
AprogressbarisdisplayedduringthetransferofanNCpackagefromthe control unit to the NC program directory of the interface; the bar disappears automatically when the upload procedure is complete. If the userpressesthe"Cancel"buttonwhichiscontainedinthedialogboxwith theprogressbar,theuploadprocedureiscancelledimmediately.
Process
When anuploadis complete, a dialogbox is opened, inwhich the user must enter a unique package number and a unique identifier for the package.Presetsforbothparametersareprovidedbytheprogram:
• PackageNo. –nextpackagenumberthathasnotyetbeenused.
• Identifier –identificationoftheNCpackagefromtheNC. If one of the two parameters is not unique, an errormessage is issued andthedialogboxisopenedagain.
NC
Packages:
Exit
Navigator
<F9>
The project navigator is closed. The window that was active last will be activatedintheforeground.
2.7
Functions
in
the
NC
Package
Data
View
The section below describes the function key assignment for the data view.
PaketDaten_gr.bmp
Fig.2-28: DataviewofNCpackages
NC
Package
Data
View:
Update
Theprojectnavigatorisupdated.
NC
Package
Data
View:
Tree
+
List
Theprojectnavigatorandthepertinentlistaredisplayed.
NC
Package
Data
View:
View
>>
Thedisplaychangestothestructureview.
NC
Package
Data
View:
Exit
Navigator
The project navigator is closed. The window that was active last will be activatedintheforeground.
3
NC
Editor
3.1
NC
Editor
Overview
TheNCeditorcontainstwooptionalviewsforprocessinganNCprogram.
ThisviewpermitseditingoftheentireNCprogram“asdesired”(aswitha texteditor).
Theassistantviewpermits editingofeach single lineof theNCprogram with the help of an "assistant". The assistant guides the user such that only syntacticallycorrect NC blocks can be created. An already existing NCblockisfirstinterpretedandthenassignedtotheappropriate"tabs".If a uniqueassignmentis notpossible inthis process,the block isoffered forfree"editing" inaneditingfield.Onlyinthis case isit possibleto edit thelinedirectly.Ifanemptyblockorablockwhichhasjustbeenpastedis concerned, all dialog elements are in their initialization state. After actuation of the dialog elements, the NC words assigned to them are pastedintotheblock,deletedoroverwritten.
The assistantviewalso provides anNCprogram view.There, the entire programcan beviewed, asis thecaseinthe editor view,butcannot be edited character by character. This view permits navigation across the entire program as well as deleting and pasting line by line. The NC assistantisnotavailablefortheMTC200.
Note: TheNCassistant is availableforthe MTCwith only a limited rangeoffunctions.
IftheMTC200isconcerned,theNCeditorviewcanbechangedfromone view to the other at any time by using the menu bar, i.e. "View → NC Assistant/NCEditor""aswellasbyclickingthe"NCAssistant"and"NC Program"function keys respectively. If theTRANS200is concerned,the "Assistantview"isalwaysset.
Byclickingthe<F4>key,"NCProgramIndex",theusercanreturntothe respective directory. The editor remains open and can be reactivated usingthe"Window"menu.
The NC editor (irrespective of whether the editor or assistant view is selected)iscapable of workingwith severalwindows andis fullyaligned with the Windows standard as regards the usual key combinations (selecting, block commands, search, etc.). It has the following basic characteristics:
• Basicmechanismstoavoiddataloss(BAKfiles).
• Navigation: character bycharacter,word byword, linebyline, Home, End,andviasearchfunction.
• Scrollfunctionusingscrollbar,cursorpositioning,andkeys.
• Selection:characterbycharacter,wordbyword,linebyline,entirefile. Restriction: If several lines are selected, only complete lines are enclosedbytheblock.
• Block numbering: After each alteration, the NC blocks are renumbered.
Editorview
Editor_gr.bmp
Fig.3-1: Editorwithmenu,functionkeybar,andpop-upmenu
If the NC program concerned is detected to be an active (loaded) program, the download process is automatically activated after saving. Beforehand, it is checked whether all requirements for downloading are compliedwith.
If downloading is not possible (active process), proceed as follows to avoidalossofdata:
• FreeNCprogram
• Copytheentireprogramcontentstotheclipboard.
• Movetotheprogramdirectory.
• CreateanewNCprogram.
• Pastethecontentsoftheclipboardintothenewprogram. NCprograminpackage
• Copytheentireprogramcontentstotheclipboard.
• Movetothepackagedirectory.
• CreateanewNCpackage.
• CreateanewNCprogram.
• Pastethecontentsoftheclipboardintothenewprogram. Commandscanbeselectedvia
• themenubar,
• thepop-upmenu,
• thefunctionkeys,
• usingshortcuts.
Thelistofcommandsprovidedisdependentonthesectionofthegraphic
ActiveNCprogram
Syntax highlighting displays NC block components in different colors according to their syntactic meaning and their status (erroneous or unalterable).
Differentiationismadeamong:
• NCwords
• commentsandnotes
• NCblocknumbers
• Labelagreements
• Macros
• Tnumbers
• errors(recognizedaftera programdownloadandbreachingofcertain simplesyntacticrulesthatarerecognizedintheeditor).
Note: The positions where macros areused can have the color of NCwordsundertheconditionthatthelocalorglobalmacrois temporally defined only after it has been used. The color assignmentisupdatedaftertheprogramisreopened.
3.2
NC
Editor:
Menu
Functions
NC
Editor:
Functions
under
File
Menu
NC
Editor:
File
Menu
\
New
<Ctrl>+<N>
ThisfunctionopensanewemptyNCprogramintheNCeditorbymeans ofthetemplatefile.
AnewNCprogramiscreatedonthebasisofthetemplatefilerelevantfor theprocessconcerned.Itisdisplayedintheeditorwindow. Thecursoris atthestartof thefirst line.Thenameof theNCprogramisautomatically initialized with "NC Prg <time stamp>". Also refer to the template file describedinsection2.1,GeneralInformationAbouttheProjectNavigator.
NC
Editor:
File
Menu
\
Save
<Ctrl>+<S>
This function saves the NC program in the internal directories of the graphicuserinterface.
IftheNCprogramhasbeennewlycreated,adialogboxappearsinwhich the user can assign an identifier and, if it is a program within an NC programpackage,aprogramnumbertotheNCprogram:
Syntaxhighlighting
Shortcut
Process
Shortcut
Editor1_gr.bmp
Fig.3-2: DialogboxforsavinganNCprogram
The identifier is already set to "NC Prg <time stamp>" (year/month_hour/minute_second),butcan bemodifiedbytheuser. The entry field for the NC program number always provides the first free numberinthecurrentdirectory.The<Cancel>button aborts thefunction "Save". When the <Ok>button is pressed, the program is stored inthe NCprogramdirectoryundertheidentifiershown.
NC
Editor:
File
Menu
\
<Ctrl>+<P>
This function prints theNCprogram. NCprograms areprintedusingthe general print component. For detailed information on the process and formoftheprintout,seethedescriptionoftheprintingcomponent.
NC
Editor:
File
Menu
\
Exit
NC
Editor
ThisfunctionexitstheopenNCeditor.
If theNCprogramopenedbytheuser hasbeen newlycreated, adialog box appears for entering an identifier and, within an NC program package,forenteringtheprogramnumber.
The identifier is already set to "NC Prg <time stamp>" (year/month_hour/minute_second);theprogramnumberispresetwiththe firstfreenumberinthedirectory.Theboxhasthreebuttons:
<Ok> saves the program under the desired identifier and closes the editor, <Cancel>returnsto theeditor withoutsaving,and <Donotsave> rejectsthecontentsofthefileandclosestheeditor.
If a previouslyexistingprogramcontainingunsaved changes is edited,a dialog box (Yes, No, Cancel) requests the user to decide whether he wishes to save the changes made. The <Cancel> button aborts the function"Exit".
Shortcut
theNC(in theMTC200 with thelimitationthat theloaded programmust be a component of the currently active program memory A or B), the "Download"functionisautomaticallyexecutedaftersaving.
Note: Toensurethattheautomaticdownloadfunctionscorrectly,the activememorymaynotbeswitchedbetween Aand Bonthe MTC200afteropeningtheloadedNCprogram.
Downloadingcanalso bestarted aftera delayif otherloaded NCprogramsofthedeviceareopenatthetimeofexiting.
NC
Editor:
File
Menu
\
Exit
All
NC
Editors
ThisfunctionclosesallopenedNCeditors.
If an NCprogram or cycleprogram that is openedby theuser contains unsavedchanges,theuserisrequestedinadialogboxforeachprogram, suchas under"Exit NCEditor", to decidewhether hewants to savethe changes;inthecaseofnewprograms,hemustalsodecideunderwhich identifier and, if required,under whichprogram numberit is to besaved (onlyforpackagesfortheMTC200).
The "Exit All NCEditors" function is notavailable if the programs to be saved include both loaded NC programs and loaded cycles or loaded programsthataredistributedoverseveraldevices.
Functions
of
the
Edit
Menu
NC
Editor:
Edit
Menu
\
Undo
<Ctrl>+<Z>
Thisfunctionpermitsundoingofalimitednumberofeditingsteps.
With this function, the modifications of individual lines can be undone (deleteline,pasteline,editingprocedureswithinaline,aswellascutting, pastinganddeletingblocksthatcoveroneormorelines).
NC
Editor:
Edit
Menu
\
Redo
<Ctrl>+<Y>
Thisfunctionpermitsredoingeditingstepswhichhavebeenundone.
NC
Editor:
Edit
Menu
\
Cut
(Block)
<Ctrl>+<X>
The area selected is copied to the clipboard and deleted in the NC program.Afterthat,theblocknumbersareupdated.
NC
Editor:
Edit
Menu
\
Copy
(Block)
<Ctrl>+<C>
Thehighlightedsectioniscopiedintotheclipboard.
NC
Editor:
Edit
Menu
\
Paste
(Block)
<Ctrl>+<V>
Thetext containedintheclipboardispastedinto theNCprogramat the currentcursorposition.Afterthat,theblocknumbersareupdated.
Process(foreacheditor
window) Shortcut Shortcut Shortcut Shortcut Shortcut
NC
Editor:
Edit
Menu
\
Delete
(Block)
<Del>
The selected section is deleted. After deleting, the block numbers are updated.
Note: Unless an area is selected, the line at the current cursor positionisdeletedintheassistantview.
NC
Editor:
Edit
Menu
\
Search
<Ctrl>+<F>
Aspecifiablecharacterstringcanbesearchedforintheentireprogram.
NC
Editor:
Edit
Menu
\
Search
Again
<Ctrl>+<R>
Thenextoccurrenceof thelast-enteredcharacterstringcanbesearched forintheentireprogram.
NC
Editor:
Edit
Menu
\
Replace
<Ctrl>+<H>
Aspecifiablecharacterstringcanbereplacedbyanothercharacter string intheentireprogram.
Note: Thisfunctionisnotavailableintheassistantview.
NC
Editor:
Edit
Menu
\
Go
to
Start
of
File
<Ctrl>+<Home>
Movesthecursortothestartofthefile
NC
Editor:
Edit
Menu
\
Go
to
End
of
File
<Ctrl>+<End>
Movesthecursortotheendofthefile
NC
Editor:
Edit
Menu
\
Select
Line
Thecurrentlineisselected. Shortcut Shortcut Shortcut Shortcut Shortcut Shortcut
NC
Editor:
Edit
Menu
\
Select
All
<Ctrl>+<A>
TheentireNCprogramisselected.
Note: There are a number of additional positioning, selecting, blockingandeditingfunctionswhichareavailableasshortcuts only (see NC Editor: "?" Menu \ Shortcuts). Only the most important functions have been explained here. The primary functionsarealsoavailableviatherightmousekey.
NC
Editor:
Edit
Menu
\
Display
Syntax
Error
This function displays a note ona syntax errorand moves thecursor to theerroneousposition. Asyntaxerrordisplayed inthismanner hasbeen registered before,namelywhen theNCprogram was downloadedto the controlunit.
NC
Editor:
Functions
under
View
Menu
NC
Editor:
View
Menu
\
Main
Menu
Thisfunctionmovesthesystemtothemainmenu.
NC
Editor:
View
Menu
\
NC
Program
Directory
Thisfunctionmovesthesystemtothecurrentprogramdirectory.
NC
Editor:
View
Menu
\
NC
Assistant
ThisfunctionmovesthesystemtotheNCassistantviewoftheeditor.
NC
Editor:
Functions
under
Paste
Menu
NC
Editor:
Paste
Menu
\
NC
Block
A new NC block, including the block number, is inserted. This block appears in front of the current line if the cursor is positioned on the 1st column or the assistant view is set; otherwise, it is displayed after the current line. The text is applied in the new block starting at the current columnposition.
In the editor view, a new block can also be pasted by pressing the <Enter>key.
NC
Editor:
Paste
Menu
\
Cycle
This function allows the call of an NC cycle, including parameter assignment,tobepastedintotheNCprogramusingdialogboxes.
This command opens its own dialog box which covers that of the NC editor.
This menu function isavailable if at leastone cycle was loadedinto the NCinthecurrentprocess.Itisnotavailableintheassistantviewandfor theTRANS200.
NC
Editor:
Functions
under
Extras
Menu
NC
Editor:
Extras
Menu
\
Options
TheOptions functionisused to makethefollowingbasicsettings forthe NCeditor:
Font and size. The size of the standard font for editors preselected by RexrothIndramat cannotbechanged.Thesizesof allotherfontscan be changedbytheuser.
Display of a status bar in the editor view. The status line shows the position of thecursor,thestatus of theeditor(insert oroverwrite mode), andthenumberofNCblocks.
Startofeditingintheassistantoreditorview.Thisfunctionisnotavailable intheTRANS200.
Using the "Cancel" button or <Esc>, it is possible to leave the options dialogboxwithoutchangingthesettings.
After clicking the "OK" button, the new settings become effective for all alreadyopenNCeditorsandallNCeditorstobeopenedinthefuture.
NC
Editor:
Extras
Menu
\
Template
for
NC
Programs
This menu item permits creation of an NCprogram template file forthe current process and the current control unit. The content of this NC program template file forms the basis for each new NC program in this process and this control unit and is intended to relieve the programmer fromrecurrententries.
Thisfunctionisnotavailableintheassistantview. Editingofatemplateisalwaysstartedintheeditorview.
NC
Editor:
Extras
Menu
\
Compiler
Options
This menu item permits settings to be made for the Rexroth Indramat compileraswellasfortheusercompiler.
Note: ThecompileroptionsarenotavailablefortheTRANS200.
NC
Editor:
Extras
Menu
\
Macro
Definitions
Usingthismenuitem,macrodefinitionsforthecompilercanbemade.
NC
Editor:
Functions
under
Help
"?"
Menu
NC
Editor:
"?"
Menu
\
Help
for
NC
Programming
<F1>
Withthis menu item,the onlinehelp forthe NCprogramming system is called.
IfthecursorispositionedonanNCcommand,andifhelpiscalledviathe <F1>key,therespectivesectionofHelpiscalled.
NC
Editor:
"?"
Menu
\
Shortcuts
The implemented key combinations for individual editing functions are shownhere.TheycorrespondtotheWindowsstandard.
Key/Keycombination Explanation
<Home> Movesthecursortothebeginningoftheline. <End> Movesthecursortotheendoftheline. <Ctrl>+<C> Copiestheselectionintotheclipboard.
<Ctrl>+<X> Cutstheselectionandmovesittotheclipboard. <Del> Deletestheselectionorthecharacter(thelinein
theNCprogramoverviewoftheassistant). <Backspace> Deletestheselectionorthecharactertotheleft
ofthecursor(theprecedinglineintheNC programoverviewoftheassistant). <Enter> Ineditorview,entersanNCblockincluding
blocknumberandopensthedialogboxfor editingthecurrentblockintheNCprogram overviewoftheassistant.
Double-click Ineditorview,highlightsawordatthecurrent cursorpositionandopensthedialogboxfor editingthecurrentblockintheNCprogram overviewoftheassistant.
<Ctrl>+<Enter> Entersacommentlineincludingsemicolon. <Ctrl>+<End> Movesthecursortotheendofthefile. <Ctrl>+<Shift>+<End> Extendstheselectiontotheendofthefile. <Ctrl>+<Home> Movesthecursortothebeginningofthefile. <Ctrl>+<Shift>+<Home> Extendstheselectiontothestartofthefile. <Ins> Switchesbetweeninsertionandreplacingof
text.
<Shift>+<Home> Extendstheselectiontothebeginningofthe currentline.
<Ctrl>+<L> Deletesthecurrentlineandsavesittothe clipboard.
<Ctrl>+<Shift>+<L> Deletestheselectedline. <CursorDown> Movesthecursoronelinedown. <Shift>+<CursorDown> Extendstheselectiononelinedown.
<Shift>+<End> Extendstheselectiontotheendofthecurrent line.
<CursorUp> Movesthecursoronelineup.
<Shift>+<CursorUp> Extendstheselectionbyonelineupwards. <PageDown> Movesthecursoronepagedown.
<Shift>+<PageDown> Extendstheselectionbyonepagedownwards. <PageUp> Movesthecursoronepageup.
Key/Keycombination Explanation
<Shift>+<PageUp> Extendstheselectionbyonepageupwards. <Ctrl>+<V> Insertstheclipboardcontentatthecurrent
position.
<Ctrl>+<A> Highlightstheentiredocument.
<Ctrl>+<CursorDown> Movesthecontentofthewindowonelinedown. <Ctrl>+<CursorUp> Movesthecontentofthewindowonelineup. <Ctrl>+<Del> Deletesonewordtotherightofthecursor. <Ctrl>+<Backspace> Deletesonewordtotheleftofthecursor. <Ctrl>+<CursorLeft> Movesthecursoronewordtotheleft. <Ctrl>+<Shift>+<CursorLeft> Extendstheselectionbyonewordtotheleft. <Ctrl>+<CursorRight> Movesthecursoronewordtotheright. <Ctrl>+<Shift>+<CursorRight> Extendstheselectionbyonewordtotheright. <Ctrl>+<N> CreatesanewNCprograminthecurrent
processandthecurrentdevice.
<Ctrl>+<Z> Undoesthelastaction(modificationofoneor morelines).
<Ctrl>+<Y> Redoestheactioncancelledlast. <Shift>+<F10> Displaysthepopupmenu. <Ctrl>+<O> Opensanexistingdocument.
<Ctrl>+<P> Printsthedocumentorpartsofthedocument. <Ctrl>+<S> Savesthedocument.
<Ctrl>+<F> Searchestheindicatedtext. <Ctrl>+<R> Repeatsthesearch.
<Ctrl>+<H> Replacestheindicatedtextbyadifferenttext. Fig.3-3: Keycombinationsforspecialeditorfunctions
NC
Editor:
Functions
under
Window
Menu
NC
Editor:
Window
Menu
\
Cascading
Allwindowsaredisplayedincascadingform.
NC
Editor:
Window
Menu
\
Below
One
Another
Allwindowsaredisplayedbeloweachother.
NC
Editor:
Window
Menu
\
Next
to
One
Another
Allwindowsaredisplayednexttoeachother.
NC
Editor:
Window
Menu
\
Minimize
All
Windows
Allwindowsareminimized.
NC
Editor:
Window
Menu
\
Active
Applications
3.3
NC
Editor:
Paste
Cycle
NC
Editor:
Paste
Cycle
-
Overview
For frequently used processing procedures, calls of standard or user cycles can be pasted into the NC program. As long as all information aboutitsparameters(NCvariablesandevents)anditscallaredefinedin thecycle header in each cycle, a guided entryof all parameterscan be madeusingthisdialogbox.
The"PasteCycle"dialogboxisnotsuitableforcorrectingacyclecallthat has already been written in the NC program. The comments for each parameter that are displayed in the editor view are to be used for corrections.
Before a cyclecall can be pasted usingthis specialdialog box, a cycle packagemustbeloadedintotheNC.Thismustcontainatleastonecycle forthecurrentprocess.
Especially in the case of user cycles, it must be ensured that all the information fortheentrydialogboxmust becontainedwith thespecified syntax in the header of the cycle. It must be ensured that any help screens that maybe used are saved under the corresponding resource pathforbitmap.
Afterthecyclehasbeenselectedandtheparametershave beenpreset, thecyclecallcanbepastedatthecurrentlinepositionofthecursorinthe NC program editor. The contents of the current line and the cursor are thenlocatedbehindthepastedblocksequence.
For thelong form of a cyclecall, one NCblock is always generatedper parameter (including comment) and per standard call. This form is the defaultform.
Exampleofthelongform:
;****************** G81–Centerdrilling ******************* N0000@171=30.0000;Depth(abs)
N0001@172=5.0000;Safetydistance(abs) N0002@173=0.0000;Dwelltime
N0002@173=0.0000;Feed N0004BSR.*G81 ;Cyclecall
;***************************************************************
For standard cycles, it is possible to issue the call inshort form.In this case, comments,parameter assignments and standard calls are placed togetherinoneline,asfaraspossible.
Exampleoftheshortform:
;****************** G81–Centerdrilling *******************
; @171=Depth (abs) @172=Safety distance (abs) @173=Dwell time @174=Feed
N0000 @171=30.0000 @172=5.0000 @173=0.0000 @174=0.2000 BSR .*G81 ;Cyclecall
;***************************************************************
The short form for standard cycles is issued if the following entry is supplemented, or is changed as follows, in file NCPGS_NPG.INI, which canbefoundin
\Programs\Indramat\MTGUI\Project_000\CustomData\Resource: [CALLCYC_EDIT]
Scopeoffunctions
Requirements
Pastingablocksequence
ShortFormat =1
Thedialogboxforpastingacyclecall canbeopenedintheNCprogram editorinthesecondfunctionkeylevelwith<F1>PasteCycleorusingthe menubar,Paste\Cycle.
NC
Editor:
Handling
the
Paste
Cycle
Dialog
Box
Dialog
elements
Allrequireddialogelementsarelocatedononescreen.
Zyklus-Insert_gr.bmp (1)top: Comboboxforcycleselection
(2)topleft: Comboboxforselectinghelpgraphic (3)bottomleft: Helpgraphic
(4)topright: Tableeditorforparametervalues (5)bottomright: Commentfieldforcycledescription Fig.3-4: PasteCycledialogbox
Usingtheboxforcycleselection,thedesiredcyclecanbeselectedfrom allthecyclesloadedforthecurrentprocess usingitsidentifier(usingthe cursorkeysorthemouse).
Each time that the cycle is changed, the remaining dialog elementsare initialized or reallocated according to the cycle header information. Parametervaluesthathavealreadybeenenteredarelost.
The box for graphic selection is available if several help graphics are assigned to a cycle.If thefocus is on this box, the help graphiccan be changedusingthecursorkeysorthemouse.
Theeditor fortheparameter values listsalltheparameter namesonthe left side andhas two columns, one for value entry and one(uneditable) forthecommentsregardingeachparameter.
Call
Cycleselection
Graphicselection
Valueentrycanbestartedbydouble-clickingorpressingthe<Enter>key. The values can be preset as mathematical expressions or as number constantsaccordingtotheNCprogramsyntax.Foreventparameters,the valuescanalsobeenteredusingthe<Space>bar.
Entry can be terminated by pressing the <Enter> key or by clicking another parameter. Constant mathematical expressions are then immediately calculated. Constant values are subject to a check of the value range if this has been agreed upon in the cycle header for the correspondingparameter.
Ifadescription isassignedtothecycle,thisisdisplayedintheboxinthe lower portion of the dialog box. If the focus is moved to this element, a longtextcanalsobescrolledusingthecursorkeys.
Navigation between the dialog box elements can be carried out with <Tab>or <Shift>+<Tab>orwith themouse. Thefocuscannotbeplaced ondialogboxelementsthatremainemptyforacertaincycle.
Menu
Functions
PressingCancelreturnstheusertotheeditorview.Parametervaluesthat havealreadybeenenteredarenotlost.
Pressing Applypastes thesequenceof blocksinto theNCprogram and switchestotheeditor view.Theenteredparameter valuesareretainedin casethatthecyclecallisrepeated.
Bydefault,thisfunctionisnotavailableifavaluehasnotbeenenteredfor each parameter. It is always available if the following entry is supplemented, or is changed as follows, in file NCPGS_NPG.INI, which canbefoundin
\Programs\Indramat\MTGUI\Project_000\CustomData\Resource: [CALLCYC_EDIT]
AcceptAlways =1
Note: Error-free loading of the NC program into the MTC200 memoryis possible only if values have been assigned to all theparameters.
A pasted cycle call can beremoved using the Undo function inthe NC programeditor.
With this menu item, the online help for the Paste Cycle dialog box is called.
Cycledescription
Navigation
Cancel<F8>
Apply<F9>
Menu"?"\Helpforpasting