BLINK![This function or function block supports PLCopen motion PLCopen motion icon](../Resources/Images/Icon_PLCopen.png)
A function block groups an algorithm and a set of private data. It has inputs and outputs. - Blinker.
Inputs
RUN : BOOL Enabling command
CYCLE : TIME Blinking period
Outputs
Q : BOOL Output blinking signal
Time diagram
Remarks
The output signal is FALSE when the RUN input is FALSE. The CYCLE input is the complete period of the blinking signal. In FFLD language, the input rung is the IN command. The output rung is the Q output signal.
ST Language
(* MyBlinker is a declared instance of BLINK function block *)
MyBlinker (RUN, CYCLE);
Q := MyBlinker.Q;
FBD Language
FFLD Language
IL Language
(* MyBlinker is a declared instance of BLINK function block *)
Op1: CAL MyBlinker (RUN, CYCLE)
FFLD MyBlinker.Q
ST Q
See also