CN111158324B - Tunnel electromechanical equipment automation function library and use method thereof - Google Patents

Tunnel electromechanical equipment automation function library and use method thereof Download PDF

Info

Publication number
CN111158324B
CN111158324B CN201911409034.5A CN201911409034A CN111158324B CN 111158324 B CN111158324 B CN 111158324B CN 201911409034 A CN201911409034 A CN 201911409034A CN 111158324 B CN111158324 B CN 111158324B
Authority
CN
China
Prior art keywords
control
function
function block
fan
signal
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
CN201911409034.5A
Other languages
Chinese (zh)
Other versions
CN111158324A (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.)
Qingdao Guoxin City Information Technology Co ltd
Original Assignee
Qingdao Guoxin City Information 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 Qingdao Guoxin City Information Technology Co ltd filed Critical Qingdao Guoxin City Information Technology Co ltd
Priority to CN201911409034.5A priority Critical patent/CN111158324B/en
Publication of CN111158324A publication Critical patent/CN111158324A/en
Application granted granted Critical
Publication of CN111158324B publication Critical patent/CN111158324B/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/4184Total 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 fault tolerance, reliability of production system
    • 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
    • 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/41835Total 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 programme execution
    • 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/41845Total 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 system universality, reconfigurability, modularity
    • 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/4189Total 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 the transport system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/14Protecting executable software against software analysis or reverse engineering, e.g. by obfuscation
    • 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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Quality & Reliability (AREA)
  • Manufacturing & Machinery (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses an automatic function library for tunnel electromechanical equipment, which consists of a plurality of function blocks, wherein the function blocks comprise a lane indicator function block, a fireproof rolling door function block, a fan function block, an analog quantity function block and an illumination function block, all the function blocks are relatively independent during operation, and a unified and standard automatic function library for stabilizing control equipment is manufactured according to the control logic of the tunnel electromechanical equipment. The functional blocks are packaged, the functional modules of the functional library can be called, the internal logic is encrypted, the modular design concept is adopted, specific functional blocks can be called to carry out custom configuration design according to the associated equipment of the PLC, the requirement on the programming capability of managers is lowered, the method has stronger intuition, the fault tracing is facilitated, and the reliability of safe operation of the tunnel equipment is improved.

Description

Tunnel electromechanical equipment automation function library and use method thereof
Technical Field
The invention belongs to the technical field of tunnel electromechanical equipment, and particularly relates to an automatic function library of tunnel electromechanical equipment.
Background
The existing tunnel electromechanical equipment does not have a unified and standard automatic function library. When the automatic control system of the electromechanical equipment is built, the development period is long and the maintenance cost is high. The conventional electromechanical control information acquisition of the tunnel mostly adopts the idea of coding to code programs, and the simple logic is too complex, so that the system is unstable. The project establishes a universal function library, the logic control of the similar equipment can directly call the function library for reference, the modular management and control of the tunnel electromechanical equipment can be realized, and the period of system development is shortened.
The tunnel electromechanical device management integrated structure is in a mode of field device + PLC + central control computer, remote device monitoring is achieved, and tunnel traffic safety is guaranteed. With the continuous development of the technology, the management of the device tends to be intelligent, and the central control computer is used as the core of the tunnel electromechanical device management system and needs to have extremely high stability, but according to the actual conditions of different tunnels, some sudden problems can be inevitably met, so that some potential risks are brought to the safety of the tunnel.
The prior art scheme is as follows: the conventional tunnel electromechanical equipment collects information and mainly adopts the idea of coding to code programs, the simple logic is too complex, the system is unstable, and the conventional tunnel electromechanical equipment has no uniform specification.
Disclosure of Invention
In order to eliminate the potential danger of the central control computer as a management center, the PLC and the central control computer are arranged at the same position, and when the central control computer breaks down, the PLC can have the logic processing capacity of independently controlling field equipment, so that an automatic function library for tunnel electromechanical equipment is researched.
The technical scheme adopted by the invention is as follows: the utility model provides a tunnel electromechanical device is with automatic function storehouse, automatic function storehouse comprises a plurality of function blocks, the function block includes lane indicator function block, fire prevention rolling slats door function block, fan function block, analog quantity function block and illumination function block, automatic function storehouse is put in the memory of controller, the controller is the combination of hardware and procedure with the function storehouse, and through the logic control of function block and procedure, each module is issued to controller execution logic instruction, and each function block is relatively independent when moving.
Furthermore, a group D pin, a group S pin, a group C pin, a group H pin, a group PLC pin and a group FN pin are arranged outside the function block, wherein the group D pin is associated with the field control module, the group S pin is associated with the storage display module in the program, the group C pin is associated with the output module in the program, the group H pin and the group PLC pin are associated with the input module in the program, and the group FN pin is associated with the internal processing module in the program.
Further, the lane indication function block controls or remotely controls the traffic state of the lane according to signals sent by the upper computer or other function blocks;
the function library of the fire-proof rolling door controls the running stop of the rolling door and processes state information according to signals sent by the upper computer or other function blocks;
the fan function library controls or remotely controls the running and processing state information of the fan according to signals sent by the upper computer or other functional blocks;
the analog quantity function library reads field analog quantity data according to a signal sent by an upper computer and sends an alarm signal;
and the illumination control library controls or remotely controls the illumination of the light in the tunnel according to signals of the upper computer or other control blocks.
Further, the fan comprises a mixed flow fan, a jet flow fan, an axial flow fan and a booster fan.
Further, the traffic state of the lane is one of off, traffic, turn, green light, yellow light and red light.
Further, the alarm signals include a high alarm signal, a low alarm signal, and a low alarm signal.
The invention also relates to a using method of the automatic function library of the tunnel electromechanical equipment.
Further, the tunnel electromechanical device automation function block is added to a program and is associated with an input pin and an output pin.
Further, the input pins are pins of an H group, a PLC group, an FN group and a D group, and the output pins are pins of a C group and an S group.
Further, the function blocks are all provided with signature functions.
Compared with the prior art, the invention has the following advantages and beneficial effects:
(1) condensing an automated library of functions with proprietary intellectual property rights
And manufacturing a unified and standard automatic function library for stabilizing the control equipment according to the control logic of the tunnel electromechanical equipment. The function library is packaged, sub-modules of the function library can be called, internal logic is encrypted, and independent intellectual property rights are effectively protected.
(2) By adopting the modular design concept, according to the associated equipment of the PLC, a specific function library can be called to carry out user-defined configuration design, the requirement on the programming capability of management personnel is lowered, the intuition is strong, the fault tracing is facilitated, and the reliability of the safe operation of the tunnel equipment is improved.
(3) The PLC controller can call any function block in the automatic function library to realize the acquisition, uploading and control of the data of the corresponding equipment on site.
(4) The monitoring operator only needs to consider the execution of the traffic control scheme and does not need to consider the logic control of the automatic electromechanical equipment.
(5) The data collected by the function blocks called by the PLC are uploaded to the OPC server in a structural body mode, so that the combination with the monitoring platform is realized, the structured data provides more visual, more accurate and more humanized information display, the system development period is short, and the function library has maintainability.
Through the improvement of above five aspects, the automatic function storehouse of tunnel electromechanical device carries out the degree of depth analysis to the operation logic of electromechanical device in the tunnel, develops according to the analysis result, and tunnel electromechanical device adopts the modularization management based on the modularized design theory, supports the leading-in function of exporting of configuration, repeatedly usable, very big improvement work efficiency, reduction production human cost, reduction development cycle. The modularized functional design brings great convenience for the transformation of the tunnel electromechanical equipment system.
Drawings
FIG. 1 is a flow chart of the program control of the functional blocks of the present invention;
FIG. 2 is a program logic diagram of the lane indicator function block of the present invention;
FIG. 3 is a logic diagram of the process of the functional blocks of the fire protection rolling door according to the present invention;
FIG. 4 is a program logic diagram of a mixed flow fan functional block according to the present invention;
FIG. 5 is a program logic diagram of the jet fan function block of the present invention;
FIG. 6 is a program logic diagram of an axial fan function block according to the present invention;
FIG. 7 is a program logic diagram of a booster fan function block according to the present invention;
FIG. 8 is a program logic diagram of an analog function block according to the present invention;
FIG. 9 is a program logic diagram of the illumination function block according to the present invention;
FIG. 10 is a schematic diagram of an interface for adding a function block to a page space according to the present invention;
FIG. 11 is a schematic diagram of an interface associated with input and output pins in accordance with the present invention;
FIG. 12 is a schematic diagram of an interface for connecting an input/output pin to an input/output physical variable according to the present invention;
FIG. 13 is a schematic illustration of a programming interface for viewing help documents in accordance with the present invention;
FIG. 14 is a diagram of a signature function interface of the function library of the present invention.
Detailed Description
The present invention is further described with reference to the following examples, which are not intended to limit the scope of the present invention.
According to different functions of the tunnel electromechanical equipment, internal control logic is manufactured, the functional blocks are packaged after the test is successful, and the tunnel automation functional library comprises the following eight functional blocks: the device comprises a jet fan function block, an axial flow fan function block, a mixed flow fan function block, a booster fan function block, a lane indicator function block, a fireproof rolling door function block, an illumination function block and an analog quantity function block. Each functional block is independently operated, and each functional block encapsulates the complete logic and content for controlling the device. Through field judgment, a logic program of the controller sends instructions, and each functional block executes each task according to needs. When linkage (such as fan control) is required on site, the program issues an instruction, and all related functional blocks work cooperatively to complete a task. Because electromechanical devices in the tunnel are various in types and large in quantity, the tunnel monitoring system is controlled by a function library, is convenient and accurate, is easy to operate and maintain, facilitates troubleshooting of equipment faults, greatly improves the efficiency of equipment operation and maintenance personnel, and improves the reliability and stability of the equipment monitoring system. The controller and the function library cooperate as part of hardware and a program. The function blocks are stored in the memory of the controller, and the controller executes logic instructions and sends the logic instructions to each module through the logic control of the function library and the program, so that the stable operation of the tunnel comprehensive monitoring system is completed together.
The function blocks are similar to class libraries in computer languages, can be instantiated repeatedly, are very suitable for a plurality of devices with basically the same functions in practical application, and can greatly improve the working efficiency of programmers; for example, 100 pumps exist on the site, and the same logic can be written once by using the function blocks to be applicable to all the pumps, so that 100 function blocks can be instantiated.
The pin and pin functions are briefly described as follows:
first, the name beginning with letter D indicates the signal input originating from the field;
secondly, the pin is represented by the name of the beginning of the character S for the display of an upper computer;
thirdly, the name beginning with the letter C indicates that the pin is connected to the field device;
the name beginning with the letter H indicates that the control signal comes from the instruction issue of an upper computer (including SE);
using the name of the beginning of the letter PLC to indicate that the pin comes from the control of other function blocks of the PLC;
sixthly, the variable belongs to the internal use variable of the PLC program by the beginning name of the letter FN;
the functional blocks will be described in detail with reference to the embodiments.
Example 1 Lane indicator function Block
The lane indicator function block is named LaneLED and mainly controls the display state of a vehicle indicator in a tunnel, a D group pin, an S group pin, a C group pin, an H group pin, a PLC group pin and an FN group pin are arranged outside the function block, an internal program of the function block comprises an input module 110, an internal processing module 120, an output module 130, a storage display module 140 and a field control module 150, the input module receives a program instruction and transmits a signal to the internal processing module 120, the internal processing module 120 compares the internal program instruction and transmits the signal to the output module 130, the internal processing module 120 can collect and store the signal in the field control module 150 in the storage display module 140, and the specific control flow is as shown in FIG. 1.
The H group of pins and the PLC group of pins are associated with an input module 110 in a program, H _ Control is controlled by a lane indicator and is originated from an upper computer, and an input variable is an SINT type; when the value changes, a rising edge signal is sent to control the lane indicator; the upper computer software directly sends a command to the pin through a Control button to realize remote Control, the H _ Control can receive a BOOL variable signal, the BOOL variable is controlled by H _ EN _ MulControl, the H _ EN _ MulControl enables complete manual assignment to H _ Control PLC Control, the enable is function enable, when the signal is 1, the result of the complete manual configuration is sent to the H _ Control for display, the signal is from the pin of the upper computer and also comprises the H _ MulControl which is mainly used for assigning the PLC Control of the current automobile pointer state, when the signal is 1, the state of the current automobile pointer is transmitted to a register S _ SignalFeedback, the S _ SignalFeedback is used for storing the complete manual preview and configuration result, the variable type is DINT, and the configuration result of the complete manual interface is stored in the register.
The PLC _ Control is that the Control source of the lane indicator comes from other Control blocks, and the input variable type is SINT; when the value changes, a rising edge signal is sent to control the lane indicator; other functional blocks send commands directly to this pin to implement remote control.
The LaneLED system performs the next operation according to the instruction, and is closed when the instruction is 0, and passes (positive green and negative red) when the instruction is greater than 0 and the value is 1; when the value is 2, the vehicle is running in the reverse direction (reverse green and positive red); when the value is 3, the passage is forbidden (positive and negative red); when the value is 4, steering is performed; when the value is 5, the lamp is green; at this value of 6, yellow light; when the value is 7, the lamp is red; when this value is 0, it is turned off.
The FN group pins are associated with an internal processing module 120 in the program, which includes FN _ plan id, FN _ Light _ Count, FN _ Time _ Rst, and FN _ Light _ Time _ inverse. Wherein, Fn _ PlanID is that the vehicle instruction control signal is originated from a plan control source. The signal represents the input of a plan channel number, when the plan function controls the function block, Fn _ PlanID is assigned to S _ PlanID and is sent to an upper computer for display, and the S _ PlanID has the functions of: the channel number of the plan is displayed to an upper computer, and the output variable type is SINT; showing which of the preplan channel numbers the control of this block originates from.
The group C pins are associated with an output module 130 in a program, the output module 130 transmits an output signal to a field control module 150, the field control module 150 is associated with the group D pins, the field control module 150 mainly controls field devices, and displays of the field devices are controlled by the group C pins.
The group C pins include a group C _ Pass _ Pos, and Pass (front) control is performed to the field devices. At this value of 1, the indicator front is illuminated with a green arrow. C _ nonentry _ Pos, close (front side) control to field device; at this value of 1, the indicator is bright red on the front. C _ Pass _ Opp, Pass (reverse) control to field device; at a value of 1, the indicator is illuminated green on the reverse side. C _ nonentry _ Opp, turn off (reverse) control to field device; at a value of 1, the indicator is bright red on the reverse side. C _ Turn, steering to the field device; at this value of 1, the indicator lights the turn arrow. C _ Green, Green to field device; when this value is 1, the green lamp is on. C _ Yellow, Yellow to field device; when this value is 1, the yellow lamp is on. C _ Red, Red to field device; when this value is 1, the red light is on.
The D group of pins are associated with the field control module 150, the output variable of the D group of pins is boost, and a boost value of 1 indicates that the lamp is on. It includes D _ Pass _ Pos, with traffic (front) originating from the live DI point. D _ nonentry _ Pos, shutdown (front) originated from the live DI point. D _ Pass _ Opp, traffic (reverse) originates from the live DI point. D _ nonentry _ Opp, shutdown (reverse) originated from the live DI point. D Turn, steering from the onsite DI point. D Green, Green light on from the site DI point D Yellow, Yellow light on from the site DI point. D Red, Red lamp turn on originates from the field DI point.
The S groups of pins are associated with the storage display module 140 in the program, the S groups of pins mainly include S _ TimeAcc, S _ TimeAccEveryDay, and S _ PlanID, the S _ TimeAcc accumulates running time and displays the running time on the upper computer, and the type of the output variable is DINT; the pin shows accumulated running time in minutes, the maximum accumulated value is 2147483647 minutes, and when any variable of the pins C _ Pass _ Pos, C _ NoEntry _ Pos, C _ Pass _ Opp, C _ NoEntry _ Opp, C _ Turn, C _ Green, C _ Yellow and C _ Red of the functional block is equal to 1, the accumulated running time is started; when the pin Fn _ Time _ Rst of this function block is set to 1, the S _ TimeAccEveryDay value is cleared. The accumulated running time of the S _ TimeAccEveryDay is accumulated to be displayed by an upper computer according to days, and the output variable type is DINT; the pin displays the accumulated running time in minutes, the maximum accumulated value is 2147483647 minutes, and when the function block is originated from a field device lighting signal of 1, the accumulated running time is started; when the pin Fn _ Time _ Rst of this function block is set to 1, the S _ TimeAccEveryDay value is cleared, and the control flow chart of the lane indicator function block is shown in fig. 1.
The function chart of each pin of the vehicle finger control signal is as follows:
Figure RE-GDA0002437058400000061
Figure RE-GDA0002437058400000071
Figure RE-GDA0002437058400000081
the invention also provides a use method of the automatic function library of the tunnel electromechanical equipment
(1) Adding the automatic function block of the tunnel electromechanical device into a program, wherein the specific method comprises the following steps:
dragging the function block into the program by using a mouse, specifically pressing a left button of the mouse to directly drag the function block to a blank position of a page as shown in FIG. 10, associating an upper input pin and an upper output pin, wherein the left side is an input pin, the right side is an output pin, in the drawing, "LS 1_ 01" represents an actual device name as shown in FIG. 11, connecting an input physical variable to the input pin by using an InputReference instruction, and connecting the output pin to an output physical variable by using an OutputWireluctor instruction as shown in FIG. 12; if there is a need to view the help document, the F1 key can be pressed directly, as shown in FIG. 13.
The function blocks are also provided with a signature function, each function block has a unique signature, the signature consists of a serial number and a time stamp, and if any program is modified, the serial number and the time stamp of the signature will be changed; it is possible to prevent field maintenance personnel from modifying the program name as shown in fig. 14.
Embodiment 2, fireproof rolling shutter door function block
The difference from the embodiment 1 is that the name of the function block is called as Shutter, and the function block is mainly used for controlling the running stop of the vehicle-mounted rolling door and processing the state information. Wherein, the H _ Control vehicle-mounted rolling shutter door Control is originated from an upper computer; when the value changes, a rising edge signal is sent to control the rising of the rolling door to stop the descending action; when the value is 0, the roller shutter door stops; when the value is 1, the rolling door rises; when the value is 2, the rolling door descends; the upper computer software directly sends a command to the pin through the control button to realize the purpose of remotely controlling the roller shutter door; the PLC _ Control vehicle roller shutter door Control system is derived from other Control blocks, and when the value is changed, a rising edge signal is sent to Control the rising of the roller shutter door to stop the falling motion; when the value is 0, the roller shutter door stops; when the value is 1, the rolling door rises; when the value is 2, the rolling door descends; other functional blocks directly send commands to the pin through the control button to achieve the purpose of remotely controlling the roller shutter door.
D _ open in the group D pins is a field DI point derived when the D _ open is raised to the position, and BOOL input variables are input; when the signal is 1, the rolling door is lifted to the position; d _ Closed is a down-to-point, in-field DI point, BOOL input variable; the signal fed back on site indicates that the roller shutter door descends to the place when the signal is 1; d _ Fault is a Fault source field DI point, BOOL input variable; and (3) when the signal fed back on site is 1, the failure of the roller shutter door is indicated, all control signals are ignored, and the failure needs to be eliminated.
In the S groups of pins, S _ open is displayed on an upper computer when the S _ open is in the ascending position, and BOOL inputs variables; a signal fed back on site is sent to an upper computer for displaying, and when the signal is 1, the rolling door is shown to be lifted in place; s _ Closed is lowered to the position to be displayed on an upper computer, and BOOL (boil off alcohol) inputs variables; the signal fed back on site is sent to an upper computer for displaying, and when the signal is 1, the rolling door is shown to descend in place; s _ Opening is rising to the upper computer for displaying, and BOOL inputs variables; when the C _ Opening output by the function block is 1, the rolling door is indicated to be lifted; s _ cloning is descending to the upper computer to display, and BOOL inputs variables; when the C _ Closing output by the function block is 1 descending control signal, the signal is 1, the rolling door is descending; s _ SHUTTER _ STOP STOPs displaying to the upper computer, and BOOL outputs variables; when the S _ SHUTTER _ STOP output by the function block is 1, the STOP control signal indicates that the roller SHUTTER door STOPs; displaying the S _ Fault Fault to an upper computer, and inputting variables by BOOL; the signal fed back on site is sent to an upper computer for displaying, and when the signal is 1, the failure of the roller shutter door is indicated; s _ Fault _ Code Fault codes are displayed to the upper computer in a text mode, and variables are output by the SINT; the pin displays the fault code of the functional block; and the serial number of the S _ ID equipment displays the unique identification code of the functional block in the system and sends the unique identification code to an upper computer for display.
In the group C pins, C _ open is raised to a field device, and BOOL outputs variables; and sending an operation electric signal to the roller shutter door control cabinet. A falling edge trigger action; c _ Closing falls to the field device, BOOL outputs a variable; and sending an operation electric signal to the roller shutter door control cabinet. A falling edge trigger action; c _ Stopping to the field device, and BOOL outputting variables; and sending an operation electric signal to the roller shutter door control cabinet. The falling edge triggers an action.
Besides, the function block of the fire-proof rolling door also relates to the prerequisite condition of the action of the pin EN _ Run rolling door, and the rolling door can only execute the action when EN _ Run is 1, and the control flow chart of the function block of the fire-proof rolling door is shown in fig. 2.
The function chart of each pin of the fire-proof rolling door is as follows:
Figure RE-GDA0002437058400000091
Figure RE-GDA0002437058400000101
embodiment 3 Fan function Block
The difference from the embodiment 1 is that the functional block is a fan functional block, the operation and processing state information of the fan is controlled or remotely controlled mainly according to signals sent by an upper computer or other functional blocks, and the fan is divided into a mixed flow fan, a jet flow fan, an axial flow fan and a booster fan. The name of the mixed flow fan functional block is MixFan in the mixed flow fan functional block, the H _ Control is the mixed flow fan Control, the H _ Control is from an upper computer, and the type SINT of the variable is input; when the value is changed, a rising edge signal is sent to control the start and stop of the fan; when the value is 0, the fan is stopped; when the value is 1, the fan operates; the upper computer software directly sends a command to the pin through the control button to achieve the purpose of remotely controlling the starting and stopping of the fan. The PLC _ Control is that the Control source of the mixed flow fan is from other Control blocks, and the type of the input variable is SINT; when the value is changed, a rising edge signal is sent to control the start and stop of the fan; when the value is 0, the fan is stopped; when the value is 1, the fan operates; other functional blocks directly send commands to the pin through the control button to achieve the purpose of remotely controlling the starting and stopping of the fan.
The functional block also involves group E pins, where pin EN _ Start is a fan enable, BOOL input variable; the running signal can be executed only if this value is 0; if the fan is running, the value is changed from 0 to 1, and the fan is immediately stopped; if the value is 1, ignoring all control signals; EN _ Run is the enabling of the group control function of the fan, and BOOL input variables; the running signal can be executed only if this value is 1.
Fn _ PlanID in the associated pin of the internal processing module 120 is the source of the fan control signal from the protocol control source. The signal indicates the input of a plan number, and when the plan function controls the function block, the Fn _ PlanID is assigned to the S _ PlanID and is sent to the upper computer for display.
D _ Remote _ Local in the group D pins is a field DI point from which Remote/Local control is originated, and BOOL input variables; when the signal fed back by the field button is equal to 1, the starting and stopping of the fan is controlled by the fan functional block, and when the signal is equal to 0, the fan is controlled by the field button, but the functional block can still monitor the running state of the fan; d _ Fault is a Fault source field DI point, BOOL input variable; when the signal fed back on site is 1, the fault of the mixed flow fan or the mixed flow fan soft starter is indicated, and the mixed flow fan stops running; d _ Stopped is a shutdown source from a field DI point, and BOOL input variable; the signal fed back on site indicates that the fan is stopped when the signal is 1; d _ Running is that the Running signal is originated from a field DI point and a BOOL input variable; the signal fed back on site indicates that the fan is running when the signal is 1; d _ Valve _ OpenDown is a BOOL input variable, wherein a Valve opening/closing signal is originated from a field DI point; when the signal fed back on site is 1, the fire valve of the mixed flow fan is opened, and the mixed flow fan can be started. When the signal is 0, the fire damper of the fan is closed, and the fan cannot be started.
S _ Remote _ Local in the S group of pins is remotely/locally controlled to be displayed by an upper computer, and BOOL outputs variables; a remote local icon in the mixed flow fan in the upper computer software is associated with the pin, and a remote/local control mode is displayed; the S _ Fault Fault is displayed on the upper computer, and BOOL outputs variables; a fault icon in the mixed flow fan in the upper computer software is associated with the pin, and whether the mixed flow fan has a fault or not is displayed; s _ Stopped: stopping the machine to display on an upper computer, and outputting variables by BOOL; a stop icon in the fan in the upper computer software is associated with the pin to display whether the fan stops or not; s _ CountAcc: the starting times of the fan are displayed on the upper computer, and a variable is output by a DINT (digital aided network); the pin outputs the accumulated running times of the mixed flow fan, when the fan is started, S _ CountAcc is S _ CountAcc +1, and the maximum accumulated value is 2147483647. When the function block pin Fn _ Count _ Rst is equal to 1, the S _ CountAcc value is cleared.
S _ TimeAcc, displaying the accumulated Running time of the fan to the upper computer, wherein the type of an output variable is DINT, the pin displays the accumulated Running time of the fan, the unit is minute, the maximum accumulated value is 2147483647 minutes, and when the pin D _ Running of the function block is 1, the accumulated Running time is started; when the pin Fn _ Time _ Rst of the function block is 1, the S _ TimeAcc value is cleared; s _ Fault _ Code: displaying the fault code to an upper computer in a text mode, wherein the output variable type is SINT; this pin displays the fault code of the functional block. Producing fault codes according to the program running condition; s _ PlanID: the number of the control channel of the plan is displayed to an upper computer, and the type of the output variable is SINT; displaying which plan channel number the control of this function block originates from; s _ Valve _ OpenDown, displaying a Valve opening/closing signal to an upper computer, and inputting variables by BOOL; when the value is 1, the air valve is opened, and when the value is 0, the air valve is closed.
C _ Stop in the group C pins is stopped to the field device, and BOOL outputs variables; the pin is associated with the output module and sends a stop signal to the fan control cabinet, and when the signal is 1, the stop signal is sent to the field equipment; c _ Run: running to a field device, and outputting a variable by BOOL; the pin is associated with the output module and sends an operation signal to the fan control cabinet, and when the signal is 1, the field device starts the device after waiting for the valve to be opened in place.
A pin Fn _ Time _ Rst of an internal use variable resets PLC control for accumulated running Time of the fan, and BOOL inputs the variable; when the pin Fn _ Time _ Rst of the function block is set to be 1, the S _ TimeAcc value is cleared; fn _ Count _ Rst: resetting PLC control for the starting times of the fan, and inputting variables by BOOL; when the pin Fn _ Count _ Rst of the functional block is set to be 1, clearing the value of S _ Run _ Count; fn _ ENPulse: enabling pulse control, BOOL inputting variables; the functional fast pin is used for controlling enabling pulse signals, when no pulse signal exists for 5s continuously and the running state of the fan is not changed, the fan stop signal and the starting signal are cleared simultaneously, and a control flow chart of the mixed flow fan functional block is shown in fig. 3.
The specific function chart of each pin of the mixed flow fan functional block is as follows:
Figure RE-GDA0002437058400000121
Figure RE-GDA0002437058400000131
Figure RE-GDA0002437058400000141
in the jet flow fan functional block, different from the mixed flow fan, the name of the jet flow fan functional block is JetFan, the H _ Control is controlled by the jet flow fan and is from an upper computer, and the type of an input variable is SINT; when the value is changed, a rising edge signal is sent to control the start and stop of the fan; when the value is 0, the fan is stopped; when the value is 1, the fan operates in the forward direction; when the value is 2, the fan runs reversely; the upper computer software directly sends a command to the pin through the control button to achieve the purpose of remotely controlling the starting and stopping of the fan. The PLC _ Control is jet flow fan Control, is derived from other Control blocks and inputs variables of SINT; when the value is changed, a rising edge signal is sent to control the start and stop of the fan; when the value is 0, the fan is stopped; when the value is 1, the fan operates in the forward direction; when the value is 2, the fan runs reversely; the upper computer software directly sends a command to the pin through the control button to achieve the purpose of remotely controlling the starting and stopping of the fan.
In the group D pins, D _ Motor _ PowerOn is a field DI point originated from the electrified Motor, and BOOL input variables; when the signal is 1, the motor of the jet fan is electrified; d _ Bypass is a Bypass source DI point, a BOOL input variable, and when the signal is 1, the Bypass is electrified; d _ Running _ Forward is a direct rotation signal source at a field DI point, and BOOL input variables; the signal fed back on site indicates that the jet fan is running in the forward direction when the signal is 1; d _ Running _ Reverse is a field DI point of a Reverse signal source, and BOOL input variables; and (3) feeding back a signal to the function block on site, wherein when the signal is 1, the signal indicates that the jet flow fan is running in the reverse direction.
S _ PowerOn in the S group of pins is used for displaying a motor on an upper computer after being electrified, and BOOL outputs variables; and a motor electrifying icon in the jet flow fan in the upper computer software is associated with the pin, and whether the jet flow fan is electrified or not is displayed. S _ Running _ Reverse is a Reverse signal which is displayed on an upper computer, and BOOL outputs variables; and a motor reversal icon in the jet flow fan in the upper computer software is associated with the pin, and whether the jet flow fan runs reversely or not is displayed. S _ Bypass is a Bypass to be displayed on an upper computer, and BOOL outputs variables; a bypass connection icon in the jet fan in the upper computer software is associated with the pin, and whether the jet fan is in a bypass state or not is displayed. S _ Running _ Forward is a Forward signal to be displayed on an upper computer, and BOOL outputs a variable; and a motor forward rotation icon in the jet flow fan in the upper computer software displays whether the jet flow fan is in a forward running state.
C _ Running _ Forward in the group C pins is Forward to a field device, and BOOL outputs variables; the pin is associated with an output module and sends a starting signal 1 to the jet fan control cabinet, and the fan performs forward rotation. C _ Running _ Reverse is a BOOL output variable which is inverted to a field device; this pin is associated with the output module and sends a reverse signal 1 to the fluidic fan control cabinet, which reverses the fan.
H _ Start _ TimeInvertal containing an H group of pins is used for setting the repeated starting time lag time of the fan, and a DINT input variable; after the fan is powered off, the fan still rotates for a period of time by means of inertia, in order to protect the fan, the fan can be started again after the power-off set value of the fan is realized through ladder diagram logic, all control signals received in the period are ignored, and a control flow chart of the jet fan functional block is shown in fig. 4.
The specific function chart of each pin of the jet fan functional block is as follows:
Figure RE-GDA0002437058400000151
Figure RE-GDA0002437058400000161
Figure RE-GDA0002437058400000171
in the axial flow fan functional block, different from the jet flow fan, the name of the axial flow fan functional block is AxialFan, and the H _ Control is controlled by the axial flow fan, is derived from an upper computer and inputs a variable type SINT; when the value is changed, a rising edge signal is sent to control the start and stop of the fan; when the value is 0, the air valve is closed after the fan stops; when the value is 1, the fan operates after the air valve is opened; the upper computer software directly sends a command to the pin through the control button to achieve the purpose of remotely controlling the starting and stopping of the fan. H _ Valve _ CloseDelay in the H group pins is set for the air Valve closing delay upper computer, and DINT inputs variables. The set value of the parameter is delay time, and after the fan sends a stop signal, the air valve can be closed only after waiting for the time set by the parameter. H _ StartTime _ Invertal sets the upper computer setting for the fan repeated start lag time. When the fan needs to be started circularly, the minimum time interval of the two starts is set.
The PLC _ Control is axial flow fan Control, is derived from other Control block Control and inputs variables of SINT; when the value is changed, a rising edge signal is sent to control the start and stop of the fan; when the value is 0, the air valve is closed after the fan stops; when the value is 1, the fan operates after the air valve is opened; the upper computer software directly sends a command to the pin through the control button to achieve the purpose of remotely controlling the starting and stopping of the fan. The pins controlled by the PLC further comprise a PLC _ UTemparature _ Alarm, the U-phase temperature Alarm is originated from an analog quantity functional block, and BOOL input variables. PLC _ VTemparature _ Alarm, the V-phase temperature Alarm is originated from the analog quantity function block, BOOL input variable. PLC _ WTemperatur _ Alarm, W phase temperature Alarm is from analog function block, BOOL input variable. PLC _ Drivetemperature _ Alarm, the driving temperature Alarm is from the analog function block, BOOL input variable. PLC _ NonDrivetemperature _ Alarm, non-driven temperature Alarm from analog function block, BOOL input variables. PLC _ Visration _ Alarm, Vibration Alarm is from analog function block, BOOL input variables.
D _ PowerOn in the group D pins is a field DI point from which the motor is electrified, and BOOL input variables; when the signal is 1, the motor of the axial flow fan is electrified. D _ Stemperature over-temperature comes from a field DI point, and BOOL inputs variables; and when the signal is 1, the overhigh shaft temperature of the axial flow fan is indicated. D _ ContactorState, the state of the contactor is from a field DI point, the contactor is attracted, and a field feedback signal is 1. D _ UTemperate, U phase temperature from field device. And reading the value of the temperature sensor to the PLC. D _ vtemperate, V phase temperature from field device. And reading the value of the temperature sensor to the PLC. D _ WTamperature, the W phase temperature originates from the field device. And reading the value of the temperature sensor to the PLC. D _ DriveTemperature, the drive temperature originating from the field device. And reading the value of the temperature sensor to the PLC. D _ NonDrivetemperature, the non-drive temperature is sourced from the field device. And reading the value of the temperature sensor to the PLC. D _ Vibration, Vibration originating from the field device. And reading the value of the vibration sensor to the PLC. D _ AirValve _ open, with the damper open to the point of origin at the site DI. When the air valve is completely opened to the right position and the value is 1, the fan is allowed to start. D _ air valve _ Closed, with the damper Closed in place from the field DI point. When the damper is fully closed in position, this value is 0. D _ air valve _ Remote _ Local, wind valve Remote/Local from field DI point, BOOL input variable; the signal that the on-spot button feedback was returned, when this value is 1, the start-stop of blast gate is controlled by host computer or fan function block, and when this value was 0, the blast gate is controlled by the button on-spot, but the running state of blast gate still can be monitored to the function block.
In the S group of pins, the overhigh shaft temperature is from an on-site DI point, and BOOL outputs variables; and when the signal is 1, the overhigh shaft temperature of the axial flow fan is indicated. S _ ContactorState, the state of the contactor is displayed to the upper computer. The contactor is closed, and the signal is 1 and is sent to the host computer to be displayed. And S _ UTemperate, and displaying the U-phase temperature to an upper computer. And sending the collected numerical value of the temperature sensor to an upper computer for display. And S _ VTemparature, and displaying the V-phase temperature to an upper computer. And sending the collected numerical value of the temperature sensor to an upper computer for display. And S _ WTamperature, wherein the W-phase temperature is displayed on an upper computer. And sending the collected numerical value of the temperature sensor to an upper computer for display. And S _ Drivetemperature, wherein the temperature is driven to be displayed by an upper computer. And sending the collected numerical value of the temperature sensor to an upper computer for display. And S _ NonDrivetemperature, wherein the non-driving temperature is displayed on the upper computer. And sending the collected numerical value of the temperature sensor to an upper computer for display. S _ Vibration, the Vibration originates from the field device. And reading the numerical value of the vibration sensor and sending the numerical value to an upper computer for displaying. And S _ AirValve _ open, wherein the air valve is Opened to the upper computer for displaying. When the air valve is completely opened to the right position, the value is 1, and the fan can be allowed to start at the moment. And S _ AirValve _ Closed, wherein the air valve is Closed in place to be displayed on the upper computer. When the damper is fully closed in position, this value is 0. S _ AirValve _ Remote _ Local, remotely/locally displaying to the upper computer, and inputting variables from BOOL; the signal that the on-spot button feedback was returned, when this value is 1, the start-stop of blast gate is controlled by host computer or fan function block, and when this value was 0, the blast gate is controlled by the button on-spot, but the running state of blast gate still can be monitored to the function block. And S _ AirValve _ Faultcode, and displaying an air valve fault code to the upper computer. And according to different faults of the air valve, different fault codes are produced and sent to an upper computer for display.
C _ AirValve _ Open in the group C pins is started to a field device, and BOOL outputs variables; this pin is associated with a physical IO, sending an activation signal 1 to the blast gate control cabinet. C _ AirValve _ Close, Close to field device, BOOL output variable; this pin is associated with a physical IO, sending a stop signal 1 to the damper control cabinet, a flow chart of the axial fan function block, as shown in fig. 5.
The specific function chart of each pin of the axial flow fan functional block is as follows:
Figure RE-GDA0002437058400000191
Figure RE-GDA0002437058400000201
Figure RE-GDA0002437058400000211
Figure RE-GDA0002437058400000221
Figure RE-GDA0002437058400000231
the name of the booster fan functional block is booster fan, and a control flow chart of the booster fan functional block is shown in fig. 6, wherein a specific function chart of each pin of the added fan functional block is as follows:
Figure RE-GDA0002437058400000232
Figure RE-GDA0002437058400000241
Figure RE-GDA0002437058400000251
example 4 analog function Block
The difference from the embodiment 1 is that the name of the functional block is Ain, which is mainly used for reading the field analog quantity data and sending out an alarm signal, specifically:
the D _ Analog _ Values are Analog input Values derived from field AI points. The high alarm set Values of H _ HAlarm _ Values and S _ HAlarm Values are from an upper computer. When D _ Analog _ Values > -H _ value, S _ value-1, an alarm signal is generated.
The high alarm set Values of the H _ HHAlarm _ Values and the S _ HHAlarm Values are derived from an upper computer. When D _ Analog _ Values > -H _ HHAlarm _ Values, S _ HHAlarm ═ 1, an alarm signal is generated. The H _ LAlarm _ Values and S _ LAlarm numerical value low alarm set Values are originated from an upper computer. And when the D _ Analog _ Values is less than or equal to the H _ LAlarm _ Values, S _ LAlarm is equal to 1, and an alarm signal is generated.
The low alarm set Values of the H _ LLAlarm _ Values and the S _ LLAlarm Values are originated from an upper computer. And when the D _ Analog _ Values is less than or equal to the H _ LLAlarm _ Values, S _ LLAlarm is equal to 1, and an alarm signal is generated.
And S _ Analog _ Values, and outputting the Analog quantity value to the upper computer for displaying. And sending the D _ Analog _ Values to an upper computer for displaying.
Fn _ SimValues analog quantity simulates PLC control. The value of the analog quantity is set to be a constant. Fn _ Sim _ Switch emulates the PLC control of the Switch. The value is 1 and the emulation function is turned on. Fn _ SimRange oscillation range, PLC control. When the simulation function is started, the numerical value is generated in the range of Fn _ SimRange to 0.9 (Fn _ SimValues +0.1) + Fn _ SimRange and is sent to the upper computer for display.
And F, the Fn _ MinDurationTime alarm time lags, and the PLC controls the alarm to output an alarm signal when the alarm is greater than the lag time.
Fn _ Deadband alarm dead zone, PLC control. The current value D _ Analog _ Values > ═ a, after the alarm is generated, the alarm is cancelled only when D _ Analog _ Values < a-Fn _ Deadband; and after the alarm is generated, the alarm is cancelled only when the D _ Analog _ Values > a + Fn _ Deadband.
The analog quantity function block generates four signals of high alarm, low alarm and low alarm through comparison, and after any one of the signals is triggered, the alarm signal is output after the Fn _ MinDurationTime time lasts. When a high alarm and a high alarm are generated, the alarm can be eliminated only when D _ Analog _ Values < S _ Halarm + Fn _ Deadband or D _ Analog _ Values < S _ HHarm + Fn _ Deadband; when a low alarm, is generated, the alarm can be eliminated only at D _ Analog _ Values > S _ Lalarm + Fn _ Deadband or D _ Analog _ Values > S _ LLalarm + Fn _ Deadband.
And when Fn _ Sim _ Switch is equal to 0, sending the D _ Analog _ Values to an upper computer for displaying.
When Fn _ Sim _ Switch is 1, data for generating Fn _ SimValues [ < S _ Analog _ Values [ < Fn _ SimValues + 0.9 [ (Fn _ SimRange +0.1) ] is sent to the upper computer for display.
The function chart of each pin in the analog quantity function block is as follows:
Figure RE-GDA0002437058400000261
Figure RE-GDA0002437058400000271
example 5 illumination function Block
Different from the embodiment 1, the name of the function block is Light, the lighting in the tunnel is mainly controlled, and the function chart of each pin of the lighting function block is as follows:
Figure RE-GDA0002437058400000272
Figure RE-GDA0002437058400000281
the above description is only an example of the present invention, and is not intended to limit the present invention in any way, and those skilled in the art can make many variations and modifications of the present invention without departing from the scope of the present invention by using the method disclosed above, and the present invention is covered by the claims.

Claims (7)

1. The utility model provides a tunnel electromechanical device is with automatic function storehouse which characterized in that: the automatic function library consists of a plurality of function blocks, wherein D group pins, S group pins, C group pins, H group pins, PLC group pins and FN group pins are arranged outside the function blocks, the D group pins are associated with a field control module, the S group pins are associated with a storage display module in a program, the C group pins are associated with an output module in the program, the H group pins and the PLC group pins are associated with an input module in the program, the FN group pins are associated with an internal processing module in the program, and the function blocks comprise a lane indicator function block, a fire-proof rolling door function block, a fan function block, an analog quantity function block and a lighting function block;
the Control signal of the lane indicator is derived from three signals, namely a signal H _ Control of an upper computer, an internal Control signal PLC _ Control of a field PLC controller and a signal Fn _ PlanID of a third-party system or a traffic plan, when the three signals enter a lane indicator function block, 3-to-1 priority judgment logic and equipment type judgment logic are started at the same time, which signal source of which equipment is an executable signal source is determined, then a program enters an executable signal source interpretation algorithm, the signals are interpreted into hardware circuit signals acceptable by hardware, and the equipment is further controlled;
the fire-fighting priority Control judgment method comprises the following steps that H _ Control of a fire-fighting roller door is manually and conventionally operated in a function block of the fire-fighting roller door, a PLC controller controls the PLC _ Control, and a fire-fighting plan controls three signals, after the three signals enter the function block, a fire-fighting priority Control judgment program is started, three execution actions of lifting, descending and stopping of the roller door are determined, after the signals are interpreted, the roller door on site is controlled through a group D of pins, and meanwhile, the state of the roller door is reflected through signals of a group S of pins to provide state signals for a fire-fighting system;
the master Control signal of the fan in the fan function block is derived from manual Control H _ Control, PLC _ Control for PLC controller internal Control and plan Control Fn _ PlanID, after the three signals enter the function block, a priority algorithm is started, the signals are explained, and how to Control the equipment is determined;
the Analog quantity function block introduces an electrical signal transmitted by instrument equipment in the tunnel into the Analog quantity function block through D _ Analog _ Values, performs algorithm processing on non-dimensional data, corrects the non-dimensional data by combining H _ HHAlarm _ Values and H _ LLAlarm _ Values, performs standardized processing on the data to obtain a numerical value with an engineering unit, further processes the numerical value, is used for displaying, storing a database and pre-planning a trigger signal, integrates the simulation function of Fn _ SIM, and is used for system debugging and simulating an instrument;
the lighting Control in the lighting function block comprises four signal sources of a manual signal H _ Control, an H _ Bright _ Control lighting grade Control, a PLC (programmable logic controller) internal Control and a lighting plan Control Fn _ PlanID (field lighting Control), and after the signals are judged by one-out-of-four Control, the signals are sent to a field lighting Control box in batches to be controlled, and meanwhile, a lighting electricity consumption metering function S _ TimeAcc is integrated to perform centralized analysis on energy consumption in a tunnel;
the automatic function library is placed in a memory of the controller, the controller and the function library are combined by hardware and a program, the controller executes logic instructions and sends the logic instructions to each module through logic control of the function blocks and the program, and each function block is relatively independent when in operation.
2. The automated function library of claim 1, wherein:
the lane indication function block controls or remotely controls the traffic state of a lane according to signals sent by the upper computer or other function blocks;
the function block of the fire-proof rolling door controls the running stop of the rolling door and processes state information according to signals sent by the upper computer or other function blocks;
the fan function block controls or remotely controls the running and processing state information of the fan according to signals sent by the upper computer or other function blocks;
the analog quantity function block reads field analog quantity data according to a signal sent by the upper computer and sends an alarm signal;
and the illumination control block controls or remotely controls the illumination of the light in the tunnel according to signals of the upper computer or other control blocks.
3. The automated function library of claim 2, wherein: the fan comprises a mixed flow fan, a jet flow fan, an axial flow fan and a booster fan.
4. The automated function library of claim 2, wherein: the traffic state of the lane is one of off, traffic, steering, green light, yellow light and red light.
5. The automated function library of claim 2, wherein: the alarm signals include a high alarm signal, a low alarm signal and a low alarm signal.
6. A method for using an automatic function library of tunnel electromechanical equipment is characterized in that: and adding the automatic function block of the tunnel electromechanical device into a program, and associating an input pin and an output pin, wherein the input pin is an H group pin, a PLC group pin, an FN group pin and a D group pin, and the output pin is a C group pin and an S group pin.
7. Use according to claim 6, characterized in that: the function blocks are all provided with the function of signature.
CN201911409034.5A 2019-12-31 2019-12-31 Tunnel electromechanical equipment automation function library and use method thereof Active CN111158324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911409034.5A CN111158324B (en) 2019-12-31 2019-12-31 Tunnel electromechanical equipment automation function library and use method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911409034.5A CN111158324B (en) 2019-12-31 2019-12-31 Tunnel electromechanical equipment automation function library and use method thereof

Publications (2)

Publication Number Publication Date
CN111158324A CN111158324A (en) 2020-05-15
CN111158324B true CN111158324B (en) 2021-10-22

Family

ID=70559944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911409034.5A Active CN111158324B (en) 2019-12-31 2019-12-31 Tunnel electromechanical equipment automation function library and use method thereof

Country Status (1)

Country Link
CN (1) CN111158324B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419439A (en) * 2002-04-15 2009-04-29 费舍-柔斯芒特系统股份有限公司 Custom function blocks for use with process control systems
CN202483626U (en) * 2012-03-06 2012-10-10 山西省电力公司电力科学研究院 Water-spraying fireproof roller blind device special for tunnel
CN105446200A (en) * 2015-12-31 2016-03-30 浙江中控软件技术有限公司 Automatic control method and device
CN207363708U (en) * 2017-10-11 2018-05-15 浙江瑞策信息技术有限公司 On professional tunnel ventilation, illumination, traffic zone band management function control machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9378359B2 (en) * 2011-10-11 2016-06-28 Citrix Systems, Inc. Gateway for controlling mobile device access to enterprise resources

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419439A (en) * 2002-04-15 2009-04-29 费舍-柔斯芒特系统股份有限公司 Custom function blocks for use with process control systems
CN202483626U (en) * 2012-03-06 2012-10-10 山西省电力公司电力科学研究院 Water-spraying fireproof roller blind device special for tunnel
CN105446200A (en) * 2015-12-31 2016-03-30 浙江中控软件技术有限公司 Automatic control method and device
CN207363708U (en) * 2017-10-11 2018-05-15 浙江瑞策信息技术有限公司 On professional tunnel ventilation, illumination, traffic zone band management function control machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
抽水蓄能机组非电气量保护控制逻辑优化;杨洪涛;《水电站机电技术》;20170430;第40卷(第4期);第32-35、38页 *
氢气压缩机组改造运行小结;沐文存;《中国氯碱》;20171231;第23-24页 *

Also Published As

Publication number Publication date
CN111158324A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN109483601B (en) Industrial robot function test system and test method
CN107490982A (en) The emulation debugging method of automatic production line based on virtual emulation debugging machine
CN104898546B (en) A kind of PLC on-line debugging system and method based on SOC
CN201244813Y (en) Robot control system for precision forging
CN201606100U (en) Ventilation variable-frequency control system used in express-highway tunnel
CN102914998B (en) The axle digital control system in open type of built-in small four
CN106843124A (en) A kind of Automatic Warehouse three-dimensional real-time monitoring method and system
CN203025527U (en) Open type numerical control system
CN104898574B (en) Shear-line multi-axis numerical control system based on P500 controller
CN107037791B (en) A kind of producing line device visualization method for diagnosing faults
CN112286148A (en) Intelligent factory system based on Internet of things technology and digital management technology
CN106269198A (en) Vertical Mill intelligence control system based on DCS
CN111158324B (en) Tunnel electromechanical equipment automation function library and use method thereof
CN204961152U (en) Pumped storage unit control program off -line test system
CN106970597A (en) Control device and control method
CN106227188A (en) AC servo control system
CN202110408U (en) Computer controller for industrial irradiation electronic linear accelerator
CN106843161B (en) A kind of production equipment operation conditions method for visually monitoring
CN106216079A (en) Vertical Mill intelligent control method based on PLC
CN201850015U (en) Electric control system based on IPC (industrial personal computer) for mine elevator
CN202075918U (en) Experimental facility for electric equipment maintenance
CN111811566A (en) Intelligent test platform and test method thereof
CN105467872A (en) Graphical configuration sequentialization control system
CN101587343A (en) A kind of experiment porch of energy management monitoring software system and method
CN109896430A (en) A kind of manual intelligent control tower crane system and its PLC controller scan method

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