7
08/2005 G Code Program
7.1 Creatin
a G-code
ro
ram
7
♥ Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl Operation/Programming ShopTurn (BAT) – 08/2005 Edition 7-345
-or-
îš¾ Press the "OK" softkey or the "Input" key.
The G code editor is opened.
îš¾ Enter the desired G code commands.
Calling a tool
Continue
>
Tools
îš¾ Select the "Continue" and "Tools" softkeys if you want to select a
tool from the tool list.
-and-
îš¾ Place the cursor on the tool that you want to use for machining.
-and-
To
program
îš¾ Press the "To program" softkey.
The selected tool is loaded into the G code editor.
Text such as the following is displayed at the current cursor position in
the G code editor: T="SCHRUPPER80"
In contrast to step-chain programming, the settings stored in tool
management do not automatically become active when the tool is
called up.
This means that, in addition to the tool, you must also program the tool
change (M6), the direction of spindle rotation (M3/M4), the spindle
speed (S...) and the coolant (M7/M8).
Example:
...
T="SCHRUPPER80" ;Call tool
M6 ;Change tool
M7 M3 S1=2000 ;Switch on coolant and main spindle
...
Cycle support
Contour
...
Turning
îš¾ Using the softkey, select whether you would like support for
programming contours, drilling, milling, or turning cycles.
Create
contour
...
îš¾ Select the cycle you want via the softkey.
îš¾ Enter the parameters.
OK
îš¾ Press the "OK" softkey.
The cycle is transferred to the editor as G code.
îš¾ Position the cursor on a cycle in the G code editor if you want to
display the associated parameter screen form again.
Re-
compile
îš¾ Select the "Recompile" softkey.
The parameter screen for the selected cycle appears.