4.4 How to Set Up a Function Block
Now you will set Delay to time for 5 seconds.
Press RIGHT (►) The block’s labels should be flashing. Press “OK”.
A menu will appear. Time Unit will be flashing. Press “OK”.
You should use 1 second as the time unit for the 5 second delay.
Press DOWN (▼) to 1 s. Press “OK”.
The Delay block can be setup as an On-delay or an Off-delay.
Press DOWN (▼) to select Setup FB. Press “OK”.
The delay you are creating will delay the output turning ON until the input has been ON for
five seconds. (A 5 second On-delay).
The output should turn OFF as soon as the input turns OFF. (No Off-delay).
Select OnDelay and Press “OK”.
Use the PLUS (+) or MINUS (-) buttons to set T = 5s and t = 0s. Press “OK”. Now Press
“ESC”. Ensure there will be no delay when the input clears (turns off) by pressing DOWN (▼)
to select OffDelay. Press “OK”. Here, use the PLUS (+) or MINUS (-) buttons to set T = 0s
and t = 0s. Press “OK”. Press “ESC” twice to return to your program.
So far you have:
1. Chosen the appropriate function block for your program and connected it to an input.
2. You have set this block’s parameters. In this case the type of delay (On Delay) and time to
delay (5 seconds).
3. In order to complete this program all you need to do is connect the block to an output.
001