The majority of the cfao create neutral files including of the instructions cn credits for the machines. Much is in called binary code Cl-dated, or in an adapted ascii format of language apt



Download 357.47 Kb.
Page1/3
Date28.01.2017
Size357.47 Kb.
#9465
  1   2   3

Winpost


Version 0.4.6

October 11




e-mail: Usinage5axes@free.fr

http://5axes.free.fr/devel_WinPost_en.htm




Chapter




1


I SOFTWAREWinpost


GENERAL INFORMATION.


The majority of the CFAO create neutral files including of the instructions CN credits for the machines. Much is in called binary code Cl-dated, or in an adapted ASCII format of language APT. Certain FAO provide a high degree of flexibility, allowing to include a little all in the neutral file, whereas others are more restrictive. This utility makes it possible to convert these files APT for milling machines 3/4 axes and CU 3 or 5 axes.



Generation of the code


EMULATION OF CONTROLLERS

CNC & SUPPORT CODES-G




Winpost generates the codes G, supports the conditional checks of execution of the functions (other functions in the block course, values of current variables, states machine etc) which can change l' interpretation of the mot.

Winpost integrates the majority of the functions like:

The management the lengths d' tools

Programming in point pivot (RTCP)

Fixed cycles and shifts of origins

The management of variables, under programs and macros as well as the loops and logical connections.To have the code list APT supported by the software defer to the chapter V “DEFINITION OF the CODES”




LIMIT OF GUARANTEE


Because many parameters external with the software can generate errors and collisions on the machine, no guarantee n' is provided, as for the exactitude of the course of the programs generated by the software. You must always keep in mind that this program is only one invaluable help for the development of your courses but will never provide a total safety of unfolding real of the courses. The program could not be held for person in charge of all damage direct, indirect, secondary or additional (financial losses due to the shortfall, with l' interruption d' activities or with the loss of data, etc, rising from l' use of the Program or l' d' impossibility; to use this one).I-1

Chapter


SYMBOLS USE IN THIS HANDBOOK


1


This symbol appears beside specific notes notes explaining the particular functions current subject.


This symbol appears beside the easy ways which return easier work to you.


This symbol appears beside the warnings with the actions which could cause a damage with your work.


I-2

Chapter


2


II USE OF THE SOFTWARE


The principal interface of the software arises in the following form. With 5 distinct zones:


Bar menus and icons


Treated file APT


ISO file obtained


Tree of

Posting of

information


Zone

of information




You can redimensionner the size of these zones while clicking on the bars of separation of these zones and by bringing these last on the desired position. In order to return these bars more visible following pictograms one added on the bars allowing of redimensionnerzones.pour the horizontal bar of redimensioning for the vertical bar of redimensioning.


II-3

Chapter


TO CHARGE A POST-PROCESSOR


2


To charge a post-processor you can use small Sélection Post-processor.


Select then file PC (Post-processor Configuration) correspondent with vote machine.


TO CHARGE A FILE APT


The loading of files APT can be done either by the menu Ouvrir file APT or by the bar of icons.



To open a file APT


TO CONVERT FILE APT INTO ISO FILE


The button launches the transformation starting from the zone of text.


This button makes it possible to convert the file directly without run of the treatment of the code to the screen.


In mode of direct transformation


that mode from the zone of text


the processing times are much shorter


.


You can also press on the key Echap (ESC) to stop the treatment. The treatment does not stop immediately but goes until the end of the instruction in progress.


II-4

Chapter


Tree of information


2


After having used the orders of transformation one finds in the tree of information a summary of the tools met in files APT.


Many tools detected in file APT


List detected tools


Stagnation point



While clicking with the button of right-hand side on a line this makes it possible to insert or remove one


stagnation point. In mode of transformation from the zone of text will stop on the stagnation point requested.



the transformation


To insert a stagnation point:


Click with the button of right-hand side of the mouse on line having to be used as stagnation point.


Click with the button of right-hand side to insert the point.


Re-click with the same button if you wish to remove.


