User Tools

Site Tools


on-demand_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
on-demand_registers [2018/11/26 21:25] akuzmukon-demand_registers [2018/11/27 19:51] akuzmuk
Line 1: Line 1:
 ====== Read on demand registers ====== ====== Read on demand registers ======
  
-Each remote device, connected to WebHMI always has some settings or setup data which does not have to be read in each WebHMI scan. They are actually accessed by operator only during commisioning or installation. +Most of remote devices, connected to WebHMI always have some settings or setup data which do not have to be read in every WebHMI scan. They are actually accessed by operator only during commissioning or installation. 
  
-E.g. temperature requlator may have only 2-3 process related data ( current temperature, setpoint, control output value), but __tens of even hundreds__ of setting registers, like sensor types, calibation data, control profile ( ON-OFF, PWM setup, analog control setup, PID coeficientshysteresys etc. +For example temperature regulator may have only 2-3 process-related registers (current temperature, set point, control output value), but __tens or even hundreds__ of setting registers, like sensor types, calibration data, control profile (ON-OFF, PWM setup, analog control setup, PID coefficientshysteresis) etc. 
  
-So when you add many such controllers with all registers to the WebHMI project, it will communicate 90% of time in vain, and only 10% to read important data. +So when you add many such controllers with all registers to the WebHMI project, it will communicate 90% of time in vain, and only 5-10% to read important data. 
  
-To avoid this situation, there is a special attribute for the registers which marks them as "Read on-demand" so that WebHMI skips them when polling external devices thus minimizing scan time. +To avoid this situation, there is a special attribute for the registers which marks them as "Read on-demand" so that WebHMI skips them when polling external devices thus minimizing scan time. This also minimize memory consumption and makes possible to have thousands registers in the project.
  
   Tip: Group all read-on demand registers in one or two 'settings' category then they can be easily accessed and    Tip: Group all read-on demand registers in one or two 'settings' category then they can be easily accessed and 
-  viewed via Analytics Raw values menu. +  viewed via Analytics -> Raw values menu. 
  
  {{::readondemandvideo.gif?direct}}  {{::readondemandvideo.gif?direct}}
 +
 +To set any register into this mode select "On demand" in **Priority** dropdown at **Edit Register** page. 
 +To activate reading such register either click on (R) icon in register list or go to **Analytics -> Raw values** page, select needed connection and registers category and click "Read on-demand registers".
 +
 +Once activated this register will be read for 60 seconds in every scan. And then it will be deactivated again.
  
on-demand_registers.txt · Last modified: 2022/01/15 08:12 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki