Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sw:01-mervis:connecting-to-unipi-via-mervis-proxy-hidden [2021/07/14 06:23] lpolcerova |
en:sw:01-mervis:connecting-to-unipi-via-mervis-proxy-hidden [2022/09/06 08:19] (current) avsetula |
||
---|---|---|---|
Line 19: | Line 19: | ||
* Unipi controller running [[en:files:software:os-images:00-start|Mervis OS]] | * Unipi controller running [[en:files:software:os-images:00-start|Mervis OS]] | ||
* Temperature regulator project from the [[en:sw:01-mervis:attaching-1-wire-devices-hidden#download|Attaching 1-Wire devices]] tutorial. | * Temperature regulator project from the [[en:sw:01-mervis:attaching-1-wire-devices-hidden#download|Attaching 1-Wire devices]] tutorial. | ||
- | * 24V power supply | + | * 24 V⎓ power supply |
* 1-Wire temperature sensor | * 1-Wire temperature sensor | ||
* [[en:sw:01-mervis:04-mervis-proxy|Mervis Proxy]] credentials ([[en:sw:01-mervis:getting-mervis-licence-hidden|tutorial]] how to obtain it) | * [[en:sw:01-mervis:04-mervis-proxy|Mervis Proxy]] credentials ([[en:sw:01-mervis:getting-mervis-licence-hidden|tutorial]] how to obtain it) | ||
Line 26: | Line 26: | ||
</WRAP> | </WRAP> | ||
- | ===== Setting the Proxy ===== | + | ===== 1. Setting the Proxy ===== |
If you followed the **Prerequisites**, your workspace should look like this: | If you followed the **Prerequisites**, your workspace should look like this: | ||
Line 57: | Line 57: | ||
{{ :en:sw:01-mervis:connecting-to-unipi-via-mervis-proxy-05-debug-session-1.png?direct |}} | {{ :en:sw:01-mervis:connecting-to-unipi-via-mervis-proxy-05-debug-session-1.png?direct |}} | ||
- | ===== Connecting to the PLC via Proxy ===== | + | ===== 2. Connecting to the PLC via Proxy ===== |
To use the power of proxy connections, it is time to learn about **Profiles**. **Profile** are used in situations, where you need to switch between different settings of the **Solution**. In this tutorial, we need to switch between two connection parameters settings - the settings for connecting to the PLC on the local network, and the settings for remote access via a proxy server. | To use the power of proxy connections, it is time to learn about **Profiles**. **Profile** are used in situations, where you need to switch between different settings of the **Solution**. In this tutorial, we need to switch between two connection parameters settings - the settings for connecting to the PLC on the local network, and the settings for remote access via a proxy server. | ||
- | Each newly created solution automatically includes a main (default) profile called "**Profile**", which you can see in the **Left panel** under the **System** tab /* FIXME v původní anglické verzi je System option, ale v češtině je záložka, což by mělo být tab ne? */. The main profile name cannot be changed | + | Each newly created solution automatically includes a main (default) profile called "**Profile**", which you can see in the **Left panel** under the **System** item. The main profile name cannot be changed. |
To create new profile, right-click on the default **Profile** and select **Add Child Profile** | To create new profile, right-click on the default **Profile** and select **Add Child Profile** | ||
Line 66: | Line 66: | ||
{{ :en:sw:01-mervis:connecting-to-unipi-via-mervis-proxy-06-add-child-profile.png?direct |}} | {{ :en:sw:01-mervis:connecting-to-unipi-via-mervis-proxy-06-add-child-profile.png?direct |}} | ||
- | A new sub-profile will appear below the main profile. Each sub-profile is offset to the right of the parent profile /* FIXME - parent profile, nebo jiný termín? */, indicating a hierarchy. | + | A new sub-profile will appear below the main profile. Each sub-profile is offset to the right of the parent profile, indicating a hierarchy. |
Click to select the newly created profile and change its name to **proxy** in the **Properties panel**. | Click to select the newly created profile and change its name to **proxy** in the **Properties panel**. | ||
Line 80: | Line 80: | ||
To select another profile, double-click on its name to set it as active and all changes to the solution parameters will now be saved to this profile. | To select another profile, double-click on its name to set it as active and all changes to the solution parameters will now be saved to this profile. | ||
- | Do this for the **proxy** profile. However, the main profile remains active because the **proxy** profile is a derived /* FIXME - používá se častěji termín derived nebo deduced ? */ profile from the main one. Therefore, both will be active. | + | Do this for the **proxy** profile. However, the main profile remains active because the **proxy** profile is based on the main profile. Therefore, both will be active. |
---- | ---- |