Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
logic_module [2017/11/30 09:51] – [Math nodes] wikiadmin | logic_module [2021/05/21 10:26] (current) – ingrid | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Logic Module ====== | ====== Logic Module ====== | ||
+ | |||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
Each logic scheme represents a **sheet** containing block units. In the sheet it is possible to add several kinds of **nodes**, each one of them corresponding to a specific function in the server. The interaction of the node is defined by its **connectors** which are inputs and outputs of the node. Several nodes can be linked together by creating **connections** among the nodes. A connection is a link that starts from an output connector in a node and ends in an input connector. | Each logic scheme represents a **sheet** containing block units. In the sheet it is possible to add several kinds of **nodes**, each one of them corresponding to a specific function in the server. The interaction of the node is defined by its **connectors** which are inputs and outputs of the node. Several nodes can be linked together by creating **connections** among the nodes. A connection is a link that starts from an output connector in a node and ends in an input connector. | ||
Line 93: | Line 105: | ||
There are several kinds of **Input nodes** that can be used for this purpose: | There are several kinds of **Input nodes** that can be used for this purpose: | ||
- | * [[lm_input_number|Constant Value]] | + | ++++Constant Value| |
- | * [[lm_input_knxinput|KNX Input]] | + | |
- | * [[lm_input_sheetinput|Sheet Input]] | + | |
- | * [[lm_input_intstatus|System Status]] | + | |
- | == Output Connector == | + | It represents a constant inside the block diagram. It can be a number, a bit or a string. |
+ | |||
+ | * **Value**: the value assigned to the constant. | ||
+ | ++++ | ||
+ | ++++KNX Input| {{ : | ||
+ | |||
+ | It represents an input coming from the KNX bus. | ||
+ | |||
+ | * **Input type**: the datatype of the value to read from KNX. | ||
+ | * **KNX group**: the KNX group address. | ||
+ | * **Value at startup**: policy to determine which value to assign to the input at the beginning of the execution of the logic scheme. | ||
+ | * //’Read current value’:// indicates that the input starting value is equivalent to the value of the KNX group. | ||
+ | * //’Wait for a new telegram’:// | ||
+ | * //’0 until first telegram’:// | ||
+ | * //’1 until first telegram’:// | ||
+ | ++++ | ||
+ | ++++Sheet Input| {{ : | ||
+ | ++++ | ||
+ | ++++System Status| {{ : | ||
+ | |||
+ | It represents an input coming from a status of a System object in the Configurator. For example, a feedback coming from Sonos. | ||
+ | |||
+ | * **System status**: the system status to read. To edit this property, click on the right button of the property text field. | ||
+ | ++++ | ||
+ | |||
+ | === Output Connector | ||
All the input nodes have only one output connector and the input value of these nodes will pass through it. In this connector it is possible to define the policy that will be used to forward the value to the connected nodes through the property: | All the input nodes have only one output connector and the input value of these nodes will pass through it. In this connector it is possible to define the policy that will be used to forward the value to the connected nodes through the property: | ||
Line 112: | Line 146: | ||
The scheme generates one or more output values to send on the KNX bus, commands to perform, etc. The output nodes represent the kind of action to perform with these values.\\ | The scheme generates one or more output values to send on the KNX bus, commands to perform, etc. The output nodes represent the kind of action to perform with these values.\\ | ||
There are several kinds of **Output nodes** that can be used for this purpose: | There are several kinds of **Output nodes** that can be used for this purpose: | ||
- | * [[lm_output_command|Command]] | + | ++++Command| |
- | * [[lm_output_knxoutput|KNX Output]] | + | |
- | * [[lm_output_sheetoutput|Sheet Output]] | + | |
- | == Input connectors == | + | It represents the command to be executed when a value on the input connector is received. |
+ | |||
+ | * **Trigger** It determines the behaviour of the node for the command execution: | ||
+ | * //On trigger// If selected, a new **Trigger** input connector is added to the node, which executes the command whenever the connector value is 1 (or 0 if the connector is inverted) | ||
+ | * //On parameter value change// If selected and the parameters are input connectors of the node, whenever the value of an input connector is updated, executes the command | ||
+ | * **Command** It is the command to execute. If the selected command has parameters, they are added to the property grid as new node properties, and for each parameter it is possible to assign a value or to make it become an input connector for the node so that the value for the parameter is dynamic. | ||
+ | ++++ | ||
+ | ++++KNX Output| {{ : | ||
+ | |||
+ | It represents the KNX group on which the value will be sent. | ||
+ | |||
+ | * **KNX group**: the KNX group address. | ||
+ | * **Output type**: the datatype of the value to write on KNX. | ||
+ | ++++ | ||
+ | ++++Sheet Output| //coming soon// | ||
+ | ++++ | ||
+ | |||
+ | === Input connectors | ||
All the input connectors of output nodes have the following properties: | All the input connectors of output nodes have the following properties: | ||
* **Trigger** Whenever a new value is received on the connector, if this property is enabled, the node triggers the " | * **Trigger** Whenever a new value is received on the connector, if this property is enabled, the node triggers the " | ||
Line 122: | Line 171: | ||
The Analog nodes represent a collection of node which perform analog operations.\\ | The Analog nodes represent a collection of node which perform analog operations.\\ | ||
- | * [[lm_analog_comparator|Comparator/ | + | ++++Comparator/ |
- | * [[lm_analog_pid|PID Controller]] | + | |
- | * [[lm_analog_pwm|Pulse Width Modulator]] | + | The Comparator node accepts numeric values for **Input 1** connector and **Input 2** connector and generates a pulse as the result of the comparison between the two inputs. If the difference between the two input values is greater than the value specified in the **Threshold for ON** property of the node, a logic 1 is sent to the **Output** connector. Instead, if the difference is lower than the value specified in the **Threshold for OFF** property, a logic 0 is sent to the **Output** connector.\\ |
- | * [[lm_analog_ramp|Ramp]] | + | When the the difference is among the two threshold values, the previous state of the output is maintained.\\ |
- | * [[lm_analog_range|Range Verifier]] | + | |
- | | + | <WRAP center round important 60%>This node is really useful for temperature regulation because it acts as a 2 Points Regulator, preventing frequent switching of the output. |
- | * [[lm_analog_time|Time-based Filter]] | + | </ |
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++PID Controller| | ||
+ | ++++ | ||
+ | ++++Pulse Width Modulator| {{ : | ||
+ | |||
+ | The Pulse Width Modulator | ||
+ | The node computes the ratio of the **Input** value with the **Input Min.** property and the **Input Max.** property and applies it to the **Period** of the output pulse to determine the ON time.\\ | ||
+ | The ratio is calculated at every expiration of the **Period** and thus it considers the actual value of the **Input** connector in that moment. | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Ramp| {{ : | ||
+ | |||
+ | The Ramp node increases or decreases in a linear way the value of the **Output** connector until it reaches the value of the **Input** connector. The linear increment consists of adding (or subtracting) to the **Output** a value represented by the **Step size** property every time interval specified by the **Time step** property.\\ | ||
+ | The value of the **Output** can't go beyond the **Input** value, so the node reduces the step to adapt the output to the input. | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Range Verifier| {{ : | ||
+ | |||
+ | The Range Verifier node, given the analog value of the **Input** connector, checks if it is included between two threshold values, specified with the properties **Threshold Min.** and **Threshold Max.**, and sends 1 to the **Output** connector if the condition is verified, otherwise 0. | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Threshold Filter| {{ : | ||
+ | |||
+ | The Threshold Filter | ||
+ | It is possible to exclude one of the two thresholds by editing the **Filter type** property of the node. | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Time-based Filter| | ||
+ | ++++ | ||
===== Counter nodes ===== | ===== Counter nodes ===== | ||
Line 134: | Line 223: | ||
The Counter nodes, given an input (number or bit), perform a counting operation on the input and send it to the output.\\ | The Counter nodes, given an input (number or bit), perform a counting operation on the input and send it to the output.\\ | ||
There are several kinds of **Counter nodes** that can be used for this purpose: | There are several kinds of **Counter nodes** that can be used for this purpose: | ||
- | | + | ++++Maintenance Counter| {{ : |
- | * [[lm_counter_updowncounter|Up/Down Counter]] | + | |
- | | + | The Maintenance Counter counts the total time the **Input** connector value is 1 and forwards it to the **Output** connector whenever the **Input** receives a falling edge on the signal. The unit of measure of the time is defined through the **Time UoM** property of the node.\\ |
+ | If the **Reboot survive** property of the node is enabled, the counter value is persistent which it means that it doesn' | ||
+ | The **Start Date** output connector sends the last date and time the counter received a Reset signal. | ||
+ | When the **Reset** input receives 1, the counter gets resetted, **Output** goes to 0 and **Start Date** is updated, the counting will start again only after Reset goes back to 0. | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Up/Down Counter| {{ : | ||
+ | |||
+ | The Up/Down Counter increases the counter whenever the **Increment** input receives a rising edge and it decrements the counter whenever the **Decrement** input receives a rising edge.\\ | ||
+ | If the **Reboot survive** property of the node is enabled, the counter value is persistent which it means that it doesn' | ||
+ | The **Start Date** output connector sends the last date and time the counter received a Reset signal. | ||
+ | When the **Reset** input receives 1, the counter gets resetted, **Output** goes to 0 and **Start Date** is updated; the counting will start again only after Reset goes back to 0. | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Statistic Meter| {{ : | ||
+ | |||
+ | The Statistic Meter reads the numeric value of the **Input** connector and calculates: | ||
+ | * //Current day total// on the **Curr. Day** output connector | ||
+ | * //Current week total// on the **Curr. Week** output connector | ||
+ | * //Current month total// on the **Curr. Month** output connector | ||
+ | * //Current year total// on the **Curr. Year** output connector | ||
+ | * //Previous day total// on the **Prev. Day** output connector | ||
+ | * //Previous week total// on the **Prev. Week** output connector | ||
+ | * //Previous month total// on the **Prev. Month** output connector | ||
+ | * //Previous year total// on the **Prev. Year** output connector | ||
+ | The counted values are persistent, which it means that they don't get lost when the server reboots.\\ | ||
+ | The **Start Date** output connector sends the last date and time the counter received a Reset signal. | ||
+ | When the **Reset** input receives 1, the counter gets resetted, all the outputs go to 0 and **Start Date** is updated, the counting will start again only after Reset goes back to 0.\\ | ||
+ | Whenever the **Data Request** input connector receives 1, the node refreshes the values of the outputs. | ||
+ | |||
+ | <WRAP center round important 80%>To make the Statistic Meter operational the first time it is loaded into the server, it needs to receive 1 on the Reset input connector or on the Gate connector (if enabled). | ||
+ | </ | ||
+ | ++++ | ||
- | == Output connectors == | + | === Output connectors |
All the output connectors of the counter nodes have particular properties to manage the policies to send the values: | All the output connectors of the counter nodes have particular properties to manage the policies to send the values: | ||
Line 152: | Line 277: | ||
Logic nodes represent all the operations to manipulate bits. Exept some special nodes, it is always possible to edit the number of inputs of the node with the property **Number of inputs**. | Logic nodes represent all the operations to manipulate bits. Exept some special nodes, it is always possible to edit the number of inputs of the node with the property **Number of inputs**. | ||
- | * [[lm_logic_and|And]] | + | ++++ And| {{ : |
- | * [[lm_logic_filter|Filter]] | + | |
- | * [[lm_logic_if|If]] | + | |
- | * [[lm_logic_lrelay|Latching Relay]] | + | |
- | * [[lm_logic_lmatrix|Logic Matrix]] | + | |
- | * [[lm_logic_nand|Nand]] | + | |
- | * [[lm_logic_nor|Nor]] | + | |
- | * [[lm_logic_not|Not]] | + | |
- | * [[lm_logic_or|Or]] | + | |
- | * [[lm_logic_prelay|Pulse Relay]] | + | |
- | * [[lm_logic_xand|Xand]] | + | |
- | * [[lm_logic_xor|Xor]] | + | |
- | == Input connectors == | + | The And node sends 1 on the output only when all the inputs are 1. |
+ | |||
+ | {{ : | ||
+ | ++++ | ||
+ | ++++Filter| {{ : | ||
+ | |||
+ | The Filter node forwards to the output the value coming from the input connector follwing some policies determined by the following properties: | ||
+ | |||
+ | * **Filter type**: It indicates the value assigned to the output depending on the input value. | ||
+ | * //’1 -> - / 0 -> - (disabled)’// | ||
+ | * //(//’1 -> - / 0 -> 0’) if input is equal to 1, no value assigned to the output. If input is equal to 0, 0 will be sent to the output. | ||
+ | * //’1 -> - / 0 -> 1’// if input is equal to 1, no value sent to the output. If input is 0, 1 is sent to the output | ||
+ | * //’1 -> - / 0 -> Toggle’// if input is equal to 1, no value will be sent to the output. If input is equal to 0, the output will toggle. | ||
+ | * //’1 -> 0 / 0 -> -’// If input is 1, output will be set to 0. If input is 0, no value will be sent to the output. | ||
+ | * //’1 -> 0 / 0 -> 1 (inversion)’// | ||
+ | * //’1 -> 1 / 0 -> -’// indicates that if the input is 1, 1 is assigned to the output, if the input is 0, no values are assigned to the output. | ||
+ | * //’1 -> 1 / 0 -> 0 (pass all)’// indicates that both of the input values are sent to the output. | ||
+ | * //’1 -> Toggle / 0 -> -’//: indicates that if the input is 1 the output value is inverted, if the input is 0 no values are assigned to the output. | ||
+ | * //’1 -> Toggle / 0 -> Toggle’// for every input value (both 0 or 1), the output will toggle. | ||
+ | * **Delay**: It indicates if is necessary to wait for a time interval before sending the output value. | ||
+ | * //’Do not use’:// disables the property so no delays are applied . | ||
+ | * //’Use if input is 1’:// applies the delay only if the input is 1. | ||
+ | * //’Use if input is 0’:// applies the delay only if the input is 0. | ||
+ | * //’Use always’:// | ||
+ | * **Delay base time**: It indicates the measurement unit of the time interval of the delay. | ||
+ | * **Delay factor**: It indicates the value of the time interval of the delay. | ||
+ | ++++ | ||
+ | ++++If| {{ : | ||
+ | |||
+ | The If node evaluates the value of the input **Condition**, | ||
+ | ++++ | ||
+ | ++++Latching Relay| {{ : | ||
+ | |||
+ | The Latching Relay node sends 1 to the output when the input **Set** is set to 1 and sends 0 to the output when the input **Reset** is set to 1. When both Set and Reset are 0, the previous state of the output is mantained.\\ | ||
+ | The **Behaviour** property determines whether Set or Reset must be dominant when both of them are 1. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Logic Matrix| {{ : | ||
+ | |||
+ | The Logic Matrix, given some inputs determined by the **Number of inputs** property and some outputs determined by the **Number of outputs** property, forwards the value of a selected input to a selected output. The selection of inputs and outputs is decided by the value of two inputs, **Input selector** and **Output selector**.\\ | ||
+ | The **Data type** property determines the inputs and outputs data type managed by the matrix; if it is set to //1 bit Boolean//, the inputs and outputs are the standard connectors for all the logic nodes as explained [[logic_module# | ||
+ | |||
+ | == Input and Ouput selectors == | ||
+ | |||
+ | These connectors | ||
+ | * **Default control value** It indicates the default input/ | ||
+ | * **Update every control value** If enabled in the Input selector, outputs will be updated for every value received by the Input selector. If disabled, outputs will be refreshed only when the selected input receives a new value or, if this property is enabled in the Output selector, when the Output selector receives a new value. | ||
+ | ++++ | ||
+ | ++++ Nand| {{ : | ||
+ | |||
+ | The Nand node is the opposite of the [[lm_logic_and|And node]], sends 0 on the output only when all the inputs are 1. | ||
+ | |||
+ | {{ : | ||
+ | ++++ | ||
+ | ++++Nor| {{ : | ||
+ | |||
+ | The Nor node is the opposite of the [[lm_logic_or|Or node]], sends 1 on the output only when all the inputs are 0. | ||
+ | |||
+ | {{ : | ||
+ | ++++ | ||
+ | ++++Not| {{ : | ||
+ | |||
+ | The Not node accepts just one input, it inverts the value of the input. | ||
+ | |||
+ | {{ : | ||
+ | ++++ | ||
+ | ++++Or| {{ : | ||
+ | |||
+ | The Or node sends 1 on the output when at least one input is equal to 1. | ||
+ | |||
+ | {{ : | ||
+ | ++++ | ||
+ | ++++Pulse Relay| {{ : | ||
+ | |||
+ | The Pulse Relay node sends 1 to the output when the input **Set** is set to 1 and sends 0 to the output when the input **Reset** is set to 1. When both Set and Reset are 0, the previous state of the output is mantained. Whenever the input **Trigger** receives a rising edge signal, Set and Reset are ignored and the output is toggled.\\ | ||
+ | The **Behaviour** property determines whether Set or Reset must be dominant when both of them are 1. | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | |||
+ | <WRAP center round important 60%>The Pulse Relay it is used to transform a pulse input in a toggle switch!\\ | ||
+ | Set and Reset inputs are optional, if they are not connected to any other nodes, the Trigger input is the only input which controls the output.</ | ||
+ | ++++ | ||
+ | ++++Xand| {{ : | ||
+ | |||
+ | The Xand node sends 1 on the output only when all the inputs are equal. | ||
+ | |||
+ | {{ : | ||
+ | ++++ | ||
+ | ++++Xor| {{ : | ||
+ | |||
+ | The Xor node sends 1 on the output when the inputs don't have the same value. | ||
+ | |||
+ | {{ : | ||
+ | ++++ | ||
+ | |||
+ | === Input connectors === | ||
All the input connectors of logic nodes have the following properties: | All the input connectors of logic nodes have the following properties: | ||
* **Trigger** Whenever a new value is received on the connector, if this property is enabled, the node triggers the computation and sends the values to the output connectors. | * **Trigger** Whenever a new value is received on the connector, if this property is enabled, the node triggers the computation and sends the values to the output connectors. | ||
* **Inverted input** If enabled the connector inverts the received value. If the value on the connector is inverted, a red symbol appears beside the connector. | * **Inverted input** If enabled the connector inverts the received value. If the value on the connector is inverted, a red symbol appears beside the connector. | ||
- | == Output connectors == | + | === Output connectors |
All the output connectors of logic nodes have the following properties: | All the output connectors of logic nodes have the following properties: | ||
* **Output sending behavior** It indicates when the value has to be forwarded to the connected nodes. | * **Output sending behavior** It indicates when the value has to be forwarded to the connected nodes. | ||
Line 180: | Line 397: | ||
The Timer nodes represent time-based operations inside the scheme. | The Timer nodes represent time-based operations inside the scheme. | ||
- | | + | ++++Continuous Pulse Generator| {{ : |
- | * [[lm_timer_onoffdelay|On/Off Delay]] | + | |
- | * [[lm_timer_pulsetrain|Pulse Train Generator]] | + | The Continuous Pulse Generator node, for all the time the value of the **Gate** connector is 1, generates pulses with the ON time specified by the **Factor for ON** property and the OFF time specified by the **Factor for OFF** property.\\ |
- | * [[lm_timer_random|Random Generator]] | + | |
- | | + | |
- | * [[lm_timer_stairwell|Stairwell Lighting Switch]] | + | {{ : |
- | * [[lm_timer_stopwatch|Stopwatch]] | + | <WRAP center 60%> <WRAP centeralign> |
+ | ++++ | ||
+ | ++++ On/Off Delay| {{ : | ||
+ | |||
+ | The On/Off Delay node, for every rising edge of the **Input** connector signal, generates a rising edge on the **Output** connector after a delay specified by the **Factor for ON delay** property. When the **Input** signal has a falling edge, the node generates a falling edge on the **Output** connector after a delay specified by the **Factor for OFF delay** property.\\ | ||
+ | When the value of the **Reset** connector is 1, the node immediately sends 0 to the **Output** connector. | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | |||
+ | ++++Pulse Train Generator| {{ : | ||
+ | |||
+ | The Pulse Train Generator node, for every rising edge of the **Input** connector signal, generates a train of pulses on the **Output** connector with the ON time specified by the **Factor for ON** property and the OFF time specified by the **Factor for OFF** property. The number of sequential pulses to generate is determined by the **Pulse number** property.\\ | ||
+ | When the value of the **Reset** connector is 1, the node immediately sends 0 to the **Output** connector. | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Random Generator| {{ : | ||
+ | |||
+ | The Random Pulse Generator node, for all the time the **Gate** connector value is 1, generates pulses with random times for ON and OFF.\\ | ||
+ | The random time for ON will be included between **Minimum factor for ON** property and **Maximum factor for ON** property; the random time for OFF will be included between **Minimum factor for OFF** property and **Maximum factor for OFF** property. | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Scheduled Pulse| {{ : | ||
+ | |||
+ | The Scheduled Pulse node, if the **Gate** connector value is 1, generates a pulse at a precise time of the day.\\ | ||
+ | The time is specified by the **Scheduled Time** property, the pulse generated has a period determined by the properties **Factor for pulse duration** and **Time base for pulse duration**. | ||
+ | ++++ | ||
+ | ++++Stairwell Lighting Switch| {{ : | ||
+ | |||
+ | The Stairwell Lighting Switch | ||
+ | The timer is set to the time defined in the **Time for ON** property of the node and if the property **Retriggerable** is enabled, the timer restarts whenever the **Input** connector receives 1.\\ | ||
+ | If the property **Manual OFF** is enabled, when the **Input** connector value goes to 0 the node sends 0 to the **Output** connector and automatically stops the timer; otherwise the expiration of the timer is the only condition to send 0 to the **Output** connector.\\ | ||
+ | The **Warning** connector value goes to 1 before the timer expires until the **Output** connector is 1. The time for warning is specified through the **Warning before OFF** property. | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
+ | ++++Stopwatch| {{ : | ||
+ | |||
+ | The Stopwatch node measures provides two modalities to determine how it should start counting time which are specified by the **Trigger policy** property: | ||
+ | * //Switch// The Stopwatch starts counting time when the **Input** connector value goes to 1, it pauses when the **Input** value goes to 0. Whenever the node pauses, it sends the time the **Input** value has been 1 to the **Partial time** connector and the total counted time to the **Total time** connector. | ||
+ | * //Toggle// The Stopwatch starts counting when it receives the first rising edge on the **Input** connector, all the other times it receives a rising edge it sends the time passed between the current rising edge and the previous one to the **Partial time** connector, and the total counted time to the **Total time** connector. | ||
+ | When the **Reset** connector value is 1, the node stops counting the time and sends 0 to both **Partial time** and **Total** time, it will start counting again only after the **Reset** value goes to 0. | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | |||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | ++++ | ||
===== Math nodes ===== | ===== Math nodes ===== | ||
Line 202: | Line 476: | ||
* [[logic_module# | * [[logic_module# | ||
* [[logic_module# | * [[logic_module# | ||
+ | * [[logic_module# | ||
+ | * [[logic_module# | ||
+ | * [[logic_module# | ||
+ | |||
+ | ===== Logic Examples ===== | ||
+ | ++++Temperature Regulator| | ||
+ | {{ : | ||
+ | <WRAP center 60%> <WRAP centeralign> | ||
+ | Using the Math Expression bloc and the function " | ||
+ | |||
+ | ++++ |