585,763 active members*
4,077 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Alphacam > Need help ! Adjust postcode value depth Z of alphacam to value positive !
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2017
    Posts
    2

    Need help ! Adjust postcode value depth Z of alphacam to value positive !

    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.
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2022
    Posts
    28

    Re: Need help ! Adjust postcode value depth Z of alphacam to value positive !

    Hi,
    you can simply write *(-1) to the output lines . G0 G43 Z[AZ*(-1)] H[T].
    I'm not entirely sure if this is what did you want because some of Z values are not only negated.
    Can you try to change Z0 of global of the material in the Alphacam to the bottom side?
    This is maybe what you want.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •