RAPID Tips&Tricks: Build a simple menu system based on "TPReadFK"
Options
sepefra1
✭
In our latest project we created a demo application on the YuMi robot, this particular demo was comprised of many different small things we needed the robot to do, like: Open/Close gripper, move to different positions, actuating external axes, resetting system, executing sequences of motion, etc. We decided early on that doing all these tasks in MANUAL mode using program pointer manipulation is too cumbersome. There has to be a better way.. We found one
We created a menu using the TPReadFK command in RAPID (this command puts 5 optional buttons on the teachpendant), and by coding this command into a rapid function we were able to build up a menu system recursively with sub-menus, sub-sub-menus, and so on..
Basically, we ended up with writing one line of code for each thing we wanted the robot to do, and by putting the robot in AUTO mode - all these operations became available within ONE SINGLE TOUCH on the flexpendant!!!
Please find the attached "Menuselector.sys" module (which includes the menu function)..
Add this module to your task and look at the example menu in the main module of the attachment here to create your own menu..
Tagged:
1
Categories
- All Categories
- 5.4K RobotStudio
- 383 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 733 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings