Use method of touch screen

文档序号:1627670 发布日期:2020-01-14 浏览:10次 中文

阅读说明:本技术 一种触摸屏的使用方法 (Use method of touch screen ) 是由 谢晶 常婉莹 王金锋 滕文强 朱生林 于 2019-09-17 设计创作,主要内容包括:本发明涉及触摸屏技术领域,具体涉及一种触摸屏的使用方法。包括正版软件下载安装;触摸屏选型;系统参数设置;一般属性设置;建立窗口;放置元件。在人机交互技术领域,触摸屏有着控制能力强,安全性强等优点。单管沸腾换热实验台的控制和数据采集显示难以仅通过实验台本身来完成,通过所述触摸屏可以实现更为便捷的对各类设备控制以及多种数据的采集和数据整理。(The invention relates to the technical field of touch screens, in particular to a using method of a touch screen. Downloading and installing legal version software; selecting a type by a touch screen; setting system parameters; setting general attributes; establishing a window; placing the element. In the technical field of human-computer interaction, a touch screen has the advantages of strong control capability, strong safety and the like. The control and data acquisition display of the single-tube boiling heat exchange experiment table are difficult to be completed only through the experiment table, and the touch screen can realize more convenient control of various devices and acquisition and data arrangement of various data.)

1. A use method of a touch screen is characterized in that:

the using method of the touch screen is that the Utility Manager software is used for programming at the PC terminal, and the program is downloaded from the PC terminal to the touch screen and displayed in the touch screen, and comprises the following steps:

(1) when the PC terminal is programmed by using Utility Manager software, Easy Builder Pro in an interface is watched, and a 'new series' and a model are selected in a pop-up window;

(2) setting system parameters, and corresponding to the connected PLC hardware parameters one by one;

(3) creating and defining pressure, temperature, flow measurement and alarm setting in a directory tree on the left side, placing a button and an element in each window with the definition completed, performing program design, and storing historical data;

(4) after the design is finished, setting a communication mode between the touch screen and the PLC hardware;

(5) simulating communication setting on line;

(6) and establishing download data, downloading the data to the touch screen by using the USB flash disk, and communicating with the PLC hardware.

2. The use method of the touch screen according to claim 1, wherein:

the composite multifunctional button element is in a locking state, the touch screen cannot use the element, and the function of the composite multifunctional button element is realized, wherein the operation comprises the following steps:

(1) selecting a window, selecting a 'bit state setting' element, selecting a 'write address' corresponding to PLC hardware, selecting 'ON' in 'switch type' of 'attribute', and controlling the starting of experimental equipment by the 'bit state setting' element;

(2) setting, namely placing a 'bit state setting' element at a proper position of a window, selecting a 'function key' element, selecting a 'switching basic window' on a 'general attribute' interface, setting a 'window number', wherein the window selected in the experiment is a current window, and deselecting the 'using picture' on a 'picture' interface;

(3) and simultaneously selecting two elements of the 'bit state setting' element and the 'function key' element, clicking 'upper alignment' to enable the two elements to be overlapped, and operating an off-line simulation program.

3. The use method of the touch screen according to claim 1, wherein:

the content for setting the communication mode of the touch screen and the PLC hardware comprises the following steps:

(1) the parameters of the touch screen system are checked,

clicking the system parameter setting, double clicking the added equipment, modifying the equipment type, the interface type, the COM, the equipment preset station number and the station number maximum value (MPI network) to be consistent with the PLC software setting, and modifying the baud rate to be consistent with the PLC software setting in the COM option right side setting;

(2) the communication port is checked, and the communication port is checked,

clicking the 'system parameter setting', double clicking the added equipment, selecting 'open equipment connection manual', checking pin connection wires corresponding to the touch screen model in a popped PDF, and checking and modifying an actual interface;

(3) the address is looked at and the address is looked at,

in the experiment, data are collected by using a 'numerical value' element, a 'reading/writing address' of each 'numerical value' element is set on a 'general attribute' interface of the 'numerical value' element, the modification corresponds to an output address set in the PLC software one by one, and the modification is distinguished from the register address.

4. The "numerical" element of claim 3, wherein:

the data acquisition of the "numerical" element comprises the following steps:

(1) online monitoring is carried out by using PLC software, and digits of numerical values in detection are checked;

(2) opening a 'numerical value' element, wherein the selection of 'data format' on a 'format' interface is consistent with the setting in the PLC software;

(3) the digits above the decimal point and the digits below the decimal point are consistent with the digits in the PLC real-time monitoring, and finally, in the limitation, the lower limit of the equipment is modified to enable the negative number to be displayed normally, and meanwhile, the data format cannot be selected to be an unsigned format.

5. The use method of the touch screen according to claim 1, wherein:

the historical data is stored as follows:

clicking a 'history data display' button to determine a 'data sampling element', and setting an address at a 'history control', wherein the address is usually set as a local address of the touch screen.

6. The use method of the touch screen according to claim 1, wherein:

the historical data display is that the title name set on the title interface is Chinese characters, and the default font is changed to Song font on the general attribute interface.

7. The acquisition data as claimed in claims 3 and 4, wherein:

confirming that all channels are selected, and setting the time range of the data displayed by the element width in the ' common attribute ' interface, the distance between two sampling drawing points ' and the ' time ' distance; at the "channel" interface, all of the channels are modified by "attributes" and maximum and minimum values.

8. The use method of the touch screen according to claim 1, wherein:

the on-line simulation communication setting is characterized in that:

confirming the types of the up-down loading lines; and checking that the USB port of the computer is consistent with the port supported by the PLC hardware.

9. The use method of the touch screen according to claim 1, wherein:

the alarm setting comprises alarm display, event display and alarm bar pop-up.

10. The alarm arrangement of claim 9, wherein:

in the popping-up of the alarm bar, the alarm bar is set to be in a pop-up window type, and the method comprises the following steps:

(1) building a window, completing event login, and placing an alarm bar in the newly built window;

(2) placing a 'function key' in the newly-built window, selecting 'closing the window' in the general attributes, informing that the check is started, and setting equipment and an address as an alarm trigger address;

(3) and placing direct windows on other main interfaces, wherein the reading address is the alarm triggering address.

Technical Field

The invention relates to the technical field of touch screens, in particular to a using method of a touch screen.

Background

In the technical field of human-computer interaction, a touch screen has the advantages of strong control capability, strong safety and the like. The control and data acquisition of single tube boiling heat transfer laboratory bench show to be difficult to accomplish only through laboratory bench itself, for the collection and the data arrangement that make things convenient for all kinds of equipment control and multiple data, need the touch-sensitive screen to realize.

Disclosure of Invention

The invention aims to provide a using method of a touch screen, which can control a laboratory bench and collect data in real time and solve the problems of troublesome control, difficult data collection and the like.

In order to achieve the above object, an embodiment of the present invention provides a method for using a touch screen, including downloading and installing a legal version software; selecting the type of the touch screen, and selecting the type according to the type of the touch screen purchased; setting system parameters corresponding to the PLC software program; general attribute settings that enable or disable particular windows as required; establishing a window, establishing a plurality of basic windows according to requirements and setting the attributes of the windows; and placing components, and placing different types of components in a specified window according to requirements for acquiring data and controlling the experiment table.

The using method of the touch screen is that the Utility Manager software is used for programming at the PC terminal, and the program is downloaded from the PC terminal to the touch screen and displayed in the touch screen, and the using method comprises the following steps:

(1) when the PC terminal is programmed by using Utility Manager software, Easy Builder Pro in an interface is watched, and a 'new series' and a model are selected in a pop-up window;

(2) setting system parameters, and corresponding to the connected PLC hardware parameters one by one;

(3) creating and defining pressure, temperature, flow measurement and alarm setting in a directory tree on the left side, placing a button and an element in each window with the definition completed, performing program design, and storing historical data;

(4) after the design is finished, setting a communication mode between the touch screen and the PLC hardware;

(5) simulating communication setting on line;

(6) and establishing download data, downloading the data to the touch screen by using the USB flash disk, and communicating with the PLC hardware.

The composite multifunctional button element is in a locking state, the touch screen cannot use the element, and the function of the composite multifunctional button element is realized, wherein the operation comprises the following steps:

(1) selecting a window, selecting a 'bit state setting' element, selecting a 'write address' corresponding to PLC hardware, selecting 'ON' in 'switch type' of 'attribute', and controlling the starting of experimental equipment by the 'bit state setting' element;

(2) setting, namely placing a 'bit state setting' element at a proper position of a window, selecting a 'function key' element, selecting a 'switching basic window' on a 'general attribute' interface, setting a 'window number', wherein the window selected in the experiment is a current window, and deselecting the 'using picture' on a 'picture' interface;

(3) and simultaneously selecting two elements of the 'bit state setting' element and the 'function key' element, clicking 'upper alignment' to enable the two elements to be overlapped, and operating an off-line simulation program.

The content for setting the communication mode of the touch screen and the PLC hardware comprises the following steps:

(1) the parameters of the touch screen system are checked,

clicking the system parameter setting, double clicking the added equipment, modifying the equipment type, the interface type, the COM, the equipment preset station number and the station number maximum value (MPI network) to be consistent with the PLC software setting, and modifying the baud rate to be consistent with the PLC software setting in the COM option right side setting;

(2) the communication port is checked, and the communication port is checked,

clicking the 'system parameter setting', double clicking the added equipment, selecting 'open equipment connection manual', checking pin connection wires corresponding to the touch screen model in a popped PDF, and checking and modifying an actual interface;

(3) the address is looked at and the address is looked at,

in the experiment, data are collected by using a 'numerical value' element, a 'reading/writing address' of each 'numerical value' element is set on a 'general attribute' interface of the 'numerical value' element, the modification corresponds to an output address set in the PLC software one by one, and the modification is distinguished from the register address.

The data acquisition of the "numerical" element comprises the following steps:

(1) online monitoring is carried out by using PLC software, and digits of numerical values in detection are checked;

(2) opening a 'numerical value' element, wherein the selection of 'data format' on a 'format' interface is consistent with the setting in the PLC software;

(3) the digits above the decimal point and the digits below the decimal point are consistent with the digits in the PLC real-time monitoring, and finally, in the limitation, the lower limit of the equipment is modified to enable the negative number to be displayed normally, and meanwhile, the data format cannot be selected to be an unsigned format.

The historical data is stored as follows:

clicking a 'history data display' button to determine a 'data sampling element', and setting an address at a 'history control', wherein the address is usually set as a local address of the touch screen.

The historical data display is that the title name set on the title interface is Chinese characters, and the default font is changed to Song font on the general attribute interface.

Confirming that all channels are selected, and setting the time range of the data displayed by the element width in the ' common attribute ' interface, the distance between two sampling drawing points ' and the ' time ' distance; at the "channel" interface, all of the channels are modified by "attributes" and maximum and minimum values.

The on-line simulation communication setting is characterized in that:

confirming the types of the up-down loading lines; and checking that the USB port of the computer is consistent with the port supported by the PLC hardware.

The alarm setting comprises alarm display, event display and alarm bar pop-up.

In the popping-up of the alarm bar, the alarm bar is set to be in a pop-up window type, and the method comprises the following steps:

(1) building a window, completing event login, and placing an alarm bar in the newly built window;

(2) placing a 'function key' in the newly-built window, selecting 'closing the window' in the general attributes, informing that the check is started, and setting equipment and an address as an alarm trigger address;

(3) and placing direct windows on other main interfaces, wherein the reading address is the alarm triggering address.

The main display windows of the touch screen comprise a main page window, a temperature data acquisition window, a pressure data acquisition window, a flow data acquisition window, an alarm historical data window, a control page window and a screen protection window.

The attribute of the Fast select window (Fast Selection) key setting is set to "on" and the position is set to "left".

The main page window is used for displaying the main purpose of the touch screen.

The temperature data acquisition window is used for acquiring data of the water inlet temperature of the test section, the water outlet temperature of the liquid storage device, the water outlet temperature of the low-temperature water tank, the temperature of the refrigerant before the test section, the temperature of the refrigerant after the test section, the water outlet temperature of the second plate heat exchanger, the water inlet temperature of the second plate heat exchanger, the water outlet temperature of the third plate heat exchanger, the water inlet temperature of the third plate heat exchanger, the temperature of the refrigerant inlet of the second plate heat exchanger, the temperature of the refrigerant outlet of the second plate heat exchanger, the temperature of the refrigerant inlet of the.

The pressure data acquisition window is used for acquiring data of outlet pressure of the test section, condensing pressure in the liquid storage device, pressure difference 1 before and after the test section and pressure difference 2 before and after the test section.

The flow data acquisition window is used for acquiring data of large refrigerant flow, water flow in the test section, medium flow of the plate heat exchanger II and medium flow of the plate heat exchanger III.

The alarm history data window is used to record alarms that have occurred.

And the control page window is used for controlling the experiment table equipment.

And the screen protection window is used for displaying the window when the touch screen is in the dormant state.

The invention can effectively solve the problem that data is difficult to collect, can effectively solve the problem that a plurality of existing devices are controlled simultaneously, and provides a new idea for realizing experimental data collection and control system.

Drawings

FIG. 1 is a diagram of a fast selection window according to the present invention.

FIG. 2 is a schematic view of temperature data acquisition according to the present invention.

Fig. 3 is a schematic view illustrating the trend of the present invention.

FIG. 4 is a diagram of a control page according to the present invention.

Detailed Description

The following describes the method of using the present invention in detail by taking specific embodiments as examples with reference to the accompanying drawings.

The using method of the touch screen is that the Utility Manager software is used for programming at the PC terminal, and the program is downloaded from the PC terminal to the touch screen and displayed in the touch screen, and the using method comprises the following steps:

(1) when the PC terminal is programmed by using Utility Manager software, Easy Builder Pro in an interface is watched, and a 'new series' and a model are selected in a pop-up window;

(2) setting system parameters, and corresponding to the connected PLC hardware parameters one by one;

(3) creating and defining pressure, temperature, flow measurement and alarm setting in a directory tree on the left side, placing a button and an element in each window with the definition completed, performing program design, and storing historical data;

(4) after the design is finished, setting a communication mode between the touch screen and the PLC hardware;

(5) simulating communication setting on line;

(6) and establishing download data, downloading the data to the touch screen by using the USB flash disk, and communicating with the PLC hardware.

The composite multifunctional button element is in a locking state, the touch screen cannot use the element, and the function of the composite multifunctional button element is realized, wherein the operation comprises the following steps:

(1) selecting a window, selecting a 'bit state setting' element, selecting a 'write address' corresponding to PLC hardware, selecting 'ON' in 'switch type' of 'attribute', and controlling the starting of experimental equipment by the 'bit state setting' element;

(2) setting, namely placing a 'bit state setting' element at a proper position of a window, selecting a 'function key' element, selecting a 'switching basic window' on a 'general attribute' interface, setting a 'window number', wherein the window selected in the experiment is a current window, and deselecting the 'using picture' on a 'picture' interface;

(3) and simultaneously selecting two elements of the 'bit state setting' element and the 'function key' element, clicking 'upper alignment' to enable the two elements to be overlapped, and operating an off-line simulation program.

The content for setting the communication mode of the touch screen and the PLC hardware comprises the following steps:

(1) the parameters of the touch screen system are checked,

clicking the system parameter setting, double clicking the added equipment, modifying the equipment type, the interface type, the COM, the equipment preset station number and the station number maximum value (MPI network) to be consistent with the PLC software setting, and modifying the baud rate to be consistent with the PLC software setting in the COM option right side setting;

(2) the communication port is checked, and the communication port is checked,

clicking the 'system parameter setting', double clicking the added equipment, selecting 'open equipment connection manual', checking pin connection wires corresponding to the touch screen model in a popped PDF, and checking and modifying an actual interface;

(3) the address is looked at and the address is looked at,

in the experiment, data are collected by using a 'numerical value' element, a 'reading/writing address' of each 'numerical value' element is set on a 'general attribute' interface of the 'numerical value' element, the modification corresponds to an output address set in the PLC software one by one, and the modification is distinguished from the register address.

The data acquisition of the "numerical" element comprises the following steps:

(1) online monitoring is carried out by using PLC software, and digits of numerical values in detection are checked;

(2) opening a 'numerical value' element, wherein the selection of 'data format' on a 'format' interface is consistent with the setting in the PLC software;

(3) the digits above the decimal point and the digits below the decimal point are consistent with the digits in the PLC real-time monitoring, and finally, in the limitation, the lower limit of the equipment is modified to enable the negative number to be displayed normally, and meanwhile, the data format cannot be selected to be an unsigned format.

The historical data is stored as follows:

clicking a 'history data display' button to determine a 'data sampling element', and setting an address at a 'history control', wherein the address is usually set as a local address of the touch screen.

The historical data display is that the title name set on the title interface is Chinese characters, and the default font is changed to Song font on the general attribute interface.

Confirming that all channels are selected, and setting the time range of the data displayed by the element width in the ' common attribute ' interface, the distance between two sampling drawing points ' and the ' time ' distance; at the "channel" interface, all of the channels are modified by "attributes" and maximum and minimum values.

The on-line simulation communication setting is characterized in that:

confirming the types of the up-down loading lines; and checking that the USB port of the computer is consistent with the port supported by the PLC hardware.

The alarm setting comprises alarm display, event display and alarm bar pop-up.

In the popping-up of the alarm bar, the alarm bar is set to be in a pop-up window type, and the method comprises the following steps:

(1) building a window, completing event login, and placing an alarm bar in the newly built window;

(2) placing a 'function key' in the newly-built window, selecting 'closing the window' in the general attributes, informing that the check is started, and setting equipment and an address as an alarm trigger address;

(3) and placing direct windows on other main interfaces, wherein the reading address is the alarm triggering address.

As shown in FIG. 1, the main window of one embodiment of the present invention includes a main page, temperature collection, pressure collection, flow collection, alarm history and control pages.

The window as described above is placed in the quick selection window by the "function key". The setting of the 'function key' comprises setting general attributes, selecting 'switching basic windows', and selecting and setting a window number to finish relative window setting; the picture selects 'use picture' and 'use picture original size', and copies the current setting to all states; the label selects "use text label", sets font, color, size and mode, copies the attribute to each state, inputs text content and selects the label position linkage, and copies the current content to all states.

As shown in fig. 2, in the temperature data acquisition window of the present invention, real-time data acquisition is displayed on the left side, historical data acquisition is displayed in a tabular form on the upper right side, and trend chart display keys are sequentially arranged on the lower right side from left to right to back up to a PC-side key and a historical control input key.

