How do I have an input looked at for an enitre ProCall?
Hello,
Here is what I am trying to do
I am trying to look at a Digital Input for the Entire PROC UnLoad_Caster() program up to the point BEFORE the Close Gripper Occurs. That DI is diExtractPart. I already have all the PLC mapping complete now I am just looking to see where to put his in the RAPID.
The reason we are doing this is to cause the Robot to go back home, therefore in a safe position, if the diExtractPart signal drops out.
If diExtractPart ever equals zero(0) then Stop the Robot -> ExitCycle -> Open Grippers -> Home Postion
Thank you for any help
Best Answer
-
You can check the status of the signal at the start of the routine in an IF statement with the 'return' command so the the rest of the routine is not executed.
Use an interrupt to catch the signal change during execution of the routine (see attached).
5
Answers
-
Thank you for the help. That was a great answer. I really appreciate it.
God Bless
0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings