Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:hw:04-extensions:communication-and-addressing-of-module [2022/03/16 13:43] avsetula |
en:hw:04-extensions:communication-and-addressing-of-module [2022/03/16 13:47] (current) avsetula |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======%hide Communication and addressing ====== | + | ====== Communication and addressing ====== |
- | + | ||
- | ====== Module addressing and communication parameters ====== | + | |
<WRAP group> | <WRAP group> | ||
Line 14: | Line 12: | ||
</WRAP> | </WRAP> | ||
- | Modules can be configured using blue-white ([[#hw_configuration_using_dip_switches|HW configuration]]) switches placed next to the power connectors, or alternatively next to the RS485 on some models. Another option is configuration via Modbus registers ([[#sw_configuration_via_modbus_rtu|SW configuration]]). Configuration via DIP switches offers enough options for most applications, while configuration via Modbus registers provides broader possibilities (wider range of addresses and bitrates). | + | {{page>en:hw:04-extensions-communication-hidden}} |
- | <WRAP center round info box> | ||
- | HW configuration is recommended for the module's first use and the subsequent SW configuration upload. | ||
- | </WRAP> | ||
- | |||
- | ===== SW configuration via Modbus RTU ===== | ||
- | Modules can be easily configured in Mervis, as described in <html><a href="/en:sw:01-mervis:connecting-to-unipi-extension-hidden#reconfiguration_of_the_unipi_extension">this guide</a></html>. | ||
- | |||
- | <html><span class="kbBlueText">Default communication parameters (SW configuration)*:</span></html> | ||
- | * **Number of data bits:** 8 bits (fixed) | ||
- | * **Modbus address:** 15 | ||
- | * **Bitrate:** 19200 baud | ||
- | * **Parity:** None | ||
- | |||
- | <WRAP center round box 85%> | ||
- | ***SW configuration** of the module is used only when all address switches are set to 0 (OFF). Switch states are used only during the module's startup (connecting the power supply, SW reset, Master Watchdog). | ||
- | </WRAP> | ||
- | |||
- | <html><span class="kbBlueText">Modbus registre tables for Unipi Extension:</span></html> | ||
- | * [[en:files:products:04-extensions_gateways|Extension xS10, xS30, xS40, xS50, xS11, xS51, xG18]] | ||
- | |||
- | |||
- | ===== HW configuration using DIP switches ===== | ||
- | Each Unipi Extension features a set of blue-white switches. | ||
- | |||
- | <WRAP group> | ||
- | <WRAP half column> | ||
- | === Extension xG18: === | ||
- | This module features 6 configurable switches located at the left bottom part. The switch no.6 is placed closest to the power connectors. The lone switch next to the RS485 connector serves to attach/detach terminal resistor, eg. cannot be used for configuration. | ||
- | </WRAP> | ||
- | |||
- | <WRAP half column> | ||
- | {{ :en:hw:xg18-dip.jpg?direct |}} | ||
- | </WRAP> | ||
- | </WRAP> | ||
- | |||
- | <html><span class="kbBlueText">Switch:</span></html> | ||
- | * **n.1** -> Address bit 1 (OFF - ignored, ON - value +1) | ||
- | * **n.2** -> Address bit 2 (OFF - ignored, ON - value +2) | ||
- | * **n.3** -> Address bit 3 (OFF - ignored, ON - value +4) | ||
- | * **n.4** -> Address bit 4 (OFF - ignored, ON - value +8) | ||
- | * **n.5** -> Bitrate selection (OFF - 19200, ON - 9600) | ||
- | * **n.6** -> Parity selection (OFF - even, ON - none) | ||
- | |||
- | <WRAP group> | ||
- | <WRAP half column> | ||
- | === Extension xS11, xS51: === | ||
- | These modules have 5 switches located next to the power connector at the module's bottom. The no.5 switch is closest to the power connector. | ||
- | </WRAP> | ||
- | |||
- | <WRAP half column> | ||
- | {{ :en:hw:xs11-dip.png?direct |}} | ||
- | </WRAP> | ||
- | </WRAP> | ||
- | |||
- | |||
- | <html><span class="kbBlueText">Switch:</span></html> | ||
- | * **n.1** -> Adress bit 1 (OFF - ignored, ON - value +1) | ||
- | * **n.2** -> Adress bit 2 (OFF - ignored, ON - value +2) | ||
- | * **n.3** -> Adress bit 3 (OFF - ignored, ON - value +4) | ||
- | * **n.4** -> Bitrate selection (OFF - 19200, ON - 9600) | ||
- | * **n.5** -> Parity selection (OFF - even, ON - none) | ||
- | |||
- | <WRAP group> | ||
- | <WRAP half column> | ||
- | === Extension xS10, xS30, xS40: === | ||
- | These modules feature 8 switches located next to the RS485 connector at the upper part of the module. No. 1 switch is closest to the RS485 connector. | ||
- | </WRAP> | ||
- | |||
- | <WRAP half column> | ||
- | {{ :en:hw:xs10_xs30_xs40-dip.png?direct |}} | ||
- | </WRAP> | ||
- | </WRAP> | ||
- | |||
- | |||
- | <html><span class="kbBlueText">Switch:</span></html> | ||
- | * **n.1** -> Attaches/detaches the bus terminating resistor (not related to configuration | ||
- | * **n.2** -> Unused | ||
- | * **n.3** -> Address bit 1 (OFF - ignored, ON - value +1) | ||
- | * **n.4** -> Address bit 2 (OFF - ignored, ON - value +2) | ||
- | * **n.5** -> Address bit 3 (OFF - ignored, ON - value +4) | ||
- | * **n.6** -> Address bit 4 (OFF - ignored, ON - value +8) | ||
- | * **n.7** -> Bitrate selection (OFF - 19200, ON - 9600) | ||
- | * **n.8** -> Parity selection (OFF - even, ON - none) | ||
- | |||
- | <WRAP group> | ||
- | <WRAP half column> | ||
- | === Extension xS50: === | ||
- | Only 3 switches are available on this module, located between the power connector and the digital input terminals at the module's bottom. Switch no. 3 is closest to the power connector. | ||
- | </WRAP> | ||
- | |||
- | <WRAP half column> | ||
- | {{ :en:hw:xs50-dip.png?direct |}} | ||
- | </WRAP> | ||
- | </WRAP> | ||
- | |||
- | |||
- | <html><span class="kbBlueText">Switch:</span></html> | ||
- | * **n.1** -> Address bit 1 (OFF - ignored, ON - value +1) | ||
- | * **n.2** -> Address bit 2 (OFF - ignored, ON - value +2) | ||
- | * **n.3** -> AAddress bit 3 (OFF - ignored, ON - value +4) |