User manual
WinPC-NC Economy Parameter settings
Editing buttons These allow the current macro command
to be deleted, replaced or a new command can
be added
Creating macros
Macros are defined in a procedure made up of several steps:
• Select a program condition by double-clicking in the left-hand list
box. This is the program condition for which the macro is to be
defined. The top right list box then either displays an existing
macro or No macro defined.
• Edit the required macro by double-clicking the lines you want to
change to transfer them to the editing box. There, you can define
different values for the commands. The new command is adopted
when you click Replace or Insert.
• In order to create new or partial macros, you have to select the
required command from the list box at the bottom right and then
complete it in the editing boxes. Following this, the new command
can be transferred into the current macro using Replace or Insert.
• To delete macro command, simply move the bar to the
corresponding command in the current macro and click the
Delete button.
Example 1
Release tool
Example for releasing a tool in the changer magazine:
Speed 80,00 Set the speed to 80 mm/s
MoveZ 156,34 Move down with the Z-axis
Speed 5,00 Set speed slower
WaitSpindleStop Wait until spindle has stopped
MoveY 10,00 Move the tool into the chuck holder
MoletteOpen Open the molette
Wait 500 Wait 500 ms for pneumatic system
Speed 2,00 Set very slow speed
MoveZ -5,00 Move 5 mm up from tool
Speed 80,00 Set speed back to fast
MoveZ -151,34 Move Z-axis all the way up
MoveY -10,00 Move Y-axis back to starting position
Example 2
Insertion when
flame cutting
Example of a macro defining an insertion procedure when flame
cutting. It is always performed before PenDown commands.
MoveZ 50,00 Move down with the Z-axis
Wait 10000 Wait 10 seconds at pre-heating position 1
MoveZ 20,00 Move down again by 20 mm
Wait 2000 Wait 2 seconds and pre-heat
SetOutputHigh 100 switch on oxygen with output 100
Wait 500 Wait another 500 ms before movement
- 80 -