История
16 июля 2019
Новая страница: «Leaving input 1 closed, turn off and turn on the relay power: after 20 minutes, relays 1, 2 and 3 will turn on again.»
−65
Новая страница: «Checking: close input 1 and iGND and leave it closed. Relays 1, 2 and 3 must be switched on. Then we close and open the input 2 — all three relay relays are off…»
−184
Новая страница: «On the map mapping-registers we determine that to enter 1, you need to write the value 8 in the registers 384, 385, 386, and to enter 2 — write the value 4 in t…»
−80
Новая страница: «To enter the leakage sensor (input 1) use the mode 1000 (8) — turn on when the circuit. frameless|270px<br> To enter the reset button (inpu…»
−129
Новая страница: «Apply in our case, the mode when the input state is repeated every 20 minutes, for this write in the register 9 value 5 (control in accordance with the mapping ma…»
−224
Новая страница: «Clear the mapping matrix: <syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x10 -r384 $(printf ' 0%.0s' {1..64})</syntaxh…»
−13
Новая страница: «Let the leak sensor be connected to the '''input 1''', and the '''relays 1 and 2''' control the ball valve actuators. '''Relay 3''' controls the warning lamp or b…»
−246
Новая страница: «==== Leak sensor ====»
−18
Новая страница: «Note: the relay state changes only when the input state changes.»
−108
Новая страница: «= = = = = Inverted switch with locking === Set up the inputs so that when closed inputs relay would be disabled, and open -- is included. For this closing input (…»
−385
Новая страница: «Let's check the operation: at the first circuit of input 0 all relays are switched on, at the second — all relays are switched off.»
−51
Новая страница: «We want the input to work as a switch without locking and triggered when pressed (on the rising edge), and when opened, nothing would happen. The state of all rel…»
−249
Новая страница: «To do this, we turn to the register map of the mapping matrix and see that the input 0 corresponds to the registers 440 — 447. And for interaction with inputs 1…»
−101
Новая страница: «Program the matrix in such a way that the input 0, working in the mode of the button (switch without fixation), sequentially turns on and off all the relays of th…»
−127
Новая страница: «====Input 0 turns all relays on and off ====»
−31
Новая страница: «Mapping mapping-the matrix is filled with zeros. If you are unsure and want to erase the entire matrix, write 0 in each of the 64 holding registers starting with…»
−122
Новая страница: «=== Using the Mapping matrix === More complex scenarios of interaction between inputs and relays can be implemented using a Mapping matrix. To use the Mapping mat…»
−185
Новая страница: «If we want to disable and input 0, then write the value 3 in register 16: <syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1…»
−46
Новая страница: «Now clicking on the button or toggle switch will change the relay status you can manage only programmatically via Modbus. In this case, the function of the emerge…»
−215
Новая страница: «To disable the interaction of inputs and relays (for example, if we want to control the relay only through the controller rules engine), write the value 0 in regi…»
−135
Новая страница: «=== Disable input / relay communication ===»
−37
Новая страница: «Now all inputs operate in switch mode with locking, and a short press on the button connected to input 0 will turn off all relays.»
−137
Новая страница: «To save the "emergency" input mode 0 return to register 5 value 0, and in the registers 9, 10, 11, 12, 13, 14 write 1: <syntaxhighlight lang="bash">modbus_client…»
−72
Новая страница: «Now all inputs of the module function as inputs for switches with fixation. Disadvantage: Input 0 stops functioning.»
−111
Новая страница: «Write in register 5 value 1: <syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyRS485-1 -a1 -t0x06 -r5 1</syntaxhighlight>»
−26
Новая страница: «=== Switches with locking ===»
−23
Новая страница: «'''All examples are executed when the wb-mqtt-serial driver is stopped:''' <syntaxhighlight lang="bash">service wb-mqtt-serial stop</syntaxhighlight>»
−43
Новая страница: «In the examples, we focus on the factory settings of the communication parameters of the module, Modbus-address — 1. The module is connected to the first port o…»
−80
Новая страница: «Let's consider some examples of programming the interaction of inputs and outputs on the example of relay module WB-MR6C with firmware 1.9.4. The module has 7 dry…»
−273
Новая страница: «== The programming examples of the interaction of inputs and outputs =»
−43
Новая страница: «Re-simulation of the input state after 20 minutes (mode 5) means that every 20 minutes an action will be performed on the output (according to the matrix), as if…»
−528
Новая страница: «Setting the control mode of individual inputs is possible only if the value 0 is written in the holding register 5. In the latest firmware in the factory supply,…»
−314
Нет описания правки
+4
Новая страница: «{| class="wikitable" ! The value of the register !! Operation mode inputs !! Note |- | 0 || Buttons without locking || |- | 1 || latching Switch || |- | 2 || Disa…»
−278
Новая страница: «Registers can contain the following control values:»
−55
Новая страница: «The new firmware also retained the mechanism for managing input-output links from previous firmware versions. Holding-register 5 describes the behavior of all inp…»
−159
Новая страница: «== The previous version of the configuration interaction of the inputs and outputs of relay modules ==»
−48
Новая страница: «==Register mapping matrix == {| class="wikitable" ! The registers !! !! colspan="8"| Outputs |- ! | || '''1''' || '''2''' || '''3''' || '''4''' || '''5''' || '…»
−38
Новая страница: «--> {| class="wikitable" ! !! !! ! colspan="4" |back |- ! | || style="text-align:center;"| '''00''' || style="text-align:center;"| '''01''' || style="text-al…»
−669
Новая страница: «Thus, it is possible to program the response of each output to the closure and disconnection of any inputs. <!-- {| class="wikitable" ! !! !! ! colspan="4" |R…»
−792
Новая страница: «*00 — idle *01 — turn off *10 — turn on *11 — invert value»
−76
Новая страница: «Each combination of two bits describes four possible actions:»
−62
Новая страница: «The rows describe the actions when the corresponding input is changed, the columns describe the corresponding outputs. Therefore, the cell at the intersection of…»
−326
Новая страница: «== Device and operating principle of the mapping matrix == The matrix of actions on outputs for changing input states (mapping matrix) is located in the storage r…»
−258
Новая страница: «=== Purpose === Since '''v.1.9.0''' for devices of ''WB-MR'' series and WB-MWAC firmware supports matrix of displaying values of inputs on v…»
−273
Новая страница: «300px|thumb|right| Water metering and leakage control module WB-MWAC»
−59
Новая страница: «<!--{{DISPLAYTITLE: I/O Mapping Matrix}}-->»
+7
Новая страница: «I/O Mapping Matrix»
+23 428