The use of the stagnation point is primarily used in the cases of development of the post-processor…

II-5

Chapter


3


III DESCRIPTION OF THE FUNCTIONS



FILE


This menu gathers the functions making it possible to charge or safeguard the various types of file managed by the software.


To open file APT


Allows to give the responsability a file APT to be treated.


To save ISO File


Allows to record the Iso file obtained under the same name or another name.


Selection post-processor


Allows to select the configuration of the post-processor used. The configuration is stored in files (*.PPC)


To open ISO File

D' allows; to open an ISO file already postprocessé.




To leave


Closing of the file and exit of the program.


TREATMENT


Together functions of conversion of the ISO file.


To convert from zone of text


The Convertir function from zone of text makes it possible to launch the conversion of file APT starting from the zone of text.


To convert directly


This menu makes it possible to convert file APT directly. The end result will be charged in the zone with text located on the right of the software.


This method is faster than the preceding one.


III-6

Chapter


OPTIONS


3


This group of menu gathers the optional functions making it possible to regulate certain parameters. One also finds in this group the functions to modify the configuration of a post-processor.


Post-processor definition


This function makes it possible to open the window of configuration of the post-processor.


This function is also accessible by the button


bar of tools.


Option


This menu allows d' to reach the general options of the WinPost program. It is thus possible to choose the language of the software thus qu' an option which makes it possible during the treatment of file since the line of order to close the program after the treatment of file APT. L' use of the program is then completely transparent for l' user.


Exporter Log


The function allows d' to export under a format text the messages present in the window d' posting of the messages. This function is especially useful for the debugging of the software and l' sending of d' report/ratio; use.


RAZ Log


Erase the zone of report/ratio.


BY THE WAY



Find in this menu the relative informations with the version of the current software.


Version


The Version function gives you the version of the software. This information is important in particular if you detected a problem in the software your information feedback must be obligatorily accompanied by the number of version.


III-7

Chapter


3


III-8

Chapter


BAR TOOLS


To open File APT


To save Iso


Configuration


Conversion from zone of text

Direct conversion




Allows to open a file APT


3


Allows to save the ISO file after modifications.


This button gives access to the configuration of the current post-processor.

Activate the conversion of the file from the zone of text.




Carry out conversion directly since the textual file (faster but does not allow to follow the course of conversion).


III-9

Chapter


4


IV TO CONFIGURE NEW POST-PROCESSORPRINCIPE


The definition of the parameters is divided into 10 groups. Each group treating an aspect of the configuration of the post processor. The transformation into ISO of a file APT is only the writing under another format of the basic format. For this reason the program is there to only interpret what already exists in file APT. In particular the order of execution of the various parts and order is strongly related to the order of the instructions in file APT of origin. It is possible to differ the exit from an order but it will be difficult to leave information whereas the latter Na yet be defined in the APT origin.


Format of a variable


The fields defining a formatting of the addresses make it possible to define the code associated with the variable as well as the format with the associated numerical value.


Exemple : X#0.000


For a value of 973.38814


X#0.000 turn overX973.388

X+#0.00 turn overX+973.39 (the sign is forced)




IV-10

Chapter


5


The software uses the function in-house FORMAT to format the exit of the codes. It code being directly related to the regional parameters of your computer the exit of the point as separating decimal must thus be defines in the regional parameters of Windows.


List Variables available


In the zones of text defining a whole of line of code, it is possible to parameterize the exit of certain variables by including a code in the form:

& (NOM_VARIABLE, FORMAT_DE_SORTIE)




