后处理构造器说明书毕业设计论文外文翻译_第1页
后处理构造器说明书毕业设计论文外文翻译_第2页
后处理构造器说明书毕业设计论文外文翻译_第3页
后处理构造器说明书毕业设计论文外文翻译_第4页
后处理构造器说明书毕业设计论文外文翻译_第5页
已阅读5页,还剩13页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、 外文翻译post builder helpgetting startedpost builder creates and edits postprocessors.these postprocessors have three elements, each identified by the base name and one of three extensions. assuming your postprocessor name is my_machine_tool, these files would be the following: my_machine_tool.puionly

2、post builder uses this file.this file contains static information on how to write out the .tcl file.although post does not need this file, it must be present in the same directory as the .tcl and .def files in order to edit your postprocessor. my_machine_tool.tclthis file determines the blocks that

3、need to be output from events that are generating by post. this file uses the tcl language. post builder completely creates this file every time you save your postprocessor. post also uses this file at run time to generate nc code. my_machine_tool.defthis file defines all the static information for

4、the postprocessor.this includes formats, address and nc blocks.the format of this file is a special syntax created by nx.this file is used by post to postprocess the tool path and generate nc code. by default, post builder creates your postprocessor in the directory where you started post builder. u

5、se the save as option in the file dialog to save your postprocessor in the directory of your choice. in order to use your postprocessor in nx you must add an entry to your template_post.dat file in your current postprocessor directory. post builder supports english dialogs only.procedures in the bas

6、e filenx post depends heavily on procedures in the ugpost_base.tcl file. this file is located in the mach/postprocessor directory. the system uses it to support the file i/o and other basic functions. this is updated with each nx release, and should not be modified. it is possible to overwrite proce

7、dures in this file through tcl programming, but this is not recommended. you can overwrite these procedures with a user created tcl file or by using the uplevel feature of tcl. when any of the procedures in ugpost_base.tcl are overwritten by the procedures in the postprocessor we no longer guarantee

8、 that the post will continue to work correctly from one release to the next. some of the critical files that may cause problems when modified are: creating a new post to create a post follow the steps below:1. select the new file icon or select new in the file drop down menu. you have the following

9、choices from the create new postprocessor dialog:2. you can select the name of your postprocessor or use the default name. you can change this name when saving.3. you can enter a text description of your postprocessor. 4. specify whether the system outputs in inch or metric. if you select inch, all

10、coordinate output and formats are in inches. if you specify metric, all coordinate output is in millimeters. all of the default parameters such as tolerances, minimums and maximums are based upon the output units. see the section on changing postprocessor kinematics for how to change from inch to me

11、tric or metric to inch after you have created the post. 5. select a basic machine type. once you have selected the machine type you can not change it again for this postprocessor. your choices are explained in the following sections: mill, lathe, wire edm. millselecting this option defines your mach

12、ine as a mill type. the following mill types are available:3-axis your post has three linear axes ( x, y and z).3-axis mill turn (xzc)your post is the mill portion of a mill/turn. you can output standard cartesian xyz or output polar coordinates x (radius), z and c(angle). see the mill turn section

13、for more details. 4-axis with rotary tableyour post has three linear axes (x, y and z) and rotary indexing or contouring table (a, b or c).4-axis with rotary head your post has three linear axes (x, y and z) and rotary indexing or contouring head (a, b or c)5-axis with dual rotary heads your post ha

14、s three linear axes (x, y and z) and two rotary indexing or contouring heads (a, b or c).5-axis with dual rotary table your post has three linear axes (x, y and z) and two rotary indexing or contouring tables (a, b or c).5-axis with rotary head and tableyour post has three linear axes (x, y and z),

15、a rotary indexing, or contouring fourth axis head and a rotary indexing or contouring fifth axis table (a, b or c). latheselecting this option defines your machine as a lathe type. typically lathes have two linear axes (cartesian x and z). the chuck rotates and the tool remains in a turret that move

16、s in the x and z-axis. in the machine section you can also specify your post as a four axis lathe with a fixed distance between the turrets. wire edmselect this option to create or edit a wire edm postprocessor. the system provides posts for three common wire edm machine tools: agie, mitsubishi, and

