ALPHACAM POST PROCESSOR STUDY
SECTIONS
$5 $STORE $RUN and $RECALL
$10 – File LEADING lines (Linhas principais do arquivo)
$12 – Main Program LEADING lines (Linhas principais do programa)
$15 – Main Program TRAILING lines (Linhas seguintes do programa)
$17 – File TRAILING lines (Linhas seguintes do arquivo)
$20 – Rapid move in XY
$21 – Rapid move 3D XYZ
$25 – Rapid Move in Z only
$30 – Lines BEFORE a rapid move if Z levels are not used (Linhas ANTES de um movimento
rápido se os níveis Z não forem usados)
$35 – Lines AFTER a rapid move if Z levels are not used (Linhas DEPOIS de um movimento
rápido se os níveis Z não forem usados)
$40 – Machining FEED lines (Linhas de velocidade de usinagem)
$50 – Feed CW arc (Velocidade de usinagem em arco sentido horário)
$60 – Feed CCW arc (Velocidade de usinagem em arco sentido anti-horário)
$70 – Cancel Current Tool. Use [T] for current tool number.
$75 – Code for CLOCKWISE spindle rotation (Código para rotação do spindle em sentido
horário)
$76 – Code for COUNTER-CLOCKWISE spindle rotation (Código para rotação do spindle em
sentido anti-horário)
$80 – Select New Tool. Use [T] for tool number, [S] for spindle speed.
$88 – Set Current Work Plane
CWP = 0 this means conventional Milling (ie XY, GLOBAL coords)
CWP = 1, XY
CWP = 2, XZ
CWP = 3, YZ
CWP = 4, 3D and AX AY AZ are Local Coords
--- SUBROUTINES (sub-rotinas)
$90 – CALL subroutine. Use [SN] for subroutine number (Chamada para sub-rotina)
$100 – BEGIN subroutine. Use [SN] for subroutine number (Inicia a sub-rotina)
$110 – END subroutine (Finaliza sub-rotina)
--- REFERENCE ZERO or ORIGIN SHIFT (referenciar ZERO ou deslocamento de Origem)
$120 – Origin Shift. Use [OX] and [OY] are values by which origin was shifted)
$130 – Cancel origin shift. Use [OX] and [OY] as values by which origin was shifted)
--- MACHINE TOOL COMPENSATION (compensação da ferramenta)
$140 – Code to CANCEL Machine Tool Compensation
$141 – Code for LEFT Machine Tool Compensation
$142 – Code for RIGHT Machine Tool Compensation
$145 – Percentage increase in blend radius for sharp internal corners
$146 – Adjust G41/G42 code at internal corners for tool radius (1 = YES, 0 = NO)
$147 – Compensation can be applied on Rapid Approach (1 = YES, 0 = NO)
--- COOLANT OFF / MIST / FLOOD / TOOL CODES
$150 – Code to Turn Coolant OFF
$151 – Code to apply MIST Coolant (Ar comprimido / ar comprimido com líquido refrigerante)
$152 – Code to apply FLOOD Coolant (Líquido refrigerante)
--- DRILLING / TAPPING CYCLES (furação / ciclos de rosqueamento)
[ZR] – Retract level, the Z level to rapid down to before feed down begins
[ZB] – Z value of the botton of the hole
[ZP] – peck DISTANCE
[ZS] – Safe Rapid level
[ZM] – Material top
(All values are ABSOLUTE)
(For LINEAR code use $210/211, $214/215 etc. For SUBROUTINES use $205/206 for
X/Y values and $212/216 etc. to set Z levels etc. before calling the subroutine)
$200 – Cancel drill/tapping cycle
$205 - First Hole in SUBROUTINE
$206 – Next holes in Subroutine
DRILL cycle - traverse to next hole at SAFE RAPID level [ZS]
$210 – First hole
$211 – Next holes
$212 – Set PARAMETERS before Subroutines call
DRILL cycle - traverse to next hole at RETRACT level [ZR]
$214 – First hole
$215 – Next holes
$216 – Set PARAMETERS before Subroutines call
PECKING cycle - traverse to next hole at SAFE RAPID level [ZS]
$220 – First hole
$221 – Next holes
$222 – Set PARAMETERS before Subroutines call
PECKING cycle - traverse to next hole at RETRACT level [ZR]
$224 – First hole
$225 – Next holes
$226 – Set PARAMETERS before Subroutines call
TAPPING cycle - traverse to next hole at SAFE RAPID level [ZS]
$230 – First hole
$231 – Next holes
$232 – Set PARAMETERS before Subroutines call
TAPPING cycle - traverse to next hole at RETRACT level [ZR]
$234 – First hole
$235 – Next holes
$236 – Set PARAMETERS before Subroutines call
BORING/REAMING/SPOT FACE - traverse to next hole at SAFE RAPID level [ZS]
$240 – First hole
$241 – Next holes
$242 – Set PARAMETERS before Subroutines call
BORING/REAMING/SPOT FACE - traverse to next hole at RETRACT level [ZR]
$244 – First hole
$245 – Next holes
$246 – Set PARAMETERS before Subroutines call
--- GENERAL FORMATS
$500 – Modal Text
$502 – Modal ABSOLUTE Values
$504 – Modal INCREMENTAL Values
$510 – X Y Z I J K values must have “+” and “-” signs (1 = YES, 0 = NO)
$515 – Use point “.” As decimal separator (1 = YES, 0 = use comma “,”)
$520 – Put sub-routines at end of main program (1 = YES, 0 = put at start)
$525 – Quadrant limit arcs (1 = YES, 0 = Standard APS 180 degree limit)
$526 – Output arcs as one move (1 = YES, 0 = No – split arcs >= 180 degree)
$527 – Output HELICAL (XYZ) arcs as straight line segments (1 = YES, 0 = NO)
$530 – Determines witch PLANAR arcs are output as straight line segments
0 = NONE
1 = ALL
2 = ALL Except Horizontal (XY)
3 = Except Horizontal and Vertical (YZ or XZ)
$531 – Maximum Arc Radius – arcs will be output as straight lines if radius > ?
$532 – If arcs are straight line segments, give chord error (mm or inches)
$540 – Suppress Operations List, START and Comments in NC code (1 = YES, 0 = NO)
(Set $560 - $580 all to 0 if machine is 3-axis)
$560 – 4/5 axis programming point: (1 = PIVOT, 0 = TOOL TIP)
$562 – 4/5 axis Tool C/L offset from pivot point in X
$563 – 4/5 axis Tool C/L offset from pivot point in Y
$565 – 4/5 axis Tool holder lengt
$570 – 4/5 axis Max angle (degrees). Set to 0 indicate 3 axis machine
$580 – Use Multi-Planes or Multi-Datums (1 = YES, 0 = NO)
$582 – Multi-Plane or Datums: Select Work Plane BEFORE/AFTER Tool Change
0 = Select Tool before Work Plane (Use $80 then $88)
1 = Select Work Plane before Tool Change (Use $88 then $80)
2 = Change both at same time (Use $89 only)
--- NUMBER FORMATS
$700 – SUBROUTINE Number Format
$701 – Leading figures
$702 – Figures after point
$705 – Subroutine start number
------
$710 – LINE NUMBER format
$711 – Leading figures
$712 – Figures after point
$715 – Line start number
$716 – Line number increment
------
$720 – X Y Z values format
$721 – Leading figures
$722 – Figures after point
------
$730 – ARC centre/radius format
$731 – Leading figures
$732 – Figures after point
------
$740 – SPINDDLE SPEED format
$741 – Leading figures
$742 – Figures after point
$743 – Maximum Spindle Speed
$744 – Fixed Speeds (100, 200, 1000, 2000, … 0 = speed is variable)
$745 – Round Speed Up/Down to Nearest (.1 or 1 or 10 … 0 = don’t round)
------
$750 – MACHINNING FEED format
$751 – Leading figures
$752 – Figures after point
$753 – Maximum Feed Rate (Use mm/min or in/min. APS will convert)
$755 – Round Feed UP/Down to Nearest (.1 or 1 or 10 … 0 = don’t round)
------
$760 – TOOL NUMBER format
$761 – Leading figures
$762 – Figures after point
--- RAPIDS and TOOL CHANGE TIMES
(Put mm/min or in/min. AlphaCAM will convert)
$900 – XY Rapid Speed
$901 – Z Rapid Speed
$902 – Time to change tool (seconds)
--- USER VARIABLES
Todas as variáveis precisam ser declaradas
Nomes de variáveis podem ter até 20 caracteres
Prompts podem ter até 50 caracteres e devem ser colocados dentro de < >
(“ “) – variável em formato de texto
( ) – variável em formato numérico
(format, lead, trail figures) – variáveis de formatos diferentes. Ex.: (6,0,0)
$1000 – VARIABLE (format) “Prompt <default>” ‘’remark for your info
Ex.:
PROGNUM (7,4,0) “Program Number <0001>” ‘’Variável inteira com 4 zeros
DESCRIPTION_DRAWING (“ “) ‘’Descrição do trabalho
FIRST_Z_RAPID ( )
--- USER PRE-DEFINED CODE
This section applies only to TOOLPATHS (not geometries). Any $number in the
range $1100 - $1149 can be used for each definition. First line after $number
appears in the first dialog box. Next lines up to $ line are variables with
prompts (which must be declared in $1000) which are to appear in second dialog
box. Lines up to next $ line will be added or inserted on any toolpath.
$1100
Operator Message
OPMSG
$ ------------------------- NC lines to be entered into program follow
([OPMSG])
$ ------------------------- ends $1100 user defined code
$-------------------------- USER DEFINED CYCLES -------------------------------
This section applies only to GEOMETRIES (not toolpaths). Use for machine or
work specific NC code (eg canned cycles) which require geometry coordinates.
Any $number in the range $1200 - $1249 can be used for each definition. First
line after $number appears in the first dialog box. Next lines up to first $
are variables with prompts (which must be declared in $1000) which are to
appear in second dialog box. Lines up to next $ line will be added at the end
of NC program so far created.
$ ---------------------- End of Post