registers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
registers [2020/02/11 15:07] – [Creating a register, basic settings] emozolyak | registers [2020/07/31 14:18] – atolstov | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Working with registers ====== | ====== Working with registers ====== | ||
===== General information ===== | ===== General information ===== | ||
- | |||
- | |||
In the world of industrial automation, // | In the world of industrial automation, // | ||
Line 59: | Line 57: | ||
*String - the system will treat data in the register as string data. Intended mainly to use with internal Sxx registers. | *String - the system will treat data in the register as string data. Intended mainly to use with internal Sxx registers. | ||
- | === Value format === | + | ==== Value format |
Specifies the format of the read data. Possible options are: | Specifies the format of the read data. Possible options are: | ||
*Unsigned integer | *Unsigned integer | ||
Line 70: | Line 68: | ||
*Singned Floating Point 24 bit(such format is used in OWEN devices e.g.) | *Singned Floating Point 24 bit(such format is used in OWEN devices e.g.) | ||
- | === Bit mask === | + | ==== Bit mask ==== |
Bit mask allows to conviniently check the state of individual bits in a source register. | Bit mask allows to conviniently check the state of individual bits in a source register. | ||
When setting the bitmask to the register, the value from the register will be compared with the sum of corresponding weights 2^p (p - bit position, starting from 0) of the selected bits. | When setting the bitmask to the register, the value from the register will be compared with the sum of corresponding weights 2^p (p - bit position, starting from 0) of the selected bits. | ||
Line 80: | Line 78: | ||
But sometimes it is neccessary to write a defined mask (group of bits) to the end device. In this case remember how the number in WebHMI register is obtain. E.g. to set 7th and 6th bit (started from 0) in the source register, 3 value has to be written in WebHMI register. Or if 7th and zero bits were checked in the mask, 129 would have to be written to set these bits. | But sometimes it is neccessary to write a defined mask (group of bits) to the end device. In this case remember how the number in WebHMI register is obtain. E.g. to set 7th and 6th bit (started from 0) in the source register, 3 value has to be written in WebHMI register. Or if 7th and zero bits were checked in the mask, 129 would have to be written to set these bits. | ||
- | === Delta format === | + | ==== Delta format |
Allows you to convert register data into increment or derivative. | Allows you to convert register data into increment or derivative. | ||
{{:: | {{:: | ||
Line 86: | Line 84: | ||
In the first case (delta value), the register will be equal to the difference of the current subtracted value and the previous one. In the second (Delta value / Delta time) - delta value, divided by the time between polls, i.e. Derivative with respect to time. | In the first case (delta value), the register will be equal to the difference of the current subtracted value and the previous one. In the second (Delta value / Delta time) - delta value, divided by the time between polls, i.e. Derivative with respect to time. | ||
- | === Display as time duration === | + | ==== Display as time duration |
Show the number in seconds in the format of the length of the time interval (hours, days, etc.). The format is useful, for example, when displaying the duration of events. | Show the number in seconds in the format of the length of the time interval (hours, days, etc.). The format is useful, for example, when displaying the duration of events. | ||
- | === Dictionary === | + | ==== Dictionary |
Contains the enumeration of pairs ' | Contains the enumeration of pairs ' | ||
{{:: | {{:: | ||
Line 95: | Line 93: | ||
If third element in a row is set (e.g. "1, ON, client: | If third element in a row is set (e.g. "1, ON, client: | ||
- | === Units of measurement === | + | ==== Units of measurement |
Indication of engineering units for the register data. The string specified in the field will be displayed after the text string with the register value on dashboards. | Indication of engineering units for the register data. The string specified in the field will be displayed after the text string with the register value on dashboards. | ||
- | === Value Calculations === | + | ==== Value Calculations |
Show the result of the formula: | Show the result of the formula: | ||
result = value_read х **multiplier** + **shift value** | result = value_read х **multiplier** + **shift value** | ||
Scaling value with offset in the register to convert raw value from ADC to engineering units. The result is shown with the set **precision**. | Scaling value with offset in the register to convert raw value from ADC to engineering units. The result is shown with the set **precision**. | ||
- | === Min/Max Allowed Value For Operator === | + | ==== Min/Max Allowed Value For Operator |
These fields allow you to limit the min. and max. possible value for the register, which can be changed by the user from the dashboard. | These fields allow you to limit the min. and max. possible value for the register, which can be changed by the user from the dashboard. | ||
- | === Min/Max Reasonable Value === | + | ==== Min/Max Reasonable Value ==== |
These fields allow to designate a zone of unreliable values of the register, thus it is possible to judge the sensor failure. When reading the value outside the zone, a nil will be written to the register, which in turn can be defined as a ' | These fields allow to designate a zone of unreliable values of the register, thus it is possible to judge the sensor failure. When reading the value outside the zone, a nil will be written to the register, which in turn can be defined as a ' | ||
Line 119: | Line 117: | ||
But sometimes there is a need to track values more precisely, e.g. to view signal transitions, | But sometimes there is a need to track values more precisely, e.g. to view signal transitions, | ||
- | === Writing registers to the log === | + | ==== Writing registers to the log ==== |
In this section ' | In this section ' | ||
*it can be a source of data for graphs | *it can be a source of data for graphs | ||
Line 213: | Line 211: | ||
***Edit, Delete, Clone** buttons - corresponds to editing, deleting or cloning register(connection). | ***Edit, Delete, Clone** buttons - corresponds to editing, deleting or cloning register(connection). | ||
- | === Group operations === | + | ==== Bulk operations |
- | == Working with selections == | + | It is also known as Group operations |
+ | === Working with selections | ||
When the cursor hovers over the connection, a checkbox appears to the right of it for selecting or deselecting all registers in the connection. | When the cursor hovers over the connection, a checkbox appears to the right of it for selecting or deselecting all registers in the connection. | ||
Line 221: | Line 220: | ||
There are some group operations inside **Tools** sub-menu for selected register - see below. | There are some group operations inside **Tools** sub-menu for selected register - see below. | ||
- | {{::reg_group_ops.png? | + | {{ ::tools_menu_new.png? |
***Export registers** - export selected register in a *.csv file to have a template or make some bulk modification using convenient spreadsheet editor | ***Export registers** - export selected register in a *.csv file to have a template or make some bulk modification using convenient spreadsheet editor | ||
+ | ***Export register values** - export the current values of the selected registers to a csv-file | ||
***Disable** - disable polling of the selected register | ***Disable** - disable polling of the selected register | ||
***Enable** - enable polling of the selected register | ***Enable** - enable polling of the selected register | ||
Line 249: | Line 250: | ||
Another possible use for map is to quickly find some internal register in a list, using browser hotkey F3 or Crtl-F. And quickly follow the link to view register' | Another possible use for map is to quickly find some internal register in a list, using browser hotkey F3 or Crtl-F. And quickly follow the link to view register' | ||
- | |||
- | |||
- |
registers.txt · Last modified: 2024/04/11 08:13 by emozolyak