WB-MAI2-mini/CC 4-20mA Modbus Analog Inputs/en: различия между версиями

Часть переводимой страницы WB-MAI2-mini/CC.
(Новая страница: «The web interface for the module displays current values (controls "Current input 1 (mA)" and "Current input 2 (mA)"), supply voltage and serial number. The "CC"…»)
(Часть переводимой страницы WB-MAI2-mini/CC.)
Метки: правка с мобильного устройства правка из мобильной версии
 
(не показано 10 промежуточных версий 2 участников)
Строка 80: Строка 80:
The web interface for the module displays current values (controls "Current input 1 (mA)" and "Current input 2 (mA)"), supply voltage and serial number. The "CC" in the device name indicates that it supports two current inputs ('''C'''urrent).
The web interface for the module displays current values (controls "Current input 1 (mA)" and "Current input 2 (mA)"), supply voltage and serial number. The "CC" in the device name indicates that it supports two current inputs ('''C'''urrent).


== Описание Modbus-регистров ==
== Description of Modbus registers ==
Все modbus-регистры устройства разделены на 2 группы:
All Modbus registers of the device are divided into 2 groups:
* Общие регистры, определяющие параметры устройства
* General registers that define device parameters
* Регистры измеренных значений
* Registers of measured values


=== Общие регистры ===
=== General registers ===
{| border="1" class="wikitable" style="text-align:center"
{| border="1" class="wikitable" style="text-align:center"
!Регистр/ адрес
!Register/ address
!тип
!type
!чтение/ запись
!read-write
!значение по умолчанию
!default
!формат
!format
!назначение
!purpose
|-
|-




|104-105 || input || R || || 32-bit unsigned int  
| 104-105 || input || R|| || 32-bit unsigned int || uptime counter in seconds
|| Время работы устройства (uptime counter) в секундах
|-
|-


| 110 || holding || RW || 96 || baud rate / 100 || скорость порта RS-485, '''делённая на 100'''. Допустимые скорости: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 <br>([[UART_Communication_Settings|Настройка параметров обмена данными по RS-485 для modbus-устройств Wiren Board]])
| 110 || holding || RW|| 96 || baud rate / 100 || RS-485 port speed, '''divided by 100'''. Permissible speeds: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 <br>([[UART_Communication_Settings/en|configure RS-485 communication parameters for Wiren Board Modbus devices]])


|-
|-
| 111 || holding || RW || 0 || || настройка бита чётности порта RS-485. Допустимые значения: 0 - нет бита чётности (none), 1 - нечётный (odd), 2 - чётный (even)  
| 111 || holding || RW|| 0 || || configure the RS-485 port parity bit. Valid values: 0 - no parity bit (none), 1 - odd (odd), 2 - even (even)  
|-
|-
| 112 || holding || RW || 2 || || количество стоп-битов порта RS-485. Допустимые значения: 1, 2  
| 112 || holding || RW|| 2 || || number of stop bits of RS-485 port. Valid values: 1, 2  
|-
|-
| 120 (0x78) || holding || RW || 0 || отличное от 0 || запись в регистр вызывает перезагрузку МК без сохранения состояния
| 120 (0x78) || holding || RW|| 0 || 0 || write to the register causes a stateless
reboot of the module
|-
|-
| 121 (0x79) || input || R || - || мВ || текущее напряжение питания модуля
| 121 (0x79) || input || R || - || mV || current supply voltage of the module
|-
|-
| 128 (0x80) || holding || RW || написан на наклейке на корпусе || || Modbus-адрес устройства
| 128 (0x80) || holding || RW || written on the label on the case || || Modbus address of the device
|-
|-
| 200-206 || input || R || {'M','A','I','2','C','C'} || || сигнатура устройства
| 200-206 || input || R || {'M','A','I','2','C','C'} | | | device signature
|-
|-
| 220-241 || input || R || || __date__ __time__||   дата сборки прошивки
| 220-241 || input || R | | | | _date__ _time__|| firmware build date
|-
|-
| 250-269 || input || R || ||  строка, null-terminated || версия прошивки
| 250-269 || input || R | | | / string, null-terminated || firmware version
|-
|-
| 270-271 || input || R || || 32-bit unsigned int || уникальный идентификатор (S/N)
| 270-271 || input || R|| || 32-bit unsigned int || unique identifier (S/N)
|-
|-
|}
|}


=== Регистры, содержащие значения измеряемых величин ===
=== Registers containing the values of the measured values ===


{| border="1" class="wikitable" style="text-align:center; width:1000px;"
{| border="1" class="wikitable" style="text-align:center; width:1000px;"
!Регистр / адрес (hex)
!Register / address (hex)
!Тип
!Type
!Разрядность
!Digit capacity
!Порядок байтов
!Byte order
!Формат
!Format
!Множитель
!Multiplier
!Параметр
!Parameter
!Назначение
!Purpose
!Единицы измерения
!Unit
|-
|-
| 246 || input || s16 || big endian || (value) || 3.125e-02 || Current input 1 (mA) || Ток канала 1 || мА
| 246 || input || s16 || big endian || (value) || 3.125 e-02 || Current input 1 (mA) | | / channel Current 1 || mA
|-
|-
| 247 || input || s16 || big endian || (value) || 3.125e-02 || Current input 2 (mA) || Ток канала 2 || мА
| 247 || input || s16 || big endian || (value) || 3.125 e-02 || Current input 2 (mA) | | / channel Current 2 || mA
|-
|-
|}
|}


== Изображения и чертежи устройства ==
== Images and drawings of the device ==
{{Wbincludes:WBPicturesNoDrawing|1}}
{{Wbincludes:WBPicturesNoDrawing|1}}
<!--{{Wbincludes:WBPictures|1}}-->
<!--{{Wbincludes:WBPictures|1}}-->
wb_editors
14 355

правок