17、 charmilles. they contain all the g and m codes used to control standard wire edm functions. they also contain the basic two and four axis motion. 2 axisyour post has two linear axes. 4 axiswhen you select this option you get basic four-axis output that you need to customize for your machine. you ma

18、y select either coordinate or angle output. for coordinate mode, the post will calculate the position on the upper plane where you need to have the wire to achieve the programmed tilt defined by the tool axis. for angles mode you get the basic agie output. the post calculates the tilt along the dire

19、ction of motion and the tilt perpendicular to the direction of motion. when you select the agie control, you get the agie q and r angle output. when you select mitsubishi or charmiles, you get the u and v output for the upper plane coordinates. controlleryou must now select a basic controller type.

20、you can choose a generic controller, a specific controller from the controller library, or a post you have previously created. the specific controllers have nurbs output for the fanuc, siemens and heidenhain mill controls. the choice of controllers is difficult for mill, lathe, or wire edm machine t

21、ools. after making all your selections the system uses all the information you have selected to create your post. changing postprocessor kinematicsyou can start with any existing postprocessor created with post builder and change the kinematics or the inch/metric setting through the following proces

22、s: 1. make a new post.2. select the new inch or metric setting.3. select the new kinematics setting.4. select the user option on the controller to browse for the post you want to change.5. create the post.your new post now has all of the custom commands and edits from your original post, but with ne

23、w kinematics and/or inch/metric settings. you may need to add rotary words to the motion blocks when making a four or five axis post from a three axis post. to do this follow the steps below: 1. go to program & tool pathprogrammotion. in this dialog you may need to change the linear move and rapid m

24、ove blocks. to do this, follow the steps below: a. click on the linear move, or rapid move blue event marker.b. in the dialog that displays, select the down arrow next to the drop down menu.c. from the drop down menu select fourth_axis.d. click and hold the add word button until a block displays.e.

25、drag the block over the block until a white outline appears, than release the mouse.if you have a four axis post you may only need to add the fourth_axis word. if you have a five axis post you may need to add both the fourth_axis and fifth_axis. 2. go to program & tool pathprogramcanned cycles and s

26、elect the common parameters event marker. add the fourth_axis word in the same manner as the linear and rapid move event markers. optionsvalidate custom commandsyou can turn on or turn off error checking while importing or creating custom commands:unknown commandswhen you set this option to active i

27、t detects any syntax error in the name of a command.unknown blockswhen you set this option to active it detects any references to an undefined block. unknown addresseswhen you set this option to active it detects any reference to undefined addresses. this can be used to validate commands such as mom

28、_force_once. unknown formatswhen this option is set to active it detects references to undefined formats. this is a very useful feature that prevents many run-time errors that are much more difficult to debug in a run-time situation. if you select the dotted line you can create a detached dialog. ba

29、ck up postthis preference allows you to define how the system creates backup versions of post builder files. you have the following choices: backup originalbacks up the original part. all intermediate versions are overwritten. every savebacks up every time you save. this is the default settingno bac

30、kupthe system only saves the last version. help functionsballoon helpselect this option to activate balloon help.when you place the cursor over many of the objects in the post builder dialogs, an icon appears and gives you more detail on the exact functionality of the object. you can turn on balloon

31、 help during postprocessor creation mode. this example shows the name of the block the system outputs as well as the format of the output code.when you select the balloon help icon, it turns to a pink background color. when you cancel the selection, the icon returns to its gray background color.cont

32、ext sensitive helpselect this option to activate context sensitive help mode.when you activate this mode and select an item in post builder, the system displays a description of that item. for example, when you activate context sensitive help mode and you select program start sequence, the system di

33、splays the following description. this feature is not implemented for all dialogs and objects.when you activate this feature, the dialogs do not behave as they did in postprocessor create mode and the cursor turns into a question mark during context sensitive help. you must turn off context sensitiv

34、e help in order to return to postprocessor create mode. when you select the context sensitive help icon, it turns to a pink background color.when you cancel your selection, the icon returns to its gray background colorbrowse user documentationthis option calls up the post builder online help documen

35、tation. the system displays this documentation and allows you to browse through it at your leisure. machine toolthis section allows you to configure the kinematics of your machine tool. you can define the limits and axis orientation of each of the tools. the machine tool dialog is divided into three

