Hello,
I am looking for way to control external axis speed. such as existing code "asyptp{e1 123}", 123 is position of axis driven to. I am unable to locate how it's been coded in term of speed.
thank you for your help
KRC2 External axis
-
nguoimay -
June 6, 2013 at 7:52 AM -
Thread is Resolved
-
-
I'm not aware you can set the speed with an external axis which has been decoupled.
You could possibly do something with the maximum motor speed?Sent using Tapatalk 4.
-
$OV_ASYNC has the same relationship to all Async motions as $OV_PRO has to all non-Async motions. But to control the velocity of a given Async axis without necessarily affecting all the others, you might use $VEL_AXIS_MA.
-
Thank you all,
As SkyeFire said about variable $VEL_AXIS_MA; how and where do I code a complete syntax for this?
thanks -
It is found in $machine.dat in the Mada folder (you must be in Expert mode)
$VEL_AXIS_MA[7]=1500.0 will set axis 7 to a maximum of 1500rpm
-
Note that that is motor RPM -- how that affects the actual axis is something you have to calculate, using $RAT_MOT_AX.
I'm honestly not sure if you can modify the $VELxxx variables from inside a program -- it's something I've never tried.
-
Thank you very much, I will try to see how it works. Have a good day.
-
It is found in $machine.dat in the Mada folder (you must be in Expert mode)
$VEL_AXIS_MA[7]=1500.0 will set axis 7 to a maximum of 1500rpm
if we use of V0L_AXIS_MA[2]=1200 will set axis 2 velocity.
-
that will tell controller MAX permissible velocity for that axis. it is the speed limit for that axis - this is not value that can be tweaked while running. so reducing value from 1500 to 1200 will slow that axis down by 20% as well as rest of the robot whenever this axis is lead axis.
1200/1500=0.8 = 80%
-
that will tell controller MAX permissible velocity for that axis. it is the speed limit for that axis. so reducing value from 1500 to 1200 will slow that axis down by 20% as well as rest of the robot whenever this axis is lead axis.
ok, how & when and where will use this variable ?? have you any example.
and suppose my step is PTP P4 CONT Vel=100 % and i used variable VEL_AXIS_MA[2] = 1200 then my 2nd axis will move with 1200 mm/s in this step, Am i right ?
-
normally you never touch it unless you are making own custom axis.
no... not linear speed. 1200RPM = 1200 revolutions per minute... that is max motor speed.
1200*360deg/60sec = 7200deg/sec
then you need to consider gear ratio of that axis you can get max angular speed of the axis.
say gear ratio is 75:1 then max angular velocity of A2 would be
7200/75=96deg/sec
so when you program PTP motion for this axis that has sufficiently long travel, and speed set to 100%, A2 will reach speed of 96deg/sec. That is not speed of the tool or end of arm but if you care to know linear speed at the end of A2 joint, you would need to know the length of that joint and continue calculations.
-
normally you never touch it unless you are making own custom axis.
no... not linear speed. 1200RPM = 1200 revolutions per minute... that is max motor speed.
1200*360deg/60sec = 7200deg/sec
then you need to consider gear ratio of that axis you can get max angular speed of the axis.
say gear ratio is 75:1 then max angular velocity of A2 would be
7200/75=96deg/sec
so when you program PTP motion for this axis that has sufficiently long travel, and speed set to 100%, A2 will reach speed of 96deg/sec. That is not speed of the tool or end of arm but if you care to know linear speed at the end of A2 joint, you would need to know the length of that joint and continue calculations.
when & where we use this variable ??
and in gear ratio what is 75 and what is 1.
and why we need to control the rpm because generally we work on normal vel. like ptp = 20% or lin = 2m/s
-
That particular variable is a LIMIT. and limits are not something you would change.
Definitely not something you change during program execution.
But there are other variables that set programmed speed, override speed etc.
Key manuals are mentioned in pinned topic READ FIRST.
Also consider KUKA training, it is more interactive than simply reading manuals.
-
Please share the manuals, if you have. If you can not share in publicly then share on
-
As Panic Mode already said, the links to the manuals are in the pinned READ FIRST topic at the top of the forum.
Why are you asking questions if you are not going to read the answers?