BLINK (FB)ΒΆ
FUNCTION_BLOCK BLINK
Simulates a blinking signal (turning on and off for specific durations)
- InOut:
Scope
Name
Type
Comment
Input
ENABLE
BOOL
TRUE
: Starts blinkingFALSE
: Stops blinking whereasOUT
keeps its valueTIMELOW
TIME
Time for
OUT
to beFALSE
TIMEHIGH
TIME
Time for
OUT
to beTRUE
Output
OUT
BOOL
Output value, starts with
FALSE
and switches betweenTRUE
andFALSE
for the given high and low times