CN107450829B - Single-page display method of touch screen, touch screen and programmable logic controller - Google Patents

Single-page display method of touch screen, touch screen and programmable logic controller Download PDF

Info

Publication number
CN107450829B
CN107450829B CN201710498868.2A CN201710498868A CN107450829B CN 107450829 B CN107450829 B CN 107450829B CN 201710498868 A CN201710498868 A CN 201710498868A CN 107450829 B CN107450829 B CN 107450829B
Authority
CN
China
Prior art keywords
data
storage area
programmable logic
logic controller
display
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
CN201710498868.2A
Other languages
Chinese (zh)
Other versions
CN107450829A (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.)
Wuhan Yifi Laser Corp Ltd
Original Assignee
Wuhan Yifi Laser Equipment 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 Wuhan Yifi Laser Equipment Co ltd filed Critical Wuhan Yifi Laser Equipment Co ltd
Priority to CN201710498868.2A priority Critical patent/CN107450829B/en
Publication of CN107450829A publication Critical patent/CN107450829A/en
Application granted granted Critical
Publication of CN107450829B publication Critical patent/CN107450829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Programmable Controllers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a single-page display method of a touch screen, the touch screen and a programmable logic controller, comprising the following steps: the method comprises the steps that a touch screen obtains a serial number of a table to be displayed and a trigger signal of a reading key and sends the serial number and the trigger signal of the reading key to a programmable logic controller, the programmable logic controller receives the serial number of the table to be displayed and stores the serial number in a register, the trigger signal of the reading key is received, data at a position corresponding to the serial number in a storage area to be displayed in the register of the programmable logic controller are stored in a display storage area of the register based on the trigger signal of the reading key, the programmable logic controller sends data stored in the display storage area to the touch screen, and the touch screen receives the data stored in the display storage area and displays the data in a data display table. The invention realizes that the data corresponding to a plurality of tables expected to be displayed are respectively displayed through the data display tables in a single page.

Description

Single-page display method of touch screen, touch screen and programmable logic controller
Technical Field
The invention relates to the technical field of electronics, in particular to a single-page display method of a touch screen, the touch screen and a programmable logic controller.
Background
In an automated plant control system, a Programmable Logic Controller (PLC) is generally used to perform process control on a plant, and parameters of a product produced by the plant are displayed or modified through a touch screen (HMI).
Generally, one product corresponds to one set of parameters, and a plurality of different models of products correspond to a plurality of sets of parameters. When a plurality of sets of parameters are displayed through a touch screen, a conventional display mode generally adopts the mode that a plurality of pages are created on the touch screen and one page is displayed corresponding to one set of parameters.
But as technology develops and demand increases, product types continue to increase. Under the condition of adopting a traditional display mode, once the product types are increased, a new page needs to be created to display related parameters, so that certain workload is brought to related workers while the product types are increased, and the production efficiency is reduced to a certain extent.
Disclosure of Invention
The invention provides a single-page display method and device for a touch screen, and aims to solve the problems that in the prior art, once product types are increased, new pages need to be created to display related parameters, so that certain workload is brought to related workers while the product types are increased, and the production efficiency is reduced to a certain extent.
According to a first aspect of the present invention, there is provided a touch screen single page display method, the method comprising: step 11, acquiring the serial number of the table expected to be displayed and sending the serial number to the programmable logic controller; step 12, acquiring a trigger signal of a reading key and sending the trigger signal to a programmable logic controller, so that the programmable logic controller stores data at a position corresponding to the sequence number in a storage area to be displayed in a register of the programmable logic controller to a display storage area of the register based on the trigger signal of the reading key, and sends the data stored in the display storage area; and step 13, receiving the data stored in the display storage area and displaying the data in a data display table.
With reference to the first possible implementation manner of the first aspect of the present invention, in a second possible implementation manner, before the step 1, the method further includes: creating a page with a preset style for the touch screen, wherein the page comprises a data display table, a table number input area and a reading key; and inputting the serial number of the table expected to be displayed in a table number input area on the page of the touch screen and triggering a reading key.
With reference to the first possible implementation manner of the first aspect of the present invention, in a third possible implementation manner, the page further includes a save button; accordingly, the method further comprises: acquiring data in the data display table and sending the data to the programmable logic controller; and acquiring a trigger signal of the storage key and sending the trigger signal to a programmable logic controller so that the programmable logic controller stores the data in the display storage area to a position corresponding to the sequence number in the storage area to be displayed.
According to a second aspect of the present invention, there is provided a touch screen single page display method, the method comprising: step 21, receiving the serial number of the table expected to be displayed and sent by the touch screen and storing the serial number into a register of the programmable logic controller; step 22, receiving a trigger signal of a reading key sent by the touch screen, and storing data at a position corresponding to the serial number in the storage area to be displayed in the register to a display storage area of the register based on the trigger signal of the reading key; and step 23, sending the data stored in the display storage area to the touch screen so that the touch screen displays the data stored in the display storage area in a data display table.
With reference to the first possible implementation manner of the second aspect of the present invention, in a second possible implementation manner, before the step 1, the method further includes: and setting a corresponding element of the reading key in the programmable logic controller, so that when the reading key is triggered, the programmable logic controller stores the data of the storage area to be displayed in the display storage area.
With reference to the first possible implementation manner of the second aspect of the present invention, in a third possible implementation manner, the method further includes: receiving data in the data display table and storing the data in the display storage area; and receiving a trigger signal of a storage key of the touch screen, and storing the data in the display storage area to a position corresponding to the sequence number in the storage area to be displayed based on the trigger signal of the storage key.
According to a third aspect of the present invention, there is provided a touch screen comprising: the device comprises a serial number acquisition module, a trigger signal acquisition module and a display module; the serial number acquisition module is used for acquiring the serial number of the table expected to be displayed and sending the serial number to the programmable logic controller; the trigger signal acquisition module is used for acquiring a trigger signal of a reading key and sending the trigger signal to a programmable logic controller, so that the programmable logic controller stores data at a position corresponding to the sequence number in a storage area to be displayed in a register of the programmable logic controller to a display storage area of the register based on the trigger signal of the reading key and sends the data stored in the display storage area; and the display module receives the data stored in the display storage area and displays the data in a data display table.
According to a fourth aspect of the present invention, there is provided a programmable logic controller comprising: the device comprises a sequence number storage module, a data storage module and a data sending module; the serial number storage module is used for receiving the serial number of the table which is expected to be displayed and sent by the touch screen and storing the serial number to a register of the programmable logic controller; the data storage module is used for receiving a trigger signal of a reading key sent by the touch screen and storing data at a position corresponding to the serial number in a storage area to be displayed in the register to a display storage area of the register based on the trigger signal of the reading key; the data sending module is used for sending the data stored in the display storage area to the touch screen so that the touch screen displays the data stored in the display storage area in a data display table.
The invention provides a single-page display method of a touch screen, the touch screen and a programmable logic controller, which are characterized in that a serial number of a table to be displayed is acquired through the touch screen and is sent to the programmable logic controller, the programmable logic controller receives the serial number of the table to be displayed sent by the touch screen and stores the serial number in a register, the touch screen acquires a trigger signal of a reading key and sends the trigger signal to the programmable logic controller, the programmable logic controller receives the trigger signal of the reading key sent by the touch screen and stores data at a position corresponding to the serial number in a storage area to be displayed in the register to a display storage area of the register based on the trigger signal of the reading key, the programmable logic controller sends the data stored in the display storage area to the touch screen, and the touch screen receives the data stored in the display storage area and displays the data in the data display table, the data corresponding to a plurality of tables expected to be displayed are displayed through the data display tables in a single page respectively. According to the invention, when the product types are increased, a new page does not need to be created to display related parameters, so that the workload of related workers for creating the page is reduced, and the production efficiency is improved.
Drawings
FIG. 1 is a flowchart of a single page display method of a touch screen according to an embodiment of the present invention;
FIG. 2 is a flowchart of a single page display method of a touch screen according to an embodiment of the present invention;
FIG. 3 is a flowchart of a single page display method of a touch screen according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a to-be-displayed memory region and a display memory region of a programmable logic controller register according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a touch screen page according to an embodiment of the invention;
FIG. 6 is a schematic view of a touch screen according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a programmable logic controller according to an embodiment of the invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
The invention provides a single-page display method of a touch screen, aiming at the problems that under the condition of adopting a traditional display mode, once the product type is increased, a new page needs to be created to display related parameters, so that the product type can be increased, meanwhile, a certain workload can be brought to related workers, and the production efficiency can be reduced to a certain extent.
As shown in fig. 1, according to a first aspect of the present invention, there is provided a touch screen single page display method, including: step 11, acquiring the serial number of the table expected to be displayed and sending the serial number to the programmable logic controller; step 12, acquiring a trigger signal of a reading key and sending the trigger signal to a programmable logic controller, so that the programmable logic controller stores data at a position corresponding to the sequence number in a storage area to be displayed in a register of the programmable logic controller to a display storage area of the register based on the trigger signal of the reading key, and sends the data stored in the display storage area; and step 13, receiving the data stored in the display storage area and displaying the data in a data display table.
The touch screen single-page display method provided by the invention has the advantages that the serial number of a table to be displayed and the trigger signal of the reading key are acquired and sent to the programmable logic controller, so that the programmable logic controller stores the data at the position corresponding to the serial number in the storage area to be displayed in the register of the programmable logic controller to the display storage area of the register based on the trigger signal of the reading key, the data stored in the display storage area is sent to the touch screen, the touch screen acquires the data stored in the display storage area and displays the data in the data display table, and the data corresponding to a plurality of tables to be displayed are respectively displayed through the data display table in a single page. According to the invention, when the product types are increased, a new page does not need to be created to display related parameters, so that the workload of related workers for creating the page is reduced, and the production efficiency is improved.
As an alternative embodiment, step 1 further includes, before: creating a page with a preset style for the touch screen, wherein the page comprises a data display table, a table number input area and a reading key; and inputting the serial number of the table expected to be displayed in a table number input area on the page of the touch screen and triggering a reading key.
As an optional embodiment, the page further comprises a save button; accordingly, the method further comprises: acquiring data in the data display table and sending the data to the programmable logic controller; and acquiring a trigger signal of the storage key and sending the trigger signal to a programmable logic controller so that the programmable logic controller stores the data in the display storage area to a position corresponding to the sequence number in the storage area to be displayed.
As shown in fig. 2, according to a second aspect of the present invention, there is provided a touch screen single page display method, including: step 21, receiving the serial number of the table expected to be displayed and sent by the touch screen and storing the serial number into a register of the programmable logic controller; step 22, receiving a trigger signal of a reading key sent by the touch screen, and storing data at a position corresponding to the serial number in the storage area to be displayed in the register to a display storage area of the register based on the trigger signal of the reading key; and step 23, sending the data stored in the display storage area to the touch screen so that the touch screen displays the data stored in the display storage area in a data display table.
The method for displaying the single page of the touch screen comprises the steps of receiving the serial number of a table to be displayed and sending the serial number to the programmable logic controller, receiving a trigger signal of a reading key and sending data at the position corresponding to the serial number in a storage area to be displayed in a register of the programmable logic controller to a display storage area of the register and sending the data stored in the display storage area to the touch screen based on the trigger signal of the reading key, so that the touch screen can acquire the data stored in the display storage area and display the data in the data display table, and the data corresponding to the tables to be displayed are displayed through the data display table in the single page. According to the invention, when the product types are increased, a new page does not need to be created to display related parameters, so that the workload of related workers for creating the page is reduced, and the production efficiency is improved.
As an alternative embodiment, step 1 further includes, before: and setting a corresponding element of the reading key in the programmable logic controller, so that when the reading key is triggered, the programmable logic controller stores the data of the storage area to be displayed in the display storage area.
As an alternative embodiment, the method further comprises: receiving data in the data display table and storing the data in the display storage area; and receiving a trigger signal of a storage key of the touch screen, and storing the data in the display storage area to a position corresponding to the sequence number in the storage area to be displayed based on the trigger signal of the storage key.
Based on the methods provided by the embodiments corresponding to fig. 1 and fig. 2, an embodiment of the present invention provides a single-page display method for a touch screen. Referring to fig. 3, the method includes:
101, inputting a serial number of the table expected to be displayed in a table number input area on the touch screen page and triggering a reading key;
102, the touch screen acquires the serial number and sends the serial number to the programmable logic controller, and the programmable logic controller receives the serial number of the table which is sent by the touch screen and is expected to be displayed and stores the serial number in a register of the programmable logic controller;
103, the touch screen acquires the trigger signal of the reading key and sends the trigger signal to the programmable logic controller, and the programmable logic controller receives the trigger signal of the reading key sent by the touch screen and stores the data at the position corresponding to the serial number in the storage area to be displayed in the register to the display storage area of the register based on the trigger signal of the reading key;
104, the programmable logic controller sends the data stored in the display storage area to the touch screen, and the touch screen receives the data stored in the display storage area and displays the data in a data display table;
105, if the data displayed in the data display table is modified, triggering a storage key;
106, the touch screen acquires the modified data and the trigger signal of the storage key and sends the modified data and the trigger signal of the storage key to the programmable logic controller, the programmable logic controller receives the modified data and stores the modified data to a corresponding storage position, receives the trigger signal of the reading key sent by the touch screen, and stores the data of the display storage area of the register to the position corresponding to the sequence number in the storage area to be displayed in the register based on the trigger signal of the storage key.
In this embodiment, before the displaying of the data table, the method further includes: and creating a page with a preset style for the touch screen, wherein the page comprises a data display table, a table number input area and a reading key.
In this embodiment, the page of the touch screen is created and imported to the touch screen mainly by the computer. The page style, for example, the size of the data display form in the page, the position of the form number input area, and the position and shape of the reading key, can be designed according to actual needs, which is not limited in this embodiment.
Taking the page shown in fig. 4 as an example, in fig. 4, the data display table in the page is 6 rows and 4 columns. For example, the data name display line can be sequentially a line number, an x coordinate, a y coordinate and a z coordinate, and the data displayed below the column corresponding to the line number is the line number stored in the register address with the beginning of D in the grid, and the data displayed below the column corresponding to the x coordinate is the x coordinate value stored in the register address with the beginning of D in the grid. Each grid from the 2 nd row to the 6 th row is respectively connected with a register address in the programmable logic controller for displaying data in the corresponding register address. The box behind the table number below the data display table is used for the relevant staff to input the serial number of the table expected to be viewed, for example, to input "1", and after the table number "1" is input, the reading key is triggered, so that the data display table can display each data of the table 1.
After the touch screen acquires the page with the preset style, the corresponding element of the reading key in the programmable logic controller is required to be set, so that when the reading key is triggered, the programmable logic controller stores the data of the memory area to be displayed of the register of the programmable logic controller into the display memory area of the register.
After the touch screen acquires the page with the preset style, connecting the touch screen acquiring the page with the preset style with the programmable logic controller, and associating the reading key with a corresponding element in the programmable logic controller. Then, the element corresponding to the read key is set, for example, the element corresponding to the read key in the programmable logic controller is M82, so that when M82 is triggered, the program executes an operation of storing data in the to-be-displayed storage area of the register of the programmable logic controller into the display storage area of the register of the programmable logic controller by programming the programmable logic controller. Wherein, the programming mode includes but not limited to: a programmable logic controller ladder diagram; the to-be-displayed storage area is a storage area of data in each to-be-displayed table in the register, and the to-be-displayed storage area stores data in a plurality of to-be-displayed tables; the display memory area includes register areas corresponding to register addresses corresponding to respective cells in a data display table in the touch screen.
After the preliminary preparation work, the data table can be displayed through the touch screen page.
101, inputting a serial number of the table expected to be displayed in a table number input area on the touch screen page and triggering a reading key.
After the touch screen acquires a page with a preset style, the data display tables and the keys in the touch screen are associated with the programmable logic controller and the programmable logic controller is programmed, data in each table can be checked through the touch screen. For example, if the relevant staff member desires to look at the relevant parameters of table 1, the relevant staff member may input "1" in the table number input area of the touch screen, i.e., the box after the word "table number", and then click the read button.
And 102, the touch screen acquires the serial number and sends the serial number to the programmable logic controller, and the programmable logic controller receives the serial number of the table which is expected to be displayed and sent by the touch screen and stores the serial number in a register of the programmable logic controller.
Since the table number input area in the touch screen is connected to a register address of the programmable logic controller, as shown in fig. 4, the address is D990. Therefore, when the relevant staff member inputs '1' in the table number input area of the touch screen, namely the frame behind the word of the 'table number', the touch screen sends the data '1' to the corresponding register of the table number input area in the programmable logic controller.
In this embodiment, when the programmable logic controller receives a trigger signal of the read key, it needs to store data in a certain table into the display storage area of the register. The specific position of the data of the table in the memory area to be displayed in the register is determined according to the table number stored in the register. Fig. 4 is a schematic diagram of a to-be-displayed storage area and a display storage area of a register, where the to-be-displayed storage area includes storage areas of tables, addresses of the register are displayed in the storage areas, and corresponding data are stored in the corresponding addresses.
103, the touch screen acquires the trigger signal of the reading key and sends the trigger signal to the programmable logic controller, and the programmable logic controller receives the trigger signal of the reading key sent by the touch screen and stores the data at the position corresponding to the serial number in the storage area to be displayed in the register to the display storage area of the register based on the trigger signal of the reading key.
Because the reading key has corresponding elements in the programmable logic controller, a trigger signal of the reading key is generated after a relevant worker clicks the reading key. The touch screen sends the trigger signal of the reading key to the programmable logic controller, so that an element corresponding to the reading key in the programmable logic controller can be triggered.
And after the programmable logic controller receives the trigger signal of the reading key sent by the touch screen, an element corresponding to the reading key in the programmable logic controller is triggered. Then, the program in the programmable logic controller can find the position of the data of the corresponding table in the storage area to be displayed of the register according to the table number stored in the register, and store the data in the display storage area of the register.
And 104, sending the data stored in the display storage area to the touch screen by the programmable logic controller, and receiving the data stored in the display storage area by the touch screen and displaying the data in a data display table.
Since each cell of the display data in the data display table in the touch screen is connected to a register address in the programmable logic controller, as shown in fig. 5, the data at the beginning of D in each table is the address corresponding to the cell. Therefore, when the data in the display storage area of the register is updated, the programmable logic controller correspondingly sends the data stored in the display storage area to each cell of the display data in the data display table of the touch screen. And each grid of the display data in the data display table of the touch screen is displayed in the grid after the data stored in the display storage area is acquired correspondingly.
105, if the data displayed in the data display table is modified, triggering a storage key;
when data display is carried out through the data display table, related workers can check the parameters, if abnormal parameters are found, the parameters can be changed through the touch screen, and the modified data can be stored through triggering the storage key.
106, the touch screen acquires the modified data and the trigger signal of the storage key and sends the modified data and the trigger signal of the storage key to the programmable logic controller, the programmable logic controller receives the modified data and stores the modified data to a corresponding storage position, receives the trigger signal of the reading key sent by the touch screen, and stores the data of the display storage area of the register to the position corresponding to the sequence number in the storage area to be displayed in the register based on the trigger signal of the storage key.
Because each grid for displaying data in the data display table is connected with one register in the programmable logic controller, when data in any grid for displaying data is modified, the touch screen can send the modified data to the corresponding register of the display storage area of the programmable logic controller. Because only the table which is expected to be displayed currently is stored in the display storage area, and the data of the table is fixedly stored at the position corresponding to the table serial number in the storage area to be displayed, the modified data needs to be stored at the corresponding position in the storage area to be displayed. At this time, the data that is still before modification is stored in the corresponding position in the storage area to be displayed, and therefore, the corresponding data in the storage area to be displayed needs to be modified. In this embodiment, by triggering the save key on the touch screen, the element corresponding to the save key in the programmable logic controller is triggered, so that the program in the programmable logic controller executes an operation of storing the data in the display storage area to the position corresponding to the sequence number in the storage area to be displayed, thereby saving the modified data.
As shown in fig. 6, according to a third aspect of the present invention, there is provided a touch screen including: the device comprises a serial number acquisition module, a trigger signal acquisition module and a display module; the serial number acquisition module is used for acquiring the serial number of the table expected to be displayed and sending the serial number to the programmable logic controller; the trigger signal acquisition module is used for acquiring a trigger signal of a reading key and sending the trigger signal to a programmable logic controller, so that the programmable logic controller stores data at a position corresponding to the sequence number in a storage area to be displayed in a register of the programmable logic controller to a display storage area of the register based on the trigger signal of the reading key and sends the data stored in the display storage area; and the display module receives the data stored in the display storage area and displays the data in a data display table.
According to the touch screen provided by the invention, the serial number of the table to be displayed is acquired through the serial number acquisition module and is sent to the programmable logic controller, the trigger signal of the reading key is acquired through the trigger signal acquisition module and is sent to the programmable logic controller, so that the programmable logic controller stores the data at the position corresponding to the serial number in the storage area to be displayed in the register of the programmable logic controller to the display storage area of the register based on the trigger signal of the reading key, the data stored in the display storage area is sent, the data stored in the display storage area is received through the display module and is displayed in the data display table, and the data corresponding to a plurality of tables to be displayed are respectively displayed through the data display table in a single page. According to the invention, when the product types are increased, a new page does not need to be created to display related parameters, so that the workload of related workers for creating the page is reduced, and the production efficiency is improved.
As an alternative embodiment, step 1 further includes, before: creating a page with a preset style for the touch screen, wherein the page comprises a data display table, a table number input area and a reading key; and inputting the serial number of a table expected to be displayed in a table number input area on the page of the touch screen and triggering a reading key.
As an alternative embodiment, the page further comprises a save button; correspondingly, the method further comprises: acquiring data in a data display table and sending the data to a programmable logic controller; and acquiring a trigger signal of the storage key and sending the trigger signal to the programmable logic controller so that the programmable logic controller stores the data in the display storage area to the position corresponding to the sequence number in the storage area to be displayed.
As shown in fig. 7, according to a fourth aspect of the present invention, there is provided a programmable logic controller comprising: the device comprises a sequence number storage module, a data storage module and a data sending module; the serial number storage module is used for receiving the serial number of the table which is expected to be displayed and sent by the touch screen and storing the serial number to a register of the programmable logic controller; the data storage module is used for receiving a trigger signal of a reading key sent by the touch screen and storing data at a position corresponding to a serial number in a storage area to be displayed in the register to a display storage area of the register based on the trigger signal of the reading key; the data sending module is used for sending the data stored in the display storage area to the touch screen so that the touch screen displays the data stored in the display storage area in the data display table.
The programmable logic controller receives the serial number of a table to be displayed sent by a touch screen through a serial number storage module and stores the serial number to a register of the programmable logic controller, receives a trigger signal of a reading key sent by the touch screen through a data storage module, stores data at a position corresponding to the serial number in a storage area to be displayed in the register to a display storage area of the register based on the trigger signal of the reading key, and sends the data stored in the display storage area to the touch screen through a data sending module so that the touch screen displays the data stored in the display storage area in the data display table, thereby realizing that the data corresponding to a plurality of tables to be displayed are respectively displayed through the data display table in a single page. According to the invention, when the product types are increased, a new page does not need to be created to display related parameters, so that the workload of related workers for creating the page is reduced, and the production efficiency is improved.
As an alternative embodiment, step 1 further includes, before: and setting corresponding elements of the reading keys in the programmable logic controller, so that when the reading keys are triggered, the programmable logic controller stores the data of the storage area to be displayed in the display storage area.
As an alternative embodiment, the method further comprises: receiving data in a data display table and storing the data in a display storage area; and receiving a trigger signal of a storage key of the touch screen, and storing the data in the display storage area to a position corresponding to the sequence number in the storage area to be displayed based on the trigger signal of the storage key.
Finally, the method of the present invention is only a preferred embodiment and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A method for displaying a plurality of tables on a single page of a touch screen is characterized by comprising the following steps:
step 11, setting a programmable logic controller, acquiring a serial number of a table expected to be displayed and sending the serial number to the programmable logic controller;
step 12, acquiring a trigger signal of a reading key and sending the trigger signal to the programmable logic controller, so that the programmable logic controller stores data at a position corresponding to the sequence number in a storage area to be displayed in a register of the programmable logic controller to a display storage area of the register based on the trigger signal of the reading key, and sends the data stored in the display storage area;
step 13, creating a preset page style, wherein the preset page style comprises a data display table, receiving the data stored in the display storage area and displaying the data in the data display table; and if the relevant staff modify the data displayed in the data display table, triggering a storage key by the relevant staff.
2. The method of claim 1, wherein the creating of the preset page style further comprises:
and inputting the serial number of the table expected to be displayed in a table number input area on the preset page style of the touch screen and triggering a reading key.
3. The method of claim 1, wherein the page further comprises a save button;
accordingly, the method further comprises:
acquiring data in the data display table and sending the data to the programmable logic controller;
and acquiring a trigger signal of the storage key and sending the trigger signal to a programmable logic controller so that the programmable logic controller stores the data in the display storage area to a position corresponding to the sequence number in the storage area to be displayed.
4. A method for displaying a plurality of tables on a single page of a touch screen is characterized by comprising the following steps:
step 21, setting the programmable logic controller, receiving a serial number of a table expected to be displayed and sent by the touch screen, and storing the serial number into a register of the programmable logic controller;
step 22, receiving a trigger signal of a reading key sent by the touch screen, and storing data at a position corresponding to the serial number in the storage area to be displayed in the register to a display storage area of the register based on the trigger signal of the reading key;
step 23, creating a preset page style of the touch screen, wherein the preset page style comprises a data display table, and sending the data stored in the display storage area to the touch screen so that the data stored in the display storage area is displayed in the data display table by the touch screen; and if the relevant staff modify the data displayed in the data display table, triggering a storage key by the relevant staff.
5. The method of claim 4, wherein the setting the programmable logic controller further comprises:
and when the reading key is triggered, the programmable logic controller stores the data of the storage area to be displayed to the display storage area.
6. The method of claim 4, further comprising:
receiving data in the data display table and storing the data in the display storage area;
and receiving a trigger signal of a storage key of the touch screen, and storing the data in the display storage area to a position corresponding to the sequence number in the storage area to be displayed based on the trigger signal of the storage key.
7. A touch screen, comprising: the device comprises a serial number acquisition module, a trigger signal acquisition module and a display module;
the serial number acquisition module is used for setting the programmable logic controller, acquiring the serial number of the table expected to be displayed and sending the serial number to the programmable logic controller;
the trigger signal acquisition module is used for acquiring a trigger signal of a reading key and sending the trigger signal to the programmable logic controller, so that the programmable logic controller stores data at a position corresponding to the sequence number in a storage area to be displayed in a register of the programmable logic controller to a display storage area of the register based on the trigger signal of the reading key and sends the data stored in the display storage area;
the display module is used for creating a preset page style, the preset page style comprises a data display table, and the data stored in the display storage area is received and displayed in the data display table; and if the relevant staff modify the data displayed in the data display table, triggering a storage key by the relevant staff.
8. A programmable logic controller, comprising: the device comprises a sequence number storage module, a data storage module and a data sending module;
the serial number storage module is used for setting the programmable logic controller, receiving the serial number of the table which is expected to be displayed and sent by the touch screen and storing the serial number to a register of the programmable logic controller;
the data storage module is used for receiving a trigger signal of a reading key sent by the touch screen and storing data at a position corresponding to the serial number in a storage area to be displayed in the register to a display storage area of the register based on the trigger signal of the reading key;
the data sending module is used for creating a preset page style of the touch screen, the preset page style comprises a data display table, sending data stored in the display storage area to the touch screen so that the data stored in the display storage area is displayed in the data display table by the touch screen, and if relevant workers modify the data displayed in the data display table, triggering a storage key by the relevant workers.
CN201710498868.2A 2017-06-27 2017-06-27 Single-page display method of touch screen, touch screen and programmable logic controller Active CN107450829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710498868.2A CN107450829B (en) 2017-06-27 2017-06-27 Single-page display method of touch screen, touch screen and programmable logic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710498868.2A CN107450829B (en) 2017-06-27 2017-06-27 Single-page display method of touch screen, touch screen and programmable logic controller

Publications (2)

Publication Number Publication Date
CN107450829A CN107450829A (en) 2017-12-08
CN107450829B true CN107450829B (en) 2021-06-15

Family

ID=60487084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710498868.2A Active CN107450829B (en) 2017-06-27 2017-06-27 Single-page display method of touch screen, touch screen and programmable logic controller

Country Status (1)

Country Link
CN (1) CN107450829B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988881B (en) * 2019-05-24 2023-01-10 西安诺瓦星云科技股份有限公司 Key lamp control method, device, system and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021814A (en) * 2007-03-16 2007-08-22 华为技术有限公司 Storage and polling method and storage controller and polling system
CN101093512A (en) * 2007-08-14 2007-12-26 金蝶软件(中国)有限公司 Data filtering method and data filtering system
CN101395547A (en) * 2006-03-07 2009-03-25 株式会社安川电机 Programming device and automatic data-structure identifying method
CN101660930A (en) * 2009-09-16 2010-03-03 罗钟洙 Automatic recording and processing method of batch detection values
CN101751233A (en) * 2009-12-31 2010-06-23 成都索贝数码科技股份有限公司 Method and system for expanding capacity of memory device
CN102521327A (en) * 2011-12-07 2012-06-27 江苏实达迪美数据处理有限公司 Method and system for demonstrating electronic form
CN105354151A (en) * 2014-08-19 2016-02-24 阿里巴巴集团控股有限公司 Cache management method and device
CN105431789A (en) * 2014-07-14 2016-03-23 三菱电机株式会社 Plc system and arithmetic expression data creation assistance device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3329399B2 (en) * 1993-06-14 2002-09-30 オムロン株式会社 Data link system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395547A (en) * 2006-03-07 2009-03-25 株式会社安川电机 Programming device and automatic data-structure identifying method
CN101021814A (en) * 2007-03-16 2007-08-22 华为技术有限公司 Storage and polling method and storage controller and polling system
CN101093512A (en) * 2007-08-14 2007-12-26 金蝶软件(中国)有限公司 Data filtering method and data filtering system
CN101660930A (en) * 2009-09-16 2010-03-03 罗钟洙 Automatic recording and processing method of batch detection values
CN101751233A (en) * 2009-12-31 2010-06-23 成都索贝数码科技股份有限公司 Method and system for expanding capacity of memory device
CN102521327A (en) * 2011-12-07 2012-06-27 江苏实达迪美数据处理有限公司 Method and system for demonstrating electronic form
CN105431789A (en) * 2014-07-14 2016-03-23 三菱电机株式会社 Plc system and arithmetic expression data creation assistance device
CN105354151A (en) * 2014-08-19 2016-02-24 阿里巴巴集团控股有限公司 Cache management method and device

Also Published As

Publication number Publication date
CN107450829A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
US9557897B2 (en) Apparatus and method for inputting cutting shape using interactive program in computer numerical control machine tool
CN106843141B (en) numerical controller
DE112013006971T5 (en) Programmable controller, its peripheral device and program for accessing table data of the programmable controller
CN107943466B (en) Database access statement generation method, device and equipment
CN102023615B (en) Command sequence-based method for displaying processing state information of digital control machine tool
US20200042588A1 (en) User Interface Tools and Methods Facilitating Data Transformations and Coding
CN107450829B (en) Single-page display method of touch screen, touch screen and programmable logic controller
CN101650800A (en) Method and device for updating task content in project task plan system
CN100464368C (en) Display controller allowing overlapping display
KR101252050B1 (en) System and method for converting cad file, and computer readable recording medium having program to implement the method
US10437707B2 (en) Evaluating and presenting software testing project status indicators
JP5580173B2 (en) Display device for plant monitoring and control system, and method for creating display screen thereof
US9792000B2 (en) System construction assistance apparatus, method, and recording medium
CN112446199A (en) Report generation method based on visual template
CN102053571B (en) Data acquisition method of information acquisition terminal
CN117272428A (en) Chip design recombination system based on display interface
CN113743067A (en) Method for expanding function of jQuery table plug-in unit
CN103530710A (en) Production line model establishing system and method
JP6389947B1 (en) Information processing system, information processing apparatus, and program
CN101436109A (en) Improved method of touch control apparatus fixed point test
US20220299968A1 (en) Control system, information processing apparatus, and information processing program
CN111819506A (en) Information processing apparatus, control method, and program
CN111026307B (en) Method and device for quickly associating graphics primitives in graphics configuration tool
Pikuleva et al. Hardware graphics driver based on FPGA
WO2015132916A1 (en) Production information management system

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
CP03 Change of name, title or address

Address after: 430000 Guandong science and Technology Industrial Park, Donghu Development Zone, Wuhan City, Hubei Province

Patentee after: Wuhan Yifei laser Co.,Ltd.

Address before: Building 3, Dingxin Industrial Park, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee before: WUHAN YIFI LASER EQUIPMENT Co.,Ltd.

CP03 Change of name, title or address