How do I configure my own alarm on the Flex Pendant?

in IRC5
Dear Experts,
I have an additional digital input connected to the controller I/O system to check whether the mixing unit, where the robot is placing samples, is ready or not. I would like to display an alarm on the Flex Pendant when the mixing unit becomes not ready and also understand how to use this alarm in ABB RAPID/configuration to set the ABB robot to "not ready" as well. Thanks.
Best regards,
Ahmed
I have an additional digital input connected to the controller I/O system to check whether the mixing unit, where the robot is placing samples, is ready or not. I would like to display an alarm on the Flex Pendant when the mixing unit becomes not ready and also understand how to use this alarm in ABB RAPID/configuration to set the ABB robot to "not ready" as well. Thanks.
Best regards,
Ahmed
Tagged:
0
Answers
-
Read up on the ErrRaise and ErrWrite instructions in the technical manual - Instructions, Functions and Datatypes.Lee Justice0
-
Hi Lee,
Thank you for your reply. I will check and try.0 -
Hi Lee,I have tried but it isn’t working. Please guide me if I am doing something wrong.
I have added this to RAPID:
PROC mixing_alarm()
IF DInput (mixing_ready)=1 THEN
ErrWrite\W, "Mixing unit not ready","";
ENDIF
ENDPROC
best regards,
Ahmed0 -
How do you have it set up to execute your proc? The robot needs to execute the code somehow0
-
Hello
You can configure a custom alarm on the Flex Pendant using RAPID.
- Monitor the Digital Input: Use a trap routine or cyclic task to check the mixing unit status.
- Trigger an Alarm: If the unit is not ready, use SetAlarm to display a message and stop the robot:
VAR alarmid myAlarm;
PROC check_mixing_unit()
IF DI_MixingUnit_NotReady = 1 THEN
SetAlarm myAlarm, "Mixing unit not ready!", 1;
StopMove;
ENDIF
ENDPROC
Set Robot to "Not Ready": Modify SysPar or use logic to prevent movement when the alarm is active.
0 -
Thank you.
0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 13 RobotApps
- 300 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 330 IRC5
- 66 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 824 RAPID Programming
- 9 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings