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

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

Read up on the ErrRaise and ErrWrite instructions in the technical manual - Instructions, Functions and Datatypes.

Hi Lee,

Thank you for your reply. I will check and try.

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,
Ahmed

How do you have it set up to execute your proc? The robot needs to execute the code somehow

Hello

You can configure a custom alarm on the Flex Pendant using RAPID.

  1. Monitor the Digital Input: Use a trap routine or cyclic task to check the mixing unit status.
  2. 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.

Thank you.