Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:sw:01-mervis:updating-a-runtime-configuration-hidden [2020/04/27 11:01] – [Proxy Parameters] jan_kozak | en:sw:01-mervis:updating-a-runtime-configuration-hidden [2026/05/18 08:56] (current) – updated wraps and removed tags ofojt | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Uploading | + | < |
| + | <a href="">< | ||
| + | <a href="/ | ||
| + | </ | ||
| - | Each time you wish to upload RT configuration changes, make sure, < | + | ====== 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 half column 15%> | ||
| + | ;;# | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | ;;# | ||
| + | </ | ||
| + | </ | ||
| + | */ | ||
| - | After finishing the configuration, | + | After finishing the configuration, unroll the PLC, right-click on //Configuration//, select |
| - | {{ : | + | {{ : |
| Now select < | Now select < | ||
| Line 17: | 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%> | + | < |
| - | **Caution: | + | {{ : |
| + | <WRAP half column 13%> | ||
| + | {{ : | ||
| + | </ | ||
| + | <WRAP half column 83%> | ||
| + | **Caution: | ||
| + | if you are unable to upload configuration, | ||
| + | </ | ||
| </ | </ | ||
| Line 25: | 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: | ||
| + | |||
| \\ | \\ | ||
| - | {{ : | ||
| - | \\ | ||
| - | {{ : | ||
| - | ==== 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 | + | ====Cloud Access |
| - | **Username** – the current username | + | <WRAP group> |
| - | **Password** – the current password | + | <WRAP half column> |
| - | **SSCP address** – address | + | **Enable** – enables connection via Cloud Access |
| - | **Connection Type** – type of communication | + | **Channels** – channels for communication |
| + | **Server** – Cloud Access server | ||
| + | **Port** – communication | ||
| + | **SSL Enable** – enables encrypted connection \\ | ||
| + | **Timeout** – \\ | ||
| + | </ | ||
| - | ==== Connection Parameters ==== | + | <WRAP half column> |
| - | **Server** – PLC address for communication \\ | + | {{: |
| - | **TCP Port** – TCP port number, default value = 12346 \\ | + | </ |
| - | **SSL Enabled** – SSL protocol settings \\ | + | </ |
| - | \\ | + | |
| - | {{ : | + | |
| - | \\ | + | |
| - | {{ : | + | |
| - | + | ||
| - | ==== Variable Backup ==== | + | |
| - | **Enabled** – enables the variable backup \\ | + | |
| - | **Periodic Save Enable** – enables a periodic save \\ | + | |
| - | **Period** – time period of the backup \\ | + | |
| - | **Trigger Variable** – rising edge on the selected variable will trigger the save \\ | + | |
| ==== 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 66: | Line 79: | ||
| \\ | \\ | ||
| **Additional info about time/date settings is available [[en: | **Additional info about time/date settings is available [[en: | ||
| + | </ | ||
| + | |||
| + | <WRAP half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| - | ==== 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) \\ | ||
| - | \\ | ||
| - | {{ : | ||
| - | \\ | ||
| - | {{ : | ||
| ==== 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 | + | **Enable |
| - | **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 half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== Certificates ==== | ||
| + | <WRAP group> | ||
| + | <WRAP half column> | ||
| + | **Enable Default CA** – \\ | ||
| + | **Enable User CA** – \\ | ||
| + | **Enable Server Certificate** – \\ | ||
| + | **Enable Webserver Certificate** – \\ | ||
| + | </ | ||
| + | |||
| + | <WRAP half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| ==== 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 | + | **Communication |
| - | **Certification | + | **Certification |
| **User Name** – database access login \\ | **User Name** – database access login \\ | ||
| **Password** – database access password \\ | **Password** – database access password \\ | ||
| + | </ | ||
| + | |||
| + | <WRAP half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| ==== 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, | **Proxy ID** – proxy identification, | ||
| **URL** – address of the proxy server the PLC should connect to \\ | **URL** – address of the proxy server the PLC should connect to \\ | ||
| - | **Certification | + | **Certification |
| **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 half column> |
| - | {{ : | + | {{: |
| + | </ | ||
| + | </ | ||
| ==== 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, | ||
| **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 |
| + | **Serial Port Baudrate** – serial port transmission speed \\ | ||
| **Enable Serial Router** – \\ | **Enable Serial Router** – \\ | ||
| **Serial Router Port** – \\ | **Serial Router Port** – \\ | ||
| Line 117: | 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 half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| ==== 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 125: | 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 half column> |
| - | {{ : | + | {{: |
| - | ====Unipi specific==== | + | </ |
| + | </ | ||
| + | |||
| + | ==== Storage ==== | ||
| + | <WRAP group> | ||
| + | <WRAP half column> | ||
| + | **Save history buffer in RAM** – history buffer will be saved into RAM instead of eMMC/ | ||
| + | </ | ||
| + | |||
| + | <WRAP half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== 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 half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== Common Properties ==== | ||
| + | <WRAP group> | ||
| + | <WRAP half column> | ||
| + | **Enable .NET drivers** – enables .NET server and its drivers \\ | ||
| + | </ | ||
| + | |||
| + | <WRAP half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== Network configuration ===== | ||
| + | Network configuration is set alongside with RT configuration. Network configuration is inside the // | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | <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 half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <WRAP group center round box 95%> | ||
| + | {{ : | ||
| + | <WRAP half column 13%> | ||
| + | {{ : | ||
| + | </ | ||
| + | <WRAP half column 83%> | ||
| + | **Note:** \\ | ||
| + | These settings are common for all interfaces. | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== 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 half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== 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 half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== 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 half column> | ||
| + | {{: | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | You can add network interfaces to the Bridge by right clicking it → //Add Network Interface Reference// → desired interface: | ||
| + | {{ : | ||
| + | |||
| + | <WRAP group center round box 95%> | ||
| + | {{ : | ||
| + | <WRAP half column 13%> | ||
| + | {{ : | ||
| + | </ | ||
| + | <WRAP half column 83%> | ||
| + | **Attention: | ||
| + | After you add a network interface to the bridge, you have to set its parameter //IP Configuration// | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== GSM and LTE ==== | ||
| + | Those interfaces are described in a [[en: | ||
| - | ==== OPC Parameters ==== | ||
| - | **Refresh timeout [ms]** – data refresh period \\ | ||
| - | **Max data flow [kb/s]** – max data flow from PLC to OPC \\ | ||
| - | {{ : | ||