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

Часть переводимой страницы WB-MAI2-mini/CC.
(Новая страница: «== Purpose == WB-MAI2-mini/CC is a compact analog input module designed to measure current signal 4..20 mA via two independent channels. The module is controlled…»)
(Часть переводимой страницы WB-MAI2-mini/CC.)
Метки: правка с мобильного устройства правка из мобильной версии
 
(не показано 14 промежуточных версий 2 участников)
Строка 9: Строка 9:
WB-MAI2-mini/CC is a compact analog input module designed to measure current signal 4..20 mA via two independent channels. The module is controlled from the controller or PC via RS-485 bus by Modbus commands.
WB-MAI2-mini/CC is a compact analog input module designed to measure current signal 4..20 mA via two independent channels. The module is controlled from the controller or PC via RS-485 bus by Modbus commands.


== Технические характеристики ==
== Specifications ==
{| class="wikitable"
{| class="wikitable"
|+Таблица 1. Технические характеристики.
|+Table 1. Technical parameters.
!Параметр
!Parameter
!Значение
!Value
|-
|-
! colspan="2" |Питание
! colspan="2" |Power
|-
|-
|Напряжение питания
|Supply voltage
|9 В – 28 В
|9 V – 28 V
|-
|-
! colspan="2" |Каналы измерения
! colspan="2" |measurement Channels
|-
|-
|Число каналов
|Number of channels
| 2
| 2
|-
|-
|Измерение тока
|Current measurement
|0 – 20 мА
|0 – 20 mA
|-
|-
|Входное сопротивление
|Input impedance
|49,9 Ом
|A 49.9 Ohm
|-
|-
|Погрешность при измерении тока
|Current measurement error
|±1%
|±1%
|-
|-
! colspan="2" |Управление
! colspan="2" |Control
|-
|-
|Интерфейс управления
|Management interface
|RS-485
|RS-485
|-
|-
|Изоляция интерфейса
|Interface isolation
|нет
|no
|-
|-
|Протокол обмена данными
|Communication protocol
|Modbus RTU, адрес задается программно, заводские настройки указаны на наклейке
|Modbus RTU, the address is set by software, factory settings are indicated on the label
|-
|-
|Параметры интерфейса RS-485
|RS-485 interface parameters
|По умолчанию: скорость 9600 бит/с; данные — 8 бит; четность N; стоп-биты 2.
|Default speed of 9600 bps; data bits 8; parity N; stop bits 2.
Параметры интерфейса могут быть настроены программно:
Interface parameters can be configured programmatically:
* Скорость: 1200, 2400, 4800, 9600 (по умолчанию), 19200, 38400, 57600, 115200 бит/с <br>([[UART_Communication_Settings|Настройка параметров обмена данными по RS-485 для modbus-устройств Wiren Board]])
* Speed: 1200, 2400, 4800, 9600 (default), 19200, 38400, 57600, 115200 bit/s <br>([[UART_Communication_Settings|configure RS-485 communication parameters for wiren Board modbus devices]])
* Данные: 8 бит
* Data: 8 bit
* Проверка чётности: нет (по умолчанию), 1 - нечётный (odd), 2 - чётный (even)
* Parity check: none (default), 1 - odd (odd), 2 - even (even)
* Стоповых бит: 1, 2 (по умолчанию)
* Stop bits: 1, 2 (default)
|-
|-
|Готовность к работе после подачи питания
|Ready for operation after power supply
|1 c
|1 c
|-
|-
! colspan="2" |Габариты
! colspan="2" |dimensions
|-
|-
|Габариты
|Size
|57 x 18 x 14 мм
|57 x 18 x 14 mm
|-
|-
! colspan="2" |Условия эксплуатации
! colspan="2" |operating Conditions
|-
|-
|Температура воздуха
|Air temperature
|от -40°С до +80°С
|-40°C to +80°C
|-
|-
|Относительная влажность воздуха
|Relative humidity
|до 98%, без конденсации влаги
|up to 98%, without condensation
|}
|}


== Схемы подключения ==
== Connection diagrams ==
Модуль выполнен в компактном корпусе и предназначен для монтажа в распаечных коробках и кабель-каналах.  
The module is made in a compact housing and is designed for installation in solder boxes and cable channels.  
[[Файл:WB-MAI2-connections.png|без|мини|Измерение тока.]]
[[File:WB-MAI2-connections.png|без|мини|Сurrent measurement]]
На рисунке показана схема подключения датчиков с токовым выходом 0-20 мА (4-20 мА). Внутреннее сопротивление входов — 49,9 Ом.
The figure shows the connection diagram of sensors with a current output of 0-20 mA (4-20 mA). The internal resistance of the inputs — 49.9 Ohms.


== Представление в веб-интерфейсе==
== Presentation in the web interface ==
[[Файл:WB-MAI2-web.png|без|мини|]]
[[Файл:WB-MAI2-web.png|без|мини|]]


В веб-интерфейсе для модуля отображаются значения тока (контролы "Current input 1 (mA)" и "Current input 2 (mA)"), напряжение питания и серийный номер. "СС" в названии устройства указывает, что оно поддерживает два токовых входа ('''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

правок