Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:sw:01-mervis:storing-data-to-mervis-db-hidden [2020/06/24 12:48]
jan_kozak
en:sw:01-mervis:storing-data-to-mervis-db-hidden [2024/04/03 10:03] (current)
avsetula [Storing data into Mervis DB]
Line 6: Line 6:
 <WRAP half column 15%> <WRAP half column 15%>
 ;;# ;;#
-<​html><​span class="​dev-tag dev-axon">Axon</​span></​html>​ \\+<​html><​span class="​dev-tag dev-patron">Patron</​span></​html>​ \\
 <​html><​span class="​dev-tag dev-neuron">​Neuron</​span></​html>​ \\ <​html><​span class="​dev-tag dev-neuron">​Neuron</​span></​html>​ \\
-<​html><​span class="​dev-tag dev-unipi11">​Unipi&​nbsp1.1</​span></​html>​+<​html><​span class="​dev-tag dev-gate">​Gate</​span></​html>​ \\ 
 +<​html><​span class="​dev-tag dev-unipi11">​Unipi&​nbsp1.1</​span></​html>​ \\ 
 +<​html><​span class="​dev-tag dev-axon">​Axon</​span></​html>​
 ;;# ;;#
 </​WRAP>​ </​WRAP>​
Line 16: Line 18:
 <​html><​span class="​kbBlue-H4alt">​Prerequisites</​span></​html>​ <​html><​span class="​kbBlue-H4alt">​Prerequisites</​span></​html>​
   * Unipi controller running Mervis OS   * Unipi controller running Mervis OS
-  * 24V power supply+  * 24 V⎓ power supply
   * Mervis IDE project created according to [[storing-data-to-history-log-hidden|Storing data to history log]]   * Mervis IDE project created according to [[storing-data-to-history-log-hidden|Storing data to history log]]
-  * [[en:​sw:​01-mervis:​03-mervis-db|Mervis DB]] login credentials ​([[en:​sw:​01-mervis:​getting-mervis-licence-hidden|a tutorial]] how to obtain it)+  * [[en:​sw:​01-mervis:​03-mervis-db|Mervis DB]] credentials
 </​WRAP>​ </​WRAP>​
 +
 +<WRAP center round info>
 +The Mervis DB credentials are generated together with the Mervis SCADA project and are intended for all PLCs connected to this SCADA project. ​
 +
 +----
 +
 +If you are only interested in the Mervis DB without Mervis SCADA, please [[https://​www.unipi.technology/​contacts|contact our sales department]] for an individual offer.
 +</​WRAP>​
 +
  
 ===== PLC properties settings ===== ===== PLC properties settings =====
Line 36: Line 47:
   * **Communication period [min]**: this is the period in which the PLC will send the gathered data   * **Communication period [min]**: this is the period in which the PLC will send the gathered data
   * **Certificate validation**:​ set to ''​FALSE''​ by default, more info in the [[en:​sw:​01-mervis:​ssl-certification-validation-hidden|Certificate validation]]   * **Certificate validation**:​ set to ''​FALSE''​ by default, more info in the [[en:​sw:​01-mervis:​ssl-certification-validation-hidden|Certificate validation]]
-  * **Username**:​ the Mervis DB username ​you obtained from your account on [[http://​unipi.technology|unipi.technology]] +  * **Username**:​ the Mervis DB username 
-  * **Password**:​ the Mervis DB password ​you obtained from your account on [[http://​unipi.technology|unipi.technology]]+  * **Password**:​ the Mervis DB password
  
-<WRAP center round tip 80%>+<WRAP center round info 90%
 +Mervis DB credentials are available in the [[https://​www.unipi.technology/​customer/​scada/​|Mervis SCADA project administration]] (customer portal). 
 +</WRAP>
  
 +<WRAP center round tip 90%>
 Observant users probably realized we just entered a second different time parameter, namely the **Communication period**. ​ Observant users probably realized we just entered a second different time parameter, namely the **Communication period**. ​
  
Line 65: Line 79:
 Let's move into the Mervis DB Viewer - a web tool for analyzing data stored by controllers. Open a web browser and enter [[https://​db.unipi.technology/​viewer|]] address. A login screen will appear - enter the login info used in the PLC settings. Upon entering them, click on **Set** and then on **Close**. ​ Let's move into the Mervis DB Viewer - a web tool for analyzing data stored by controllers. Open a web browser and enter [[https://​db.unipi.technology/​viewer|]] address. A login screen will appear - enter the login info used in the PLC settings. Upon entering them, click on **Set** and then on **Close**. ​
  
-/* FIXME - upravit podle CZ verze */  +<WRAP center round box>
 If Mervis DB fails to display data even if you configured everything correctly, it is probably caused by the fact Mervis DB does not have any logged data yet. Close the Mervis DB Viewer and wait until the first log is uploaded - the required time for this varies depending on communication intervals set for the PLC and DB, or on the history log interval. The interval can be synchronous (eg. with a fixed upload time) or asynchronous (the interval depends on how long it takes for data to be logged). If the issue persists even then, check Mervis DB login and password, make sure the address is set correctly and also make sure you [[en:​sw:​01-mervis:​updating-a-runtime-configuration-hidden|uploaded the configuration into the PLC]] correctly. If Mervis DB fails to display data even if you configured everything correctly, it is probably caused by the fact Mervis DB does not have any logged data yet. Close the Mervis DB Viewer and wait until the first log is uploaded - the required time for this varies depending on communication intervals set for the PLC and DB, or on the history log interval. The interval can be synchronous (eg. with a fixed upload time) or asynchronous (the interval depends on how long it takes for data to be logged). If the issue persists even then, check Mervis DB login and password, make sure the address is set correctly and also make sure you [[en:​sw:​01-mervis:​updating-a-runtime-configuration-hidden|uploaded the configuration into the PLC]] correctly.
 +</​WRAP>​
 +
  
 {{ :​en:​sw:​01-mervis:​storing-data-to-mervis-db-10-mervis-db-viewer-login.png?​direct |}} {{ :​en:​sw:​01-mervis:​storing-data-to-mervis-db-10-mervis-db-viewer-login.png?​direct |}}