Example: N& (PP_N_LIGNE, #0) & (PP_SPINDLE, #) for the instruction stop pin will leave the code N120 M05 during the treatment of code APT SPINDL/OFF


Existing variables


PP_TOOL

PP_S_SPINDLE

PP_FEEDRATE

PP_COOLNT

PP_AIR


PP_SPINDLE

PP_COMMENT




PP_CORR

PP_TEMPO


PP_PARTNO

PP_REWIND




PP_FILE

PP_NCFILE




: Number of the current tool

: Value spindle speed

: Value speed in advance current

: Code M of current lubrication

: Code M d' aspiration current


: Code M of startup of the pin current

: Comment running coming is code TPRINT or of the last line $$

: Code G of correction current tool

: Code for temporization





: Variable corresponding to code PARTNO of code APT

: Variable corresponding to code PARTNO of code APT




: Name of current the ISO File without the extension

: Name of current the ISO File with the extension




IV-1

Chapter


PP_DATE

PP_TIME


5


: Current date

: Current hour

These two variables are used to give the date and l' hour of creation of the ISO file


Line example of parameter : N&(PP_N_LINE,0) ( Date : &(PP_DATE,DD/MM/YYYY) /

&(PP_TIME,HH:MM) )




Result : N8 ( Date : 20/03/2011 / 14:29 )


PP_N_LINE


PP_FIRST_X

PP_FIRST_Y

PP_FIRST_Z

PP_FIRST_A

PP_FIRST_B

PP_FIRST_C




: Number of the current line


: Coordinates X of the first point after a change of tool

: Coordinates Y of the first point after a change of tool

: Coordinates Z of the first point after a change of tool

: Coordinates has first point after a change of tool

: Coordinates B of the first point after a change of tool

: Coordinates C of the first point after a change of tool




the automatic classification of the lines is not added with the codes not treated in the zones of text. You must thus add the N& code; (PP_N_LIGNE, #0) in front of the lines to be numbered.


Existing variables for the cycles of drilling


You will find hereafter the list of the variables available in the cycles of drilling.



PP_TOOL

PP_S_SPINDLE

PP_FEEDRATE

PP_COOLNT

PP_AIR

PP_SPINDLE



PP_COMMENT


: Number d' tool

: Spindle speed

: Speed d' advances

: Code lubrication

: Code aspiration

: Direction of rotation of the pin: Comment




First point to use for gone up after last drilling

PP_FIRST_X: Coordinates X of the first point after a change of tool

PP_FIRST_Y: Coordinates Y of the first point after a change of tool

PP_FIRST_Z: Coordinates Z of the first point after a change of tool




Variable Cycle

PP_CYCLE_DEPTH: Current depth

PP_CYCLE_FEED: Speed of the cycle

PP_CYCLE_DWELL: Tempo current

PP_CYCLE_RETRACT: value of the current distance from withdrawal

PP_CYCLE_CLEARENCE: value of the current security distance

PP_CYCLE_ZSTEP: Depth d' increment of drilling for cycles DEEP or BRKCHP current

PP_CYCLE_PITCH: Step value for l' machining helicoid current

PP_CYCLE_RADIALPASS: Radial master key for l' machining current spiral


IV-2

Chapter


Premier Point

PP_CYCLE_FIRST_X: Coordinates X of the first point of fixed cycle PP_CYCLE_FIRST_Y: Coordinates Y of the first point of fixed cycle PP_CYCLE_FIRST_Z: Coordinates Z of the first point of the fixed cycle




Point de cycle

PP_CYCLE_X

PP_CYCLE_Y

PP_CYCLE_Z




PP_CYCLE_A

PP_CYCLE_B

PP_CYCLE_C


5


: Coordinates X d' call d' a fixed cycle

: Coordinates Y d' call d' a fixed cycle

: Coordinates Z d' call d' a fixed cycle


: Value angle has d' call d' a fixed cycle

: Value angle B d' call d' a fixed cycle

: Value angle C d' call d' a fixed cycle


Variables for comment tool

These variables are not available qu' with code APT CUTTER

TOOL_NAME: Name of l' tool

TOOL_NUM: Number of l' tool

TOOL_DIAM: Diameter of l' tool

TOOL_ANGLE: Angle of l' tool (conical tool)

TOOL_RC: Ray of corner of l' tool

TOOL_LG: Length of l' tool

TOOL_LG_CUT: Cutting length of l' tool

TOOL_LG_PROG: Length of l' programmed tool




TOOL_REMARK


: Comment associated with l' tool


IV-3

Chapter


GENERAL


General parameters of the post-processor


5


Name: Name of the Post-processor. This information is used to name the post-processor. This name will be posted in the bar d' heading of the program.


Type Post-processor:

Siemens 840D

Heidenhain ISO

Conversational Heidenhain

NUM

FIDIA


FANUC

ROBOT KUKA

Siemens 810T


The type of the post-processor is an indication and can have an influence on the generated code or the way in which the program treats the code. Thus the configurations Conversational Heidenhain and Siemens 810 T are they specific.


Repertory d' origin of files APT: localization of files APT. Allows to preferably specify a repertory for the loading of files APT


Repertory of destination of the ISO files: localization d' writing of the ISO files


Extension ISO File: Extension of generated the Iso files ex (.mpf for Siemens file or .h for conversational Heidenhain files)


IV-4

Chapter


5


Exit comments: the comments present in file APT will be treated left in the ISO file. This corresponds to the code of the type $$ l' instruction PPRINT being treated as a specific instruction which can be a comment or a computer code.


Comment beginning: Character indicating the d' beginning; a comment (example the point comma or the bracket)


Fine comment: Character indicating the end d' a comment in a file Iso (example the bracket)


Space inter code: A space is used to separate the codes. This lrend the more readable code but also larger.


Exit number of line: Exit of the classification of the lines Exit number of line for comment: This option makes it possible to specify that the lines not comprising that comments will be also numbered To compress code: Allows to remove the codes nonmodal in order to limit the size of generated the Iso files.


Ex :lines APT :


GOTO / -45.89034, -44.44933, 0.000, 0.000, 0.000, 1.000

FEDRAT/ 1000.0000,MMPM

GOTO / -45.89034, -44.44933, 16.10030, 0.000, 0.000, 1.000


Will give:


G0 X-45.890 Z0.000


G1 X-45.8903 Y-44.4493 Z16.1003 A0.000 C0.000 F1000


G0 X-45.890 Z0.000


G1 Z16.1003 F1000 Si


if l' option n' is not activated and


l'option est activée


Format number of line: Format for the exit of the numbers of line example: N#0 for an exit of the code of the type N10, N20 for a fixed exit: N0006 to use for example N#0000 To compress code: Allows to remove the codes non modal in order to limit the size of generated the Iso files.



Starting number: Starting number for the numbers of line Increment of classification: Increment of classification example 5 for lines of 5 in 5 Number of maximum line: Maximum number of line. Once reached classification sets out again with the starting number.


Tolerance calculation: Tolerance of calculation for function d' posting of the course or certain approximations. Value not used in current version of the post-processor.


IV-5

Chapter


AXES


Definition of the addresses for the axes machines


5


Format des différents axes CN:


X :Displacement on X

Y :Displacement on Y

Z :Displacement on Z


I :Coordonnées I centre X pour les centres de cercle

J :Coordonnées J centre Y pour les centres de cercle

K :Coordonnées K centre Z pour les centres de cercle

A :Format de l'axerotatif A

B :Format de l'axerotatif B

C :Format de l'axerotatif C




R (Radius of circle): Format for the exit of the circular interpolations under the format R (by giving the ray of l' interpolation.


Incremental coding: In the case or the notation incremental by a coding different from the linear axes (conversational Heidenhain example L IX IY IZ) l' passes; activation of this option makes it possible to add with the coding of axes X there Z the following code Macro code of return: Code to add with X Y and Z for a movement into incremental.


IV-6

Chapter


5


Order of the axes: allows to specify l' order of exit of the Attention axes must contain the 13 following Letters:

NGXYZ I J K R A B C F

1 2 3 4 5 6 7 8 9 10 11 12 13


L' order functions for the moment only for the exit of G XYZ and ABC


IV-7

Chapter


Download 357.47 Kb.

Share with your friends:
  1   2   3




The database is protected by copyright ©ininet.org 2022
send message

    Main page