Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:sw:01-mervis:description-of-direct-switch-hidden [2025/04/16 09:50] – ↷ Links adapted because of a move operation ofojt | en:sw:01-mervis:description-of-direct-switch-hidden [2025/04/22 10:08] (current) – typo ofojt | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Direct Switch ====== | ||
| <WRAP group center round box 95%> | <WRAP group center round box 95%> | ||
| {{ : | {{ : | ||
| Line 18: | Line 19: | ||
| This function allows logical connection of digital input to digital output or relay output to automatically perform one of the available operation. DirectSwitch is independent on the control software running on unit and is suitable for control of lighting or any other time-critical applications (typically, the output response time matches the input response). | This function allows logical connection of digital input to digital output or relay output to automatically perform one of the available operation. DirectSwitch is independent on the control software running on unit and is suitable for control of lighting or any other time-critical applications (typically, the output response time matches the input response). | ||
| + | |||
| + | ===== How it works ===== | ||
| <WRAP group center round box 95%> | <WRAP group center round box 95%> | ||
| Line 29: | Line 32: | ||
| </ | </ | ||
| </ | </ | ||
| - | |||
| - | ---- | ||
| The software detection of changes is far from being instantaneous. And there are applications, | The software detection of changes is far from being instantaneous. And there are applications, | ||
| - | The direct switch is the configuration of digital input in a way it will directly control digital or relay output of the same name. The wiring of the input and output is fixed and cannot be changed, only turned on or off. On Group 1, the DIs are wired to DOs. On other Groups, the DIs are wired to ROs. | + | The direct switch is the configuration of digital input in a way it will directly control digital or relay output of the same name. The wiring of the input and output is fixed and cannot be changed, only turned on or off. On Group 1, the DIs are wired to DOs. On other Groups |
| DirectSwitch function can be configured only for the corresponding input and output, ie. only for **DIy.x** input and **DOy.x** (**ROy.x**) output, where **x** and **y** (if the **y** is given) numbers must match. It is not possible to use DirectSwitch simultaneously for input and output with mismatched labels, eg. **DIx.y** and **DOv.z.** It is also not possible to use the function for a single input and multiple outputs at the same time. | DirectSwitch function can be configured only for the corresponding input and output, ie. only for **DIy.x** input and **DOy.x** (**ROy.x**) output, where **x** and **y** (if the **y** is given) numbers must match. It is not possible to use DirectSwitch simultaneously for input and output with mismatched labels, eg. **DIx.y** and **DOv.z.** It is also not possible to use the function for a single input and multiple outputs at the same time. | ||
| Line 45: | Line 46: | ||
| <WRAP half column 83%> | <WRAP half column 83%> | ||
| **Please note:** \\ | **Please note:** \\ | ||
| - | The **Direct switch** depends on the [[en:hw:debounce]] settings. To have an instant change, you need to set the **Debounce** to value which doesn' | + | The **Direct switch** depends on the [[.:description-of-debounce-hidden|debounce]] settings. To have an instant change, you need to set the **Debounce** to value which doesn' |
| </ | </ | ||
| </ | </ | ||
| Line 53: | Line 54: | ||
| In the **left panel**, right-click on the name of your Unipi controller under the Modbus TCP channel and select Open editor. | In the **left panel**, right-click on the name of your Unipi controller under the Modbus TCP channel and select Open editor. | ||
| - | {{ en:hw: | + | {{ .: |
| Write '' | Write '' | ||
| By selecting more than one digital inputs you can change the direct switch settings on multiple inputs at once. | By selecting more than one digital inputs you can change the direct switch settings on multiple inputs at once. | ||
| - | {{ en:hw: | + | {{ .: |
| As you can see, the option has a dropdown menu with different modes. | As you can see, the option has a dropdown menu with different modes. | ||
| * **Disabled**: | * **Disabled**: | ||
| - | * **Copy**: The status of the DI is copied to the DO/RO. So when the DI is '' | + | * **Copy**: The status of the DI is copied to the DO/RO. So when the DI is '' |
| - | * **Copy (Invert)**: Same as above but inverted. When the DI is '' | + | * **Copy (Invert)**: Same as above but inverted. When the DI is '' |
| - | * **Toggle**: This mode toggles the DO on the rising edge of the DI. Handy for controlling light with a momentary switch for example | + | * **Toggle**: This mode toggles the DO/RO on the rising edge of the DI. Handy for controlling light with a momentary switch for example |
| Demonstration on how the LED will look while **Direct Switch** is enabled on Patron units is [[en: | Demonstration on how the LED will look while **Direct Switch** is enabled on Patron units is [[en: | ||
| Line 77: | Line 78: | ||
| <WRAP half column 83%> | <WRAP half column 83%> | ||
| **Important: | **Important: | ||
| - | We just changed the configuration of the PLC modules, which is not applicable by simply uploading the solution. To save the configuration, | + | We just changed the configuration of the PLC modules, which is not applicable by simply uploading the solution. To save the configuration, |
| </ | </ | ||
| </ | </ | ||
| Now, that the '' | Now, that the '' | ||