36、 sections: general parameters, fourth axis, and fifth axis. the general parameters section is available for all machine tool types. the dialogs for the fourth and fifth axes are available only for four and five axis machine tools. general parametersdisplay machine tool display machine tool button is

37、 located in the top left portion of your window. this option gives you an up to date picture of your machine tool. with this you can visualize the axis orientations. for a four and five axis milling machine the system also displays the address leader designation (a, b or c) and limits for each rotar

38、y axis. this option is not available for mill/turn and wire edm. output circular record you can set this option to yes or no. if set to yes, the system outputs all circles based on the circle motion parameters. if set to no the system does not output circle blocks (g2 or g3). linear axis travel limi

39、tthis option allows you to check travel limits when you import the custom command pb_cmd_check_travel_limits.tcl. home positionthis defines the default from position if you have not specified a from position. linear motion resolutionthis defines the minimum value to which the system rounds all coord

40、inates. this does not necessarily control the format of the coordinate data. to control the format of the coordinate data you must change the number of decimal digits output. traversal feed ratethis defines the feed rate that the system uses to calculate machine time for rapid motion. the system als

41、o uses this value to determine if a linear feed rate move is actually performed at rapid. millfourth axis parametersthe fourth axis parameters, unless specifically stated, also applies to the fifth axis. the default settings work for most machines. the following options are available on the fourth a

42、xis dialog: rotary axis configurationthis dialog allows you to define the plane of rotation and address leader for both the fourth and the fifth axis. you can access this dialog from either the fourth or the fifth axis configuration dialogs. note that you must make sure you change the address leader

43、 when you change the rotary axis plane. note also that the plane of the fourth axis must be different than the plane of the fifth axis. this dialog is only available for specifying the parameters of a five-axis machine tool. it is not available for a four-axis machine. in order to get the correct ou

44、tput for a dual head rotary five axis machine tool with a b axis (in the zx plane) attached to a c axis (in the xy plane), you must define the fourth axis as b (zx plane) and the fifth axis as c (xy plane). the machine tool display function will not work correctly for this configuration. however, th

45、e output will be correct. this follows a general restriction where the c axis (xy plane) cannot be the fourth axis of a five axis machine tool.machine zero to rotary axis centerthis option allows you to define where the center of the fourth axis is in relation to your machine zero. the default value

46、 for this distance is (0,0,0). this value must be specified for the post processor to map correctly between the mcs programmed in nx and the machine tool coordinate systemrotary motion resolutionthis option allows you to control the number of digits to which the system rounds the rotary angle. this

47、is typically .001 degrees for most contouring axes. 后处理构造器说明书待添加的隐藏文字内容3入门 post builder创建和编辑后处理器。后处理器有三个组成部分,由基本名称和三个扩展名确定。假设你的后处理器名字是my_machine_tool,这些文件将是如下:my_machine_tool.pui 只有post builder使用此文件。此文件包含有关如何写出tcl文件的信息。虽然post不会需要这个文件,但它必须存在于和tcl文件和def文件相同的目录中,以此来编辑您的后处理。my_machine_tool.tcl 该文件确定了块需要

48、从事件post输出。此文件使用的tcl语言。当每次您保存后处理器时,post builder生成器就会完整的创建这个文件。post也在运行时使用这个文件来生成nc代码。my_machine_tool.def 此文件定义了后处理所有的静态信息。这包括格式,地址及数控模块。此文件格式是由一种特殊语法的nx的创建。此文件是通过后处理生成刀具路径和nc代码。 一般情况下,由post生成器创建的后处理在默认的目录中。使用另存为对话框保存后处理文件在您选择的目录下。为了使用nx中的后处理,你必须添加一个template_post.dat后处理文件在当前目录中。post builder只支持英语对话框。.基

49、本文件的程序 nx后处理器在很大程度上取决于在ugpost_base.tcl文件的程序。此文件位于mach/postprocessor目录。该系统使用它来支持文件i / o和其他基本功能。这是每个nx的更新版本,不能被修改。它可以通过tcl编程文件覆盖在此项目的程序,但不建议这样做。您可以覆盖用户创建的这些程序文件或通过tcl语言高配置的功能。当任何后处理的程序覆盖ugpost_base.tcl后,我们不再保证post程序将继续能从一个版本到下一个版的正确性。对一些重要文件修改时,可能导致以下出现问题:创建一个新的后处理 创建一个后处理器,请按照下列步骤1选择新建的文件图标或选择下拉菜单新建文

