Python -> Robodk -> Robot - Run on robot, wont work- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Python -> Robodk -> Robot - Run on robot, wont work (/Thread-Python-Robodk-Robot-Run-on-robot-wont-work) |
Python -> Robodk -> Robot - Run on robot, wont work-Mnejmann-05-02-2023 Hey, i cant seem to figure out how to run my python program on the robot, it only works when i use the feauture inside robodk, where i execute an existing program inside robodk, but it wont do the movements when i manually moves the robot from the MoveL and MoveJ commands in python. Code example:
Code:
# Type help("robodk.robolink") or help("robodk.robomath") for more information
RE: Python -> Robodk -> Robot - Run on robot, wont work-Alex-05-02-2023 Did you try a different argument for SetRunMode?
RE: Python -> Robodk -> Robot - Run on robot, wont work-Mnejmann-05-02-2023 Thank you, that solves everything! completely overlooked the values above 1 and 2 in the setRunMode() command. |