当前位置:网站首页>Neuron newsletter 2022-05 | add 2 southbound drivers and 1 northbound application, and realize customized extension with Modbus TCP

Neuron newsletter 2022-05 | add 2 southbound drivers and 1 northbound application, and realize customized extension with Modbus TCP

2022-06-10 13:13:00 EMQX

May , We released Neuron 2.0.1, This version mainly fixes some problems in 2.0.0 Problems found in version . Besides , This month we mainly focus on the development of new drivers , Added southbound BACnet/IP、KNXnet/IP drive , To the north Sparkplug application , And custom extensions Modbus TCP agreement , The efficiency of point acquisition is greatly improved .

KNXnet/IP drive

KNX It is a unified and manufacturer independent communication protocol , It is used to intelligently connect the most advanced home and building system technologies , Including the heating of residential and office complexes 、 Lighting and access control system management have high requirements for comfort and versatility . KNX Can be used to plan and implement energy-efficient solutions , Reduce energy costs while providing more functionality and convenience .

We implement driver support BIT/BOOL/INT8/UINT8/INT16/UINT16/FLOAT data type , As KNXnet/IP Client Data acquisition and equipment control .KNXnet/IP The driver supports two kinds of point addresses , One is KNX group address, Users can only write to it , Another address format is KNX group address With a KNX individual address, Users can only read from it .

BACnet/IP drive

BACnet It is a communication protocol for intelligent buildings , It's the international organization for standardization (ISO)、 American National Standards Institute (ANSI) And American heating 、 Institute of refrigeration and Air Conditioning Engineers (ASHRAE) Defined protocol . BACnet Communication designed for the application of intelligent building and control system , It can be used in HVAC system (HVAC, Including heating 、 ventilation 、 Air conditioning ), It can also be used in lighting control 、 Access control system 、 Fire detection system and its related devices .

We implement driver support BIT/FLOAT data type , As BACnet/IP Client Data acquisition and equipment anti control .BACnet/IP Drive currently supported OBJECT TYPE There are mainly ANALOG INPUT、ANALOG OUTPUT、ANALOG VALUE、BINARY_INPUT、BINARY_OUTPUT、BINARY_VALUE、MULTI_STATE_INPUT、MULTI_STATE_OUTPUT、MULTI_STATE_VALUE. The protocol layer adopts asynchronous sending and receiving instructions , The biggest support 255 Instructions are concurrent , The efficiency of acquisition and anti control is improved .

Sparkplug plug-in unit

MQTT Sparkplug It is an interoperability protocol for intelligent manufacturing and industrial automation use cases . Sparkplug Provides a consistent way for device manufacturers and software providers to share data structures , To accelerate the digital transformation of existing industries .

Northbound configuration and MQTT Plug in is similar to ,MQTT Topic Composition and Neuron Of Group Match , Support according to Neuron Of Group Submit subscription data for the company , And support in Sparkplug Of Application End to Neuron Write to the collection device of . Data types already support Neuron All defined types of southbound equipment .

Customized by customers Modbus TCP drive

Device side support is required . Use Modbus TCP MBAP in 2 Byte length substitution ADU The frame length is represented by the single byte length in ,Modbus TCP Frames can be supported up to 65535 byte . The extended protocol can collect more than 30000 data points at a time , Less Neuron Number of interactions with the device , Greatly improve the collection efficiency .

Other updates

  • Neuron And eKuiper Of Dashboard Integrated .
  • The official website documents have been greatly optimized , It is still in the process of continuous improvement .
  • in the light of GitHub Some of the community issue, Yes Neuron Some optimizations have been made for the compilation and cross compilation of , It lowers the threshold for setting up an entry-level development environment .
  • Refactored open source Modbus TCP The implementation of the .
  • Fixed in 2.0.0 Problems found during testing in version .

Copyright notice : This paper is about EMQ original , Reprint please indicate the source .

Link to the original text :https://www.emqx.com/zh/blog/neuron-newsletter-202205

原网站

版权声明
本文为[EMQX]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101242207745.html