RobotStudio event

Cyclic brake check HoursMapping

I'm currently working on an ABB robot system where the standard Cyclic Brake Check (CBC) pre-warning time is set to 11 hours, 

using the Safety Signal <i><b>SC1BCPREWRN</b></i>. However, the customer has requested to extend this pre-warning time to 72 hours to ensure the CBC check can be completed before weekends or other extended downtimes.

I understand that <i>SC1BCPREWRN</i> is a Boolean signal, which only indicates when the 11-hour pre-warning threshold is reached.

 What I need is a way to calculate and manipulate the remaining CBC hours so that I can trigger the warning at 72 hours before the CBC is due, rather than the default 11 hours.

Specifically, I'm looking for a method to:

  1. Access or calculate the actual remaining hours before the CBC check within a RAPID program.
  2. Adjust this calculation to create a custom pre-warning time of 72 hours.
  3. Map this adjusted time (as a <i>DINT</i> value) to a PLC for further processing.

Has anyone dealt with a similar situation or can offer guidance on how to implement this in RAPID? Any tips or code snippets would be greatly appreciated!