Send Speed change to robot- Printable Version +- RoboDK Forum (//www.jasonament.com/forum) +-- Forum: RoboDK (EN) (//www.jasonament.com/forum/Forum-RoboDK-EN) +--- Forum: General questions about RoboDK (//www.jasonament.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: Send Speed change to robot (/Thread-Send-Speed-change-to-robot)
Pages:
1
2
|
Send Speed change to robot-Event Robotics-03-01-2022 Hi all, We ran into a problem sending speed changes to the robot while running directly on the robot (KUKA) The thing is that all the targets are in the same place, only rotation is different. All motions are Lin.(station is already in mailbox from Jeremy and Albert) The fix would be to send $OV_PRO to the robot while running the program. Is there a way to do this? Rick. RE: Send Speed change to robot-Event Robotics-03-03-2022 Nobody? RE: Send Speed change to robot-Alex-03-04-2022 Hi Rick, can you send the station to info@www.jasonament.com so I can take a look? Jeremy is taking a well deserved day off today. Please mention my name when sending the email. Thanks RE: Send Speed change to robot-Event Robotics-03-04-2022 Hi Alex, Thanks for your reply. I will send you the station as soon as i'm in the office. Rick RE: Send Speed change to robot-Albert-03-04-2022 Hi Rick, It is possible to get or set special KUKA global variables using the RoboDK API and the driver. For example, to set the OV_PRO variable to 50 you should be able to do something like this:
Code:
robot.setParam("Driver", "SET $OV_PRO=50")
I've never tested this but it should work. Make sure you use a recent version of RoboDK. Another example to use this feature, you could also retrieve the list of tools using:
Code:
ToolList = robot.setParam("Driver", "GET $TOOL_DATA")
Let us know if you need more help. Albert RE: Send Speed change to robot-Event Robotics-03-04-2022 Hi Albert, Thanks for your reply. We will test it on sunday. Keep you posted. Rick RE: Send Speed change to robot-Event Robotics-03-07-2022 Hi All, We are kind of stuck.... We did use the suggestion you mentioned.no luck We have to send the command to both robots first of all. And the variable does not "land" on the robot. Can you send us example script maybe? Rick RE: Send Speed change to robot-Albert-03-09-2022 Hi Rick, 我很抱歉延误。我发现我犯了一个mistake in my example. I just corrected it and added a more complete example here:
Code:
# Connect to the robot using the driver and set a KUKA variable
Let me know if you still have issues, if you can send us your RDK project it would help us understand what is going on. Alternatively, it will also help if you can send us a print screen of the robot driver communication log. Thanks, Albert RE: Send Speed change to robot-Event Robotics-03-09-2022 Hi Albert, Thanks. We will give this a try. The station is in your mailbox. Rick RE: Send Speed change to robot-Event Robotics-03-09-2022 Hi Albert, We tried the code. No succes. See Picture. It even breaks the connection for short while.
Code:
# Type help("robodk.robolink") or help("robodk.robomath") for more information
|