Asked — Edited

No Response To Scripts

I am working with a V3 on a robot arm. I have included some of the "Hand" example scripts in my project and edited them by naming the servos as per my project. The servos will not respond to them nor will they respond to the scripts I write. All my servos work well with the slide controls in the configuration windows. What am I doing wrong? When I press "START" in a sample script window it shows that the script is working and then that it is done but there is no movement at the servos.


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

#1  

Would need to see the script to know what is wrong. You can post one of the scripts here, or you can post your project or save it to EZ Cloud and let us know the name.

Alan

PRO
Synthiam
#2  

Sounds like you are missing sleep() commands between the servo movements. As Alan mentioned, it's impossible to help without seeing your script or a project. However, help you along - I will give you this example...


servo(d0, 10)
servo(d2, 50)

# Pause while we let the servos move into position
sleep(500)

servo(d0, 100)
servo (d2, 10)

# Pause while we wait for the servos to move into position
sleep(500)

however, you can write scripts - but using the Auto Positioner is much cooler:D

#3  

Thanks for the answers.
My computer skills are very limited and I still have to figure out how to get the screen pictures out to you in the proper format.. I am working on it. I have used DJ's example with my project's servos ports and got the same result as I did with my own script. No movement. I will get the screen pictures out to you shortly.

PRO
Synthiam
#4  
  1. Are you connected to the ezb?

  2. Are you connecting the servos correctly to the ez-b v3?

  3. Is there power on the pins for the v3?

#5  

I am connected and the servos respond to the slides in the configuration windows for each of them. I therefore assumed there is power to the pins. I will test the pins with a meter anyway.

United Kingdom
#6  

Post the script so we can see what's happening.

Edit the script Highlight all text (Ctrl + A) Copy text (Ctrl + C) Come back to this topic Reply and paste it in to the reply (Ctrl + V)

#7  

Here goes servo(d6,75) servo(d1,60) sleep(500) servo(d6,50) servo(d1,50) sleep(500)

United Kingdom
#8  

Make the sleep longer, change the 500 to something bigger, say 1000.

Also check no other control is holding or moving the servos.

The script itself should work and it should take half a second to change from one position to the other.