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
en:sw:01-mervis:updating-a-runtime-configuration-hidden [2021/08/05 14:44] – [Uploading a RunTime configuration] avsetulaen:sw:01-mervis:updating-a-runtime-configuration-hidden [2026/05/18 08:56] (current) – updated wraps and removed tags ofojt
Line 1: Line 1:
 +<html><div class="version-switch">
 +  <a href=""><div class="actual-version">IDE v2.6.5 and later</div></a>
 +  <a href="/en:sw:01-mervis:updating-a-runtime-configuration-v250-hidden"><div>up to IDE v2.5.0</div></a>
 +</div></html>
 +
 ====== Uploading a RunTime configuration ====== ====== Uploading a RunTime configuration ======
 +/*
 <WRAP group> <WRAP group>
 <WRAP half column 81%> <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.  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>
 <WRAP half column 15%> <WRAP half column 15%>
Line 9: Line 17:
 <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-gate">Gate</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-unipi11">Unipi&nbsp1.1</span></html>
-<html><span class="dev-tag dev-axon">Axon</span></html>+
 ;;# ;;#
 </WRAP> </WRAP>
 </WRAP> </WRAP>
 +*/
  
-After finishing the configuration, right-click on the PLC, select <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, unroll the PLC, right-click on //Configuration//, select <html><span class="avBlueText">Upload configuration</span></html>
  
-{{ :en:sw:01-mervis:rtconf_1.png?direct |}}+{{ :en:sw:01-mervis:updating-a-runtime-configuration:upload_rtconfiguration_path.png?direct |}}
  
 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.  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. 
Line 29: Line 37:
 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 group center round box 95%> 
-**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]].+{{ :files:img_warning-line_b.png?nolink |}} 
 +<WRAP half column 13%> 
 +{{ :en:hw:09_safety-instructions_pseudo-ISO-7010-attention.png?nolink |(!)}} 
 +</WRAP> 
 +<WRAP half column 83%> 
 +**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> </WRAP>
  
Line 37: Line 52:
 ===== Configuration explained ===== ===== Configuration explained =====
 The following articles will explain all configurations you need to perform before uploading the RT:  The following articles will explain all configurations you need to perform before uploading the RT: 
-\\ 
-{{ :files:img_breakline.png?nolink |}} 
-\\ 
-{{ :en:sw:01-mervis:01_plc_properties_en.png?direct&270|}} 
-==== Controller properties ==== 
-**Name** – name of the PLC \\  
-**Device Identifier** – MAC address \\ 
-**Assigned Device Type** – Model of the PLC \\ 
-**History Runtime Indentification** – Name used by Mervis DB \\ 
-**Application version** – enter the version of **your** program \\ 
-**Stop on Exception** – reaction to any forbidden program exceptions \\ 
-**Ignore Points** – (non)indication of memory usage \\ 
-**Language (Web)** – sets the language used by Mervis HMI (CZE/ENG) \\ 
  
-==== PLC Connection Parameters ==== 
-**Username** – the current username \\ 
-**Password** – the current password \\ 
-**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 Parameters ==== 
-**Server** – PLC address for communication \\ 
-**TCP Port** – TCP port number, default value = 12346 \\ 
-**SSL Enabled** – SSL protocol settings \\ 
 \\ \\
-{{ :files:img_breakline.png?nolink |}} 
-\\ 
-{{ :en:sw:01-mervis:02_plc_properties_en.png?direct&270|}} 
  
-==== Variable Backup ==== +====Cloud Access Parameters==== 
-**Enabled** – enables the variable backup \\ +<WRAP group> 
-**Periodic Save Enable** – enables a periodic save \\ +<WRAP half column> 
-**Period** – time period of the backup \\ +**Enable** – enables connection via Cloud Access \\ 
-**Trigger Variable** – rising edge on the selected variable will trigger the save \\+**Channels** – channels for communication \\  
 +**Server** – Cloud Access server address \\ 
 +**Port** – communication port, default 23010 \\ 
 +**SSL Enable** – enables encrypted connection \\ 
 +**Timeout** – \\ 
 +</WRAP> 
 + 
 +<WRAP half column> 
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_cloudaccess.png?direct|Cloud Access Parameters}} 
 +</WRAP> 
 +</WRAP>
  
 ==== Date/Time Settings ==== ==== Date/Time Settings ====
 +<WRAP group>
 +<WRAP half column>
 **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 \\
Line 78: Line 79:
 \\ \\
 **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]]** \\
 +</WRAP>
 +
 +<WRAP half column>
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_time.png?direct|Date/Time Settings}}
 +</WRAP>
 +</WRAP>
  
