CN111459103B - Loom communication system based on MCGS configuration screen - Google Patents

Loom communication system based on MCGS configuration screen Download PDF

Info

Publication number
CN111459103B
CN111459103B CN202010204552.XA CN202010204552A CN111459103B CN 111459103 B CN111459103 B CN 111459103B CN 202010204552 A CN202010204552 A CN 202010204552A CN 111459103 B CN111459103 B CN 111459103B
Authority
CN
China
Prior art keywords
loom
data
mcgs configuration
configuration screen
production line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010204552.XA
Other languages
Chinese (zh)
Other versions
CN111459103A (en
Inventor
肖艳军
田宇
孟召宗
周围
刘伟玲
万峰
杨超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Keruide Intelligent Control Automation Technology Co ltd
Original Assignee
Jiangsu Keruide Intelligent Control Automation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Keruide Intelligent Control Automation Technology Co ltd filed Critical Jiangsu Keruide Intelligent Control Automation Technology Co ltd
Priority to CN202010204552.XA priority Critical patent/CN111459103B/en
Publication of CN111459103A publication Critical patent/CN111459103A/en
Application granted granted Critical
Publication of CN111459103B publication Critical patent/CN111459103B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4183Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Manufacturing & Machinery (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Looms (AREA)

Abstract

The invention relates to a loom communication system based on an MCGS (multi-core computer controlled system) configuration screen, which is used for information transmission among a plurality of loom production lines and comprises a switch, a cloud server, a loom enterprise terminal and an operator terminal, wherein each loom production line comprises a loom main control module, the MCGS configuration screen and each functional device of the loom production line; each functional device of each loom production line interacts data with a corresponding loom main control module, and the loom main control module is communicated with the MCGS configuration screen at the same time; the MCGS configuration screens of different loom production lines are communicated with each other, and the MCGS configuration screens of the different loom production lines are connected with a cloud server through a switch. The master control chips of any two looms can carry out rapid and accurate data communication through the MCGS configuration screen, can finish the acquisition and monitoring of loom field data and the processing and control of front end data without other communication devices, and finally sends the data to the cloud server so that operators and manufacturers can check loom parameter information at any time and any place.

Description

Loom communication system based on MCGS configuration screen
Technical Field
The invention relates to the technical field of loom industrial control, in particular to a loom communication system based on an MCGS configuration screen.
Background
With the development of technology, the era of digitalization, networking and intelligence of the textile industry has come. The control system of the loom mainly uses PLC and a singlechip as control cores, but with the continuous maturity of embedded technology, PLC in the loom control system is gradually replaced by the singlechip due to the expensive price. At present, although a remote management system applied to the loom industry exists, machine interconnection among a plurality of loom production lines is omitted, machine interconnection is realized, and the loom management without dead angles is really realized. The existing methods are in need of further improvement.
Disclosure of Invention
In order to solve the problems in the background art, the invention provides a loom communication system based on an MCGS configuration screen, wherein the MCGS configuration screen is directly connected with a main control module of a loom, the MCGS configuration screen is connected to a switch, and finally data are finally sent to a cloud server, so that a user and a manufacturer can check the operation condition of the loom at any time and any place. Therefore, if the operator wants to set and modify the parameter information of the remote weaving machine, the operator can operate the remote weaving machine through the MCGS configuration screen at the side without reprogramming or go to the MCGS configuration screen of another weaving machine for operation, and time and energy are saved.
In order to solve the above background technical problem, the technical scheme adopted by the invention is to provide a loom communication system based on an MCGS configuration screen, which is characterized in that the communication system is used for information transmission among a plurality of loom production lines, and comprises a switch, a cloud server, a loom enterprise terminal and an operator terminal, wherein each loom production line comprises a loom main control module, an MCGS configuration screen and each functional device of the loom production line; each functional device of each loom production line interacts data with a corresponding loom main control module, and the loom main control module is communicated with the MCGS configuration screen at the same time; the MCGS configuration screens of different loom production lines are communicated with one another, the MCGS configuration screens of the different loom production lines are connected with a cloud server through a switch, and the loom enterprise terminal and the operator terminal are connected with the cloud server.
The loom main control module comprises an STM32 chip and an RS485 communication module, is arranged in loom equipment, and can read parameter information of each functional device of a loom production line.
Controlling an STM32 chip and an MCGS configuration screen on one loom production line in a network segment, entering MCGS configuration screen software, entering an attribute setting interface of a general TCP/IP, setting a local IP as the IP of the MCGS configuration screen of the loom production line, and setting a remote IP as the IP of STM32 chips of other looms, so as to ensure that the looms of different loom production lines have different port numbers; the running conditions of the rest loom production lines can be checked on the MCGS configuration screen of any loom production line.
The MCGS configuration screen comprises a touch display screen, an LAN port and a COM port are arranged on the touch display screen, the touch display screen is installed in a loom of each loom production line, a loom main control module of the loom production line is connected with the COM port of the MCGS configuration screen, and data communication between the loom and the MCGS configuration screen is realized in an RS485 communication mode; then connecting no more than 64 MCGS configuration screens to a switch through LAN ports on the MCGS configuration screens, and then transmitting data to a cloud server in a downlink manner, wherein a TCP/IP communication protocol based on a socket (API) programming interface is adopted between the MCGS configuration screens and the cloud server to transmit data; the MCGS configuration screen can construct a real-time database, and each functional device of the loom production line takes the real-time database as a data public area for data exchange, data processing and data visualization processing; the MCGS configuration screen can not only obtain the information in the loom main control module, but also visually display the information in an animation mode and modify the parameter information of the loom; and secondly, the information in the main control module of one loom can be quickly analyzed and the data can be quickly packaged, and the information of the main control module of the other loom can be sent or received.
The cloud server comprises a Socket server, a Redis database, a data processing module and a Web server; the data processing module comprises data processing and fault diagnosis; the Redis database includes a comprehensive database, a fault database, and a fault decision table.
The loom enterprise terminal and the operator terminal can be computers or intelligent wireless devices, such as mobile phones and ipds, and the two types of terminals have different management viewing permissions.
Compared with the prior art, the weaving machine control system has the advantages that the MCGS configuration screen can be directly connected with the main control chip of the weaving machine, parameter information of the weaving machine can be visually displayed and modified, another weaving machine can be rapidly and accurately controlled and operated between two weaving machine production lines without other communication equipment, reprogramming is not needed, order information of the other weaving machine can be directly obtained by accessing the other MCGS configuration screen, production is carried out, and operation is simple. Operators and loom enterprise managers can quickly check the production state and the running condition of all equipment at any place on one computer or mobile phone, search historical information and generate a data analysis report. The loom enterprise manager can know the operation state of each loom production line device at any time, and once a fault occurs, the online diagnosis is carried out in time, so that the fault problem is solved quickly, and the loom is recovered to a normal operation state.
Drawings
FIG. 1 is a schematic structural diagram of a loom communication system based on an MCGS configuration screen.
Fig. 2 is a block diagram of a receiving process of the cloud server of the weaving machine communication system based on the MCGS configuration screen according to the present invention.
FIG. 3 is a block diagram of the fault diagnosis process of the loom communication system based on the MCGS configuration screen.
Fig. 4 is a work flow diagram of the loom enterprise terminal and the operator terminal of the loom communication system based on the MCGS configuration screen.
Fig. 5 is a block diagram of a data interaction process between a cloud server of the loom communication system based on the MCGS configuration screen and a loom enterprise terminal and an operator terminal according to the present invention.
Detailed Description
The technical scheme of the invention is clearly and completely described below with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the present invention provides a loom communication system based on an MCGS configuration screen, which is used for information transmission among a plurality of loom production lines, including a switch, a cloud server, a loom enterprise terminal, and an operator terminal, wherein each loom production line includes a loom main control module, an MCGS configuration screen, and functional devices of the loom production line, such as a weft selecting and selvedge twisting module, an electronic warp feeding and winding module, a weft accumulator control module, a thermal fuse control module, a brake clutch control module, a slow motion control module, and a main transmission control module; each functional device of each loom production line interacts data with a corresponding loom main control module, and the loom main control module is communicated with the MCGS configuration screen at the same time; the MCGS configuration screens of different loom production lines are communicated with one another, the MCGS configuration screens of the different loom production lines are connected with a cloud server through a switch, and the loom enterprise terminal and the operator terminal are connected with the cloud server.
In this embodiment, the loom main control module includes an STM32 chip and an RS485 communication module, which are embedded systems, and are installed in the looms of each loom production line by a worker, so that the parameter information of the looms of the loom production line can be read. The loom operating parameters are transmitted in JSON files, so that data to be transmitted to the cloud end needs to be converted into the JSON files in the loom main control module. Because the loom parameters transmitted from the loom equipment to the cloud server are in an array form, the loom parameters need to be converted into a JSON file format in order to facilitate the processing of the loom parameters by the cloud server background.
The MCGS configuration screen comprises a touch display screen, an LAN port and a COM port are arranged on the touch display screen, the touch display screen is installed in a loom of each loom production line, a loom main control module of the loom production line is connected with the COM port of the MCGS configuration screen, and data communication between the loom and the MCGS configuration screen is achieved through an RS485 communication mode. Then, not more than 64 MCGS configuration screens are connected to the switch through LAN ports on the MCGS configuration screens, and then data are transmitted to a cloud server in a downlink mode, and the cloud server is connected with a loom enterprise terminal and an operator terminal.
The MCGS configuration screen can construct a real-time database, and the defined data objects comprise the working information of the weaving machine: current shift, loom ID, running status, total output; loom state information: weft accumulator signal, weft detector voltage value, weft selection mechanism voltage signal, selvage mechanism voltage signal, let-off servo fault code, take-up servo fault code, electronic multi-arm voltage signal, tension sensor tension value, broken warp sensor voltage signal, main clutch approach switch voltage signal, slow clutch approach switch voltage signal, weft clutch approach switch voltage signal, frequency converter fault code, oil level signal, oil pressure signal, main motor overcurrent signal, slow motor overcurrent signal, and vehicle speed; and (3) fault information: the method comprises the following steps that (1) a fault loom ID, weft accumulator signals, weft yarn detector voltage values, weft selection mechanism voltage signals, selvage mechanism voltage signals, let-off servo fault codes, take-up servo fault codes, electronic multi-arm voltage signals, tension sensor tension values, broken warp sensor voltage signals, main clutch proximity switch voltage signals, slow clutch proximity switch voltage signals, weft clutch proximity switch voltage signals, frequency converter fault codes, oil level signals, oil pressure signals, main motor overcurrent signals, slow motor overcurrent signals, fault diagnosis results and the like are obtained; and the data information attributes are set, so that the parameter information of the equipment in the loom main control module and the data object defined by the corresponding real-time database can be presented to a user in the form of animation or pictures through an MCGS configuration screen installed on a loom of a loom production line, and the user can modify and set the equipment parameters through the MCGS configuration screen.
The STM32 chip and the MCGS configuration screen of the loom are controlled in one network segment (a main control chip and the MCGS configuration screen on one production line are set into one network segment, and are set on each production line), the MCGS configuration screen software enters an attribute setting interface of a general TCP/IP, a local IP is set as the IP of the MCGS configuration screen of the loom production line, and a remote IP is set as the IP of the STM32 chip of other looms, so that the looms of different loom production lines have different port numbers. Thus, the working personnel can check the running conditions of the rest loom production lines on the MCGS configuration screen of any loom production line.
Data transmission between the MCGS configuration screen and the cloud server adopts data transmission based on Socket, and a TCP/IP communication protocol based on a Socket (API) programming interface is selected, so that higher data integrity can be ensured. The MCGS configuration screen and the cloud server transmit data through a TCP/IP protocol, wherein the MCGS configuration screen is used as a client (TCPCli) of the TCP, and the cloud server is used as a server (TCPServer) of the TCP. The system uploads loom parameter data to a cloud server through an exchanger, and uploads the parameter data to the cloud server through a Transmission Control Protocol (TCP), so that real-time network communication is realized. The system provides a TCP/IP communication protocol interface through a Socket, realizes communication connection between the MCGS configuration screen and the cloud server, and realizes data sending and receiving. Fig. 2 shows a block diagram of a receiving process of the cloud server, and the specific process is as follows:
(1) firstly, creating a streaming socket, binding the socket with a local address IP and a port number, starting to monitor the socket by using a listen () function, and sending corresponding loom parameters when monitoring a connection request of a client, and monitoring connection requests of other clients;
(2) waiting for the connection of the client by using an Accept () function; if a data receiving request exists, the three-way handshake of the TCP protocol is firstly carried out, and after the handshake is successful, the client can be connected;
(3) the transmission of loom data parameters between a server and a client is realized through InputStream () and OutputStream () functions; meanwhile, the weaving machine parameters are saved in a Redis database by using a StoreJsonToRedis () function. When the loom parameters are sent to the client or the client requests to close, closing the client sending data through a server socket. When all clients finish sending, closing all clients through a server socket.
(4) And judging whether to continue monitoring the port, if so, returning to the beginning of monitoring the socket by using a list () function, and if not, ending the task. And when receiving the ending signal, performing a four-time hand-splitting program of the TCP to ensure that the communication connection is completely disconnected.
The cloud server mainly comprises: the system comprises a Socket server, a Redis database, a data processing module and a Web server. The data processing module comprises data processing and fault diagnosis, the data processing is to analyze the JSON file received by the Socket server, store the JSON file in the comprehensive database and transmit the JSON file to the Web server, extract the loom historical operating parameters of the comprehensive database and transmit the loom historical operating parameters to the Web server, and convert the loom setting parameters transmitted from the Web server into the JSON file and transmit the JSON file to the Socket server.
And the fault diagnosis is to perform fault diagnosis through a rough set and a Bayesian network according to the data characteristics in the analyzed JSON file to obtain a fault reason and a solution, store the fault reason and the solution in a fault database, and finally feed back fault information and the solution to the loom enterprise terminal. The specific flow of fault diagnosis is (see fig. 3):
(1) firstly, loom fault detection is carried out, loom operation parameters are obtained, and decision attributes and condition attributes are determined;
(2) then, a decision table is established by utilizing a decision theory, and a final decision table is obtained through minimum reduction;
(3) building a Bayesian fault diagnosis network model according to classification rules;
(4) and finally, analyzing and processing the data to judge whether a fault occurs, if the fault occurs, carrying out fault processing, and otherwise, carrying out fault detection on the weaving machine again.
The Redis database comprises a comprehensive database, a fault database and a fault decision table, wherein the comprehensive database is loom operation parameters, the fault database stores loom historical fault parameter information, and the fault decision table is a conditional probability value of nodes in a loom fault diagnosis Bayesian network.
When receiving an HTTP request sent by a loom enterprise terminal, the Web server feeds back fault information and loom operation parameters to the loom enterprise terminal through Ajax, so that the refreshing of the interface of the loom enterprise terminal is realized.
In order to meet the access requirements of an operator terminal and a loom enterprise terminal on different browsers, the system adopts an HTML5+ CSS3+ JavaScript development interface, realizes static style design and interface beautification by using CSS3 (a cascading style sheet) on the basis of HTML5, and realizes the dynamic characteristic of the interface by using JavaScript, so that the interface is more attractive on the basis of meeting the most basic monitoring requirements of the operator terminal and the loom enterprise terminal. In order to shorten the development period, when a front-end interface is developed, because the system can carry out remote monitoring and fault diagnosis on the weaving machine, the interface needs to be continuously updated, and Bootstrap is adopted as a front-end design frame of the system, so that better display can be realized. The loom enterprise terminal and operator terminal workflow block diagram is shown in fig. 4: after a webpage is opened, the interface presents a user login interface, a login password and a user name are input, whether the login password is correct or not is judged, if yes, whether the user is a loom enterprise terminal user or an operator terminal user is judged continuously according to the user name, if yes, the user enters an entrance of the loom enterprise terminal, and a personal center, a system management interface, a monitoring interface, a parameter configuration interface, an alarm record and solution interface and a system introduction interface can be presented; if the loom enterprise terminal is not the loom enterprise terminal, the loom enterprise terminal is the operator terminal, enters an operator terminal entrance, and can present a personal center, a system management interface, a monitoring interface, an alarm recording and solution interface and a system introduction interface; and finally, exiting the system.
The login interface is a user login interface, different loggers have different login passwords, the access right of the current loggers can be judged according to login user names, for example, a loom enterprise terminal has the highest access right, the operation parameters, the operation condition information and the fault information of the loom can be checked, and the operation parameters of the loom can be set; the operating personnel terminal is generally used by a front-end operator of the loom production line, has the lowest access right and can only check the operating parameters and the operating condition information of the loom, and the front-end operator can modify and set the parameters of the loom production line on an MCGS configuration screen in a factory building; the personal center is used for checking the current login person, logging out of the login option and modifying personal information; the system management interface is a brief monitoring interface of all looms in the whole factory building and only monitors the basic information of the looms; the monitoring interface is detailed parameter information of each loom in the factory building; the parameter configuration interface is used for setting the operation parameters of the loom before the loom operates; the alarm recording and solution interface mainly records the faults generated by the weaving machine and the fault solution method; the system brief introduction interface is brief introduction of a cloud platform, a system scheme and the weaving machine in the loom remote monitoring and fault diagnosis system, and provides comprehensive function introduction and system operation specifications for a user.
After the cloud server, the remote operator terminal and the loom enterprise terminal are built, communication among the cloud server, the operator terminal and the loom enterprise terminal needs to be achieved, and data interaction is completed. In the system, Ajax is used as a tool for data interaction between the Ajax and the Ajax.
The process of completing data interaction among the cloud server, the operator terminal and the loom enterprise terminal (see fig. 5) is as follows:
(1) firstly, creating an XMLHttpRequest object;
(2) initializing an XMLHttpRequest object by calling an open method, and preparing to send a request to a server by using a POST request method;
(3) writing loom data information transmitted by the MCGS configuration screen into string parameters through calling of the send method, and transmitting an HTTP request to a Web server;
(4) and then the Redis database is connected with the Web server, whether the connection is successful or not is judged, if the connection is successful, the Web server can access the Redis database, whether the data exist or not is inquired, and if the connection cannot be successful, error information is returned to the Web server. And if the queried data exists, calling a GetJsofPromRedis () function to read the data, and if the queried data does not exist, returning error information to the Web server.
(5) When an onreadystarteChange event is triggered, loom parameter information returned from the cloud server is processed by a callback function and finally sent to an operator terminal and a loom enterprise terminal;
(6) this communication is ended.
The MCGS configuration screen is used for quickly constructing and generating a configuration software system of an upper computer monitoring system, can be directly connected with the main control modules of the looms, is simple to build and convenient to network, can carry out quick and accurate complex data communication on the main control chips (STM32 chips) of any two looms through the MCGS configuration screen, can finish the acquisition and monitoring of loom field data and the processing and control of front end data without other communication devices, gives users more intuitive experience, and finally sends the data to a cloud server so that operators and manufacturers can check the parameter information of the looms anytime and anywhere. The communication system can quickly and conveniently analyze and pack data, is easy to master, has stable transmission data, can adapt to various high-temperature and noisy external environments, and has the characteristics of lower cost and more convenient debugging and maintenance.
Nothing in this specification is said to apply to the prior art.

Claims (4)

1. A loom communication system based on an MCGS configuration screen is characterized in that the communication system is used for information transmission among a plurality of loom production lines and comprises a switch, a cloud server, a loom enterprise terminal and an operator terminal, wherein each loom production line comprises a loom main control module, the MCGS configuration screen and each functional device of the loom production line; each functional device of each loom production line interacts data with a corresponding loom main control module, and the loom main control module is communicated with the MCGS configuration screen at the same time; the MCGS configuration screens of different loom production lines are communicated with one another, the MCGS configuration screens of the different loom production lines are connected with a cloud server through a switch, and the loom enterprise terminal and the operator terminal are connected with the cloud server;
controlling an STM32 chip and an MCGS configuration screen on one loom production line in a network segment, entering MCGS configuration screen software, entering an attribute setting interface of a general TCP/IP, setting a local IP as the IP of the MCGS configuration screen of the loom production line, and setting a remote IP as the IP of STM32 chips of other looms, so as to ensure that the looms of different loom production lines have different port numbers; the running conditions of other loom production lines can be checked on the MCGS configuration screen of any loom production line; the MCGS configuration screen can also rapidly analyze data and pack data from the information in the main control module of one loom, and send or receive the information of the main control module of another loom;
the MCGS configuration screen comprises a touch display screen, an LAN port and a COM port are arranged on the touch display screen, the touch display screen is installed in a loom of each loom production line, a loom main control module of the loom production line is connected with the COM port of the MCGS configuration screen, and data communication between the loom and the MCGS configuration screen is realized in an RS485 communication mode; then connecting no more than 64 MCGS configuration screens to the switch through LAN ports on the MCGS configuration screens, and then transmitting data to the cloud server in a downlink manner, wherein a TCP/IP communication protocol based on a Socket programming interface is adopted between the MCGS configuration screens and the cloud server to transmit data; the MCGS configuration screen can construct a real-time database, and each functional device of the loom production line takes the real-time database as a data public area for data exchange, data processing and data visualization processing; the MCGS configuration screen not only can obtain information in a loom main control module to be visually displayed in an animation mode, but also can modify parameter information of the loom; creating a streaming socket, binding the socket with a local address IP and a port number, starting monitoring the socket by using a list () function, and sending corresponding loom parameters when monitoring a connection request of a client, and monitoring connection requests of other clients; waiting for the connection of the client by using an Accept () function; if a data receiving request exists, three-way handshake of a TCP protocol is carried out, and after the handshake is successful, the client is connected; the transmission of loom data parameters between a server and a client is realized through InputStream () and OutputStream () functions; meanwhile, storing loom parameters into a Redis database by using a StoreJsonToRedis () function; when the loom parameters are sent to the client or the client requests to close, closing the client sending data through a server socket. When all clients finish sending, closing all clients through a server socket. Judging whether to continue monitoring the port, if so, returning to the step of starting monitoring the socket by using a list () function, otherwise, ending the task, and when receiving an ending signal, performing a quartic hand-sharing program of the TCP to ensure that the communication connection is completely disconnected;
the cloud server comprises a Socket server, a Redis database, a data processing module and a Web server; the data processing module comprises data processing and fault diagnosis; the Redis database comprises a comprehensive database, a fault database and a fault decision table;
the data processing is to analyze and store the JSON file received by the Socket server into the comprehensive database and transmit the JSON file to the Web server, extract the loom historical operating parameters of the comprehensive database and transmit the loom historical operating parameters to the Web server, convert the loom setting parameters transmitted from the Web server into the JSON file and transmit the JSON file to the Socket server;
the fault diagnosis is to carry out fault diagnosis through a rough set and a Bayesian network according to the data characteristics in the analyzed JSON file to obtain fault reasons and solutions, store the fault reasons and the solutions in a fault database, and finally feed back fault information and the solutions to a loom enterprise terminal;
the comprehensive database is loom operation parameters, the fault database stores loom historical fault parameter information, and the fault decision table is a conditional probability value of a node in a loom fault diagnosis Bayesian network;
when receiving an HTTP request sent by a loom enterprise terminal, the Web server feeds back fault information and loom operation parameters to the loom enterprise terminal through Ajax, so that the refreshing of the interface of the loom enterprise terminal is realized.
2. The communication system of claim 1, wherein the loom master control module comprises an STM32 chip and an RS485 communication module, and is installed in the loom equipment and used for reading parameter information of each functional device of the loom production line.
3. The communication system according to claim 1, wherein the operator terminal and the loom enterprise terminal have different management viewing permissions, static style design is realized by using CSS3 on the basis of HTML5, dynamic characteristics of an interface are realized by using JavaScript, and Bootstrap is used as a front-end design frame of a cloud server; the loom enterprise terminal has the highest access right, can check the loom operation parameters, the operation condition information and the fault information, and can also set the loom operation parameters; the operating personnel terminal is used by a line operator of the loom production line, the operating personnel terminal has the lowest access right and can only check the operating parameters and the operating condition information of the loom, and the line operator can modify and set the parameters of the loom production line on an MCGS configuration screen in a factory building.
4. The communication system of claim 1, wherein the communication between the cloud server and the operator terminal and the loom enterprise terminal is performed by using Ajax as a data interaction tool.
CN202010204552.XA 2020-03-21 2020-03-21 Loom communication system based on MCGS configuration screen Active CN111459103B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010204552.XA CN111459103B (en) 2020-03-21 2020-03-21 Loom communication system based on MCGS configuration screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010204552.XA CN111459103B (en) 2020-03-21 2020-03-21 Loom communication system based on MCGS configuration screen

Publications (2)

Publication Number Publication Date
CN111459103A CN111459103A (en) 2020-07-28
CN111459103B true CN111459103B (en) 2021-02-12

Family

ID=71685701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010204552.XA Active CN111459103B (en) 2020-03-21 2020-03-21 Loom communication system based on MCGS configuration screen

Country Status (1)

Country Link
CN (1) CN111459103B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114764459A (en) * 2020-12-31 2022-07-19 三一汽车制造有限公司 Fault processing method and system for working machine and electronic equipment
CN112949095B (en) * 2021-04-14 2022-08-23 西南交通大学 Industrial hydraulic system working dynamic remote monitoring method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867324A (en) * 2016-04-07 2016-08-17 三汽车制造有限公司 Stirring station control system and multi-stirring-station control system
CN207352400U (en) * 2017-09-19 2018-05-11 安徽中科海奥电气股份有限公司 A kind of charging pile monitoring system based on configuration screen human-computer interaction device
CN108717282A (en) * 2018-07-26 2018-10-30 河北工业大学 A kind of embedded rapier loom dedicated control system based on cloud platform

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8005553B2 (en) * 2006-09-29 2011-08-23 Fisher-Rosemount Systems, Inc. Automatic configuration of synchronous block execution for control modules run in fieldbus networks
CN202178788U (en) * 2011-09-15 2012-03-28 湖州菁诚纺织品有限公司 Remote network monitoring system in textile industry
KR101100236B1 (en) * 2011-10-10 2011-12-28 주식회사 유비투비 Monitoring and controlling system for automation and measuring system
CN103986639A (en) * 2014-03-07 2014-08-13 杭州易和互联软件技术有限公司 Algorithm for realizing message interconnection and interworking among a plurality of independently-deployed instant message systems
CN205485566U (en) * 2016-04-06 2016-08-17 南通职业大学 Loom efficiency remote monitering system based on internet of things
CN107635008A (en) * 2017-10-09 2018-01-26 浙江理工大学 A kind of knitting machine interconnection plane system and operational process
CN109246223A (en) * 2018-09-25 2019-01-18 海宁纺织机械有限公司 A kind of textile machine novel maintenance system and its implementation
CN110042538B (en) * 2019-06-04 2023-03-28 江苏科瑞德智控自动化科技有限公司 High-speed rapier weaving machine special control system based on it is embedded

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867324A (en) * 2016-04-07 2016-08-17 三汽车制造有限公司 Stirring station control system and multi-stirring-station control system
CN207352400U (en) * 2017-09-19 2018-05-11 安徽中科海奥电气股份有限公司 A kind of charging pile monitoring system based on configuration screen human-computer interaction device
CN108717282A (en) * 2018-07-26 2018-10-30 河北工业大学 A kind of embedded rapier loom dedicated control system based on cloud platform

Also Published As

Publication number Publication date
CN111459103A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN111459103B (en) Loom communication system based on MCGS configuration screen
CN103593173B (en) A kind of integrated development system of application program, method and device
CN106961362A (en) Automated testing method and mobile cloud test system
US10445335B2 (en) Computing environment connectivity system
CN102998562B (en) Power quality monitoring system based on International Electrotechnical Commission (IEC) 61850 communication protocol
CN109560996B (en) Automatic testing system and method for terminal of Internet of things
US10210068B2 (en) Device topology definition system
CN112731876A (en) Industrial equipment management system based on production data
CN111130922A (en) Airborne information safety automatic test method and test platform
CN110865843A (en) Page backtracking, information backup and problem solving method, system and equipment
CN109639756A (en) A kind of terminal network incidence relation is shown and equipment accesses real-time monitoring system
CN113467771B (en) Model-based industrial edge cloud collaboration system and method
CN111045911A (en) Performance test method, performance test device, storage medium and electronic equipment
CN103970530A (en) Data acquisition and implementation method based on Intouch configuration technology of OPC interface
CN114157563A (en) Network equipment automation operation and maintenance system based on command
CN111092781A (en) Household appliance data management method and device and household appliance
CN112180784A (en) NB-IOT (NB-IOT) -based machine tool production abnormity alarm remote monitoring system and method
CN112486797A (en) Interface test method and device
CN109392192A (en) The method and system of the device connection of SCADA system for high-speed traffic
CN106354015B (en) Long-range monitoring and the on-line debugging method of Diagonal Recurrent Neural Network control system
CN108600357A (en) A kind of foster management system of oil and gas equipment dimension and working method based on SOA
CN111212093A (en) Data processing system and control device
CN113281594B (en) System and method for realizing remote intelligent automatic test for relay protection
CN114726708A (en) Network element equipment fault prediction method and system based on artificial intelligence
CN108306414A (en) A kind of monitoring of intelligent power distribution and control method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant