• Analog Monitors
    • HYSTERESIS (FunctionBlock)
    • LIMITALARM (FunctionBlock)
  • BCD Conversions
    • BCD_TO_BYTE (Function)
    • BCD_TO_DWORD (Function)
    • BCD_TO_INT (Function)
    • BCD_TO_WORD (Function)
    • BYTE_TO_BCD (Function)
    • DWORD_TO_BCD (Function)
    • INT_TO_BCD (Function)
    • WORD_TO_BCD (Function)
  • Bit/Byte Functions
    • BIT_AS_BYTE (FunctionBlock)
    • BIT_AS_DWORD (FunctionBlock)
    • BIT_AS_WORD (FunctionBlock)
    • BYTE_AS_BIT (FunctionBlock)
    • DWORD_AS_BIT (FunctionBlock)
    • EXTRACT (Function)
    • GETBIT (Function)
    • PACK (Function)
    • PUTBIT (Function)
    • SETBIT (Function)
    • SWITCHBIT (Function)
    • UNPACK (FunctionBlock)
    • WORD_AS_BIT (FunctionBlock)
  • Constants
    • TextBlockSize (ParamList)
  • Controller
    • PD (FunctionBlock)
    • PID (FB)
    • Temperature control with PID and LIMIT
    • PID_FIXCYCLE (FunctionBlock)
  • Datatypes
    • GEN_MODE (Enum)
    • POINT (Struct)
    • PT_SIZE (Struct)
  • Encoding
    • BASE64 (Function)
  • Function Manipulators
    • CHARCURVE (FunctionBlock)
    • RAMP_INT (FunctionBlock)
    • RAMP_REAL (FunctionBlock)
  • Gray Conversions
    • BYTE_TO_GRAY (Function)
    • DWORD_TO_GRAY (Function)
    • GRAY_TO_BYTE (Function)
    • GRAY_TO_DWORD (Function)
    • GRAY_TO_WORD (Function)
    • WORD_TO_GRAY (Function)
  • HEX/ASCII Functions
    • BYTE_TO_HEXinASCII (Function)
    • HEXinASCII_TO_BYTE (Function)
    • WORD_AS_STRING (Function)
  • Library Information
    • GetLibVersion (Function)
    • GetLibVersionNumber (Function)
    • IsLibReleased (Function)
  • Mathematical Functions
    • DERIVATIVE (FunctionBlock)
    • INTEGRAL (FunctionBlock)
    • LIN_TRAFO (FunctionBlock)
    • ROTATION_DIFFERENCE (FunctionBlock)
    • STATISTICS_INT (FunctionBlock)
    • STATISTICS_REAL (FunctionBlock)
    • VARIANCE (FunctionBlock)
  • Signals
    • BLINK (FunctionBlock)
    • FREQ_MEASURE (FunctionBlock)
    • GEN (FunctionBlock)
  • TimerSwitch
    • Enums
      • ERROR (Enum)
      • PERIOD (Enum)
      • WEEKDAY (Enum)
    • FunctionBlocks
      • DateTimeProvider (FunctionBlock)
        • GetDateTime (Method)
      • TimerSwitch (FunctionBlock)
        • IDateTimeProvider
    • Functions
      • CombineDateTime (Function)
      • DateTimeFromWeek (Function)
      • DayOfWeek (Function)
      • GetDateTime (Function)
      • GetLocalDateTime (Function)
      • GetTimeStampsDifference (Function)
      • IsLeapYear (Function)
      • JoinDateTime (Function)
      • LocalDateTime (Function)
      • SeparateDateTime (Function)
      • SplitDateTime (Function)
      • WeekOfYear (Function)
    • GlobalConstants
      • DAY_FLAGS (GVL)
      • TSW (GVL)
    • Interfaces
      • IDateTimeProvider (Interface)
        • GetDateTime (Method)
    • Structs
      • DateTime (Struct)
      • Schedule (Struct)
      • Segment (Struct)
      • TimeZone (Struct)
    • Types
      • DAY (Alias)
      • DAYS (Alias)
      • HOUR (Alias)
      • MILLISECOND (Alias)
      • MINUTE (Alias)
      • MONTH (Alias)
      • SECOND (Alias)
      • TZ_NAME (Alias)
      • WEEK (Alias)
      • YEAR (Alias)
  • File and Project Information
  • Library Reference
    • CmpErrors2 Interfaces
      • Library Identification
      • Library Properties
    • Standard
      • Library Identification
      • Library Properties
    • SysMem
      • Library Identification
      • Library Properties
    • SysTimeRtc
      • Library Identification
      • Library Properties
    • SysTypes2 Interfaces
      • Library Identification
      • Library Properties
Util
  • Docs »
  • Signals »
  • BLINK (FB)

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 blinking
FALSE: Stops blinking whereas OUT keeps its value

TIMELOW

TIME

Time for OUT to be FALSE

TIMEHIGH

TIME

Time for OUT to be TRUE

Output

OUT

BOOL

Output value, starts with FALSE and switches between TRUE and FALSE for the given high and low times