Premature change of generator settings

In die sinking, the machining time can be determined by the process using specific erosion parameters. In this case, the NC program may not contain the required geometry before machining. It is therefore possible to abort an ongoing machining operation prematurely and start the next machining operation with new parameters.

If the point of the parameter change is in the geometry of the ‘’Erosion on the path‘’ phase, an M01 can be programmed at this point. This allows the command to be specified for a flushing motion of sufficient length. If the optional stop in the escape channel is activated by the relevant control unit, the system stops at this point.

A second option is to move to a selected generator change point by commanding a flushing motion where the required distance and floating distance are identical. A flushing motion can then be commanded to end immediately when the selected distance is reached.

As soon as the change point is reached via the escape channel, the remaining geometry can be deleted using the Delete distance to go control unit. The escape channel can then be initialised with the new generator parameters and machining can be continued in the down channel.

Programing Example

prg_example

Changing the generator settings

An example of how to change generator settings is shown below. During the first geometry after N0100, the PLC commands a ‘Delete distance to go". This causes a jump to N0410 and inbetween, the escape channel is decoupled and recoupled with a different strategy. N0220 is taken into account since the current position (Y0 Z-40) fulfils the loop condition.

%L sinking1

N0100 G01 Y0 Z-40 ; generator change is executed after this block

N0110 G01 Y0 Z-80

N0120 G01 Y10 Z-120

N0140 G01 Y10 Z-150

N0150 M17

%L sinking2

N0210 $IF [V.A.ACT_POS.Y == 0.0] AND [-80.0 < V.A.ACT_POS.Z]

N0220 G01 Y0 Z-120

N0230 $ENDIF

N0240 G01 Y30 Z-150

N0250 M17

%Change Generator

;---- Main program

N0370 LL sinking1 ;---- first geometry

N0380 L DS-DeactivateEscape.sub

N0390 V.P.EscapeMode = 1 ; variable for escape strategy

N0400 L DS-ActivateEscape-ACS.sub

N0410 #DEL DIST2GO

N0420 LL sinking2 ;---- second geometry

N0430 M30