BLINKA
Function Block - Asymetric blinker.
Inputs
Input |
Data type |
Description |
RUN |
BOOL |
Enabling command. |
TM0 |
TIME |
Duration of FALSE state on output. |
TM1 |
TIME |
Duration of TRUE state on output. |
Outputs
Output |
Data type |
Description |
Q |
BOOL |
Output blinking signal. |
Time diagram
Remarks
The output signal is FALSE when the RUN input is FALSE. In LD language, the input rung is the IN command. The output rung is the Q output signal.
ST Language
MyBlinker is a declared instance of BLINKA function block.
MyBlinker (RUN, TM0, TM1);
Q := MyBlinker.Q;
FBD Language
LD Language
BLINKA |
IEC 61131-3 Automation platform > Programming - Reference guide > Timers > BLINKA |
Created with the Personal Edition of HelpNDoc: Converting Word Documents to eBooks: A Step-by-Step Guide with HelpNDoc