User Tools

Site Tools


registers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
registers [2021/07/22 11:24] – [Importing registers] emozolyakregisters [2021/12/09 16:37] – [Log tab settings] emozolyak
Line 1: Line 1:
 +{{ ::menu-icon-registers.png?nolink&40|}}
 ====== Working with registers ====== ====== Working with registers ======
 ===== General information ===== ===== General information =====
Line 33: Line 34:
   ***Address** The address in the address space of this connection. While entering value, the address validation is being made. Address assignment format depends upon protocol type and usually comprised of a 'letter + digit' sequence. The letter indicates memory address space and the digit is an offset in this memory. See [[supported_protocols]].   ***Address** The address in the address space of this connection. While entering value, the address validation is being made. Address assignment format depends upon protocol type and usually comprised of a 'letter + digit' sequence. The letter indicates memory address space and the digit is an offset in this memory. See [[supported_protocols]].
   ***Description** - description field for the register   ***Description** - description field for the register
 +<wrap em>As of 4.1 fw version, the description is also shown right on the register tree when hovering mouse pointer over the registers' title </wrap>
 +{{ ::title_hint.png?direct&600 |}}
 +
   ***Category** - the name of the group to which the register will be included.   ***Category** - the name of the group to which the register will be included.
 +
 +<wrap em>As of 4.1 fw version, there is inline category renaming option</wrap>
 +
 +The ability to set categories for objects has existed in WebHMI for a long time and is a convenient tool for structuring a project. As a rule, if you enter the correct name for a category right away, it remains unchanged. However, it turned out that renaming categories is not a very simple matter, especially when you need to do a lot of renaming – for this you had to create another category and transfer the necessary objects to it. (in this case, the project was also reinitialized). Now this can be done by simply clicking on the edit icon in the category name.
 +
 +{{ :rename_cat_inline.gif?direct |}}
 +
   ***Priority** - polling priority. This option is used in conjunction with the Strict scan function. Registers with high priority will be polled first, registers with priority normal in the second turn. If part of the registers with normal priority does not fit during the scan, this part is polled in the next scan, etc. Registers from internal connections are polled last (after registers on external connections) regardless of this setting, since they are read quickly on the local bus of the WebHMI device. If you do not need read current register in normal operation mode you can select "Read on demand" priority. In this case register will be read only when operator will request it manually.   ***Priority** - polling priority. This option is used in conjunction with the Strict scan function. Registers with high priority will be polled first, registers with priority normal in the second turn. If part of the registers with normal priority does not fit during the scan, this part is polled in the next scan, etc. Registers from internal connections are polled last (after registers on external connections) regardless of this setting, since they are read quickly on the local bus of the WebHMI device. If you do not need read current register in normal operation mode you can select "Read on demand" priority. In this case register will be read only when operator will request it manually.
   ***Script alias** - This name can be used in lua scripts.   ***Script alias** - This name can be used in lua scripts.
Line 39: Line 50:
   ***Communication interval override** - Override the default polling time for this register (Setup / Settings menu). Adjustable in steps of 500 ms. Up to 1 hour.   ***Communication interval override** - Override the default polling time for this register (Setup / Settings menu). Adjustable in steps of 500 ms. Up to 1 hour.
   ***Send real time data to WebHMI cloud** checknox - Specifies whether to send data to the cloud-based level2 system.   ***Send real time data to WebHMI cloud** checknox - Specifies whether to send data to the cloud-based level2 system.
 +
 +<wrap em>Starting from 4.1 fw there are extra functions:</wrap>
 +=== Read/Write mode settings ===
 +
 +There is now a convenient function for assigning register access mode – “read / write”, “read-only”, “write-only”. There are devices for some registers of which only writing is possible, for example, the control word of some frequency converters, refrigeration controllers, etc. For these devices a custom protocol.
 +Read-only mode is also useful for distributed systems with shared data. For example, this situation can arise when using the MQTT protocol, when the user can inadvertently override the data of another device.
 +{{ ::rw_mode_.png?direct&600 |}}
 +
 +=== Save and Apply ===
 +
 +When editing a project, it is often necessary to make several edits in different places in the project. Before, each small change was accompanied by re-initialization of the system, which in turn caused a heavy load on the processor in large projects. Now, there is a tool that allows you to make many edits and then apply them in one go, which ultimately speeds up the time to complete these operations.
 +
 +{{ ::save_apply.png?direct&400 |}}
  
  
Line 91: Line 115:
  
 ==== Dictionary ==== ==== Dictionary ====
 +{{ :menu-icon-dictionaries.png?nolink&40|}}
 +
 Contains the enumeration of pairs 'value, text word(s)', when you select a dictionary for the register, the values ​​read from the device are compared with the data of the dictionary and, if the word matches, the word corresponding to the value will be found. If there is a mismatch, the register will contain the value itself. The dictionaries are created and edited in the menu Setup -> Dictionary. Contains the enumeration of pairs 'value, text word(s)', when you select a dictionary for the register, the values ​​read from the device are compared with the data of the dictionary and, if the word matches, the word corresponding to the value will be found. If there is a mismatch, the register will contain the value itself. The dictionaries are created and edited in the menu Setup -> Dictionary.
  
Line 148: Line 174:
  
 **Send log data to Level2 system**  - allows sending log and graph data to level2 **Send log data to Level2 system**  - allows sending log and graph data to level2
 +
 +=== Register's Log analytics tool ===
 +After you set up log options for the register, a special tool will be available. Plese refer to the [[registers_log?s[]=log|following]] article.
 +
 +
 +
  
 ===== Resources tab ===== ===== Resources tab =====
Line 153: Line 185:
 ---- ----
  
-Selection allows to send register value as a resource meter. There are special tools in WebHMI & [[level2:setup_resource_meters_and_resources_consumption_analysis  | Level2]] cloud system to generatate resource consumption reports. +Selection allows to send register value as a resource meter. There are special tools in [[resource_local_tool |WebHMI]] & [[level2:setup_resource_meters_and_resources_consumption_analysis  | Level2]] cloud system to generatate resource consumption reports. 
  
 {{ ::resource_property.png?nolink |}} {{ ::resource_property.png?nolink |}}
Line 252: Line 284:
  
  
-==== Bulk operation ====+==== Bulk operations ====
 These operations are also made on selections sets. These operations are also made on selections sets.
-  ***Edit** - edits same properties over the register selection set + 
-  ***Disable** - disable polling of the selected register +{{ ::bulk_only_selected.png?direct&200 |}} 
-  ***Enable** - enable polling of the selected register + 
-  ***Delete** - delete selected register +=== Edit === 
-  ***Change connection** - move selected register to another connection or category+With this you can edit same properties over the register selection set 
 + 
 +{{ ::bulk_edit_basic.png?direct&600 |}} 
 + 
 +=== Disable, Enable, Delete === 
 +Makes respective action over the selected set of registers. 
 + 
 +=== Change connection=== 
 + 
 +Move selected register to another connection or category
 + 
 +{{ ::change_category_.png?direct&600 |}}
  
  
registers.txt · Last modified: 2024/04/11 08:13 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki