A kind of and surface detecting system and calibrator system realize the method for communication
Technical field
The invention belongs to the cold rolled sheet technical field, particularly relate to method a kind of and surface detecting system and the realization communication of calibrator system.
Background technology
In cold rolled sheet is produced, surface detecting system and calibrator all are self contained instruments, oneself independently system is arranged, with the main line control system without any communication, if do not realize the communication with the main line control system, can't realize so the location of surveying record and actual coil of strip in surface detecting system and the calibrator system, the coupling of measured data and corresponding coil of strip, also can't realize simultaneously the uniformity that operates, measured data can't be uploaded the higher level and carry out data management and statistical analysis.
Summary of the invention
The object of the present invention is to provide method a kind of and surface detecting system and the realization communication of calibrator system, solved in the situation of machinery-free and the change of electric hardware the single function that in main line control system framework, realizes operation control, condition monitoring and the communication data transmission of effects on surface detection system and calibrator by 3 kinds of data modules of independent research.
In order to satisfy better production requirement, before band steel weld seam arrives surface detecting system and calibrator system, the main line control system (refers to production control system here, cold rolling automation control system) automatically weld seam signal, coil of strip master data and order data are transferred to surface detecting system and calibrator system, surface detecting system and calibrator system actual measurement detection data are passed in real time the main line control system back and are carried out data filing and distribution, and are complementary as the information of product volume with the final products volume.The data of passing in real time simultaneously the main line control system back are presented on the master control interface, operating personnel can be directly by main line control operation interface just can the effects on surface detection system and the calibrator system operate control, realized the uniformity of operation, the real-time of monitoring.
For realizing purpose of the present invention, the technical scheme below the present invention has adopted:
In the main line control system, implant actual strip tracking data acquisition module, data transmission module, monitoring and three kinds of modules of operational module.
1, the function of actual strip tracking data acquisition module, data transmission module, monitoring and three kinds of modules of operational module
Actual strip tracking data acquisition module is responsible for the signal data of on-the-spot each section actual acquisition is uploaded in the main line control system, realize the trace information with steel at collection surface detection system and calibrator system requirements the transmission of data position place, when the arrival of band steel taping head requires the position, from the signal data of actual acquisition, take out current steel reel number and the weld seam signal of taking the lead to arrive this position by this module.
Data transmission module is divided into two parts, a part is responsible for obtaining according to the steel reel number that actual strip tracking data acquisition module is obtained essential information and the sequence information of this volume, is transferred to surface detecting system and calibrator system after the essential information coupling of data transmission module with this position steel reel number and this volume; Another part realizes surface detecting system and the calibrator system by this module instrument is surveyed real data and signal condition returns to the monitoring that the main line control system is carried out measured data and meter status, and the filing management of measured data.
According to function data transmission module is divided into that forwarding mechanism is obtained, defined to master data, definition reception mechanism, receive data are stored four parts; Realize the data transmission module function according to four parts separate but that connect each other; Master data is obtained and is adopted self-defining coil of strip structure of arrays, steel reel number, essential information, sequence information are encapsulated as an extendible structure, if need new communication, then can directly increase in this structure, simple to operate, the fixing clock that triggers of forwarding mechanism definition, this clock can be adjusted according to actual needs at any time, regularly send data message to surface detecting system and calibrator system according to triggering clock, simple to operation, modularized design only needs to define input and output.The data storage realizes surveying return data and product volume coupling stores in the storage system.
Monitoring and operational module are responsible for meter status and measured data that surface detecting system and calibrator system feedback are returned are monitored and operated by the mode of man-machine interface, operating personnel can be by the main line control system monitoring interface instrument system is independently carried out control operation, comprise the automatic control mode of autonomous system and manual control model.Consider security row and the reasonability of equipment control, it is as follows that control need to be satisfied service condition:
1) produces the line specific part (position of producing line and install for surface detecting system and calibrator, calibrator is the planisher place) when being 30 m/mins creep speed, speed allows to drop into calibrator, and purpose is to realize the automatic input of equipment under the prerequisite that guarantees the calibrator device security;
2) the product line breaks down and causes the parking of stove district or the broken belt signal occurs, and calibrator equipment automatically shifts out and is positioned at the off-line position, prevents damage equipment.
2, the combination of actual strip tracking data acquisition module, data transmission module, monitoring and three kinds of modules of operational module and main line control system
The basic background of three kinds of data module realizations is based on the main line control system, actual strip tracking data acquisition module is based in the main line control system and realizes on the strip tracking communication function basis, utilize the positional information of its strip tracking, the band steel reel number of the product line specific location of surface detecting system and calibrator system requirements is obtained in realization.Data transmission module is neoteric module on the basis of the former environment of main line control system, realizes the sending and receiving of data.The measured data that data transmission module receives is implemented in demonstration and the operation control function of main line control system operation interface by monitoring and operational module.
Ethernet communication is adopted in communication of the present invention, give special instrument system by 4 kinds of data modules with weld seam signal, coil of strip master data and order requirements transfer of data, and receive actual measurement that special instrument system returns and detect data and carry out data filing and distribution, and mate with final products.Receive in real time simultaneously status information and the operating control signal of special instrument, realized the unification of master control interface monitoring and operation, operating personnel can directly just can operate control to new special instrument by former main line operation interface, have realized the uniformity of operation, the real-time of monitoring.
Ethernet communication and DP Netcom news are adopted in communication, former main line system is transferred to special instrument system with weld seam signal, coil of strip master data automatically before weld seam arrives special instrument, special instrument system actual measurement detection data are passed in real time the main line system back and are carried out data filing and distribution, and are complementary as the information of product volume with the final products volume.The data of passing in real time simultaneously the main line system back are presented on the master control interface, the control operation signal of special instrument system also turns back in the main line control system, operating personnel can directly just can operate control to new special instrument by former main line operation interface, realized the uniformity of operation, the real-time of monitoring.
Description of drawings
Fig. 1 is relation and the functional diagram between each data module.
Fig. 2 is monitoring and operational module realization transfer of data and interface function.
The specific embodiment
Fig. 1~Fig. 2 is a kind of specific embodiment of the present invention, realizes the data interaction of main line control system and surface detecting system and calibrator system with the method described in the present invention.
Mutual by the communication that 3 kinds of data modules are carried out data, the relation between each module as shown in Figure 1, the specific embodiment is as follows:
1, actual strip tracking data acquisition module
Basic automation systems are carried out the collection of on-the-spot actual tracking data, and actual strip tracking data acquisition module realizes obtaining the steel reel number of transmission location from tracking data, and collection period is 200 milliseconds (this collection period can be adjusted according to actual needs),
Acid is rolled surface detecting system and is installed in 2 meters behind the pickling end trimming shears, therefore determining to send to surface detecting system steel reel number transmission position is the end trimming shears place, steel reel number with end trimming shears place tracing positional on the MRP of main line control system module basis is increased in the tracking data acquisition module, realize the collection of end trimming shears place steel reel number, end trimming shears place steel reel number of collection in per 200 seconds.
2, data transmission module
The steel reel number that the data transmission module defined function will obtain from actual strip tracking data acquisition module and the essential information of corresponding coil of strip and sequence information are taken out surface detecting system and the calibrator system of being transferred to, and surface detecting system and calibrator system receive mates measured data after steel reel number and the coil of strip information and measured data and status data are returned to the main line control system by data transmission module with corresponding coil of strip.
Data transmission module definition agent process Sii, be responsible for sending steel reel number and coil of strip essential information to surface detecting system, sequence information, consider the detection of network link, to send steel reel number text is that every 10s sends once by the transmission cycle, not only realized the transmission of reel number and essential information but also played whether normally effect of heartbeat text Sampling network communication, definition takeOverMeasValues function in the Sii agent process, comprise the sndMatInfo function, the sndMatInfo function is used for coil of strip essential information corresponding to per steel reel number that sends an end trimming shears place 10 seconds and this steel reel number and sequence information to surface detecting system.
Realize the communication of actual strip tracking data acquisition module and data transmission module by the adh_adp_proxy process, implementation method is the takeOverMeasValue function that increases in adh_adp_proxy environment configurations file in the Sii agent process, send reel number to sii, concrete configuration is as follows:
Wherein the takeOverMeasValues function is exactly the takeOverMeasValues function that defines in the Sii agent process.Carried out simultaneously the daily record output of significant data, data and communication state that can easy-to-look-up transmission.
For realizing that communication failure recovers, the sii agent process is increased in the watchdog automatic monitoring, realize occurring this process that resets automatically when network interrupts, what the realization communication connected rebulids.
3, monitoring and operational module
Data transmission module is transferred to monitoring and operational module with measured data and status data, monitoring and operational module are converted into the variable-definition that shows for operation interface with measured data and status signal, and being presented at monitoring and the operation that realizes operation interface on the main line control system operation interface, the function of operation interface comprises the demonstration of measured data, automatically control, manual control, warning function.The operation control instruction of carrying out from main line control system interface simultaneously is converted into control signal by monitoring and operational module and is transferred to data transmission module, be given to the operation control that surface detecting system and calibrator system carry out local device by data transmission module, the transfer of data of monitoring and operational module and interface function are as shown in Figure 2.
Take calibrator as example, status signal and the control signal of the calibrator that feeds back by data transmission module enter the main line control system PLC, the tag variable that can identify by the upper picture of transforming into of variable, utilize the monitoring interface HMI of main line control system, status signal and control signal are connected to the monitoring of the upper realization of monitoring interface HMI effects on surface detection system state and the control of operation, interface function comprises automatic control and manually control, spot measurement, scanning measurement, online, off-line, calibrating function, below are shown as the order desired value, bound and calibrator feedback measured value mean value and maximin.