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:updating-a-runtime-configuration-hidden [2020/03/18 11:02]
avsetula
en:sw:01-mervis:updating-a-runtime-configuration-hidden [2022/11/16 22:16] (current)
avsetula
Line 1: Line 1:
-<​html>​ 
-  <​style> ​   ​ 
-     ​span.wrongTranslate{ 
-      font-weight:​ bold; 
-      background: #de0000; 
-      color: #fff; 
-    }  
-  </​style>​ 
-</​html>​ 
- 
 ====== Uploading a RunTime configuration ====== ====== Uploading a RunTime configuration ======
 +<WRAP group>
 +<WRAP half column 81%>
 +Each time you wish to upload RT configuration changes, make sure, that you downloaded the PLC config beforehand. We also recommend to double-check settings of your network card and make sure it is compatible with the required configuration (mainly if the DHCP client is enabled). After these checks, set the configuration. ​
 +</​WRAP>​
 +<WRAP half column 15%>
 +;;#
 +<​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-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>​
  
-Each time you wish to upload RT configuration ​changesmake sure, <​html><​span class="​wrongTranslate">that you did not download the PLC config beforehand</​span></​html>​. We also recommend to double-check settings of your network card and make sure it is compatible with the required configuration (mainly if the DHCP client is enabled). After these checks, set the configuration.  +After finishing the configuration, ​right-click on the PLCselect ​<​html><​span class="​avBlueText">​PLC ​Operation</​span></​html>​ -> <​html><​span class="​avBlueText">​PLC Setup</​span></​html> ​-> <​html><​span class="​avBlueText">​Upload configuration</​span></​html>​
- +
-After finishing the configuration,​ right-click on the PLC, select ''​PLC Operation'' ​-> ''​PLC Setup'' ​-> ''​Upload configuration''​+
  
 {{ :​en:​sw:​01-mervis:​rtconf_1.png?​direct |}} {{ :​en:​sw:​01-mervis:​rtconf_1.png?​direct |}}
  
-Now select ​''​UDP broadcast'' ​and click on ''​Next''​, prompting the IDE to search for your PLC. Upon detecting the previously attached PLC the configuration will be uploaded into it. +Now select ​<​html><​span class="​avBlueText">​UDP broadcast</​span></​html> ​and click on <​html><​span class="​avBlueText">​Next</​span></​html>​, prompting the IDE to search for your PLC. Upon detecting the previously attached PLC the configuration will be uploaded into it. 
  
 UDP broadcast can be used only in a local network, and as such utilizes MAC addresses. It allows you to detect PLCs without the need to manually enter their IP address - this is also helpful in situations where you disable DHCP by mistake, or you set a wrong IP address. ​ UDP broadcast can be used only in a local network, and as such utilizes MAC addresses. It allows you to detect PLCs without the need to manually enter their IP address - this is also helpful in situations where you disable DHCP by mistake, or you set a wrong IP address. ​
Line 23: Line 25:
 {{ :​en:​sw:​01-mervis:​rtconf_2.png?​direct |}} {{ :​en:​sw:​01-mervis:​rtconf_2.png?​direct |}}
  
-**Note:** If you set up a new login and password, the old credentials are still used for the configuration upload. After a successful upload, you need to enter the new credentials again into ''​PLC Connection Parameters''​. From that moment a new password is saved and each project uploaded into the PLC must use the new credentials.+**__Note:__** If you set up a new login and password, the old credentials are still used for the configuration upload. After a successful upload, you need to enter the new credentials again into <​html><​span class="​avBlueText">​PLC Connection Parameters</​span></​html>​. From that moment a new password is saved and each project uploaded into the PLC must use the new credentials.
  
 For uploading configurations or projects, the fast and reliable TCP is used. However, this method also requires you to know connection parameters, such as IP address. Through the TCP it is possible to communicate also via a proxy server. ​ For uploading configurations or projects, the fast and reliable TCP is used. However, this method also requires you to know connection parameters, such as IP address. Through the TCP it is possible to communicate also via a proxy server. ​
  
 <WRAP center round important 80%> <WRAP center round important 80%>
-**Caution:​** if you are unable to upload configuration,​ upload a new project etc. after a password change, the most likely cause is you uploaded a wrong password by error. If you can't remember the correct password, you can reflash the PLC's operating system as a last-resort solution. See the corresponding guides for [[en:​hw:​01-axon:​image|Unipi Axon]] and [[en:​sw:​01-mervis:​running-on-neuron-hidden|Unipi Neuron/​Unipi 1.1]].+**Caution:​** if you are unable to upload configuration,​ upload a new project etc. after a password change, the most likely cause is you uploaded a wrong password by error. If you can't remember the correct password, you can reflash the PLC's operating system as a last-resort solution. See the corresponding guides for [[en:​hw:​007-patron:​image|Unipi Patron]], ​[[en:​hw:​01-axon:​image|Unipi Axon]] and [[en:​sw:​01-mervis:​running-on-neuron-hidden|Unipi Neuron/​Unipi 1.1]].
 </​WRAP>​ </​WRAP>​
  
Line 40: Line 42:
 {{ :​en:​sw:​01-mervis:​01_plc_properties_en.png?​direct&​270|}} {{ :​en:​sw:​01-mervis:​01_plc_properties_en.png?​direct&​270|}}
 ==== Controller properties ==== ==== Controller properties ====
-  ​* Name -> //name of the PLC//  +**Name** – name of the PLC \\  
-  * Device Identifier ​-> //MAC address// +**Device Identifier** – MAC address ​\\ 
-  * Assigned Device Type -> //Model of the PLC// +**Assigned Device Type** – Model of the PLC \\ 
-  * History Runtime Indentification ​-> //Name used by Mervis DB// +**History Runtime Indentification** – Name used by Mervis DB \\ 
-  * Application version ​-> //enter the version of **your** program// +**Application version** – enter the version of **your** program ​\\ 
-  * Stop on Exception ​-> //reaction to any forbidden program exceptions// +**Stop on Exception** – reaction to any forbidden program exceptions ​\\ 
-  * Ignore Points ​-> //(non)indication of memory usage// +**Ignore Points** – (non)indication of memory usage \\ 
-  * Language (Web) -> //sets the language used by Mervis HMI (CZE/ENG)///+**Language (Web)** – sets the language used by Mervis HMI (CZE/​ENG) ​\\
  
 ==== PLC Connection Parameters ==== ==== PLC Connection Parameters ====
-  ​* Username ​-> //the current username// +**Username** – the current username ​\\ 
-  * Password ​-> //the current password// +**Password** – the current password ​\\ 
-  * SSCP address ​-> //address of the PLC in SSCP protocol, used by both TCP and serial communication// +**SSCP address** – address of the PLC in SSCP protocol, used by both TCP and serial communication ​\\ 
-  * Connection Type -> //type of communication with the PLC//+**Connection Type** – type of communication with the PLC \\
  
 ==== Connection Parameters ==== ==== Connection Parameters ====
-  ​* Server ​-> //PLC address for communication// +**Server** – PLC address for communication ​\\ 
-  * TCP Port -> //TCP port number, default value = 12346// +**TCP Port** – TCP port number, default value = 12346 \\ 
-  * SSL Enabled ​-> //SSL protocol settings//+**SSL Enabled** – SSL protocol settings ​\\
 \\ \\
 {{ :​files:​img_breakline.png?​nolink |}} {{ :​files:​img_breakline.png?​nolink |}}
Line 65: Line 67:
  
 ==== Variable Backup ==== ==== Variable Backup ====
-  ​* Enabled ​-> //enables the variable backup// +**Enabled** – enables the variable backup ​\\ 
-  * Periodic Save Enable ​-> //enables a periodic save// +**Periodic Save Enable** – enables a periodic save \\ 
-  * Period ​-> //time period of the backup// +**Period** – time period of the backup ​\\ 
-  * Trigger Variable ​-> //rising edge on the selected variable will trigger the save//+**Trigger Variable** – rising edge on the selected variable will trigger the save \\
  
 ==== Date/Time Settings ==== ==== Date/Time Settings ====