-==== Wireless Card ==== 
-**Name** – name of the Wi-Fi adapter \\ 
-**Enabled** – enables the Wi-Fi adapter \\ 
-**IP Configuration** – selects between static, dynamic and no IP address \\ 
-**IP Address** – IP address of the particular Wi-Fi adapter \\ 
-**Wi-Fi ESSID** – name of the network the PLC will connect to \\ 
-**Wi-Fi Security** – open, WEP, WPA, WPA2 \\ 
-**Password** – password to the Wi-Fi network (if needed) \\ 
-\\ 
-{{ :files:img_breakline.png?nolink |}} 
-\\ 
-{{ :em:sw:01-mervis:03_plc_properties_en.png?direct&270|}} 
 ==== Networking ==== ==== Networking ====
-**Use DHCP** – enables automatic allocation of IP addresses in the network \\ +<WRAP group> 
-**IP address** – IP address of the particular adapter \\ +<WRAP half column>
-**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 HTTP** – povolení webového serveru \\ 
-**Web Server Port** – TCP port used for connecting to web server \\+**HTTP Port** – TCP port used for connecting to web server \\ 
 +**Enable HTTPS** – povolení šifrovaného webového serveru \\ 
 +**HTTPS Port** – TCP port pro připojení k šifrovanému webovému serveru \\ 
 +**Redirect HTTP to HTTPS** – přesměrovávat HTTP komunikaci na HTTPS \\ 
 +</WRAP> 
 + 
 +<WRAP half column> 
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_ports.png?direct|Networking}} 
 +</WRAP> 
 +</WRAP> 
 + 
 +==== Certificates ==== 
 +<WRAP group> 
 +<WRAP half column> 
 +**Enable Default CA** –  \\ 
 +**Enable User CA** –  \\ 
 +**Enable Server Certificate** –  \\ 
 +**Enable Webserver Certificate** –  \\ 
 +</WRAP> 
 + 
 +<WRAP half column> 
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_certificates.png?direct| Certificates}} 
 +</WRAP> 
 +</WRAP>
  
 ==== Mervis DB Parameters ==== ==== Mervis DB Parameters ====
 +<WRAP group>
 +<WRAP half column>
 **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 \\ 
-**Certification validity**: set to ''FALSE'' by default. More info available in the [[en:sw:01-mervis:ssl-certification-validation-hidden|SSL Certification validity]] article.+**Certification Validation**: set to ''FALSE'' by default. More info available in the [[en:sw:01-mervis:ssl-certification-validation-hidden|SSL Certification validity]] article.
 **User Name** – database access login \\ **User Name** – database access login \\
 **Password** – database access password \\ **Password** – database access password \\
 +</WRAP>
 +
 +<WRAP half column>
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_mervisdb.png?direct| Mervis DB Parameters}}
 +</WRAP>
 +</WRAP>
  
 ==== Proxy Parameters ==== ==== Proxy Parameters ====
 +<WRAP group>
 +<WRAP half column>
 **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 \\
-**Certification validity** - set to ''FALSE'' by default. Learn more in the [[en:sw:01-mervis:ssl-certification-validation-hidden|SSL Certification validity]] article \\+**Certification Validation** - 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) \\ **Keep-alive Period** – time interval of control messages (serves for prevent closure of TCP connection, recommended value is 10 seconds) \\
-\\ +</WRAP> 
-{{ :files:img_breakline.png?nolink |}} + 
-\\ +<WRAP half column> 
-{{ :en:sw:01-mervis:04_plc_properties_en.png?direct&270|}}+{{:en:sw:01-mervis:updating-a-runtime-configuration:config_proxy.png?direct|Proxy Parameters}} 
 +</WRAP> 
 +</WRAP> 
 ==== SSCP Parameters ==== ==== SSCP Parameters ====
 +<WRAP group>
 +<WRAP half column>
 **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 \\
 +**TCP Server Port** – port of the TCP communication, default value = 12346 \\
 **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** – serial port \\ 
 +**Serial Port Baudrate** – serial port transmission speed \\
 **Enable Serial Router** –  \\ **Enable Serial Router** –  \\
 **Serial Router Port** –  \\ **Serial Router Port** –  \\
Line 129: Line 163:
 **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 \\
 +</WRAP>
 +
 +<WRAP half column>
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_sscp.png?direct|SSCP Parameters}}
 +</WRAP>
 +</WRAP>
  
 ==== Users Definition ==== ==== Users Definition ====
 +<WRAP group>
 +<WRAP half column>
 **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 \\
Line 137: Line 179:
 **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 \\
-\\ +</WRAP>
-{{ :files:img_breakline.png?nolink |}}+
  
