PMAC技术培训(中级).ppt
《PMAC技术培训(中级).ppt》由会员分享,可在线阅读,更多相关《PMAC技术培训(中级).ppt(56页珍藏版)》请在三一办公上搜索。
1、,E-MOTION,PMAC多轴运动控制卡(中级培训),LINEAR 插补方式,对PMAC 用户直线插补是最通用的方式.直线插补轨迹包括加减速时间和运动时间.,需要学习:什么是直线插补模式的轨迹如何改变轨迹的特征如何实现多个运动的速度混合,Linear 模式的轨迹小Acceleration 时间,Linear 模式的轨迹(continued)小Acceleration 时间,Linear 模式的轨迹(continued)加速时间等于运动时间,Linear 模式的轨迹(continued)加速时间等于运动时间,Linear 模式的轨迹大(速度限制)加速时间,Linear 模式的轨迹大(速度限制)
2、加速时间,加速参数,TA编程加速时间(单位:msec);整数TS编程S-曲线时间(单位:msec);整数,加速参数(continued),例 3:一个复杂的运动,This example introduces incremental and time-specification of moves,looping logic,using variables,scaling of axes,and simple arithmetic.Note that logical and mathematical operations do not delay moves.,;*Set-up and Defi
3、nitions*坐标系1,指向运动程序2,运行,例 3:一个复杂的运动,直线插补测验,曲线的水平和垂直轴的含义?什么是 TS,TA,TM and F?TM 和 F 的关系是什么?以100msTA时间和20ms的TS时间,TM为500ms的时间外成一个运动,总的运动时间是多少?如果程序表达 TS100 TA100 TM100,完成3个混合运动的总时间是多少?,PMAC 运动速度混合,PMAC 在如下情况下速度无法混合:两个运动指令中间有 DWELL指令2 个向后跳转指令(GOTO,ENDW)速度混合功能无效设定(Ix92=1),DWELL Vs.DELAY,DWELL总使用固定的时基(I10)暂
4、停时间不包括减速过程直到DWELL结束才执行下面运动的计算(add I11 time),DWELL Vs.DELAY(continued),DELAY使用可变的时基(%value)暂停时间包括减速过程最小暂停时间是当前 TA时间下面运动时间开始于DELAY指令,例4:速度混合有效的例程,This example shows how to program a blended move on the PMAC and the function of Ix92.First the program specifies how to do the move,then commands the move.
5、,*Set-up and Definitions*DEL GAT;Erase any defined gather buffer GATHER,CS.1,point to Beginning of Program 1,Run,例4:速度混合有效的例程,例5:速度混合无效的例程,This example shows how to program moves on the PMAC and the function of Ix92.First the program specifies how to do the move,then commands the move.,*Set-up and D
6、efinitions*DEL GAT;Erase any defined gather buffer GATHER,CS.1,point to Beginning of Program 1,Run,例5:速度混合无效的例程,速度混合测验,使用 速度指令(F)在增量方式(INC),指令 X1000 和指令 X100 X400 X500如果 Ix92=0,TA TM or(TAP/F),和 2TSTA有何区别?,矢量速率,PMAC 可以自动计算运动时间(TM)使电机运行与希望的速度速率下.,需要学习:速率指令的表达 PMAC如何计算速率,这用于多个电机在一个坐标系下控制一个刀具,来自动分配各自的速
7、度,矢量速度轴,INCFRAX(X,Y)X3 Y4 F10,INCFRAX(X,Y)X3 Y4 Z12 F10,矢量速度轴(续),INCFRAX(X,Y,Z)X3 Y4 Z12 F10,INCFRAX(X,Y)C10 F10,速度时间单位,Ix90速度时间单位(单位:msec),例:#1-2000XIx90=1000,速率测验,如果坐标系1 的 I190=60000,那么速率时间单位是什么?如果X 和 Y 是速率轴,如果指令 X100 Y200,各自速度如何分配?如果你编程指令 F5 定义速度为 5 inches/sec,如何设定 Ix90和轴的定义?,Exercise 1:Indexing
8、a Motor,Problem:,You have been asked to use PMAC in an indexing application,PMAC must index motor#1,which drives a leadscrew,a distance of 10 cm,pause at this location for 4 seconds then return to its original location.Each of the moves must take place in 2 seconds.The program will be started by an
9、ASCII command string sent to PMAC from a Programmable Logic Controller over the RS232 port.,Hardware:,2000 counts per revolution encoder5:1 gear reduction1cm/rev pitch leadscrewSET Ix92=0 to enable blending,Exercise 2:Indexing a Motor,Problem:,As is the case with all applications,the requirements ha
10、ve been changed.The following must be added to the basic requirements of exercise 1.,The desired motion profile has been changed.The system must now move from its zero location to 10 cm,pause for 4 seconds and then move to 20 cm in 2 more seconds and pause for 1 second.It then must return to 0 cm in
11、 1.5 seconds.The system has now become a multi-axis project.Not one but four identical leadscrews must simultaneously execute this profile.,Exercise 2:Indexing a Motor(continued),To minimize wear and tear on the mechanical components,instantaneous changes in acceleration(jerk)must be eliminated.This
12、 machine will be sold to a European company which will write some new programs for it.They only want to program in centimeters so your programs must also use centimeters.A feedrate override switch has also been added to the system.Your programmed pauses must now change as the feedrate override chang
13、es.This means that a 1.5 second pause will last 3 seconds at 50%feedrate override.Use M197-X:$0806,0,24,s for feedrate override control.,Exercise 3:Conditional Branching,Problem:,The European Company is having a lot of success with your machine and your boss now has some extra R&D money.He wants you
14、 to write another application based on the same platform.2 input switches have been connected to PMACs machine inputs 1 and 2.He wants these switches to control the motion of the stages as follows.,If machine input 1 is on,the stages should move from 0 cm to 10 cm at a speed of 1 cm/sec,pause for 1
15、second then return to 0 cm at the same speed and pause for 100 milliseconds until looking for the next input.,Exercise 3:Conditional Branching(continued),If machine input 2 is on,the stages should move from 0 cm to-10 cm at a speed of 2 cm/sec,pause for 1 second then return to 0 cm at the same speed
16、 and pause for 100 milliseconds until looking for the next input.If both machine inputs 1 and 2 are on,or if neither are on,the stages should not move from 0 cm and should pause for 100 milliseconds until looking for the next input.,圆弧插补,什么变量控制圆弧插补如何使用圆弧插补如何定义插补平面,PMAC 允许 X,Y,和 Z 轴在一个坐标系下执行圆弧插补指令。TS
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- PMAC 技术培训 中级
链接地址:https://www.31ppt.com/p-5444141.html