ug的ISV机床仿真与后处理.ppt

上传人:豆**** 文档编号:34298550 上传时间:2022-08-16 格式:PPT 页数:55 大小:5.92MB
返回 下载 相关 举报
ug的ISV机床仿真与后处理.ppt_第1页
第1页 / 共55页
ug的ISV机床仿真与后处理.ppt_第2页
第2页 / 共55页
点击查看更多>>
资源描述

《ug的ISV机床仿真与后处理.ppt》由会员分享,可在线阅读,更多相关《ug的ISV机床仿真与后处理.ppt(55页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、 UGS Corp. 2007. All rights reserved.2ISV介绍介绍选取加工环境选取加工环境分析被加工几何分析被加工几何创建或编辑父节点数据创建或编辑父节点数据创建操作创建操作产生刀具轨迹产生刀具轨迹刀具轨迹验证刀具轨迹验证后置处理后置处理NC代码代码程序组程序组刀具组刀具组加工几何组加工几何组加工方式组加工方式组ISV UGS Corp. 2007. All rights reserved.3Complete Machining Solution with NXPost processorNX NC programmingMachine tool simulationT

2、ool path verificationComplete solution inside NXCommon data is shared by all applicationsCost effective to implement and maintainMachine tool modelToolsFixturesCreated in NXCreated in Post BuilderNX LibrariesMachine tool controller UGS Corp. 2007. All rights reserved.4NX CAMCAM VisualizeISV Simulati

3、onInternal Tool PathISV Advanced SimulationNo machine kinematics visualization of cutter with tool path“ “Light” machine simulation- out of the box ready to cover basic simulation needsComplete machine simulation for the most demanding needs. Includes machine tool builderExternal PTP file UGS Corp.

4、2007. All rights reserved.5集成的加工模拟仿真集成的加工模拟仿真ISV特点:实时的模拟加工,减少加工试切实现加工刀具轨迹的优化方便、易用完全集成的加工机床模拟器接近真实(Close to Reality)的模拟插入式控制器选项精确模拟与控制器相关的事件动作与NC编制过程集成建立在UG软件的装配和运动分析功能基础之上可客户化控制系统 UGS Corp. 2007. All rights reserved.6ISV Simulation EnginesPre-NX5Machine Tool Driver (MTD)With virtual NX controller (V

5、NC) created by PostBuilderTCL baseNX5Common Simulation Engine (CSE)Encapsulation of RealNC for ISVEncrypted XMLOOTB machine configurations provided by development UGS Corp. 2007. All rights reserved.7Samples (NX5)MACHsamplesYou can find 15 samplesGood for study and quick demoLoad Options Search Dire

6、ctoriesMACHresourcelibrarymachinegraphics.MACHsamples. UGS Corp. 2007. All rights reserved.8Installed Machines (NX5) UGS Corp. 2007. All rights reserved.9CSE Simulation EngineEncapsulation of RealNCIn NX5, OOTB support forFanuc NX5Siemens 840D, Heidenhain NX6 UGS Corp. 2007. All rights reserved.10“

7、“Out of the Box” SimulationONT Tool ViewDouble Click Replace MachineMillingTurning UGS Corp. 2007. All rights reserved.11“ “Out of the Box” Simulation SampleMACHsamplesnc_simulation_samplesmill5axissim_8_machine_5x_mm.prt5 Axis Dual Table UGS Corp. 2007. All rights reserved.12CSECSE comprises of thr

8、ee componentsController specific language parserDelivered with NX5 installationController Configuration file (CCF)Encrypted XML, CCF for Fanuc has shipped as OOTB configuration with NX5 installationMachine configuration file (MCF) UGS Corp. 2007. All rights reserved.13OOTB Installed Machine Configur

9、ations NX5Mills1XYZ (XY-TB/Z-HD/Vert)2XYZ (XYZ-TB/Hor)3XYZ (XZ-TB/Y-HD/Hor)4XYZ (Z-TB/XY-HD/Hor)5XYZA (XYA-TB/Z-HD/Vert)6XYZA (XZA-TB/Y-HD/Hor)7XYZCB (XYC-TB/ZB-HD/Vert)8XYZAB (XZAB-TB/Y-HD/Hor)9XYZCA (XYZAB-HD/Gantry)10XYZB (XZB-TB/Y-HD/Hor)11XYZBC (XBC-TB/ZY-HD/Vert)12XYZBC (BC-TB/XYZ-HD/Vert/Nuta

10、te)Lathes1XZ with turret2XZIn NX5, OOTB machine configurations are for Fanuc only. Siemens and Heidenhain would be available in NX6 timeframe.Non-orthographic 45degree UGS Corp. 2007. All rights reserved.14Machine Tool Driver (MTD)Generates NC-Program and emulates the NC controller.Post ProcessorVir

11、tual NC ControllerKey role in machine tool simulation.Motion control - accurate path based on machine configuration.Handles specific machine tool features such as macros, cycles, subroutine call.Textual, graphical and audio feedback triggered by events.Fully customizable as TCL program.NC code CL Fi

12、leG01 X3.4G03 Y3.1 I3.3Virtual NC ControllerProcess DataEventsMachine Tool DriverS&VEngineS&V EventsNC codeS&VCommandsProcess DataEventsMachine Tool DriverS&V EventsPostEvent HandlerNC ControllerPlug-IN UGS Corp. 2007. All rights reserved.15ISV的构成Machine tool builder 机床构造器机床构造器Setup configurator环境配置

13、器环境配置器 Machine tool simulation机床加工模拟机床加工模拟 Machine tool driver机床驱动器机床驱动器 Virtual NC ControllerNC控制器控制器 UGS Corp. 2007. All rights reserved.16Machine Tool Builder机床构造器构造机床及设备的应用模块.通过装配来构建几何模型.创建运动模型.定义安装模型.模拟机床坐标轴的运动.编辑模型. UGS Corp. 2007. All rights reserved.17Setup Configurator环境配置器具有与机床构造器相似的功能. 只在

14、加工环境中才起作用用来将工件和夹具等固定在机床上. UGS Corp. 2007. All rights reserved.18Machine Tool Driver (MTD)机床驱动器生成NC程序并模仿NC控制器.运动控制基于机床结构,精确描述加工轨迹.处理特定的加工功能,如宏、固定循环的子程序调用.在加工模拟中起关键作用.可进行客户化.通过事件触发文本的、图形的和声音的反馈.NC code CL FileG01 X3.4G03 Y3.1 I3.3Virtual NC ControllerProcess DataEventsMachine Tool DriverS&VEngineS&V E

15、ventsNC codeS&VCommandsProcess DataEventsMachine Tool DriverS&V EventsPostEvent HandlerNC ControllerPlug-IN UGS Corp. 2007. All rights reserved.19Machine Tool Simulation机床加工模拟可客户化的用户界面Step through events in three different modes.Continuos position and parameters display.Step through NC program (G co

16、des)灵活的碰撞控制Collision ConfigurationCustomizable Simulation Control PanelSimulationConfiguration UGS Corp. 2007. All rights reserved.20StepsCreate machine tool model assembly in NXAdd kinematics to the assemblyAdd new machine tool to libraryCreate machine tool driverTest a part by retrieving your new

17、machine tool from the library UGS Corp. 2007. All rights reserved.21Create Machine Tool Model AssemblyIn NX, you must model each moving machine piece as a separate componentMake a NX assembly of all the components that make-up the machine tool. Start an empty part bridgeport_3_axis.prt and assemble

18、the components into itEach component should be located as when the machine tool is in its “rest” stateUse assembly mating conditions!Make a new assemblybridgeport_sim.prt and place bridgeport_3_axis.prt inside it 1basesaddlecrosstablespindle UGS Corp. 2007. All rights reserved.22Where to Place the M

19、achine Tool Assembly?Inside MACHresourcelibrarymachinegraphics add your new machine directory. Make sure that the NAME of the directory is the same as the machine tool name in the library For our example, add: MACHresourcelibrarymachinegraphicsbridgeport_sim UGS Corp. 2007. All rights reserved.23Whe

20、re to Place the Machine Tool Assembly?bridgeport_sim.prt is where we will place the kinematics tree (it has no geometry on its own)bridgeport_3_axis.prt is the assembly part where all the components of the machine tool are locatedbridgeport_base.prt is a component of the machinebridgeport_saddle.prt

21、 is a component of the machinebridgeport_cross.prt is a component of the machinebridgeport_table.prt is a component of the machinebridgeport_spindle.prt is a component of the machineSo we have the following assembly structure: UGS Corp. 2007. All rights reserved.24Add Kinematics to the Assembly2XYZO

22、pen part: bridgeport_sim.prt1. Select application machine tool builder2. Double click on NO_NAME and change the name to BRIDGEPORT_3_AXIS3. Highlight the name and with mb3 select Insert Machine Base Component3.1 Keep the name MACHINE_BASE 3.2 Add Geometry Entities3.3 Select assembly component that i

23、s the base MACHINE_BASE UGS Corp. 2007. All rights reserved.25Add Kinematics to the Assembly (cont.)4. mb3- Junction Add Name= MACHINE_ZERO5. Define coordinate system (use CSYS constructor)6. Highlight MACHINE_ZERO name from list7. mb3- Classify Machine zero OK OKXYZ注意: MACHINE_ZERO 定义了机床的坐标系及原点位置。请

24、参考机床手册,确定坐标位置及X,Y,Z的方向 UGS Corp. 2007. All rights reserved.26Add Kinematics to the Assembly (cont.)How Is the K-Tree Created?Now lets add the different branches of the tree8. Select component MACHINE_BASE9. mb3 Insert K-Component Name= SPINDLE10. Geometry entities, select BRIDGEPORT_SPINDLE11. Do th

25、e same for Z_SLIDE, Y_SLIDE, X_SLIDE, SETUP, PART, BLANK, AND FIXTURE注意:在运动关系结构树中,Y-SLIDE是Z-SLIDE的儿子, X-SLIDE是Y-SLIDE的儿子,这是因为当saddle移动时,y-cross随之而动,同样当y-cross移动时,x-table也随之而动。另外,SET_UP, PART, BLANK, FIXTURE可以不包含几何 UGS Corp. 2007. All rights reserved.27Add Kinematics to the Assembly (cont.)How Do We

26、Set the K-Movements? Now lets add the movement of the components: 12. Select Z-COMPONENT13. mb3 Insert Axis Name= Z14. Junction MACHINE_BASEMACHINE_ZERO15. Define type of Axis= linear16. Set limits for your machine17. Check the movement18. Do the same for X and Y axisBased on your machine manual注意:对

27、本实例,将所有的运动相对于一个坐标系统(MACHINE_BASEMACHINE_ZERO)进行定义已经足够 。在其它复杂结构中,可能需要定义其它的Junctions. UGS Corp. 2007. All rights reserved.28Add Kinematics to the Assembly (cont.)How Do We Set the Direction of Movement?+X+Y+ZMachine base coordinate system (MBCS)How do we set the direction of the linear axis?Place your

28、self on the spindle and look down towards the tableIf the table moves in the + X direction in MBCS, in the coordinates of the viewer, the table moves in the X directionThe same is true for Y and Z+X+Y+ZViewer coordinatesystem (VCS)It is important to set the correct direction of the axis of junction

29、UGS Corp. 2007. All rights reserved.29Add Kinematics to the Assembly (cont.)Where Do We Mount the Tool Assembly?19. Next, set the place where the tool will be mounted. Define a WCS where the X axis is parallel to the spindle axis and located it where the tool assembly will be mounted20. Select SPIND

30、LE from the k-tree21. mb3 Junctions Add NAME= TOOL_MOUNT_JCT22. Define Coordinate System, select WCS that you created OK OKZXY UGS Corp. 2007. All rights reserved.30Add Kinematics to the Assembly (cont.)Where Do We Mount the Part?23. Next, set the place where the part will be mounted. Define a WCS w

31、here the part will be mounted on the table24. Select SETUP from the k-tree25. mb3 Junctions Add Name= PART_MOUNT_JCT26. Define Coordinate System, select WCS that you created OK OKXYZXYZpart UGS Corp. 2007. All rights reserved.31Add Kinematics to the Assembly (cont.)27. Select SETUP, mb3 Classify SET

32、UP ELEMENT28. Do the same for part, blank and fixture为了完成机床定义,需要对某些部件进行分类。虽然这不是强制的,但最好是对其进行分类,这样可以通过使用部件分类,比较容易地进行碰撞干涉检查 UGS Corp. 2007. All rights reserved.32Modification of the Machine Tool LibraryAdd an entry for your new machine in:MACHresourcelibrarymachineasciimachine_database.datthis is point

33、ing to the .dat file that defines the post to be usedname to be used when running the post & simulatingpost tcl file created by Post Builderpost def file created by Post BuilderInside MACHresourcepostprocessor create bridgeport.dat with the following text:3# Bridgeport 3-axis example config file - E

34、vent Handler and Definition file #BRIDGEPORT 3-AXIS MILL,$UGII_CAM_POST_DIRbridgeport_sim.tcl,$UGII_CAM_POST_DIRbridgeport_sim.def UGS Corp. 2007. All rights reserved.33Create Machine Tool Driver in Post Builder Start Post Builder Give a name to the post NAME= bridgeport_sim Configure the post as yo

35、u normally do In this case we are making a post for a 3-axis milling machine4 UGS Corp. 2007. All rights reserved.34Create Machine Tool Driver in Post Builder (cont.)4. Under Output Settings Other Options:Turn on Generate Virtual NC Controller UGS Corp. 2007. All rights reserved.355. Under Program &

36、 Tool Path, select Custom Command6. Select PB_CMD_vnc_map_machine_tool axesCreate Machine Tool Driver in Post Builder (cont.) UGS Corp. 2007. All rights reserved.36 #+ # Fetch physical axes (machine tool model). # - If Y axis is not defined for a lathe, leave it alone. #+ set mom_sim_mt_axis(X) X se

37、t mom_sim_mt_axis(Y) Y set mom_sim_mt_axis(Z) Z switch $mom_sim_num_machine_axes 4 set mom_sim_mt_axis(4) A 5 set mom_sim_mt_axis(4) B set mom_sim_mt_axis(5) C #+# Specify a component as the ZCS reference base. It should be a non-rotating # component that the part is connected to directly or indirec

38、tly in the assembly tree.#+ set mom_sim_zcs_base X_SLIDE #+# Define spindle component and its junction for mounting tools.#+ set mom_sim_spindle_comp “SPINDLE set mom_sim_spindle_jct “TOOL_MOUNT_JCT7. Edit this file to match your machine tool kinematics configuration Traverse the kinematics tree fro

39、m the PART to find the ZCS base component When done save the post 4section not used for this postdont changethese names need to match UGS Corp. 2007. All rights reserved.37Files Created by Post Builder4these files are part of the postOnce Post Builder is closed, it creates the following files in dir

40、ectory MACHresourcepostprocessor:vbridgeport_sim.puivbridgeport_sim.tclvbridgeport_sim.defvbridgeport_sim_vnc.tclthis file is the machine tool driverWARNING: Do not edit these files directly. Use ONLY Post Builder!Only a Virtual NC Controller enabled Post can be used in ISV UGS Corp. 2007. All right

41、s reserved.38通过一简单零件进行验证通过一简单零件进行验证5一旦将机床加入了库中,就可准备一简单零件对其进行测试创建一简单零件,并产生一刀具轨迹(例如在一方块上表面创建刀轨) 必须在进行机床仿真前创建刀具轨迹为了将加工零件自动装载到机床上,需要按照以下说明增加运动关系结构 :增加一 SETUP k部件在该部件上定义PART_MOUNT_JCT增加一PART k部件,并选取几何对该部件进行分类 JUNCTION应该位于零件将要装载的位置 SETUP必须分类为SETUP_ELEMENT, PART 必须分类为 PART! UGS Corp. 2007. All rights reser

42、ved.39Preparation for Hands-on CSE Step 1Software versionNX 5.0.2.2Post Builder 5.0.2.2Create folder structure UGS Corp. 2007. All rights reserved.40Step 2Copy all part files from RFM600DSgraphics folder to newly created rmf600dsgraphics folder UGS Corp. 2007. All rights reserved.41Step 3COPY TORENA

43、ME UGS Corp. 2007. All rights reserved.42ISV SettingsMachine ToolCreate Machine Tool Model Assembly in NXUse Machine Tool Builder to define the machine kinematics structureDetermine Simulation EngineMTDCreate Postprocessor and VNCCSESelect proper Controller Configuration UGS Corp. 2007. All rights r

44、eserved.43Create a new assemblyCreate a new part in graphics folder, and add the machine as assembly UGS Corp. 2007. All rights reserved.44Machine Tool BuilderBuild the kinematics structureMACHINE_BASEK-ComponentJunctionAxisJunction and axis name must match the name defined in CCF/MCF configuration

45、files. UGS Corp. 2007. All rights reserved.45K-ComponentKinematics model of a machine tool is a tree structure of K-Components that represents the physical relationship between the machine components and how they move (sliding or rotating) with respect to each other.A K-Component is a container or a

46、 leaf node in the kinematics tree that may contain geometry and/or Junctions (CSYS).A moving K-Component (an axis) will have a geometry object associated with it and an Axis attribute defining how it moves. UGS Corp. 2007. All rights reserved.46Junction -1A Junction is a coordinate system that is re

47、ferenced to direct & constrain the movement of an axis.An Axis attribute is specified with a moving K-Component to define its movement.How to define a Junction ? Position and orient the WCS to the desire location then accept it as the Junction. UGS Corp. 2007. All rights reserved.47Junction -2MACHIN

48、E_BASEMACHINE_ZERO* Junction Its the foremost important junction that defines the directions, orientations and work planes for all the moving axes of a machine. Definition LevelThe reference Junction of an Axis should be set on the parent level. Never be set on the K-Component itself that the Axis i

49、s specified with.Youll regret, if you dont classify this Junction! UGS Corp. 2007. All rights reserved.48Junction -3Tool mounting junction TOOL_MOUNT_JCTX up, please!Spindle UGS Corp. 2007. All rights reserved.49Junction -4How a part is mounted on a machine?PART_MOUNT_JCTSETUPPART UGS Corp. 2007. Al

50、l rights reserved.50AxisComplete the kinematics model:Properly assign & place K-Components in the treeDefine all linear axes by using the MACHINE_ZERO* junction as the reference.Identify (not specify) the rotary axes then specify the needed junction for each axis on its parent component respectively

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 教案示例

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