50、件。你可以从新建后处理器对话框中进行下面的选择:2 .您可以选择您的后处理程序的名称或使用默认名称。您也可以在保存时,更改此名称。3 .您可以输入您的后处理器的文字描述。4. 指定是英寸或是公制输出。如果您选择英寸,所有的坐标输出和格式都是英寸。如果您指定公制,所有的坐标输出都以毫米为单位。默认的参数如公差,最小值和最大值都由输出单位决定。对于当创建一个后处理后如何从英制改为公制或公制改为英制请参照后处理运动学部分。5选择一个基本的机床类型。一旦你选择了机类型你不能改变这种后处理类型。您可以从以下几个部分中进行选择:铣床,车床,线切割。铣床 选择此选项定义您的机床类型为铣床。以下的铣床种类可供

51、你选择:3轴 您的处理器有三个线性轴(x,y和z)。3州铣磨中心 (xzc)您的后处理是一个铣磨部分。您可以输出标准笛卡尔某某或输出极坐标x(半径),z和(角)。更多细节请参看铣/磨这一节 。4轴带旋转工作台您的后处理器有三个线性轴(x,y和z)和一个旋转索引或成形轴(a,b或c)。4轴带旋转摆头您的后处理器有三个线性轴(x,y和z)和两个旋转索引或成形轴(a,b或c)。5轴带双摆头您的后处理器有三个线性轴(x,y和z)和两个旋转索引或成形轴(a,b或c)。5.轴带双转台您的处理器有三个线性轴(x,y和z)和两个旋转引导工作台(a,b或c)。5轴带一摆头和一回转台您的处理器有三个线性轴(x,y

52、和z),一个旋转的索引,或第四轴成形头和旋转成形台(a,b或c). 车床 选择此选项定义您的机床类型为车床。通常车床有两个线性轴(笛卡儿x和z)。夹头旋转和刀具固定的溜板箱,在x和z移动轴。在机床部分,您也可以指定你的处理器的第4轴与溜板箱之间的车床固定距离线切割 选择此选项创建或编辑线切割后处理器。该系统提供了三种常见的线切割加工机床:阿奇,三菱,夏米尔。它们包含所有g代码和用于控制标准线切割功能m代码。它们也包含了基本的两轴和四轴运动。2轴你的处理有两个线性轴.4 轴当您选择此选项,您需要自定义您的机床类型以获得基本的4轴输出。你可以选择是协调或角度输出。对于协调模式,后处理器将计算上部平

53、面位置,你需要定义有线实现编程工具的倾斜轴。对于角度模式将得到基本的agie输出。后处理器将计算沿运动方向的运动和垂直于倾斜方向的运动。当您选择agie控制,您得到agie q和r角输出。当您选择三菱或charmiles,你的u和v将输出平面上的坐标。控制器 您现在必须选择一个基本的控制器的类型。您可以选择一个通用控制器,或从控制器库创建一个特定的控制器。具体控制器有法纳克,西门子和海德汉轧机控制器。、对于铣床、车床,电火花加工来说,控制器的选择是比较困难的。在完成你的所有机床信息选择后,你可以选择创建一个后处理器。更改动态的后处理器 您可以从任何现有处理程序开始创建一个后处理构造器,并通过以

54、下步骤来更改机床运动或英寸/公制参数设置。1 新建一个后处理器2 选择新英寸或公制设置。3 选择新的机床运动学设置。4 选择控制器上的用户选项去更改你选择的控制器。5 创建后处理器 现在您的新后处理器已经从原来的处理器得到了所有命令和编辑,但没有新的运动学和/或英寸/公制设置。您可能需要添加旋转字符到运动块上,已定义除了三轴外的第四轴或第五轴。为此请按照下列步骤:1 访问程序 刀具路径程序运动。在这个对话框中你可能需要更改线性移动和快速移动块。为此,请按照下列步骤:a. 单击关于线性移动,或快速移动的蓝色标志事件。b. 在显示的对话框中,选中下拉菜单旁边的向下箭头。c. 从下拉菜单中选择四轴d. 单击并按住字按钮添加一个新块。e. 拖动块,直到白色的轮廓出现,释放鼠标。如果你有一个

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论