-\\ +<WRAP half column> 
-{{ :en:sw:01-mervis:05_plc_properties_en.png?direct&270|}} +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_users.png?direct| Users Definition}} 
-====Unipi specific====+</WRAP> 
 +</WRAP> 
 + 
 +==== Storage ==== 
 +<WRAP group> 
 +<WRAP half column> 
 +**Save history buffer in RAM** – history buffer will be saved into RAM instead of eMMC/SD \\ 
 +</WRAP> 
 + 
 +<WRAP half column> 
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_storage.png?direct|Storage}} 
 +</WRAP> 
 +</WRAP> 
 + 
 +==== Unipi specific ==== 
 +<WRAP group> 
 +<WRAP half column>
 **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) \\
 +</WRAP>
 +
 +<WRAP half column>
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_unipi.png?direct|Unipi specific}}
 +</WRAP>
 +</WRAP>
 +
 +==== Common Properties ====
 +<WRAP group>
 +<WRAP half column>
 +**Enable .NET drivers** – enables .NET server and its drivers \\
 +</WRAP>
 +
 +<WRAP half column>
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:config_common.png?direct|Common Properties}}
 +</WRAP>
 +</WRAP>
 +
 +===== Network configuration =====
 +Network configuration is set alongside with RT configuration. Network configuration is inside the //Configuration// item, which has to be unrolled first:
 +
 +{{ :en:sw:01-mervis:updating-a-runtime-configuration:network-path.png?direct |}}
 +
 +<WRAP group>
 +<WRAP half column>
 +**Default Gateway Configuration** – gateway gets static or from DHCP  \\
 +**Gateway** – static address of gateway \\
 +**DNS Configuration** – DNS address gets static or from DHCP \\
 +**DNS** – static address of DNS \\
 +</WRAP>
 +
 +<WRAP half column>
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:network-common.png?direct|Common network settings}}
 +</WRAP>
 +</WRAP>
 +
 +<WRAP group center round box 95%>
 +{{ :files:img_warning-line_b.png?nolink |}}
 +<WRAP half column 13%>
 +{{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(!)}}
 +</WRAP>
 +<WRAP half column 83%>
 +**Note:** \\
 +These settings are common for all interfaces.
 +</WRAP>
 +</WRAP>
 +
 +==== Parameters of Ethernet interface ====
 +<WRAP group>
 +<WRAP half column>
 +**Name** – name of the network interface \\
 +**Enabled** – enables the network interface \\
 +**IP Configuration** – method of getting an IP address (from DHCP, static or no IP) \\
 +**IP Address** – static IP of the interface \\
 +**Netmask** – netmask of the interface with static setting \\
 +</WRAP>
 +
 +<WRAP half column>
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:network-eth.png?direct|Parameters of Ethernet interface}}
 +</WRAP>
 +</WRAP>
 +
 +==== Parameters of Wi-Fi interface ====
 +<WRAP group>
 +<WRAP half column>
 +**Name** – name of the network interface \\
 +**Enabled** – enables the network interface \\
 +**IP Configuration** – method of getting an IP address (from DHCP, static or no IP) \\
 +**IP Address** – static IP of the interface \\
 +**Netmask** – netmask of the interface with static setting \\
 +**WiFi ESSID** – Wi-Fi network SSID \\
 +**WiFi Security** – security method of the Wi-Fi network \\
 +**Password** – Wi-Fi network password \\
 +</WRAP>
 +
 +<WRAP half column>
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:network-wifi.png?direct|Parameters of Wi-Fi interface}}
 +</WRAP>
 +</WRAP>
 +
 +==== Bridge ====
 +You can join multiple network interfaces by Mervis RT configuration via a Bridge, e.g. unit has a Wi-Fi connection to router, second device is plugged into the Ethernet and the device will act like it's conntected directly to the router. Cannot be used for GSM/LTE.
 +
 +<WRAP group>
 +<WRAP half column>
 +**Name** – name of the network interface \\
 +**Enabled** – enables the network interface \\
 +**IP Configuration** – method of getting an IP address (from DHCP, static or no IP) \\
 +**IP Address** – static IP of the interface \\
 +**Netmask** – netmask of the interface with static setting \\
 +</WRAP>
 +
 +<WRAP half column>
 +{{:en:sw:01-mervis:updating-a-runtime-configuration:network-bridge.png?direct|Bridge parameters}}
 +</WRAP>
 +</WRAP>
 +
 +You can add network interfaces to the Bridge by right clicking it → //Add Network Interface Reference// → desired interface:
 +{{ :en:sw:01-mervis:updating-a-runtime-configuration:network-bridge-add-path.png?direct |Adding an interface to the bridge}}
 +
 +<WRAP group center round box 95%>
 +{{ :files:img_warning-line_b.png?nolink |}}
 +<WRAP half column 13%>
 +{{ :en:hw:09_safety-instructions_pseudo-ISO-7010-attention.png?nolink |(!)}}
 +</WRAP>
 +<WRAP half column 83%>
 +**Attention:** \\
 +After you add a network interface to the bridge, you have to set its parameter //IP Configuration// to //none//.
 +</WRAP>
 +</WRAP>
 +
 +==== GSM and LTE ====
 +Those interfaces are described in a [[en:sw:01-mervis:lte-configuration-hidden|separate article]].
  
-==== OPC Parameters ==== 
-**Refresh timeout [ms]** – data refresh period \\ 
-**Max data flow [kb/s]** – max data flow from PLC to OPC \\ 
-{{ :files:img_breakline.png?nolink |}}