Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Adding Dobot End Effector Function in Post Processor

#1
I'm trying to modify the Dobot Post Processor to run the Dobots End Effectors and not having much success. Following这篇, I made a copy of the Dobot Post processor and added two functions to turn the suction cup on and off and set that as my programs post processor. I then used the Program Call Instruction to call the function. However it just says the function was not found and skips it.

When I generate the code the function definitions and call are there but RoboDK still skips the function call.

The code I use in the function comes directly from Dobot Studios Python generator/Dobot APIso by all accounts should be the right code.

"Move and Suck" is the Code generated when I right click my program
"DobotwTools" is my edited Post Processor
I also attached a screenshot from RoboDK

Any help would be appreciated!


Attached Files Thumbnail(s)


.py Move and Suck.py(Size: 4.14 KB / Downloads: 9,687)
.py DobotwTools.py(Size: 21.45 KB / Downloads: 872)


Messages In This Thread
Adding Dobot End Effector Function in Post Processor - byamber.saffen- 12-20-2019, 05:51 PM



Users browsing this thread:
1 Guest(s)