-  ​* Daylight Offsets ​-> //sets timezone and and time offset// +**Daylight Offsets** – sets timezone and and time offset ​\\ 
-  * UTC Offset [h] -> //a difference between the selected timezone and the UTC timezone - information value only// +**UTC Offset [h]** – a difference between the selected timezone and the UTC timezone - information value only \\ 
-  * NTP Server URL -> //time synchronization server// +**NTP Server URL** – time synchronization server ​\\ 
-  * Additional info about time/date settings is available [[en:​sw:​01-mervis:​set-time-date-timezone-hidden|in this tutorial]]+\\ 
 +**Additional info about time/date settings is available [[en:​sw:​01-mervis:​set-time-date-timezone-hidden|in this tutorial]]** \\
  
 ==== Wireless Card ==== ==== Wireless Card ====
-  ​* Name -> //name of the Wi-Fi adapter// +**Name** – name of the Wi-Fi adapter ​\\ 
-  * Enabled ​-> //enables the Wi-Fi adapter// +**Enabled** – enables the Wi-Fi adapter ​\\ 
-  * IP Configuration ​-> //selects between static, dynamic and no IP address// +**IP Configuration** – selects between static, dynamic and no IP address ​\\ 
-  * IP Address ​-> //IP address of the particular Wi-Fi adapter// +**IP Address** – IP address of the particular Wi-Fi adapter ​\\ 
-  * Wi-Fi ESSID -> //name of the network the PLC will connect to// +**Wi-Fi ESSID** – name of the network the PLC will connect to \\ 
-  * Wi-Fi Security ​-> //open, WEP, WPA, WPA2// +**Wi-Fi Security** – open, WEP, WPA, WPA2 \\ 
-  * Password ​-> //password to the Wi-Fi network (if needed)//+**Password** – password to the Wi-Fi network (if needed) ​\\
 \\ \\
 {{ :​files:​img_breakline.png?​nolink |}} {{ :​files:​img_breakline.png?​nolink |}}
 \\ \\
-{{ :em:​sw:​01-mervis:​03_plc_properties_en.png?​direct&​270|}}+{{ :en:​sw:​01-mervis:​03_plc_properties_en.png?​direct&​270|}}
 ==== Networking ==== ==== Networking ====
-  ​* Use DHCP -> //enables automatic allocation of IP addresses in the network// +**Use DHCP** – enables automatic allocation of IP addresses in the network ​\\ 
-  * IP address ​-> //IP address of the particular adapter// +**IP address** – IP address of the particular adapter ​\\ 
-  * Netmask, Gateway, DNS -> //network settings// +**Netmask, Gateway, DNS** – network settings ​\\ 
-  * Enable Configuration over UDP -> //enables the configuration services (depends on network security)// +**Enable Configuration over UDP** – enables the configuration services (depends on network security) ​\\ 
-  * Enable Web Server ​-> //enables web server// +**Enable Web Server** – enables web server ​\\ 
-  * Web Server Port -> //TCP port used for connecting to web server+**Web Server Port** – TCP port used for connecting to web server ​\\
  
 ==== Mervis DB Parameters ==== ==== Mervis DB Parameters ====
-  ​* Enabled ​-> //enables saving into database// +**Enabled** – enables saving into database ​\\ 
-  * URL -> //database address// +**URL** – database address ​\\ 
-  * Communication period [min] -> /interval of storing the internal buffer into database// +**Communication period [min]** – interval of storing the internal buffer into database ​\\ 
-  * User Name -> //database access login// +**Certification validity**: set to ''​FALSE''​ by default. More info available in the [[en:​sw:​01-mervis:​ssl-certification-validation-hidden|SSL Certification validity]] article. 
-  * Password ​-> //database access password//+**User Name** – database access login \\ 
 +**Password** – database access password ​\\
  
 ==== Proxy Parameters ==== ==== Proxy Parameters ====
-  ​* Enabled ​-> //enables connection to proxy server// +**Enabled** – enables connection to proxy server ​\\ 
-  * Proxy ID -> //proxy identification,​ used by PLC for accessing the proxy server// +**Proxy ID** – proxy identification,​ used by PLC for accessing the proxy server ​\\ 
-  * URL -> //address of the proxy server the PLC should connect to// +**URL** – address of the proxy server the PLC should connect to \\ 
-  * Keep-alive Period ​-> //time interval of control messages (serves for prevent closure of TCP connection, recommended value is 10 seconds)//+**Certification validity** - set to ''​FALSE''​ by default. Learn more in the [[en:​sw:​01-mervis:​ssl-certification-validation-hidden|SSL Certification validity]] article \\ 
 +**Keep-alive Period** – time interval of control messages (serves for prevent closure of TCP connection, recommended value is 10 seconds) ​\\
 \\ \\
 {{ :​files:​img_breakline.png?​nolink |}} {{ :​files:​img_breakline.png?​nolink |}}
