The storage means of warning message and memory storage
Technical field
The present invention relates to semiconductor manufacturing equipment control technology field, particularly a kind of storage means of warning message and memory storage.
Background technology
The control system of home equipment generally adopts the control model of host computer+slave computer at present, wherein host computer is industrial computer, be responsible for controlling the operation of whole equipment, comprise process menu editor, the alarm of abnormality and the preservation of warning message etc. in the scheduling of each control section function and control and technique.Slave computer is PLC (programmable controller), and it is connected with equipment each several part components and parts, and collection site signal is sent to host computer and carries out the command request that host computer sends and control the action executing of each components and parts.
The storage of the warning message of equipment has at present coordinated by upper and lower computer.PLC, according to its scan period scan round, gathers and controls controlled device signal.In the gatherer process of the warning message of equipment, the information of alarm detection element is read and processed PLC fixed cycle, when warning message produces, PLC triggers corresponding relay signal, to host computer, provide alarm, after warning message disappears, the PLC corresponding relay signal that resets, does not preserve warning message.Host computer reads and writes the IO channel information of PLC according to the work period of self equally; when host computer reads the given alarm relay state variation of PLC; host computer provides alarm; the content of display alarm information on the operation interface of host computer; facilitate staff know in time the generation of warning and process accordingly; protection equipment and personal safety are preserved warning message simultaneously, so that post analysis.
As a rule, the PLC scan period is 20ms, and the control cycle of host computer is 200ms.Due to the difference of upper and lower computer work period, when the time that warning message maintains is less than 200ms, although PLC can read warning message and make corresponding processing, to host computer, provide alarm simultaneously, but it can't be preserved warning message, and because the host computer work period not yet arrives, cannot obtain this warning message, user also just cannot learn that PLC internal cause is reported to the police and reason that the result of the respective handling of carrying out produces, cause investigating problem hard, and the loss of some warning messages.
Summary of the invention
Fundamental purpose of the present invention aims to provide a kind of warning message transmission system and transmission method that can prevent that warning message from losing.
For reaching above-mentioned purpose, the invention provides a kind of warning message transmission system, for carry out the transmission of semiconductor technology warning message between host computer and slave computer, described warning message transmission system comprises slave computer storage unit and host computer reading unit.Wherein, described slave computer storage unit comprises the acquisition module for regularly warning message being gathered; The first memory module being connected with described acquisition module, it comprises a storage space, the warning message gathering for storing described acquisition module; With the trigger module that described memory module is connected, it,, for when described storage space is filled with, sends trigger pip.Described host computer reading unit comprises: read module, and it is triggered by described trigger pip and reads at least one warning message in described storage space; And the second memory module being connected with described read module, the described warning message reading for storing described read module.
Preferably, described warning message comprises the alarm generation time.
Preferably, described read module reads in described storage space warning message described in the earliest at least one of alarm generation time.
Preferably, described warning message is stored in described storage space with particular order, described particular order is: alarm generation time described warning message is early stored in upper address bits/low address position of described storage space, and the described warning message in evening alarm generation time is stored in the low address position/upper address bits of described storage space.
Preferably, when described acquisition module collects new warning message, described the first memory module is all transmitted the described warning message in described storage space the address bit of paramount/low, and deposits this new warning message in lowest address position/highest address bit.
Preferably, in the warning message that comprises the current storage of described storage space in described trigger pip, the address bit of alarm generation time described warning message the earliest; Described read module reads the warning message of this address bit according to this trigger pip.
Preferably, when described acquisition module collects new warning message, described the first memory module deposits in described storage space this new warning message in address bit that the address bit of store alarms information not or alarm generation time warning message are the earliest stored.
Preferably, described storage space is nonvolatile storage, the internal memory that described the first memory module is described slave computer.
The present invention also provides a kind of alarm information transmission method based on above-mentioned warning message transmission system, and it comprises the following steps: step 101: regularly gather described warning message; Step 102: described warning message is stored in the storage space of described the first memory module; Step 103: judge that whether described storage space is filled with, and sends trigger pip when being filled with; And step 104: respond this trigger pip and read at least one warning message in described storage space and be stored in described the second memory module.
Preferably, described warning message comprises the alarm generation time.
Preferably, step 104 reads in described storage space warning message described in the earliest at least one of alarm generation time for this trigger pip of response.
Preferably, step 102 is for to be stored in described warning message in the storage space of described the first memory module with particular order, described particular order is: alarm generation time described warning message is early stored in upper address bits/low address position of described storage space, and the described warning message in evening alarm generation time is stored in the low address position/upper address bits of described storage space.
Preferably, step 102 comprises: when collecting new warning message, the described warning message not being read is all transmitted to the address bit of paramount/low in described storage space, and deposit this new warning message in lowest address position/highest address bit.
Preferably, in the warning message that comprises the current storage of described storage space in described trigger pip, the address bit of alarm generation time described warning message the earliest; Step 104 comprises the warning message that reads this address bit according to this trigger pip.
Preferably, step 102 comprises: when collecting new warning message, deposit in described storage space this new warning message in address bit that the address bit of store alarms information not or alarm generation time warning message are the earliest stored.
Preferably, described storage space is nonvolatile storage, the internal memory that described the first memory module is described slave computer.
The present invention is by arranging the storage space of store alarms information at slave computer, when storage space is filled with, sending trigger pip makes host computer carry out reading of warning message, avoided because of host computer read cycle and the slave computer warning message acquisition process cycle is inconsistent and slave computer is not preserved the warning message that warning message causes and lost, thereby guaranteed that the warning message of whole semiconductor technological system can more fully be recorded.
Accompanying drawing explanation
Fig. 1 is the calcspar of warning message transmission system of the present invention;
Fig. 2 is the schematic diagram of the storage space of warning message transmission system the first embodiment of the present invention;
Fig. 3 is the process flow diagram of alarm information transmission method the first embodiment of the present invention;
Fig. 4 is the schematic diagram of the storage space of warning message transmission system the second embodiment of the present invention;
Fig. 5 is the process flow diagram of alarm information transmission method the second embodiment of the present invention.
Embodiment
For making content of the present invention more clear understandable, below in conjunction with Figure of description, content of the present invention is described further.Certainly the present invention is not limited to this specific embodiment, and the known general replacement of those skilled in the art is also encompassed in protection scope of the present invention.
Fig. 1 is the calcspar of warning message transmission system of the present invention, and below with reference to Fig. 1, the present invention will be described.
Warning message transmission system of the present invention for carrying out the transmission of the warning message that semiconductor technology produces between host computer and slave computer, and this transmission system comprises slave computer storage unit 10 and host computer reading unit 20.Warning message can comprise warning title, ID, and specific descriptions information produces position, generation time etc.Slave computer storage unit 10 comprises acquisition module 11, the first memory modules 12 and trigger module 13.Wherein, acquisition module 11 is for gathering warning message termly; The first memory module 12 is connected with acquisition module 11, and it comprises a storage space 12a, the warning message that this storage space 12a gathers for storage of collected module 11; Trigger module 13 is connected with memory module 12, and when storage space 12a is filled with, trigger module 13 sends trigger pip to the upper machine-readable unit 20 of getting.Host computer reading unit 20 comprises read module 21 and the second memory module 22.Wherein, read module 21 receives trigger pip, by this trigger pip, is triggered and is read at least one warning message in storage space 12a; The second memory module 22 is connected with read module 21, the warning message reading for storing read module 21.Preferably, read module 21 will read alarm generation time warning message the earliest in storage space 12a after receiving trigger pip.In addition, the quantity of the warning message that read module 21 reads at every turn can be one or more, and the present invention is not limited.Compared to prior art, the present invention is first preserved warning message by the storage space in the first memory module of slave computer PLC, after storage space is filled with, send again trigger pip and carry out the transmission of warning message, can guarantee that thus host computer all can read and preserve the warning message that collected each time, effectively avoid the loss of warning message.In order to guarantee that the warning message that storage space is stored when the slave computer PLC abnormal power-down can not lose, storage space 12a is preferably nonvolatile storage, as hold during power off register district.In addition,, in order to realize the preservation to warning message under the prerequisite of operation that does not affect slave computer PLC, the first memory module is preferably the internal memory of slave computer PLC, therefore no longer needs additionally to increase storage card, also can not increase equipment cost.
Next in connection with specific embodiment, the present invention is further illustrated.
The 1st embodiment
Figure 2 shows that the schematic diagram of the present embodiment warning message transmission system storage space 12a, Figure 3 shows that the process flow diagram of the present embodiment alarm information transmission method.
Please refer to Fig. 1 to Fig. 3, acquisition module 11 fixed cycle ground read the information of alarm detection element, and to gather warning message, once collect warning message, the first memory module 12 is deposited in storage space 12a.Read module 21 receives after trigger pip, reads alarm generation time warning message the earliest in storage space 12a.In the present embodiment, take read module 21, read 1 warning message describes as example at every turn.The first memory module 12 is deposited in storage space 12a according to the order of the alarm generation time of each warning message.Specifically, alarm generation time warning message is early stored in the upper address bits of storage space 12a, and the warning message in evening alarm generation time is stored in the low address position of storage space 12b, and vice versa.Please refer to Fig. 2, because acquisition time and the alarm generation time of acquisition module to warning message is basically identical, in Fig. 2, with acquisition time, represent the priority of alarm generation time.As shown in Figure 2, in storage space 12a, there is N address bit, the warning message that the warning message to the gathering for the 1st time gathers for N time is stored to low address position from upper address bits, when read module 21 receives trigger pip and will carry out reading of alarm generation time warning message the earliest, only need read the warning message of highest address bit in storage space thus.It should be noted that, the warning message that the warning message to the gathering for the 1st time in other embodiments gathers for N time can be also to store to upper address bits from low address position, and when read module reads multiple warning message at every turn, read the highest warning message of multiple address bits in storage space.
In this enforcement, being stored as of warning message starts storage from the low address position of storage space according to the order of alarm generation time, and the new warning message gathering is always stored in the address bit of lowest order.Therefore,, when acquisition module collects new warning message, in storage space 12a, the warning message of original storage is successively to its address bit transmission the storage of high one.As shown in Figure 2, after the warning message that the address bit of storage space is all gathered by N time takies, trigger module 13 sends trigger pip to host computer, and read module 21 will read the warning message gathering for the 1st time of storing in highest address bit, and is deposited in the second memory module of host computer.Afterwards, judge whether the operation of slave computer PLC finishes, if finish the end of transmission (EOT) of warning message; If operation does not also finish, proceed the transmission of warning message.In Fig. 2, acquisition module 11 collects warning message (warning message gathering for the N+1 time) again, the warning message of storing in storage space 12a is successively to its address bit transmission the storage of high one, and the warning message gathering for the N+1 time is deposited in minimum address bit.The warning message that so the 1st time in highest address bit gathers covers the warning message being gathered by the 2nd time, stores the warning message gathering for the 2nd time to the N+1 time in storage space 12a.Because storage space 12a now remains the state of being filled with, trigger module sends trigger pip to host computer, and delivery piece 21 will read the warning message gathering for the 2nd time of storing in highest address bit, and be deposited in the second memory module of host computer.
The 2nd embodiment
Figure 4 shows that the schematic diagram of the present embodiment warning message transmission system storage space 12a, Figure 5 shows that the process flow diagram of the present embodiment alarm information transmission method.
Acquisition module 11 fixed cycle ground read the information of alarm detection element, and to gather warning message, once collect warning message, the first memory module 12 is deposited in storage space 12a.Read module 21 receives after trigger pip, reads alarm generation time warning message the earliest in storage space 12a.In the present embodiment, take read module 21, read 1 warning message describes as example at every turn.Please refer to Fig. 1, Fig. 4 and Fig. 5, in the present embodiment, the first memory module 12 does not deposit warning message in storage space 12a in particular order, but preferentially deposits not the blank address bit of store alarms information or the address bit that alarm generation time warning message is the earliest stored in.After the warning message that the address bit of storage space is all gathered by N time takies, trigger module 13 sends trigger pip to host computer.Wherein, in this trigger pip, comprised in the warning message that storage space 12a is current stored the information of the address bit of alarm generation time warning message the earliest.Read module 21 receives after this trigger pip, will directly read the warning message of this address bit, the warning message that in Fig. 4, the 1st time gathers, and deposited in the second memory module of host computer.Afterwards, judge whether the operation of slave computer PLC finishes, if finish the end of transmission (EOT) of warning message; If operation does not also finish, proceed the transmission of warning message.In Fig. 4, acquisition module 11 collects warning message (warning message gathering for the N+1 time) again, due to alarm generation time of the warning message that in storage space now, the 1st time gathers the earliest, mean the possibility maximum that it has been read in All Alerts information, and be in fact really read, therefore the first memory module deposits the warning message of the N+1 time collection in the address bit of the warning message gathering for the 1st time, the warning message gathering for the 1st time is covered by the warning message of the N+1 time collection, so far in storage space 12a, store the warning message gathering for the 2nd time to the N+1 time.Because storage space 12a now remains the state of being filled with, trigger module 13 sends trigger pip to host computer, trigger pip now has comprised the address bit at the warning message place gathering for the 2nd time, read module 21 directly reads the warning message gathering for the 2nd time of storing in this address bit, and is deposited in the second memory module of host computer.
In sum, warning message transmission system of the present invention and transmission method, by the storage space of store alarms information is set in slave computer, when storage space is filled with, sending trigger pip makes host computer carry out reading of warning message, avoided because of host computer read cycle and slave computer warning message collection period is inconsistent and slave computer is not preserved the warning message that warning message causes and lost, thereby guaranteed that warning message can more fully be recorded.
Although the present invention discloses as above with preferred embodiment; so described many embodiment only give an example for convenience of explanation; not in order to limit the present invention; those skilled in the art can do some changes and retouching without departing from the spirit and scope of the present invention, and the protection domain that the present invention advocates should be as the criterion with described in claims.