STITCH & SPEED
5
Definition of the codes and parameters governing the advances and startup of the pin.
Stop Stitches: Code for l' stop of rotation of the pin (M05 Example) Stitch time direction: Code for the setting in rotation of the pin clockwise (M03 Example)
Stitch anti-clockwise direction: Code for the setting in rotation of the pin anticlockwise (M04 Example)
Code speed: Code of exit of the advances F#0 example for an exit of the type F1000 Pré codes speed: Code beginning of line for management speed Code speed stitches: Code for the rotation of the pin S#0 example for an exit of the S10000 type
Startup stitches: Complete sequence for the startup of the pin Example for Heidenhain post-processor:
& (PP_N_LIGNE, #0) TOOL CAL & (PP_TOOL, #0) Z S& (PP_S_SPINDLE, #0) & (PP_N_LIGNE, #0) & (PP_SPINDLE, #0)Donneune sortie du type :
8 TOOL CALL 1 Z S2000
9 M03
Stop stitches: Sequence of code supplements for l' stopping of the pin.
Heidenhain example:
&(PP_N_LIGNE,#0) L M05
IV-8
Chapter
Give :574 L M05
5
IV-9
Chapter
CODE G
Définition des codes G.
5
G01 Work advances: Definition of the code d' work advances
G00 Advances fast: Definition of the code d' advances fast
G70 work in INCH: Definition of work in INCH
G71 work into metric: Definition of work into metric
G90 work in absolute: Displacement mode in absolute
G91 work of relative: Mode of displacement into relative (activated with codes APT GODLTA)
G17 plan XY Definition of the standard schemes of work
G18 plan ZY
G19 plan YZ
Tempo: D' definition; an instruction of temporization
(code APT DELAY)
Code for origin: definition of the code for an origin
Code for shift origin: Allows with codes APT ORIGIN to define a news origin
Code for treatment FROM:
Code for treatment of code APT FROM Fast exit advances fast: rapid displacements can be left in advance work with a speed known as fast. This option makes it possible to replace the G00 code by a G1 code and a speed d' advances defined in the two following parameters.
IV-10
Chapter
Code advances fast G1:
Code displacement intended to replace G00 Speed advances fast: Speed used for displacements in rapid
Time circular G02: Code circular displacement
G02 Circulairetrigo
G03: Code circular displacement G03
Format Left Circle: D' definition; a circular instruction of displacement
5
Particular case of the exit of the circular interpolations
As for the codes of beginning and end of file the exit of a circular interpolation is managed by a text which can contain variables. It is possible to parameterize the exit of certain variables by including a code in the form:
& (NOM_VARIABLE, FORMAT_DE_SORTIE)
Exemple : N&(PP_N_LINE,#0) &(PP_SPINDLE,#) for the instruction stop pin will leave it
codeN120 M05 during the treatment of code APT SPINDL/OFF
Existing variables
PP_FEEDRATE
PP_COMMENT
PP_CORR
: Value speed in advance current
: Comment running coming is code TPRINT or of the last line $$
: Code G of correction current tool
PP_CODE_RING : Code circular interpolation G02/G03
PP_CENTRE_RELATIF_X: Coordinates into relative compared to starting point X point of center
PP_CENTRE_RELATIF_Y :Coordinates into relative compared to the starting point Y of the point of center
PP_CENTRE_RELATIF_Z :Coordinates into relative compared to starting point Z of the point of center.
PP_CENTRE_ABSOLU_X: Coordinates absolute X of the point of center.
PP_CENTRE_ABSOLU_Y: Coordinates absolute Y of the point of center.
PP_CENTRE_ABSOLU_Z: Coordinates absolute Z of the point of center.
PP_POINT_CERCLE_X: Coordinates X of the point of end of definition of the interpolation circular PP_POINT_CERCLE_Y: Coordinates Y of the point of end of definition of the interpolation circular PP_POINT_CERCLE_Z: Coordinates Z of the point of end of definition of the interpolation circular
PP_RAYON_CERCLE: Circle radius
PP_ANGLE_CERCLE: Circle Angle
IV-11
Chapter
5
PP_POINT_MID_CERCLE_X: Coordinates X of the middle point when using an interpolation circular by 3 points PP_POINT_MID_CERCLE_Y: Coordinates Y of the middle point when using an interpolation circular by 3 points PP_POINT_MID_CERCLE_Z: Coordinates Z of the middle point when using an interpolation circular by 3 points
PP_ANGLE_A_CERCLE: Angle Machine has one end off interpolation PP_ANGLE_B_CERCLE: Angle Machine B one end off interpolation PP_ANGLE_C_CERCLE: Angle Machine C one end off interpolation
CODE M
Definition of the codes M and management of lubrication. In the codes M one will find the blocking of the rotary axes and the code of end d' operation or d' temporary stop operator.
Exit Codes Lubrication: L' activation of l' option makes it possible to take into account codes APT COOLNT and to leave the corresponding code
Lubrication ONE: code corresponding to code APT COOLNT /ON
Lubrification OFF: code corresponding to code APT COOLNT /OFF
Lubrification FLOOD: code corresponding to code APT COOLNT /FLOOD
Lubrification AIR: code corresponding to code APT COOLNT /AIR
Air ON: code corresponding to code APT AIR /ON
Air OFF: code corresponding to code APT AIR /OFF
Stop Operation: M01 Codes stop operation
IV-12
Chapter
Stop Programs: M00: code stop programs M00
Blocking Centers ON: code blocking of the axes codes APT CLAMP/ON
Blocking Centers OFF: code blocking of the axes codes APT CLAMP/OFF
5
Blocking Axe a: codes blocking of the rotary axes has code APT CLAMP/AAXIS ONE and OFF
Blocking Centers b: codes blocking of the rotary axes B codes APT CLAMP/BAXIS ONE and OFF Blocking Centers C: code blocking of the rotary axes C codes APT CLAMP/CAXIS ONE and OFF
Code AUXFUN: Definition of the exit of code AUXFUN. Code AUXFUN makes it possible to specify a digital code generally used with a code Mr.
IV-13
Chapter
TOOL
Definition of the codes of management of the tools
5
Corrector cancellation: Code d' cancellation of corrector d' tool Left corrector: Code d' activation of the correction d' tool on the left of the Correct profile right-hand side: Code d' activation of the correction on the right of the profile
Corrector at the end of the line: Place the code of correction at the end of the line. Example codes for heidenhain: 216 L Y3.028 Z2.786 RL
Management codes TOOLNO: This option makes it possible to take into account code TOOLNO the following sequence makes it possible to define the code used to manage code TOOLNO
TOOL cancellation: Together of code to cancel the loading tool before passing to the following loading. Heidenhain example: TOOL CAL 0
Change TOOL: Code change d' a tool Example of configuration: ConfigWinPost T& (PP_TOOL, #0) D& (PP_TOOL, #0) G54
IV-14
Chapter
Exit Machine
T6D6
G54
5
Exit codes CUTTER: This option allows d' to use information coming from code APT CUTTER to leave either the comment or the instructions
The following sequence makes it possible to define the code used to manage code CUTTER.
Note: These instructions use specific variables which are described in the Liste paragraph Variables available page IV-1.
Example of code ConfigWinPost:
(TOOL DIAMETER &(TOOL_DIAM,#0)/ RAD CORNER &(TOOL_RC,#0))
Will give in the code Iso Sortie Machine:
(TOOL DIAMETER 20 / RAD CORNER 5)
IV-15
Chapter
5AXES
5
Definition of the kinematics of the machine 5axes as well as its limits on the axes.
Type: Inform the type of machine to be simulated. In the currently available type one will find:
Type 1 = 3 Axes
Type 2 = Head A/B
Type 3 = Head A/C
Type 4 = Head B/C
Type 5 = Head A/C 45°
Type 6 = Head B/C 45°
Type 7 = A/C Plate
Type 8 = B/C Plate
Type 9 = A/C Plate 45°
Type 10 = B/C Plate 45°
Type 11 = Tête A/C Plate
Type 12 = Tête B/C Plate
Type 13 = Tête 45° A/C Standard
Type 14 = Tête Standard 45° B/C Plateau
Type 15 = HEULER A/B/C
Type 16 = Kuka A/B/C
Type 17 = Multifunction Standard Turning
Type 18 = Notation IJK (A3B3C3)
Controlled types of axis
IV-16
Chapter
Type
Linear
Translation
Rotation RollOver
Rotation Modulo
5
Description
Part controlled in rotation. Rotation in linear mode
Part controlled in translation
Part controlled in rotation. Rotation in mode RollOver
Part controlled in rotation. Rotation in mode Modulo 360°
Mini limit A/B: Limit of l' center has or B minimum Limite A/B Maxi: Limit of l' center has or B maximum
Mini limit C: Limit of l' center C minimum Limite C Maximum: Limit of l' center C maximum
Activation RTCP: Code for l' activation of management RTCP (code APT MULTAX ONE)
Desactivation RTCP: Code for l' activation of management RTCP (code APT MULTAX OFF)
Activation Tilted Plan: Code for l' activation d' a tilted plan
Desactivation Tilted plan: Code for desactivation d' a tilted plan
IV-17
Chapter
FIXED CYCLES
Definition of the fixed cycles of drilling, tapping, facing, boring…
5
Code drilling: definition of the code fixes for the operations of drilling.
Code chamfering: definition of the code fixes for the operations of chamfering.
Code facing: definition of the code fixes for the operations of facing.
Code deep drilling: definition of the code fixes for the operations of deep drilling
Code breaks chips: definition of the fixed code for the operations of drilling breaks chips.
Code boring: definition of the code fixes for the operations d' boring.
Code tapping: definition of the code fixes for the operations of tapping.
Code threading: definition of the code fixes for the operations of threading.
Code machining helicoid: definition of the code fixes for the operations of drilling helicoid.
Fast displacement after fixed cycle: Code to define a withdrawal in rapid after a fixed cycle.
Code stop of the cycle: Code to define the end d' fixed activation of cycle. Example: G80
Call not of cycle: Code allowing to define the points d' call ' a fixed cycle.
IV-18
Chapter
DEBUT/FIN FILE
Definition of the beginnings and end of file.
5
End of line: Code added at the end of the ISO lines Example: *
Beginning to card-index: Together codes for the beginning of the ISO files
End of file: Together codes for the end of the ISO files
Management PARTNO: Code for the management of code PARTNO.
Management codes finished: Code corresponding to FINISHED code APT
Management codes end: Code corresponding to code APT END
Management REWIND: Code corresponding to code APT REWIND
IV-19
Chapter
COLOR
Definition of the colors for the analysis of code APT.
5
Color text
Definition of the colors for the description of syntax in code APT.
To modify a double color click on the text or the box color and select the desired color.
The red color is prohibited, it is reserved for the marking of the lines having generated
errors.
COLOR_COMMENT:
COLOR_INCONNUE:
COlOR_PARTNO:
COLOR_RAPID:
COLOR_COOLNT:
COLOR _TPRINT:
COLOR _CUTCOM:
COLOR _TLAXIS:
COLOR _SPINDL:
COLOR _FEDRAT:
COLOR _GOTO:
COLOR _REWIND:
COLOR _TOOLNO:
COLOR _LOADTL:
COLOR _END:
COLOR _FINI:
COLOR _CYCLE:
IV-20
Chapter
COULEUR_CIRCLE :
COULEUR_CUTTER :
COULEUR_UNITS :
COULEUR_MCS :
COULEUR_MULTAX :
COULEUR_SELECT :
COULEUR_FROM :
COULEUR_PPFUN :
COULEUR_PPRINT :
COULEUR_INSERT :
COULEUR_LOAD :
COULEUR_DISPLY :
COULEUR_OPSTOP :
COULEUR_STOP :
COULEUR_DELAY :
COULEUR_PREMIER_POINT :
COULEUR_ORIGIN :
COULEUR_INDIRV :
COULEUR_TLON_GOFWD :
COULEUR_AIR :
COULEUR_CAMP :
COULEUR_AUXFUN :
COULEUR_GODLTA :
COULEUR_PREFUN :
COULEUR_GOHOME :
COULEUR_MODE :
5
IV-21
Chapter
PARTICULAR INSTRUCTIONS
Definition of the particular instructions.
5
First Point after change tool: These codes make it possible to define the plays d' instructions of the first item discussed after a change d' tool.
Macro of STRONG CURRENT of the rotary axes: In the case or l' rotary axis of the machine reached a limit it is then necessary to give to Zero the axes. Or to rock with 180° on an axis. This plays of code then makes it possible to define this restoring of the codes.
Code for macro return at the origins: Macro to manage the codes of return at the origins. Corresponds to the treatment of code APT GOHOME. Attention in this case l' writing of the codes uses aa little special notation example:
Example ISO :N&(PP_N_LINE,0) G91 G28 &(0.000,X~) &(0.000,Y~) &(0.000,Z~)
The notation X~, Y~ and Z~ makes it possible to specify the value of return the code of l' center n' having left that if l' axis is specified in code APT.Idem pour la vitesse F~
IV-22
Chapter
GOHOME/ZAXIS will give N3 G91 G28 Z0.000
5
Example : for the notation : N&(PP_N_LINE,0) G91 G28&(0.000,X~)&(0.000,Y~)&(0.000,Z~)
CasHeidenhain :&(PP_N_LINE,#0) &("M140 MB MAX",Z~)
Donnera pour le même code APT M140 MB MAX
To note qu' there exists also the notation F! In this case if the F n' then one is not present uses the code of substitution for speed:
Example of coding with the two notations :&(F#0,F~)&("FMAX",F!)
If F is present one will have then Fla value of l' advances if not FMAX at the end of the file
Management of code APT Mode: Allows to define the codes associated with code APT Mode. definition is particular because it is necessary here to define on a line the treatment associated with a code MODE. The codes MODE can be also varied is it difficult of all to validate them one has for example
MODE/ INCHES
MM
XYPLAN
YZPLAN
ZXPLAN
ABSOL
INCR
MILL
…
Example to define the management of the code MODE:
INCHES/N&(PP_N_LIGNE,0) G20
MM/N&(PP_N_LIGNE,0) G21
Thus
MODE/INCHES will give N3 G20
IV-23
Chapter
6
V DEFINITION OF CODES APT
SUMMARY OF FUNCTIONS APT
In red codes untreated in the software in the current version of the software.
CODES APT DRAFTS
Code list APT recognized by l' application.
FEDRAT: definition speeds d' advances. Example of code: FEDRAT/1000.0000, MMPM
CUTTER: d' definition; a geometry d' tool. Example of code: CUTTER/20.000,4.000,6.000,4.000,0.000,0.000,50.000
SPINDL: definition spindle speeds. Example of code: SPINDL/70.0000, RPM, CLW
following possibility: SPINDL/OFF
CUTCOM: Activation of the codes of correction of ray. Example of code: CUTCOM/OFF
TLAXIS: definition of L' orientation of l' center tool. Example of code: TLAXIS/0.000,0.000,1.000
COOLNT: instructions of ordering of lubrication. Example of code: COOLNT/ON
LOADTL :chargement d'un outil . Exemple de code : LOADTL/3
TOOLNO: definition number d' tool. Example of code: TOOLNO/1, 10.000
PPRINT: Exit comment tool. Example of code: PPRINT/T1 Mills 2 Sizes D 10
GOTO: instructions of displacement. Example of code: GOTO/95.36711,59.09059,27.12479
GODLTA: instructions of displacement into relative. Example of code: GODLTA/0.0000,0.0000,3.0000
RAPID: displacement in rapid. Example of code: RAPID
In English
Top of Form
FROM: Definition of the starting point
Bottom of Form
V-24
Chapter
PREFUN: displacement in rapid. Example of code : RAPID
6
CIRCLE & TLON,GOFWD: Circular interpolation
Winpost decodes aujourd' today 3 notations for the circular instructions..
First notation CIRCLE gives the point of centre and the normal one as well as. This normal allows to specify the direction of course (G02 or G03 for example for Z=1 with a circle in the plan G17 (XY) one will have an interpolation trigo G03 and G02 if Z=-1
CIRCLE/X-center, there-center, Z-center, X-normal, there normal, normal Z, ray) GOTO/x-PointFin, y-PointFin, Z PointFin
Exemple :
CIRCLE/508.000,762.000,0.000,0.000,0.000,1.000,137.000
GOTO/645.000,762.000,0.000
L' another notation recognized and used uses code TLON, GOFWD with the notation INDIRV which gives the direction of course to the first point of the circle. The vector thus defined makes it possible to know the direction of course G02/G03.
INDIRV/X-value, there-value, Z-value TLON, GOFWD/(CIRCLE/X-center, there-center, Z-center, ray), ONE, (LINE/X-center, there-center, Z-center, x-PointFin, there PointFin, Z PointFin)
Exemple :
INDIRV/ 0.99503, 0.09957, 0.000
TLON,GOFWD/ (CIRCLE/ 0.16933, 0.12173, 0.000,0.04177),ON,(LINE/ 0.16933,
0.12173, 0.000,0.20325, 0.14611, 0.000)
Finally the same notation is also treated if codes CIRCLE and LINE are defined in their affecting a reference (Lx and Cx) which will be used in code TLON, GOFWD as in l' following example:
Share with your friends: |