Line 113: Line 118:
 {{ :​en:​sw:​01-mervis:​04_plc_properties_en.png?​direct&​270|}} {{ :​en:​sw:​01-mervis:​04_plc_properties_en.png?​direct&​270|}}
 ==== SSCP Parameters ==== ==== SSCP Parameters ====
-  ​__SSCP address__ -> address of the PLC for SSCP protocol, used both for TCP and serial communication  +**SSCP address** – address of the PLC for SSCP protocol, used both for TCP and serial communication ​\\ 
-  __Number ​of Registrable ​Groups__ -> number of variable groups +**Number ​of Registrable ​Groups** – number of variable groups ​\\ 
-  __Number ​of Variables in Group__ -> number of variables in the variable group +**Number ​of Variables in Group** – number of variables in the variable group \\ 
-  __Enable ​TCP Server__ -> enables the TCP communication +**Enable ​TCP Server** – enables the TCP communication ​\\ 
-  __Enable ​Serial ​Server__ -> enables the serial communication +**Enable ​Serial ​Server** – enables the serial communication ​\\ 
-  __Serial ​Server ​Port__ -> TCP port number, default value = 12346 +**Serial ​Server ​Port** – TCP port number, default value = 12346 \\ 
-  __Enable ​Serial ​Router__ ->  +**Enable ​Serial ​Router** –  \\ 
-  ​* ​__Serial ​Router ​Port__ -> +**Serial ​Router ​Port** –  \\ 
-  ​* ​__Serial ​Router ​Baudrate__ -> serial line transmission speed +**Serial ​Router ​Baudrate** – serial line transmission speed \\ 
-  __Enable ​SSL server__ -> enables SSL secure transmission +**Enable ​SSL server** – enables SSL secure transmission ​\\ 
-  __SSL Server ​Port__ -> number of the secure communication port, default value = 12347+**SSL Server ​Port** – number of the secure communication port, default value = 12347 \\
  
 ==== Users Definition ==== ==== Users Definition ====
-  ​__Username ​(Engineering)__ -> user with full access to the PLC +**Username ​(Engineering)** – user with full access to the PLC \\ 
-  __Password ​(Engineering)__ -> his password +**Password ​(Engineering)** – his password ​\\ 
-  __Username ​(Full Control)__ -> user able to read from or write into variables +**Username ​(Full Control)** – user able to read from or write into variables ​\\ 
-  __Password ​(Full Control)__ -> his password +**Password ​(Full Control)** – his password ​\\ 
-  __Username ​(Read Only)__ -> user able only to read variables  +**Username ​(Read Only)** – user able only to read variables ​\\ 
-  __Username ​(Read Only)__ -> his password+**Username ​(Read Only)** – his password ​\\
 \\ \\
 {{ :​files:​img_breakline.png?​nolink |}} {{ :​files:​img_breakline.png?​nolink |}}
Line 138: Line 143:
 {{ :​en:​sw:​01-mervis:​05_plc_properties_en.png?​direct&​270|}} {{ :​en:​sw:​01-mervis:​05_plc_properties_en.png?​direct&​270|}}
 ====Unipi specific==== ====Unipi specific====
-  ​__SSH Enabled__ -> enables the SSH server connection +**SSH Enabled** – enables the SSH server connection ​\\ 
-  __SSH password for Unipi user__ -> password for SSH access to the PLC (login: unipi)+**SSH password for Unipi user** – password for SSH access to the PLC (login: unipi) ​\\
  
 ==== OPC Parameters ==== ==== OPC Parameters ====
-  ​__Refresh ​timeout [ms]__ -> data refresh period +**Refresh ​timeout [ms]** – data refresh period ​\\ 
-  __Max data flow [kb/s]__ -> max data flow from PLC to OPC+**Max data flow [kb/s]** – max data flow from PLC to OPC \\
 {{ :​files:​img_breakline.png?​nolink |}} {{ :​files:​img_breakline.png?​nolink |}}