IDE v2.6.5 and later
up to IDE v2.5.0
====== Uploading a RunTime 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. /* ;;# Patron \\ Neuron \\ Gate \\ Unipi 1.1 ;;# */ After finishing the configuration, unroll the PLC, right-click on //Configuration//, select Upload configuration {{ :en:sw:01-mervis:updating-a-runtime-configuration:upload_rtconfiguration_path.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. 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. {{ :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. 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. {{ :files:img_warning-line_b.png?nolink |}} {{ :en:hw:09_safety-instructions_pseudo-ISO-7010-attention.png?nolink |(!)}} **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_breakline.png?nolink |}} ===== Configuration explained ===== The following articles will explain all configurations you need to perform before uploading the RT: \\ ====Cloud Access Parameters==== **Enable** – enables connection via Cloud Access \\ **Channels** – channels for communication \\ **Server** – Cloud Access server address \\ **Port** – communication port, default 23010 \\ **SSL Enable** – enables encrypted connection \\ **Timeout** – \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_cloudaccess.png?direct|Cloud Access Parameters}} ==== Date/Time Settings ==== **Daylight Offsets** – sets timezone and and time offset \\ **UTC Offset [h]** – a difference between the selected timezone and the UTC timezone - information value only \\ **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]]** \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_time.png?direct|Date/Time Settings}} ==== Networking ==== **Enable Configuration over UDP** – enables the configuration services (depends on network security) \\ **Enable HTTP** – povolení webového serveru \\ **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 \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_ports.png?direct|Networking}} ==== Certificates ==== **Enable Default CA** – \\ **Enable User CA** – \\ **Enable Server Certificate** – \\ **Enable Webserver Certificate** – \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_certificates.png?direct| Certificates}} ==== Mervis DB Parameters ==== **Enabled** – enables saving into database \\ **URL** – database address \\ **Communication Period [min]** – interval of storing the internal buffer into database \\ **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 \\ **Password** – database access password \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_mervisdb.png?direct| Mervis DB Parameters}} ==== Proxy Parameters ==== **Enabled** – enables connection to 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 \\ **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) \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_proxy.png?direct|Proxy Parameters}} ==== SSCP Parameters ==== **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 Variables in Group** – number of variables in the variable group \\ **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 \\ **Serial Server Port** – serial port \\ **Serial Port Baudrate** – serial port transmission speed \\ **Enable Serial Router** – \\ **Serial Router Port** – \\ **Serial Router Baudrate** – serial line transmission speed \\ **Enable SSL server** – enables SSL secure transmission \\ **SSL Server Port** – number of the secure communication port, default value = 12347 \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_sscp.png?direct|SSCP Parameters}} ==== Users Definition ==== **Username (Engineering)** – user with full access to the PLC \\ **Password (Engineering)** – his password \\ **Username (Full Control)** – user able to read from or write into variables \\ **Password (Full Control)** – his password \\ **Username (Read Only)** – user able only to read variables \\ **Username (Read Only)** – his password \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_users.png?direct| Users Definition}} ==== Storage ==== **Save history buffer in RAM** – history buffer will be saved into RAM instead of eMMC/SD \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_storage.png?direct|Storage}} ==== Unipi specific ==== **SSH Enabled** – enables the SSH server connection \\ **SSH password for Unipi user** – password for SSH access to the PLC (login: unipi) \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_unipi.png?direct|Unipi specific}} ==== Common Properties ==== **Enable .NET drivers** – enables .NET server and its drivers \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:config_common.png?direct|Common Properties}} ===== 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 |}} **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 \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:network-common.png?direct|Common network settings}} {{ :files:img_warning-line_b.png?nolink |}} {{ :en:hw:08_safety-instructions_pseudo-ISO-7010-info.png?nolink |(!)}} **Note:** \\ These settings are common for all interfaces. ==== Parameters of Ethernet interface ==== **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 \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:network-eth.png?direct|Parameters of Ethernet interface}} ==== Parameters of Wi-Fi interface ==== **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 \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:network-wifi.png?direct|Parameters of Wi-Fi interface}} ==== 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. **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 \\ {{:en:sw:01-mervis:updating-a-runtime-configuration:network-bridge.png?direct|Bridge parameters}} 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}} {{ :files:img_warning-line_b.png?nolink |}} {{ :en:hw:09_safety-instructions_pseudo-ISO-7010-attention.png?nolink |(!)}} **Attention:** \\ After you add a network interface to the bridge, you have to set its parameter //IP Configuration// to //none//. ==== GSM and LTE ==== Those interfaces are described in a [[en:sw:01-mervis:lte-configuration-hidden|separate article]].