Subroutine: Generate a certaine number of beeps via the HMI
A simple subroutine for generate a certain number of beeps (buzzer) via the HMI
|Active the beeps for the alarms|
|Configuration of an alarm in HMI-Tool
|If you do not want to display the alarm in the «Alarm display» table, you can select only the correct range to be display.
However, it will be displayed in the historical alarm table.
|And you can use this subroutine in vBuilder for generate the beeps
You can dowload the subroutine here: Beeps via the HMI
Here, the PLC input «InBitC1» generate an alarm (Level_High), which, generate the 3 beeps
«HMI_Alarm_Beep» is also in both, main program and subroutine, because its value must be available in the Modbus register from the subroutine. The link must be done between main program and subroutine.
|And add the «HMI_Alarm_Beep» in the Modbus register.