Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:hw:04-extensions:communication-and-addressing-of-module [2020/11/24 09:56] – avsetula | en:hw:04-extensions:communication-and-addressing-of-module [2025/04/09 00:57] (current) – avsetula | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ======%hide Communication and addressing ====== | + | ====== Communication and addressing ====== |
| - | + | ||
| - | ====== Module addressing and communication parameters ====== | + | |
| - | The extension module and the control system communicate via the RS485 serial line using Modbus RTU protocol. For all devices to communicate you need to configure matching communication parameters for each of them. However, each module must have its own unique Modbus address within the bus. Modules can be configured using blue-white ([[# | + | |
| - | + | ||
| - | <WRAP center round info box> | + | |
| - | HW configuration is recommended for the module' | + | |
| - | </ | + | |
| - | + | ||
| - | ===== SW configuration via Modbus RTU ===== | + | |
| - | Modules can be easily configured in Mervis, as described in < | + | |
| - | + | ||
| - | < | + | |
| - | * **Number of data bits:** 8 bits (fixed) | + | |
| - | * **Modbus address:** 15 | + | |
| - | * **Bitrate: | + | |
| - | * **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' | + | |
| - | </ | + | |
| - | + | ||
| - | < | + | |
| - | * [[en: | + | |
| - | + | ||
| - | + | ||
| - | ===== HW configuration using DIP switches ===== | + | |
| - | Each Unipi Extension features a set of blue-white switches. | + | |
| <WRAP group> | <WRAP group> | ||
| - | <WRAP half column> | + | <WRAP half column |
| - | === Extension xG18: === | + | #;; |
| - | This module features 6 configurable switches located at the left bottom | + | < |
| - | </WRAP> | + | <span class=" |
| - | + | </ | |
| - | <WRAP half column> | + | #;; |
| - | {{ : | + | |
| </ | </ | ||
| </ | </ | ||
| - | < | + | The extension |
| - | * **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 half column> | + | |
| - | {{ : | + | |
| - | </ | + | |
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | < | + | |
| - | * **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 | + | |
| - | </ | + | |
| - | + | ||
| - | <WRAP half column> | + | |
| - | {{ : | + | |
| - | </ | + | |
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | < | + | |
| - | * **n.1** -> Attaches/ | + | |
| - | * **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 | + | |
| - | </ | + | |
| - | + | ||
| - | <WRAP half column> | + | |
| - | {{ : | + | |
| - | </ | + | |
| - | </ | + | |
| + | {{page> | ||
| - | < | ||
| - | * **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) | ||