Skip to content

FB: Monitor Physical Acknowledgement Button - v1.1

This function block monitors a physical acknowledgement button and generates a pulse output on the negative edge (button release). It also monitors for a stuck-button condition via a configurable watchdog.

  • Alarm acknowledgement button on a physical panel.
  • Any input where the action should trigger on release rather than press.
TypeNameVersion
functionTP_TIMESiemens FB
functionTON_TIMESiemens FB
ParameterDeclarationTypeInit. valueDescription
buttonInputBoolIR: 1= Button is pressed
WATCHDOG_TIMEInput RetainTimeT#10sIR: Watchdog time. 0= Disabled; >0= Maximum allowed press duration
ACKN_TIMEInput RetainTimeT#500msIR: Output pulse duration on negative edge
QOutputBoolOR: 1= Acknowledgement pulse (active for ACKN_TIME)
a2w_1_watchdogOutputBoolOR: 1= Alarm warning — button held longer than WATCHDOG_TIME