This application claims priority of European Patent Application No. 08007466.9 EP filed Apr. 16, 2008, which is incorporated by reference herein in its entirety.
The invention relates to a method and a device for creating a table in the automation environment.
The term PLC (Programmable Logic Control) is understood to mean a digital computer and/or control device, which is used to automate industrial processes such as for instance the control of machines or conveyor belts.
Project planning software is in principle made available to the customer/end user in the automation environment. With the aid of this project planning software, said customer/end user then creates on his/her part suitable programs, tables/lists and data for his/her specific application, which are then run on PLCs.
So-called grids or table editors are implemented in the project planning software in particular. A table editor is a table or list (as yet unfilled with data), which is transferred to the user as part of the project planning software. The table editor has a plurality of columns, which may be logically linked to each another. Technical facilities, like for instance a module, are virtually mapped in the table editor of the project planning software. A map of the relevant module as an (empty) lattice is thus communicated to the user. The lattice therefore contains a map of the properties of the module, in other words the input and output parameters. The user then fills the table editor with the relevant data.
Certain columns can now be logically linked or coupled to one another by way of their contents. A separation of these logically linked columns is permitted in the prior art for the (entirely sensible) instance of being able to process columns during the course of moving or hiding them, which gives the user a degree of flexibility in the processing of his/her tables and lists. If columns which are logically linked and/or coupled to one another are separated, the logic of the table editor is thus destroyed.
If the movement or showing/hiding of columns is permitted in principle, the user must be able to retrieve the separated columns at any time in order to be able to maintain the logic of the table editor. This is done by selecting a correspondingly long and detailed, self-explanatory column header. Logically connected columns can thus be re-identified and merged even after a separation. However this must be carried out manually, which, in practice, involves a considerable expenditure of time for the user.
Also known from the prior art is the process of basically suppressing the moving, showing/hiding of the columns. The user thus lacks essential means when creating his/her own solutions during the project planning of his/her software in the automation environment.
An object of the invention is to demonstrate a way in which the processing of logically connected columns can be configured efficiently in a table editor.
The object of the invention is achieved by a method and a device as claimed in the claims.
The invention is advantageous in that, when creating the project planning software, certain columns in the table editor are defined as connected and thus virtually form a unit. This feature known as “Twin Columns” thus offers all current functions, which are also made available for an individual column in the grid. This also allows the user to adapt the column arrangement to his requirements, without any disadvantageous splitting up of connected columns when doing so. The invention finally allows for a short label in the column header, since the marking is always viewed in the context of the adjacent “Twin Columns”. An optimized screen layout and short and self-explanatory markings also result.
The invention is described in more detail below with reference to an exemplary embodiment shown in the figures, in which;
The columns 2, 3 are now to be logically linked to one another in accordance with the present exemplary embodiment. A “Twin Columns” feature is provided, which ensures that the two columns 2, 3 cannot be separated when being moved or hidden. The corresponding situation can be seen in
According to the present exemplary embodiment, only two logically assigned columns 2, 3 are claimed, which have a 1:1 assignment. This means that row 1 of column 2 is assigned to row 1 of column 3 etc. The invention is however principally not restricted to two columns. A plurality of logically assigned columns can thus be used. Here the assignment can also assume considerably more complex forms than in the case of a 1:1 assignment.
Each of the “Twin Columns” has all column functions which are known per se within a grid. This includes column-by-column selection and sorting behavior as well as changing the column width by means of dragging the separators.
Nevertheless, there are decisive differences in respect of the remaining columns in the grid, in other words the columns which do not form a unit with another column.
The columns can only ever be moved together by the user. If the user therefore initiates the movement (e.g. by way of actuating the mouse and dragging across one of the headers of the group of “Twin Columns”), all columns which belong to this group are thus also moved. The user therefore immediately obtains visual feedback, e.g. via the display of a shadow object of all relevant headers during the movement process (
Number | Date | Country | Kind |
---|---|---|---|
08007466.9 | Apr 2008 | EP | regional |