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

Материал из Wiren Board
(Часть переводимой страницы 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"…»)
(не показано 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).


== Description of Modbus registers ==
== Описание Modbus-регистров ==
All Modbus registers of the device are divided into 2 groups:
Все modbus-регистры устройства разделены на 2 группы:
* 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 || uptime counter in seconds
|104-105 || input || R || || 32-bit unsigned int  
|| Время работы устройства (uptime counter) в секундах
|-
|-


| 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]])
| 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]])


|-
|-
| 111 || holding || RW|| 0 || || configure the RS-485 port parity bit. Valid values: 0 - no parity bit (none), 1 - odd (odd), 2 - even (even)  
| 111 || holding || RW || 0 || || настройка бита чётности порта RS-485. Допустимые значения: 0 - нет бита чётности (none), 1 - нечётный (odd), 2 - чётный (even)  
|-
|-
| 112 || holding || RW|| 2 || || number of stop bits of RS-485 port. Valid values: 1, 2  
| 112 || holding || RW || 2 || || количество стоп-битов порта RS-485. Допустимые значения: 1, 2  
|-
|-
| 120 (0x78) || holding || RW|| 0 || 0 || write to the register causes a stateless
| 120 (0x78) || holding || RW || 0 || отличное от 0 || запись в регистр вызывает перезагрузку МК без сохранения состояния
reboot of the module
|-
|-
| 121 (0x79) || input || R || - || mV || current supply voltage of the module
| 121 (0x79) || input || R || - || мВ || текущее напряжение питания модуля
|-
|-
| 128 (0x80) || holding || RW || written on the label on the case || || Modbus address of the device
| 128 (0x80) || holding || RW || написан на наклейке на корпусе || || Modbus-адрес устройства
|-
|-
| 200-206 || input || R || {'M','A','I','2','C','C'} | | | device signature
| 200-206 || input || R || {'M','A','I','2','C','C'} || || сигнатура устройства
|-
|-
| 220-241 || input || R | | | | _date__ _time__|| firmware build date
| 220-241 || input || R || || __date__ __time__||   дата сборки прошивки
|-
|-
| 250-269 || input || R | | | / string, null-terminated || firmware version
| 250-269 || input || R || ||  строка, null-terminated || версия прошивки
|-
|-
| 270-271 || input || R|| || 32-bit unsigned int || unique identifier (S/N)
| 270-271 || input || R || || 32-bit unsigned int || уникальный идентификатор (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;"
!Register / address (hex)
!Регистр / адрес (hex)
!Type
!Тип
!Digit capacity
!Разрядность
!Byte order
!Порядок байтов
!Format
!Формат
!Multiplier
!Множитель
!Parameter
!Параметр
!Purpose
!Назначение
!Unit
!Единицы измерения
|-
|-
| 246 || input || s16 || big endian || (value) || 3.125 e-02 || Current input 1 (mA) | | / channel Current 1 || mA
| 246 || input || s16 || big endian || (value) || 3.125e-02 || Current input 1 (mA) || Ток канала 1 || мА
|-
|-
| 247 || input || s16 || big endian || (value) || 3.125 e-02 || Current input 2 (mA) | | / channel Current 2 || mA
| 247 || input || s16 || big endian || (value) || 3.125e-02 || Current input 2 (mA) || Ток канала 2 || мА
|-
|-
|}
|}


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

Версия 14:29, 19 июля 2019

Другие языки:

Analog input module WB-MAI2-mini/CC Buy online


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 from the controller or PC via RS-485 bus by Modbus commands.

Specifications

Table 1. Technical parameters.
Parameter Value
Power
Supply voltage 9 V – 28 V
measurement Channels
Number of channels 2
Current measurement 0 – 20 mA
Input impedance A 49.9 Ohm
Current measurement error ±1%
Control
Management interface RS-485
Interface isolation no
Communication protocol Modbus RTU, the address is set by software, factory settings are indicated on the label
RS-485 interface parameters Default speed of 9600 bps; data bits 8; parity N; stop bits 2.

Interface parameters can be configured programmatically:

Ready for operation after power supply 1 c
dimensions
Size 57 x 18 x 14 mm
operating Conditions
Air temperature
Relative humidity 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.

Сurrent measurement

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

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 (Current).

Описание Modbus-регистров

Все modbus-регистры устройства разделены на 2 группы:

  • Общие регистры, определяющие параметры устройства
  • Регистры измеренных значений

Общие регистры

Регистр/ адрес тип чтение/ запись значение по умолчанию формат назначение
104-105 input R 32-bit unsigned int Время работы устройства (uptime counter) в секундах
110 holding RW 96 baud rate / 100 скорость порта RS-485, делённая на 100. Допустимые скорости: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
(Настройка параметров обмена данными по RS-485 для modbus-устройств Wiren Board)
111 holding RW 0 настройка бита чётности порта RS-485. Допустимые значения: 0 - нет бита чётности (none), 1 - нечётный (odd), 2 - чётный (even)
112 holding RW 2 количество стоп-битов порта RS-485. Допустимые значения: 1, 2
120 (0x78) holding RW 0 отличное от 0 запись в регистр вызывает перезагрузку МК без сохранения состояния
121 (0x79) input R - мВ текущее напряжение питания модуля
128 (0x80) holding RW написан на наклейке на корпусе Modbus-адрес устройства
200-206 input R {'M','A','I','2','C','C'} сигнатура устройства
220-241 input R __date__ __time__ дата сборки прошивки
250-269 input R строка, null-terminated версия прошивки
270-271 input R 32-bit unsigned int уникальный идентификатор (S/N)

Регистры, содержащие значения измеряемых величин

Регистр / адрес (hex) Тип Разрядность Порядок байтов Формат Множитель Параметр Назначение Единицы измерения
246 input s16 big endian (value) 3.125e-02 Current input 1 (mA) Ток канала 1 мА
247 input s16 big endian (value) 3.125e-02 Current input 2 (mA) Ток канала 2 мА

Изображения и чертежи устройства


По ссылкам ниже вы можете скачать изображения и чертежи устройства WB-MAI2-mini-CC.

Corel Draw 2018: WB-MAI2-mini_СС.cdr.zip

Corel Draw PDF: WB-MAI2-mini_СС.cdr.pdf

Autocad 2013 DXF: Мы еще не подготовили чертеж этого устройства. Вы можете запросить чертеж устройства "Analog input module WB-MAI2-mini/CC" на портале техподдержки Wiren Board (необходима регистрация).