Control_Blinds
LIB\Unipi
V1.0
!! Without time setting, the block is down!!
The block is used to control the blinds either with the up/down command or with the percentage of position and rotation. For the proper functionality of the block, it is necessary to define times of the variables.
Input | Type | Description | Default value |
calib_time | TIME | The time that calibration is running (relay up is switched ON). | 0s |
cmd_down | BOOL | Command to scroll down. | FALSE |
cmd_up | BOOL | Command to scroll up. | FALSE |
hold_time | TIME | The time it takes to hold the button to automatically roll up/down. | 2s |
perc_pos | USINT | Setting the position of the blinds in percent. | 0% |
perc_rot | USINT | Setting the position of the blinds in percent. | 0% |
re_calib | BOOL | Rissing edge of the signal will start the calibration. | FALSE |
rolling_time | TIME | Time distance of limits positions (0-100%). | 2min |
rotation_time | TIME | Time distance of limits rotations (0-100%). | 0s |
time_delay | TIME | Protective time for changing the scrolling direction. | 500ms |
Output | Type | Description |
relay_down | BOOL | Relay down is switched ON. |
relay_up | BOOL | Relay up is switched ON. |