Serial port communication system, method and device and electronic equipment
A serial port communication, serial port technology, applied in the field of communication, can solve the problem of not supporting the simultaneous acquisition of multi-master data, and achieve the effect of improving integrity and security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] The embodiment of the present application provides a serial port communication system, such as figure 1 As shown, the serial communication system includes:
[0029] A plurality of slave stations, the plurality of slave stations are respectively connected to the serial bus for communication.
[0030] Exemplarily, the slave station can be any field device that can communicate with the master station. The embodiment of the present application does not limit the type of the slave station. Those skilled in the art can determine according to actual needs. Multiple slave stations and serial ports For the bus communication connection, the embodiment of the present application does not limit the number of slave stations. Such as figure 1 As shown, the serial port communication system in the embodiment of the present application includes four slave stations, that is, slave station 1, slave station 2, slave station 3, and slave station 4.
[0031] An embedded device, one side o...
Embodiment 2
[0037] The embodiment of the present application also provides a serial communication method, which is used in the serial communication system described in Embodiment 1, such as figure 2 As shown, the serial communication method includes:
[0038] Step 201, polling and collecting data of multiple slave stations.
[0039] As an optional implementation manner of the present application, step 201 includes: sequentially sending a data request instruction to each of the slave stations in a polling manner; receiving the slave station data uploaded by each of the slave stations.
[0040] Exemplarily, by simulating the mode of the master station to issue instructions, the multiple slave stations in the serial communication system are sent data request instructions according to the target communication protocol in a polling manner, and the target communication protocol can be the Modbus protocol, or It is a serial port communication protocol such as R485, and the embodiment of the pr...
Embodiment 3
[0050] The embodiment of the present application also provides a serial communication device, which is used in the serial communication system described in Embodiment 1, such as Figure 4 shown, including:
[0051] Acquisition module 401, used for polling and collecting multiple slave station data;
[0052] The storage module 402 is configured to cache the collected slave station data in a plurality of preset simulated slave stations supporting multiple connections, and each of the simulated slave stations is communicatively connected to the target serial port link;
[0053] The feedback module 403 is configured to feed back data to the master station when receiving a data request instruction sent by any master station through the target serial port link.
[0054] As an optional implementation manner of the present application, the collection module 401 is configured to sequentially send data request instructions to each of the slave stations in a polling manner; and receive ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com