08-31-2022, 06:49 AM
How would it be possible to make a continuous movement of the robot that stops when the external limit switch gives an input signal?
The movement of the robot that stops at the limit switch |
08-31-2022, 06:49 AM
How would it be possible to make a continuous movement of the robot that stops when the external limit switch gives an input signal?
08-31-2022, 11:25 AM
Yes, this is possible but at this moment it requires some integration with the API, the post processor and/or the driver.
You can use the function SearchL of the API to implement this behavior. This is still experimental and not supported with all robots. If you can share your project we may be able to help you point in the right direction.
09-02-2022, 05:24 AM
Ok, too tight a schedule to do that. How can I make a program where the robot moves for example 10 mm at a time and ends the current program and calls the next program when the limit switch goes to state 0? Should I do it with the insert code operation or how should it be done?
09-03-2022, 06:11 PM
You can use a function such as Pose_Split to split 2 movements by steps of 10 mm:
//www.sinclairbody.com/doc/en/PythonAPI/robo...Pose_Split Also, this example shows a how to implement a binary search algorithm with your robot, something very similar to what you are looking for: //www.sinclairbody.com/forum/Thread-Executin...ction-call
嗨,我设法使程序的机器人ves 10mm at a time until the limit switch stops the movement and starts another program. But there is still one mistake here. How would I make the program loop end when I call another program, because now that the second program is done, it goes back to the previous program. What command can I use to stop the cycle of the program?
As a matter of fact, I didn't manage to call another program... That is, how can I call another program and stop the running program? |
Users browsing this thread: |
1 Guest(s) |