Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:sw:01-mervis:connecting-to-extension-xg18-hidden [2021/05/03 07:27] avsetula |
en:sw:01-mervis:connecting-to-extension-xg18-hidden [2021/08/05 12:40] (current) avsetula |
||
---|---|---|---|
Line 24: | Line 24: | ||
<html><span class="kbBlue-H4alt">Prerequisites:</span></html> | <html><span class="kbBlue-H4alt">Prerequisites:</span></html> | ||
* [[https://www.unipi.technology/axon-c20 | Unipi controllers]] and [[en:files:software:mervis:00-start|Mervis IDE v2.3.0]] | * [[https://www.unipi.technology/axon-c20 | Unipi controllers]] and [[en:files:software:mervis:00-start|Mervis IDE v2.3.0]] | ||
- | * [[https://www.unipi.technology/accessories-c4|24V DC power supply]] | + | * [[https://www.unipi.technology/accessories-c4|24 Vā power supply]] |
* local network connectivity (any network switch or router) | * local network connectivity (any network switch or router) | ||
* [[https://www.unipi.technology/en/rozsirujici-moduly-c40|Extension xG18 module]] | * [[https://www.unipi.technology/en/rozsirujici-moduly-c40|Extension xG18 module]] | ||
* at least one Unipi 1-Wire temperature sensors with an RJ45 connector | * at least one Unipi 1-Wire temperature sensors with an RJ45 connector | ||
</WRAP> | </WRAP> | ||
+ | |||
===== 1 Connecting xG18 to an Unipi PLC ===== | ===== 1 Connecting xG18 to an Unipi PLC ===== | ||
- | Extension xG18 communicates with the PLC using a two-wire RS-485 connection. The module can be powered by the same power source as the PLC (if the power supply's specification allows it). Alternatively, you can use a standalone 5-24V DC power supply. As to temperature sensors, simply plug them into the available RJ45 ports. | + | Extension xG18 communicates with the PLC using a two-wire RS-485 connection. The module can be powered by the same power source as the PLC (if the power supply's specification allows it). Alternatively, you can use a standalone 5-24 Vā power supply. As to temperature sensors, simply plug them into the available RJ45 ports. |
{{ :en:sw:01-mervis:connecting-to-extension-xg18-001-en.png?nolink&800 |}} | {{ :en:sw:01-mervis:connecting-to-extension-xg18-001-en.png?nolink&800 |}} | ||
+ | |||
===== 2 Attaching the xG18 to a Mervis IDE project ===== | ===== 2 Attaching the xG18 to a Mervis IDE project ===== | ||
Line 58: | Line 60: | ||
Now we need to add a device to the channel. You can do it bu Autodetection, or, if you don't have the xG18 at hand, manually. | Now we need to add a device to the channel. You can do it bu Autodetection, or, if you don't have the xG18 at hand, manually. | ||
- | ==== 2.1 Automatic detection using module autodetect ==== | ||
+ | ==== 2.1 Automatic detection using module autodetect ==== | ||
Right-click on the Modbus_RTU channel and choose **Unipi - modules autodetect**. | Right-click on the Modbus_RTU channel and choose **Unipi - modules autodetect**. | ||
Line 76: | Line 78: | ||
{{ :en:sw:01-mervis:connecting-to-extension-xg18-008-en.png |}} | {{ :en:sw:01-mervis:connecting-to-extension-xg18-008-en.png |}} | ||
- | ==== 2.2 Manual addition using a library device ==== | ||
+ | ==== 2.2 Manual addition using a library device ==== | ||
Right-click on the Modbus_RTU channel and click on **Add Library Device**. | Right-click on the Modbus_RTU channel and click on **Add Library Device**. | ||
Line 98: | Line 100: | ||
{{ :en:sw:01-mervis:connecting-to-extension-xg18-013-en.png |}} | {{ :en:sw:01-mervis:connecting-to-extension-xg18-013-en.png |}} | ||
+ | |||
===== 3 Device configuration ===== | ===== 3 Device configuration ===== | ||
Line 103: | Line 106: | ||
The following communication parameters can be set via DIP switches: | The following communication parameters can be set via DIP switches: | ||
- | * Address .................................. 1 ā 15 (Address 0 = SW configuration from Modbus registers is used) | + | * Address .................................. 1ā15 (Address 0 = SW configuration from Modbus registers is used) |
* Baud rate ............................... 9600 / 19200 baud | * Baud rate ............................... 9600 / 19200 baud | ||
* Parity ....................................... none / even | * Parity ....................................... none / even | ||
Line 124: | Line 127: | ||
{{ :en:sw:01-mervis:connecting-to-extension-xg18-015-en.png |}} | {{ :en:sw:01-mervis:connecting-to-extension-xg18-015-en.png |}} | ||
+ | |||
==== 3.2 Hardware configuration of communication parameters through DIP switches ==== | ==== 3.2 Hardware configuration of communication parameters through DIP switches ==== | ||
Line 142: | Line 146: | ||
{{ :en:sw:01-mervis:connecting-to-extension-xg18-018-en.png |}} | {{ :en:sw:01-mervis:connecting-to-extension-xg18-018-en.png |}} | ||
+ | |||
===== 4 Practical example ===== | ===== 4 Practical example ===== |