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 [2022/03/16 13:43] – 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 | + | |
| <WRAP group> | <WRAP group> | ||
| - | <WRAP half column | + | <WRAP half column |
| - | 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. | + | #;; |
| - | </WRAP> | + | <html><style>h1 {margin-bottom: |
| - | <WRAP half column 15%> | + | <span class=" |
| - | ;;# | + | </ |
| - | <html>< | + | #;; |
| - | ;;# | + | |
| </ | </ | ||
| </ | </ | ||
| - | Modules can be configured using blue-white ([[# | + | The extension |
| - | + | ||
| - | <WRAP center round info box> | + | |
| - | HW configuration is recommended for the module's first use and the subsequent SW configuration upload. | + | |
| - | </ | + | |
| - | + | ||
| - | ===== SW configuration | + | |
| - | Modules can be easily configured in Mervis, as described in < | + | |
| - | + | ||
| - | < | + | |
| - | * **Number | + | |
| - | * **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 half column> | + | |
| - | === Extension xG18: === | + | |
| - | This module | + | |
| - | </ | + | |
| - | + | ||
| - | <WRAP half column> | + | |
| - | {{ : | + | |
| - | </ | + | |
| - | </ | + | |
| - | + | ||
| - | < | + | |
| - | * **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 | + | |
| - | </ | + | |
| - | + | ||
| - | <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 to the RS485 connector. | + | |
| - | </ | + | |
| - | + | ||
| - | <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 the power connector and the digital input terminals at the module' | + | |
| - | </ | + | |
| - | + | ||
| - | <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) | ||