Differences

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

Link to this comparison view

Next revision
Previous revision
en:sw:01-mervis:mervis-scada-project-v230-hidden [2021/04/28 08:03]
avsetula created
en:sw:01-mervis:mervis-scada-project-v230-hidden [2024/04/03 07:48] (current)
avsetula [2 PLC configuration]
Line 1: Line 1:
 <​html><​div class="​version-switch">​ <​html><​div class="​version-switch">​
-  <a href="/​en:​sw:​01-mervis:​mervis-scada-project-hidden"><​div>​IDE v2.4.0</​div></​a>​ +  <a href="/​en:​sw:​01-mervis:​mervis-scada-project-hidden"><​div>​IDE v2.4.0 ​and later</​div></​a>​ 
-  <a href="#​zalozeni_projektu_mervis_scada"><​div class="​actual-version">​IDE v2.3.0</​div></​a>​+  <a href="#​creating_a_mervis_scada_project"><​div class="​actual-version">​IDE v2.3.0</​div></​a>​
 </​div></​html>​ </​div></​html>​
  
Line 20: Line 20:
 The following tutorial will show you how to create a new Mervis SCADA project, and how to use Mervis SCADA for access to an already existing Mervis IDE project. ​ The following tutorial will show you how to create a new Mervis SCADA project, and how to use Mervis SCADA for access to an already existing Mervis IDE project. ​
  
-==== Prerequisites ​==== +<WRAP center round box> 
-  * [[https://​www.unipi.technology/​axon-c20 | Unipi controllers]] with at least [[en:​files:​software:​os-images:​00-start|Mervis OS v2.2.0]] and [[en:​files:​software:​mervis:​00-start|Mervis IDE v2.3.0]]+<​html><​span class="​kbBlue-H4alt">​Prerequisites:</​span></​html>​ 
 +  * [[https://​www.unipi.technology/​neuron-c2 | Unipi controller]] with at least [[en:​files:​software:​os-images:​00-start|Mervis OS v2.2.0]] and [[en:​files:​software:​mervis:​00-start|Mervis IDE v2.3.0]]
   * Internet connection   * Internet connection
   * Valid user account and activated license on the [[https://​www.unipi.technology/​getmervis|Unipi webpage ]]   * Valid user account and activated license on the [[https://​www.unipi.technology/​getmervis|Unipi webpage ]]
 +</​WRAP>​
  
 ===== 1 Introduction into the Mervis SCADA ===== ===== 1 Introduction into the Mervis SCADA =====
Line 91: Line 93:
  
 ===== 2 PLC configuration ===== ===== 2 PLC configuration =====
-The second step is to configure the PLC to make it accessible for Mervis SCADA. Create a new project ​in the Mervis IDE, or open an existing one. The project ​must be opened in [[creating-new-project-hidden#​switching_from_simple_mode_to_full_mode|Full mode]].+The second step is to configure the PLC to make it accessible for Mervis SCADA. Create a new solution ​in the Mervis IDE, or open an existing one. The solution ​must be switched to [[creating-new-project-hidden#​switching_from_simple_mode_to_full_mode|Full mode]].
  
 Any PLC we want to connect to the SCADA project must be connected to the Mervis Proxy service. You can configure Mervis Proxy using the Proxy Parameters section located in the PLC properties. All the needed parameters are available in your [[https://​www.unipi.technology/​getmervis|Customer portal]]. Use a unique Proxy ID for each PLC. A more detailed description is available in the [[connecting-to-unipi-via-mervis-proxy-hidden|Connecting to Unipi via Mervis Proxy]] tutorial. Any PLC we want to connect to the SCADA project must be connected to the Mervis Proxy service. You can configure Mervis Proxy using the Proxy Parameters section located in the PLC properties. All the needed parameters are available in your [[https://​www.unipi.technology/​getmervis|Customer portal]]. Use a unique Proxy ID for each PLC. A more detailed description is available in the [[connecting-to-unipi-via-mervis-proxy-hidden|Connecting to Unipi via Mervis Proxy]] tutorial.
  
-To display historic data in the SCADA control panel and the mobile ​app, the PLC must send data to the Mervis DB serviceIn this caseuse identical login info for each PLC within a single ​SCADA project. ​Again, Mervis ​DB login info can be found in the [[https://​www.unipi.technology/​getmervis|Customer portal]]. A more detailed explanation is available ​in the [[storing-data-to-mervis-db-hidden|Storing data to the Mervis DB]] tutorial. +To display historic data (graphs) ​in the SCADA web interface or mobile ​applicationit is necessary that the PLC stores ​data in Mervis DB. Together with the SCADA projectone set of Mervis DB credentials is also generated ​for all PLCs connected to this SCADA project. ​Setup and storing to DB is explained ​in detail ​in the [[storing-data-to-mervis-db-hidden|Storing data to the Mervis DB]] tutorial.
  
 Upon finishing the Mervis Proxy and Mervis DB configuration,​ don’t forget to [[updating-a-runtime-configuration-hidden|upload the configuration into the PLC]]. Upon finishing the Mervis Proxy and Mervis DB configuration,​ don’t forget to [[updating-a-runtime-configuration-hidden|upload the configuration into the PLC]].
Line 161: Line 162:
 <​html><​div class="​directTag"​ id="​1"></​div></​html>​ <​html><​div class="​directTag"​ id="​1"></​div></​html>​
 <​html><​span class="​kbBlueText">​Continue with configuring the TCP Parameters. We recommend using the SSL secure connection. </​span></​html>​ \\ <​html><​span class="​kbBlueText">​Continue with configuring the TCP Parameters. We recommend using the SSL secure connection. </​span></​html>​ \\
-  * **Device ​Address:** ''​proxy.unipi.technology''​+  * **Device ​Hostname:** ''​proxy.unipi.technology''​
   * **Port:** ''​12349''​   * **Port:** ''​12349''​
   * **Enable SSL:** True   * **Enable SSL:** True
Line 272: Line 273:
  
 ==== 3.3 Adding data points into the Mervis DB ==== ==== 3.3 Adding data points into the Mervis DB ====
-After selecting and adding all data points into the table, select them all. +After adding all data points into the table, select them all. 
  
 <WRAP center round important 75%> <WRAP center round important 75%>
Line 293: Line 294:
  
 <WRAP center round info 90%> <WRAP center round info 90%>
-In case of editing ​dbtable, graphic HMI or any other adjustments in the SCADA terminal without any changes in the PLC itself, you do not need to deploy the solution into the PLC - a compilation only will do. By compiling the solution, a new definition for Mervis SCADA will be generated without affecting the PLC. +In case of editing ​dptable, graphic HMI or any other adjustments in the SCADA terminal without any changes in the PLC itself, you do not need to deploy the solution into the PLC - a compilation only will do. By compiling the solution, a new definition for Mervis SCADA will be generated without affecting the PLC. 
 </​WRAP>​ </​WRAP>​