RS485 bus-based self-adaptive monitoring analysis method for communication of electric power Internet of Things terminal
The invention discloses an RS485 bus-based self-adaptive monitoring analysis method for communication of a power Internet of Things terminal, which overcomes the defects in the prior art and comprises a monitoring step and an analyzing step. The monitoring step specifically comprises the following s...
Saved in:
Main Authors | , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
23.11.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses an RS485 bus-based self-adaptive monitoring analysis method for communication of a power Internet of Things terminal, which overcomes the defects in the prior art and comprises a monitoring step and an analyzing step. The monitoring step specifically comprises the following steps: 1, acquiring RS485 bus communication parameter configuration; 2, setting an RS485 bus communication baud rate, a data bit, a check bit and a stop bit, and starting communication message interception; 3, judging whether the message is monitored or not, if the message is not monitored, obtaining a new RS485 bus communication parameter, returning to the step 2, and if the message is monitored, entering an analysis step; after the analysis step is completed, recording the communication parameters of the RS485 bus, and restoring the communication data.
本发明公开了基于RS485总线的电力物联终端通信自适配侦听解析方法,解决了现有技术的不足,包括侦听步骤和解析步骤,侦听步骤具体包括:步骤1,获取RS485总线通信参数配置;步骤2,设置RS485总线通信波特率、数据位、校验位、停止位,启动通信报文侦听;步骤3,判断是否侦听到报文,如果未侦听到则获取新的RS485总线通信参数,返 |
---|---|
Bibliography: | Application Number: CN202110716962 |