Logo Logo en
  • iRidi Pro
    Основные компоненты
    • Приложение i3 Pro
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (устаревшая версия)
    Java Script в iRidi
    • Руководство
    • Справочник
    • Примеры
    • JS драйвера
    другие
    • Личный Кабинет
    • iRidium Cloud
    • iRidium Transfer
    • Push-уведомления
    • Лучшая практика
    Лицензирование
    • Лицензирование и передача проекта
    • Оффлайн-лицензирование
    • Активация iRidi Pro Server
  • Продукты
    i3 lite
    • Приложение i3 lite
    • Регистрация и лицензирование
    • Сервер
    • Модули
    KNX Home Server
    • Приложение i3 KNX
    • KNX Home Server
    BUS77 HOME SERVER
    • Приложения Bus77 Home и Bus77 Lite
    • Bus77 Home Server
    Решения
    • BYOD - решение для гостиниц
    • Портал жителя - решение для МКД
    iRidi SCADA
    • iRidi SCADA
  • Bus77
    НАСТРОЙКА BUS77
    • Основы Bus77
    • Приложения Bus77 Home и Bus77 Lite
    • Работа с драйвером Bus77 в iRidi Studio
    • Настройка шины Bus77 в iRidi Studio
    ПРОТОКОЛ BUS77
    • Характеристики CAN (Bus77)
    • Описание протокола
    • Исходники на GitHub
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
  • Поддерживаемое оборудование
    Драйверы
    • Список драйверов
    • ProAV драйвера
    • AV & Custom Systems
    • JS драйвера
    • Сторонние драйвера и фриланс
    Протоколы и интерфейсы
    • Голосовое управление
    • 1-Wire
    • BACnet IP
    • Bus77
    • KNX
    • KNX IP BAOS
    • Weinzierl kBerry
    • Microsoft Exchange
    • Modbus
    • MQTT
    • NFC
    • ODBC
    • Onvif
    • SIP
    • SNMP
    • Wake On Lan
    • Z-Wave
    • ZigBee
    Производители
    • AMX
    • AVCiT
    • Beckhoff ADS
    • Biamp Tesira
    • Bluesound
    • Casambi
    • BSS Harman
    • Clipsal
    • ControlArt 7Port
    • Crestron
    • DigiBird
    • Domintell
    • Duotecno
    • EIDE
    • EPSNET
    • Global Cache
    • HDL Buspro
    • Helvar
    • IEAST
    • INELS BUS
    • INELS Wireless
    • Intesis
    • Kleger
    • Kramer VIA
    • Kramer 3000
    • Larnitech
    • Legrand Netatmo
    • LG TV
    • Lutron
    • Lutron Homeworks QS
    • MyHome
    • Nest
    • Novastar
    • Panasоnic PTZ
    • Philips Dynalite
    • PJLink
    • Satel
    • SamsungTV
    • Sonos
    • Somfy
    • SpinetiX
    • Televic Conference
    • TIS
    • Tion
    • URRI
    • Velbus
    • Velocio
    • Vinteo
    • WyreStorm
    • WiiM
    • Xicato
    • Yamaha
    • ZONT
    • Z-Wave.me
    Протестированное оборудование
    • Панель HDL S57
    • Панель HDL S10
    • SIP-домофон
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • Оборудование iRidi

    Серверы
    • HS Сервер
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • Спецификация контроллеров UMC
    • Настройка контроллера UMC C2
    • Настройка контроллера UMC C3
    • Настройка контроллера HDL IntelliCenter 2 (UMC C4)
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Панели управления
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
    • Differences
iRidium mobile web-site
Содержание
    Инструменты‌
    • Сведения о странице
    • Постоянная ссылка
    • Версия для печати
    • Спецстраницы
    • Связанные правки
    • Ссылки сюда
    Login / Create Account
    Материал из for iRidium developers
    Перейти к: навигация, поиск
    Эта страница является переводом страницы Modbus lite. Перевод выполнен на 100%.

    Updated: 21.9.2018

    Содержание

    • 1 How to use Modbus TCP module
      • 1.1 Adding subdevices
      • 1.2 Setting subdevices
        • 1.2.1 General parameters
        • 1.2.2 Button
        • 1.2.3 Multistate button
        • 1.2.4 Relay
        • 1.2.5 Dimmer
        • 1.2.6 Display, Value input
        • 1.2.7 Blinds
      • 1.3 Importing subdevices from Microsoft Excel or Google Sheets

    How to use Modbus TCP module



    Adding subdevices

    Subdevice Type Description
    Button - It's a button. When it is pressed, it turns on/off something
    Multistate button - It's a button. When it is pressed, a drop down list appears with an option to select one variant (selector)
    Relay Through Relay
    Light
    Fan Control
    It's a switch. When it is pressed, something can be turned on/off and feedback is displayed.
    Dimmer Through Dimmer
    Light
    It is a slider. It can be moved and feedback is displayed.
    Display Through analog input
    Temperature sensor
    Luminosity sensor
    Pressure sensor
    Humidity sensor
    Noise sensor
    Rain sensor
    Wind speed sensor
    Motion sensor
    Smoke sensor
    Air pollution sensor
    Visibility sensor
    Current meter
    Energy meter
    Frequency meter
    Voltage meter
    CO2 sensor
    It's an indicator to display a numeric value
    Binary sensor Through Binary Input
    Input Button
    Input Switch
    Contact
    Motion detector
    Smoke detector
    Noise detector
    Rain detector
    Wind detector
    Filling detector
    Water leakage detector
    Gas leakage detector
    Glass break detector
    Presence detector
    Proximity detector
    Vibration detector
    Light detector
    It's an indicator to display on/off state (lamp)
    Text display Through analog input
    Temperature sensor
    Luminosity sensor
    Pressure sensor
    Humidity sensor
    Noise sensor
    Rain sensor
    Wind speed sensor
    Motion sensor
    Smoke sensor
    Air pollution sensor
    Visibility sensor
    Current meter
    Energy meter
    Frequency meter
    Voltage meter
    CO2 sensor
    It's an item to enter text
    Blinds - It's a two-button (open/close) or a three-button (open/close/stop)
    item to control blinds.
    Value input - It's an item to enter a numeric value
    RGB color input Main light
    Back light
    It's an item to control a three-channel dimmer
    Custom color
    (color display)
    Main light
    Back light
    It's an item to display color


    Setting subdevices

    General parameters

    Parameter Valid values Description
    Name Any text Name of subdevice for identification
    Device ID 0-255 Device ID in Modbus TCP network
    Type Coil
    Holding register
    Discrete Inputs
    Input Register
    Type of Modbus TCP data
    Address 0-65535 Address of data location in the memory of Modbus TCP device
    Word Size Word(16bit)
    DWord(32bit)
    Float(32bit)
    Data size
    (not specified for binary types of data Coil and Discrete Inputs)
    Content Type Low Endian
    Big Endian
    Swapped Low Endian
    Swapped Big Endian
    The order of bytes in words and double words
    (not specified for binary types of data Coil and Discrete Inputs)
    Bit number 0-31 The ordinal number of a bit in a word or double word
    (not specified for binary types of data Coil and Discrete Inputs)


    Button

    Parameter Admissible values Description
    Press Value Any number A number that is sent to a Modbus TCP device the moment a button is pressed
    Release Value Any number A number that is sent to a Modbus TCP device the moment a button is released


    Multistate button

    Parameter Admissible values Description
    Active states 2-5 Number of states (variants in the list)
    State 1 label Any text A text that is displayed for state 1
    State 1 value Any number A value that is sent to a device when state 1 is selected
    State 2 label Any text A text that is displayed for state 2
    State 2 value Any number A value that is sent to a device when state 2 is selected
    State 3 label Any text A text that is displayed for state 3
    State 3 value Any number A value that is sent to a device when state 3 is selected
    State 4 label Any text A text that is displayed for state 4
    State 4 value Any number A value that is sent to a device when state 4 is selected
    State 5 label Any text A text that is displayed for state 5
    State 5 value Any number A value that is sent to a device when state 5 is selected


    Relay

    Parameter Admissible values Description
    On value (write) Any number A value that is sent to a device when the relay is switched to "on" position
    Off value (write) Any number A value that is sent to a device when the relay is switched to "off" position
    On value (read) Any number A value that must be received from a device when the relay is switched to "on" position
    Off value (read) Any number A value that must be received from a device when the relay is switched to "off" position


    Dimmer

    Parameter Admissible values Description
    Min value Any number A value that corresponds to the utmost left position of the slider bar
    Max Value Any number A value that corresponds to the utmost right position of the slider bar


    Display, Value input

    Parameter Admissible values Description
    Units Any text
    (no more than 5 symbols)
    Measuring units
    Number after point Off, 0-9 The number of decimal places displayed after a point
    Scale mode Off, On Turning on the scaling mode
    InputMin Any integer number A value to which the minimal input value is corresponded
    InputMax Any integer number A value to which the maximum input value is corresponded
    OutputMin Any integer number A value to which the minimal output value is corresponded
    OutputMax Any integer number A value to which the maximum output value is corresponded


    Blinds

    Parameter Admissible values Description
    Open Value Any number A value that is sent to a device when "Open" button is pressed
    Close Value Any number A value that is sent to a device when "Close" button is pressed
    Stop Value Any number A value that is sent to a device when "Stop" button is pressed


    Importing subdevices from Microsoft Excel or Google Sheets


    You can tune the module Modbus TCP in Microsoft Excel or Google Sheets fast using a template and then import the settings as a .csv file to i3 lite project via the web-interface.

    Download the table template to import Modbus devices

    1 Open the template file in Microsoft Excel, Google Sheets or any other table processor.

    2 Add a required number of channels.

    Modbus csv template02.png

    3 Add a required number of tags.

    Modbus csv template03.png

    4 Add a required number of subdevices.

    Modbus csv template04.png

    Headings of obligatory parameters of subdevices are hilighted orange. Headings of optional parameters are hilighted grey.

    You can add a required number of rows to the template table.

    You can delete unused rows and even tables (except the red "Separator" cell).

    Do not change the contents of the colored cells (headings of tables).

    You can import Modbus TCP settings to i3 lite, using a pro version of the table template. The formats of imported files are compatible.

    5 Save the file of the set table in .csv format.

    In Microsoft Excel:

    Modbus csv template05.png

    Then click OK in the dialogue window and then click No.

    Modbus csv template11.png
    Modbus csv template12.png

    In Google Sheets

    Modbus csv template06.png

    6 Open i3 lite project, add "Modbus TCP" module in the Devices tab.

    7 Press "+" to add a new subdevice.

    8 Press "down arrow" to import a .csv file.

    Modbus csv template07.png

    9 A message appears:

    Modbus csv template08.png

    10 Enter the IP address of a panel, a colon and "1090" port number in the address bar of a browser. Press "Enter".

    Modbus csv template09.png

    11 Drag'n'drop the .csv file from the conductor to the open web-page to the open web-page or select a file by pressing "Browse".

    12 The previous message must disappear from i3 pro panel and new subdevices must appear in the "Modbus TCP" module.

    Modbus csv template10.png

    If devices are not specified correctly in the .csv file they are ignored during addition.

    If parameters are not specified correctly in the .csv file, their values are changes by default ones.

    Источник — «https://dev.iridi.com/index.php?title=Modbus_lite/en&oldid=60873»
    About us
    Company
    Team
    History
    Philosophy
    Rewards
    Partnership
    Our partner
    Partnership Programs
    Apply for partnership
    products
    iRidium pro
    iRidium lite
    iRidium gate
    iRidium server
    Loads
    iRidium pro
    iRidium lite
    Other version
    Marketing materials
    Support
    On-line courses/Video
    Recommended equipment
    Other version
    iRidium pro
    Documentation
    FAQ
    Forum
    iRidium lite
    Documentation
    Forum
    Projects
    Standart projects
    Smart buildings
    Smart house
    Special solution
    Find a dealer
    News
    Youtube
    Twitter
    VK
    Logo
    contact@iridi.com
    +7 (499) 322-73-29

    Privacy policy