Specifications

sigmadue - IEC 61131-3 Function Block Library
54
1-3-42 TIMER_ADV
FB Prototype
TIMER_ADV
Input parameters
Output parameters
Description
This FB performs a countdown Timer function with some advanced features. In
detail, the START command (it is evaluated ONLY on the rising edge), basically,
enable the execution ONLY of the FB but not yet the real count, it starts or stops
only with the RUN_HOLD command. At any time, with the RESET input is possible
to interrupt and reset the execution of the FB. Trough the digital output it is possible
to know, at any time, the status and the amount of time at the end of the timer.
Label Type Description
START BOOL Digital command to start the Timer
RUN_HOLD BOOL Digital command to Run or Hold the Timer count
T_RESET BOOL Digital command to Reset the Timer execution
TIME_HH REAL Preset Timer value in hours
TIME_MM REAL Preset Timer value in minutes
TIME_SS REAL Preset Timer value in seconds
Label Type Description
START_STS BOOL Timer status
RUN_STS BOOL Timer Run status
HOLD_STS BOOL Timer Hold status
END_TIMER BOOL End Timer status
COUNT_HH REAL Timer countdown (hours)
COUNT_MM REAL Timer countdown (minutes)
COUNT_SS REAL Timer countdown (seconds)
START
RUN_HOLD
T_RESET
TIME_HH
TIME_MM
TIME_SS
BOOL
BOOL
BOOL
REAL
REAL
REAL
¡
¡
¡
¡
¡
¡
BOOL
BOOL
BOOL
BOOL
REAL
REAL
REAL
START_STS
RUN_STS
HOLD_STS
END_TIMER
COUNT_HH
COUNT_MM
COUNT_SS
¡
¡
¡
¡
¡
¡
¡