The utility model content
The technical matters that the utility model mainly solves provides a kind of product line information handling system and alarm triggering device, relevant departments are in time understood produced the line production status, and in time process abnormal conditions, thus improve efficient, reduce the cost of enterprise personnel investment.
For solving the problems of the technologies described above, the technical scheme that the utility model adopts is: a kind of product line Information Collection System is provided, described system comprises control device, industrial bus and one or more alarm triggering device, one end of described industrial bus connects control device, and the other end of described industrial bus connects an alarm triggering device or the plural alarm triggering device of parallel join.
Wherein, described alarm triggering device comprises industrial bus interface module and the microcontroller that is connected with described industrial bus interface module; Described industrial bus interface module is connected with described industrial bus.
Wherein, described microcontroller is single-chip microcomputer, ARM microcontroller able to programme or DSP microcontroller able to programme.
Wherein, described industrial bus interface module comprises communication drive circuit and the interface protective circuit of mutual electrical connection, and described communication drive circuit connects described industrial bus, and described interface protective circuit connects described microcontroller.
Wherein, described alarm triggering device also comprises information storage module, and described information storage module is connected with described microcontroller; Described information storage module is E
2PROM, SDRAM or FLASH storer.
Wherein, described alarm triggering device also comprises display module, band lamp button, tag card interface, real-time clock and expansion interface, described display module, band lamp button, tag card interface, real-time clock and expansion interface respectively be connected microcontroller and connect.
For solving the problems of the technologies described above, another technical scheme that the utility model adopts is: a kind of alarm triggering device is provided, and described alarm triggering device comprises industrial bus interface module and the microcontroller that is connected with described industrial bus interface module.
Wherein, described microcontroller is single-chip microcomputer, ARM microcontroller able to programme or DSP microcontroller able to programme.
Wherein, described alarm triggering device also comprises information storage module, and described information storage module is connected with described microcontroller; Described information storage module is E
2PROM, SDRAM or FLASH storer.
Wherein, described alarm triggering device also comprises display module, band lamp button, tag card interface, real-time clock and expansion interface, described display module, band lamp button, tag card interface, real-time clock and expansion interface respectively be connected microcontroller and connect.
The beneficial effects of the utility model are: the situation that is different from prior art, the utility model produces the line information handling system alarm triggering device is connected on the industrial bus, can in time understand production status on each station that alarm triggering device is installed by control device, in case find the abnormal conditions of somewhere station, can in time solve, need to be in each station arrangement personnel supervision.In this way, can improve the production efficiency of producing line, save human resources, improve the efficiency of management of factory, offer convenience for the production planning of producing line.
Embodiment
Below in conjunction with drawings and embodiments the utility model is elaborated.
Consult Fig. 1, Fig. 1 is that the utility model produces the structural representation that the line information processing system is unified embodiment, and described product line information handling system comprises: control device 11, industrial bus 12 and an alarm triggering device 13; One end of described industrial bus 12 connects control device 11, and the other end of described industrial bus 12 connects alarm triggering device 13.Certainly, also can be described as described control device 11 and alarm triggering device 13 and all be connected to industrial bus 12.
Wherein, control device can be but be not limited to: host computer, industrial computer, workstation, computing machine etc.
Industrial bus can be but be not limited to: RS485 bus, CAN bus, LON bus, BITBUS bus, I2C bus, SPI/SCI bus etc.
The utility model produces the line information handling system can be by the timely production status of understanding on the station that alarm triggering device is installed of control device, in case unusual circumstance can in time solve.In this way, can improve the production efficiency of producing line, save human resources, improve the efficiency of management of factory, offer convenience for the production planning of producing line.
Consult Fig. 2, Fig. 2 is the structural representation that the utility model produces another embodiment of line information handling system, and described product line information handling system comprises: control device 21, industrial bus 22 and three alarm triggering devices 23.One end of described industrial bus 22 connects control device 21, three alarm triggering devices 23 of the other end parallel join of described industrial bus 22.
Need to prove, on industrial bus, can at corresponding station a plurality of alarm triggering devices be installed according to the actual needs that produces line, go to live in the household of one's in-laws on getting married no longer one by one at this and chat.
The utility model produces the line information handling system alarm triggering device is connected on the industrial bus, can in time understand production status on each station that alarm triggering device is installed by control device, in case find the abnormal conditions of somewhere station, can in time solve, need to be in each station arrangement personnel supervision.In this way, can improve the production efficiency of producing line, save human resources, improve the efficiency of management of factory, offer convenience for the production planning of producing line.
See also Fig. 3, Fig. 3 is the structural representation that the utility model produces the another embodiment of line information handling system, producing the line information handling system comprises: control device 31, industrial bus 32 and more than one alarm triggering device 33, described alarm triggering device 33 comprise industrial bus interface module 331 and the microcontroller 332 that is connected with described industrial bus interface module 331; Described industrial bus interface module 331 is connected with described industrial bus 32.
Wherein, industrial bus interface module 331 comprises communication drive circuit 3311 and interface protective circuit 3312, and described communication drive circuit 3311 connects described industrial bus 32, and described interface protective circuit 3312 connects described microcontroller 332.
For different industrial bus, industrial bus interface module 331 can be the driving circuit that RS485 bus, CAN bus etc. can adapt to the industrial bus of production line complex work environment.Industrial bus interface module 331 is used for:
(1) for whole alarm triggering device 33 provides power supply, for example, can utilize two circuits in the RJ11 connecting-disconnecting interface, be embodied as alarm triggering device 33 power supplies.Simultaneously, this industrial bus interface module 331 also has anti-reverse design, in the situation of online route order wrong, also can not damage industrial bus interface module 331;
(2) be responsible for communicating by letter with industrial bus 32, communication drive circuit 3311 can need to be modulated into microcontroller 332 to the scale-of-two serial information of industrial bus 32 feedbacks and adapt to the signal format of transmitting at industrial bus 32.Simultaneously, the signal on the industrial bus 32 is converted to scale-of-two serial information and pass to microcontroller 332 processing;
(3) IO interface (IO interface) of protection microcontroller 332; may be produced electromagnetic environment complicated on the line on the industrial bus 32 affects; thereby the high pressure with destruction property such as upper high-voltage great-currents; such as high-pressure electrostatic, seal in other high pressure etc.; these all can damage microcontroller 332 moment; even damage whole alarm triggering device 33, alarm triggering device 33 was lost efficacy.So, increased the interface protective circuit 3312 of Anti-static device and high-voltage isolator spare 3311 of communication drive circuits;
Whether (4) demonstration of light emitting diode (LED) state in the industrial bus interface module 331 can show current duty intuitively, for example be in work or the communication.
Wherein, microcontroller 332 is core processing and control modules of whole alarm triggering device 33, can be but be not limited to: single-chip microcomputer, ARM(Advanced RISC Machines) or the microcontroller able to programme such as digital signal processing (Digital Signal Processing, DSP).
Consult Fig. 4, Fig. 4 is the structural representation that the utility model produces the another embodiment of line information handling system, producing the line information handling system comprises: control device 41, industrial bus 42 and more than one alarm triggering device 43, described alarm triggering device 43 comprises industrial bus interface module 431, microcontroller 432 and information storage module 433, and described industrial bus interface module 431 is connected with information storage module and is connected respectively connection with microcontroller.
Wherein, information storage module 433 can be but be not limited to: EEPROM (Electrically Erasable Programmable Read Only Memo) (Electrically Erasable Programmable Read-Only Memory, E
2PROM), synchronous DRAM (Synchronous Dynamic Random Access Memory, SDRAM) or flash memory (FLASH) storer.Information storage module is used for storage and produces the information of line type, sign (ID) card, identification identity etc.; Buffer memory trigger message and classifiction statistics thereof, the information that sends when wait is communicated by letter with the higher level's control device 41 in the industrial bus 42 is processed to control device 41.
Consult Fig. 5, Fig. 5 is the structural representation that the utility model produces the another embodiment of line information handling system, producing the line information handling system comprises: control device 51, industrial bus 52 and more than one alarm triggering device 53, described alarm triggering device 53 comprises industrial bus interface module 531, microcontroller 532, information storage module 533, display module 534, band lamp button 535, tag card interface 536, real-time clock 537 and expansion interface 538, described industrial bus interface module 531, information storage module 533, display module 534, band lamp button 535, tag card interface 536, real-time clock 537 and expansion interface 538 are connected respectively connection with microcontroller.
Wherein, microcontroller 532 is used for: (1) is responsible for collecting to carry the trigger message of lamp button 535; (2) send various show states to display module 534; (3) identification and record station id information, work attendance information etc.; (4) information storage module 533 is read or data writing; (5) industrial bus interface module 531 is sent and obtaining information, judge the command request of control device 51.
Display module 534 can be simple light emitting diode, LED charactron or small-scale liquid crystal display screen (LCD).Countdown when 534 pairs of display modules are removed maloperation, station output counting etc. show.
Band lamp button 535 mainly is comprised of mechanical key and light emitting diode.Abnormal conditions appear in current station, when needing line length to come to assist, the workman of current station can be by band lamp button 535 trigger alarm flip flop equipments 53: after band lamp button 535 was pressed, light emitting diode was lighted, and confirmed the button success; After mistake is pressed band lamp button 535, can again press within a certain period of time band lamp button 535, with the trigger message of eliminating error; When line length handle unusual after, can be by selecting unusual type with lamp button 535, thus can be used for the statistics of abnormal information.
Tag card interface 536 utilizes USB (universal serial bus) (USB) interface, uses Intel integrated circuit (Inter-Integrated Circuit, I
2C) agreement reads the information in each station workman ID card, can be for information such as the identity that records each workman, work attendance, output.
Real-time clock 537 mainly is comprised of real-time clock integrated circuit (IC).Real-time clock 537 is used for providing real-time time, the generation time of each message of accurate recording, assistance to add up work attendance information etc. to microcontroller 532.Microcontroller 532 passes through I
2C bus setting and reading the current time.
Expansion interface 538 is be used to the interface that connects various external units, can be used for program upgrade and later Function Extension.Expansion interface 538 can use the RS232 serial line interface, and the RS232 serial line interface uses 3.5 cun circular earphone interfaces, makes things convenient for the plug of expansion equipment.
The below specifies the treatment scheme that the utility model produces the line information handling system.
According to every station quantity (being generally less than 32) of producing on the line, in the information-storing device of the alarm triggering device of each station, write department in advance, produce the corresponding coded data such as line and station.
Consult Fig. 6, Fig. 6 is that the utility model produces the processing flow chart in the another embodiment of line information handling system, and as shown in the figure, the course of work of producing the line information handling system is specific as follows:
At first, alarm triggering device is waited for the polling message of the control device on the industrial bus, and state and the data of while each interface of sequence detection are when receiving the communication request of control device, reply the successful connection signal, receive the current time information of self-control device and clock is set.Send the information on the specified address in the information-storing device to control device simultaneously.Behind the sign off, when in the ID draw-in groove during inserted with card, read id information and the plug-in card time is recorded in the specified address section of information-storing device.
Then, the information of beginning inquiry button, inspection ID draw-in groove plug state, read and expand message breath, inquiry control device polling status etc.When having button to trigger, the timer of microcontroller starts and the beginning timing, if (for example 3 seconds) detect key information again in the given time, shows it is wrong key information, then repeats said process; If (for example 3 seconds) do not detect key information in the given time, then the specified address to information-storing device writes abnormal alarm information and number of times, and repeats said process.When the polling communication request that inquires control device, send the alarm triggering information of having stored to control device, the warning of trigger control device, inquire about simultaneously the electron key socket, to wait for the processing of line length, after detecting the electron key insertion, the read electric key, whether search access right meets, if authority meets, then show all kinds of unusual, for example: operation is too late, the shop equipment fault, lack the material problem, quality problems or other problems are waited for the unusual type of line length button selection, after selecting to finish, the Exception Type that line length is selected is stored, waited for that issuing control device when communicate by letter with control device next time carries out statistical treatment.
The utility model also provides a kind of alarm triggering device, consult Fig. 7, Fig. 7 is the structural representation of the utility model alarm triggering device one embodiment, alarm triggering device comprises: industrial bus interface module 61, microcontroller 62, information storage module 63, display module 64, band lamp button 65, tag card interface 66, real-time clock 67 and expansion interface 68, wherein, industrial bus interface module 61, information storage module 63, display module 64, band lamp button 65, tag card interface 66, real-time clock 67 and expansion interface 68 are connected respectively connection with microcontroller.
Microcontroller 62 can be but be not limited to: single-chip microcomputer, ARM microcontroller able to programme or DSP microcontroller able to programme.
Information storage module 63 can be but be not limited to: E
2PROM, SDRAM or FLASH storer.
In a word, the utility model alarm triggering device can be connected on the industrial bus, can in time understand production status on each station that alarm triggering device is installed by higher level's control device of industrial bus, in case find the abnormal conditions of somewhere station, can in time solve, need to be in each station arrangement personnel supervision.In this way, can improve the production efficiency of producing line, save human resources, improve the efficiency of management of factory, offer convenience for the production planning of producing line.
The above only is preferred embodiments of the present utility model; not in order to limit the utility model; all any modifications of within spirit of the present utility model and principle, doing, be equal to and replace and improvement etc., all should be included within the protection domain of the present utility model.