January 17, 2019, 09:38:48 PM
Robotforum | Industrial Robots Community

 Beginner Question on Speed Settings


Author Topic:  Beginner Question on Speed Settings  (Read 422 times)

0 Members and 1 Guest are viewing this topic.

January 07, 2019, 03:05:22 AM
Read 422 times
Offline

Blaret and Clue


I have a somewhat hypothetical question and I apologise in advance for any ignorance (I am having to stumble my way through learning how to program Fanuc robots effectively, whilst at work).

If I wanted to program a Fanuc robotic arm to perform some sort of task that was time based ie. playing a simple tune on a toy piano, what would be the best way to approach the problem?

I am struggling with the concept of accurate time based movement and without a ton of maths, I'm at a bit of a loss as to how best approach this.

Any help with this would be appreciated.

For some background, we have a FANUC Educational Cell that we would like to use to get kids interested in Engineering.

Thanks in advance.

Linkback: https://www.robot-forum.com/robotforum/index.php?topic=30230.0
  • Like    Thanks

Today at 09:38:48 PM
Reply #1

Advertisement

Guest

January 07, 2019, 08:22:06 PM
Reply #1
Offline

Fabian Munoz

Administrator
Blaret and Clue

Welcome to the robot fourm

Program each key (pressed) using PRs, use FINE

Move on top of the key using PR minus a distance , use FINE

DO PR1, RE PR2, MI PR3, FA PR4

Let's do DO RE MI FA

Go to start position
L PR1 - distance FINE  Approaching DO
L PR1 FINE
WAIT R11       This is the anwser to your question R11 is the value of the timer. You can adjust these timer after your music is done
L PR1 - distance FINE   Departure DO
L PR2 - distance FINE   Apporaching RE
L PR2 FINE
WAIT R12 
L PR2 - distance FINE   Departure RE
L PR3 - distance FINE
L PR3 FINE
WAIT R13
L PR3 - distance FINE
L PR4 - distance FINE
L PR4 FINE
WAIT R11
L PR4 - distance FINE
Go to start position
  • Like    Thanks
somar

January 08, 2019, 11:01:16 AM
Reply #2
Offline

Blaret and Clue


Thanks, Fabian.

Further to this, if I wanted to play notes out of sequence, in the form of a melody (ie. the distances between the keys would differ for each transition) but still to a regular tempo, is this manageable?

I'm conscious that if I instruct the robot to wait for the desired time but the transition to the next key is much further away than the transition between the previous two keys then the notes will not be played to a consistent tempo.

I've noticed that I can set a motion speed in terms of time (seconds or milliseconds), would this force the robot to arrive at positions at the end of a set time period, regardless of the distance in between them (within reason)?
  • Like    Thanks

January 08, 2019, 02:47:19 PM
Reply #3
Offline

Fabian Munoz

Administrator
Hi

1) the main reason to put values on R variables is that you can update them while the robot is running to get to the right tempo.

2) Processing time between lines is 4 msec

3) You have to consider that there is acceleration and deceleration so even that you write 150 mm/sec is not going to take 150 mm to do one sec.  Based on this principle it will be very hard (near impossible) to write speeds. You would have to have a database to find where from and where to and the speed.

4) If you watch videos on the net you will see robots plating basketball, dancing , etc , etc.  Well those are very simple point program that took forever to the programmer to find the timing

5)You can reach your destination using FINE or a CNT value. You have to be consistence.   FINE will delay the robot at arrival because you  are asking it to go to the perfect points. Maybe you could use CNT0 or CNT1 BUT always use the same

6) same for approach and departure

January 08, 2019, 04:11:08 PM
Reply #4
Offline

tony gast


KUKA plays music..... You can judge what is real .....


https://www.youtube.com/watch?v=bAdqazixuRY
Oh, well

January 08, 2019, 04:51:41 PM
Reply #5
Offline

Fabian Munoz

Administrator
 :uglyhammer2:

so basically what Tony is saying is that instead of me explaining the whole thing I just should've given the link for the movie   :wallbash:

Thanks Tony
  • Like    Thanks

January 08, 2019, 07:48:37 PM
Reply #6
Offline

Blaret and Clue


Ha thanks Fabian for the explanation, much appreciated.

I shall see what I can and can't do. If it comes down to huge amounts of trial and error, so be it!

I guess if it all falls apart, they're kids, what do they know  :icon_wink:
  • Like    Thanks

Today at 09:38:48 PM
Reply #7

Advertisement

Guest

January 08, 2019, 09:20:15 PM
Reply #7
Offline

Fabian Munoz

Administrator
I figured it was was education purposes, that's why I took my time to explain
Thanks to you for training the kids
  • Like    Thanks

January 10, 2019, 03:01:47 PM
Reply #8
Offline

Doctor_C


Another thing you could test is the "speed" portion of the motion statement. Highlight the speed, and press F4 CHOICE, you will have choices of sec or msec.   

If you have multiple motions you would have to split your time between them.
Hope this helps, and have fun. it's the best way to learn.
  • Like    Thanks


Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

clip
Robotstudio (beginner question)

Started by unsaint43 on ABB Robot Forum

1 Replies
1160 Views
Last post January 16, 2017, 11:16:11 AM
by TSBV
question
how do I adjust settings (amps, volts, traveling speed, also wire feed speed)for

Started by bKuech on Panasonic Robots

1 Replies
1087 Views
Last post April 20, 2017, 05:39:22 PM
by Thescoe
xx
point speed settings

Started by vpomichal on KUKA Robot Forum

3 Replies
1800 Views
Last post September 30, 2015, 11:11:03 PM
by BrianR
xx
M6i robot speed settings

Started by trevpossy on Fanuc Robot Forum

5 Replies
2875 Views
Last post June 08, 2013, 09:32:31 AM
by trevpossy