And designing window typesetting, and placing the fourteen acquired text contents in the window. Selecting a 'numerical value' element, setting a general attribute, closing 'enabling an input function', enabling the element to display only collected data, selecting 'Siemens S7-300 MPI' and 'MD' as an address reading/writing device, wherein the collected data occupy four positions, sequencing the collected data and allocating addresses, for example, the water inlet temperature address of a test section is 'MD 136', and the water outlet temperature address of the test section is 'MD 140' according to the sequence; setting a format, wherein the temperature has a positive and negative value, the data format selects 32-bitFloat, digital digits are set according to the PLC real-time monitoring data, and limits are set, the lower limit of equipment is-9999, and the upper limit of the equipment is 9999; the picture setting is selected to 'use vector graph'; setting font attributes, selecting a font style, and setting the size and the alignment mode; and setting the outline according to the window size and the layout.

Selecting data sampling in a data/history menu bar, selecting new addition, and inputting description; a periodic sampling mode is adopted, and the sampling period is set to be 5 seconds; the address of the data source corresponds to the first address of the acquisition, namely "MD 136"; newly adding channels in the data record, wherein the number of the channels is equal to the collection number, and the type of the data is selected to be 32-bit Float when the channels are newly added; clearing the real-time data address and the sampling pause control address, selecting a Local HMI (human machine interface), checking and starting and selecting an LB (LB) address; the method comprises the steps that historical records are selected and saved in an HMI (human machine interface model), each file contains all records of one day, a folder name is set, and all the folder names are required to be composed of ASCII (American standard code for information interchange) code characters; the file reservation number is set to be limited to 7 days.

Selecting historical data display, general attribute setting and data sampling element index in a data/historical menu bar, for example, selecting temperature when temperature is acquired, checking automatically updated data, setting a font to be a Song style, setting historical control equipment to be Local HMI and an address to be LW, correspondingly setting equipment in window space to be Local HMI and a numerical element with the address to be LW; a data display format, wherein the decimal point upper digit number and the decimal point lower digit number of all channels are set, all channels are selected and displayed, and 'centering alignment' is selected; a header setting whereby the collected data header is entered; the picture and the outline are set according to the layout.

As shown in fig. 3, in the newly created window, a trend graph is selected in the data/history menu bar, data sampling element indexes, for example, temperature is selected for temperature acquisition, the display mode is set to be real-time, the distance between two sampling drawing points is set to be a pixel, display control is suspended to enable checking and setting equipment "Local HMI", address is "LB", monitoring checking and enabling equipment "Local HMI", address is "LW", time tag derivation checking and enabling equipment "Local HMI", address is "LW"; channel setting, double clicking all channels sets color, width, minimum and maximum. The required elements with the address of "Local HMI", the address of "LW" and the address of "Local HMI", the address of "LB" are respectively placed in the window.

Selecting backup (window) in the data/history menu bar, selecting history data sampling from the file source, indexing the data sampling element, selecting temperature for temperature acquisition, and setting the backup position as the U disk 1.

Selecting event login in a data/history menu bar, newly adding all possible events, reading address equipment as Siemens S7-300 MPI, and reading address as I; information, setting content, text and alarm sound.

On an alarm historical data interface, selecting an event display on a data/historical menu bar, wherein the mode is 'history', checking automatically updated data, and historical data control equipment is 'Local HMI', and the address is 'LW'; and the sorted display order is selected completely.

In the newly-built window, an alarm bar is selected in a data/history menu bar, and the occurrence time and the event information of the event are selected according to the ordered display sequence.

In the newly-built window, the alarm display is selected in the data/history menu bar, and the event occurrence time and the event information are selected according to the ordered display sequence.

As shown in fig. 4, in the control page window, the text content of the device name is placed in the window according to the device to be controlled, in the element menu bar, the "bit state setting" element is selected, the general attribute setting is performed, the write address device is "Siemens S7-300 MPI", the address is "M", and the attribute switch type is "reset"; the frequency converter, the power regulator and the electronic expansion valve are arranged in a regulating way, the reading/writing address equipment is Siemens S7-300 MPI, and the address is DB 1.

The invention has the beneficial effects that: the use of a touch screen provides a good platform for data acquisition and device control.

The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种录屏操作方法、装置、计算机可读存储介质及终端

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类