Reset output values via PROFIBUS
Hello,
I’ve got an
IRB 14000 YuMi robot. It’s connected via PROFIBUS to TwinCAT3 on an IPC. In the
Rapid code, I’ve written an interrupt that is called in case of an error (for
example motion supervision). The interrupt writes an integer value (the value
depends on the error that occurs) into a digital output and in TwinCAT an error
message is displayed on the graphical user interface I have created. The
user can reset the error signal in TwinCAT and the program continues running.
The only problem is that the value of the DO isn’t reset and the error message
is still being displayed.
Is there an option to reset the value automatically after restarting the
program?
I’ve tried setting an output in TwinCAT that calls an interrupt on the robot controller.
The interrupt is supposed to set the DO back to 0, but somehow it didn’t work.
Is there something I might have forgotten? Maybe the priority of the interrupts
(I actually don’t know how to change it as I’m a beginner in robot programming)?
Thank you for your help!
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings