Hj everybody .
I have a problem as follows :
Normally when exporting code on alphacam, the depth of Z will be a negative value.
My machine takes the working origin of Z on the underside of the workpiece using an automatic tool measuring system.
I want to change the postcode to output a positive Z value depth like the example below.
Example :
Safe level (Z=50)
Rapid down ( Z=30)
Meterial top ////////////////////////////// (Z=25) meterial thick is 25mm
table machine ------------------------- (Z = 0) (Z work position ) "G43 Hxx "
%
O0565
G91 G28 Z0
G90 G17 G64 G49 G40 G80
M06 T136
M08
M03 S16000
G0 G90 G54 X45.273 Y344.611
G43 Z50. H36
Z30.
G1 Z-2. F1500 --> (G1 Z6. F1500)
X311.688 F3000
G0 Z50.
G90 X45.273 Y344.611
Z28.
G1 Z-4. F1500 --> (G1 Z4. F1500)
X311.688 F3000
G0 Z50.
G90 X45.273 Y344.611
Z26.
G1 Z-6. F1500 ---> (G1 Z2. F1500)
X311.688 F3000
G0 Z50.
M09
M05
G91 G28 Z0.
G91 G28 X500.
M30
%
If anyone has experience in this case, please help me. Thank you for your support.