Article translated with the assistance of AI tools. Images and parts of the content will still be reviewed.
In this tutorial, you will understand how the Blink Functional Block works.
1. DEVELOPMENT
First, you will need to add the Utility library, since that is where the block is stored. Click on Library Manager or Library Manager >> Add Library >> Application >> Common, scroll down the list until you see the word Utility, select it and click OK, or double-click it.
Add an empty block in the desired row, in the question mark write BLINK
Parameterize the block by clicking OK in the next window that appears.
The BLINK Block generates a pulsing signal.
ENABLE >> BOOL,
TIMELOW and TIMEHIGH >> type TIME.
The OUT output >> BOOL.
If ENABLE is set to TRUE, BLINK starts setting the output to TRUE for the TIMEHIGH period and then sets it to FALSE for the TIMELOW period.
When ENABLE is reset to FALSE, OUT will not be changed, that is, pulses will no longer be generated. If you explicitly want to get OUT FALSE when ENABLE is reset to FALSE, use "OUT AND ENABLE" (add an AND box with the ENABLE parameter) at the output.
2. CONCLUSION
ENABLE will be the input that enables the block. When ENABLE is TRUE, the output will start generating pulses of pre-defined times in TIMELOW and TIMEHIGH.
TIMELOW is the time the output will remain disabled.
TIMEHIGH is the time the output will remain enabled.
3. OTHER LANGUAGE
4. VIDEO
Comments
0 comments
Please sign in to leave a comment.