FLProg

Visual programming for not programmers

Яндекс.Метрика
Block - "Value menu item"


Block is used to retrieve or write the value of the menu item. The block is configured using the block editor.


Combo-box the "Menu" to select menu of the existing in project.

Clicking the button opens a selection window item from the selected menu.



You can only select non-group menu item.

Input "Value" - on selecting this check-box in the block will be added the input "Value". The value of this input will be written directly to the menu item.
Input "Set" - on selecting this check-box on the block will be added input "Set". The value of the input 'Value' is written to the menu item only if there is a high level on this input.

Note – if the selected menu item is stored in EEPROM after each change of the value at the input "Value" will be written to the EEPROM. This can lead to the end of the resource record in the EEPROM!

Output Value - selecting this check-box in the block will be added the output "Q". This output will display the value of the selected menu item.
Input "Resolution value updates" – if you select this check-box in the block will be added the input "CanValUp". If set to high logic level on this input, the output is set to "Q" block will change immediately when you change values in the menu item. At the time of set on this input low logic level the output is set to "Q" block "frozen" and remains in this state until the appearance of a high logic level on input "CanValUp".

Please note. When you change the value of the menu item, the changed value is written to the item. That is, for example, in direct input the value 123 in the menu first written 1, then 12 and then 123. This behavior can adversely affect the logic circuitry (for example, the setpoint of the thermostat). To exclude this possibility I recommend to use the input "CanValUp" and prevent changes to values output when an activity menu.