DELAY_B (36)
DELAY_B (36)
ID 36
Application: |
PLC |
SIM |
Group: TIMERS AND COUNTERS
Short description:
A function that delays the signal change with external change of the timer value.
Inputs (2):
no. |
type |
impulse |
mark |
notes |
1 |
B |
no |
IN |
Binary input no. 1 |
2 | I | no | preset | Set timer value [ms] |
Outputs (2):
no. |
type |
impulse |
mark |
notes |
1 |
B |
no |
OUT |
Binary output no. 1 |
2 | I | no | time | Current timer value [ms] |
Settings: none
Function operation:
The DELAY_B function delays the transfer of the signal change. When a high state is given to the IN input, the function starts a counter whose initial value is 0. When the counter reaches the value set by the user at the preset input, the OUT output shows a high state. If in the previous state the state at the OUT output was high, the appearance of a low state at the IN input causes the counter reset, and then the counter starts. When the counter reaches a user-defined value, the OUT state is low. The time output returns the current timer value.
R registers and M markers used: none