Timers
Alarm_Active
File: general_blocks/Timers/Alarm_Active.sim
Description
The model which executes to represent the activation of an alarm. The alarm
will be activated after the amount of time has passed which was specified
when
the alarm was set by the Set_Alarm model. The alarm can be canceled by
a
Cancel_Alarm model.
Ports
Input Ports
Output Ports
- Active Data Type:
TRIGGER
Parameters
- Alarm_Name Data Type:
CHARACTER
Cancel_Alarm
File: general_blocks/Timers/Cancel_Alarm.sim
Description
The model cancels the alarm set by the Set_Alarm model.
Ports
Input Ports
- Cancel Data Type: TRIGGER
Output Ports
Parameters
- Alarm_Name Data Type:
CHARACTER
Cancel_Timer
File: general_blocks/Timers/Cancel_Timer.sim
Description
The model is used to terminate, or cancel, an outstanding timer.
Ports
Input Ports
- handle Data Type: INTEGER
Output Ports
Parameters
Reset_Timer
File: general_blocks/Timers/Restart_Timer.sim
Description
The model cancels a timer, then starts another one.
Ports
Input Ports
- timeout Data Type: REAL
- handle Data Type: INTEGER
Output Ports
Parameters
Residual_Time
File: general_blocks/Timers/Residual_Time.sim
Description
The model is used to determine the time remaining until a timer
expires. If the timer is not scheduled, then a negative value will be
placed on the output.
Ports
Input Ports
- handle Data Type: INTEGER
Output Ports
Parameters
Service_Timer
File: general_blocks/Timers/Service_Timer.sim
Description
The model is used to signal that a timer has expired, or gone off.
When a timer expires, the model produces an output that identifies
which timer has expired.
Ports
Input Ports
Output Ports
- Active Data Type: INTEGER
Parameters
- Alarm_Name Data Type: CHARACTER
Set_Alarm
File: general_blocks/Timers/Set_Alarm.sim
Description
Model sets an alarm to be activated after the specified time.
Ports
Input Ports
Output Ports
Parameters
- Alarm_Name Data Type: CHARACTER
Start_Timer
File: general_blocks/Timers/Start_Timer.sim
Description
The model is used to start, or set, a timer.
Ports
Input Ports
- timeout Data Type: REAL
- handle Data Type: INTEGER
Output Ports
Parameters