Claims
- 1. Programming unit for memory-programmable controls in which, for automatically generating a control system flowchart from a control program, a software tool is stored, in particular as firmware, in which, by analysis of the control program, a sequenced number of functional blocks (F.sub.1 -F.sub.6) is obtained, each of which exhibits one or more inputs and outputs (l.sub.1 -l.sub.14) and which is further processed by the software tool in the following steps:
- these functional blocks (F.sub.1 -F.sub.6) are distributed according to their sequence from right to left in columns (I-IV) of a graphic display unit that can be divided into vertical columns;
- within columns (I-IV) the functional blocks are positioned from top to bottom according to their sequence;
- the vertical spread of the functional blocks (F.sub.1 -F.sub.6) is established by positioning their inputs and outputs, with first the inputs and then the outputs being positioned;
- during positioning the inputs and outputs, at the same time the course of the connecting lines leading to and coming from the inputs and outputs is established at least temporarily to the extent that positioning of the functional blocks is known;
- the connecting lines are represented as horizontal lines and only connecting lines between an output and one or more inputs that are positioned at different vertical positions contain an additional vertical section;
- the functional blocks are extended in the vertical direction so that vertical sections in connecting lines are avoided, unless in doing so the positions of already definitively positioned inputs or outputs are affected;
- if vertical sections of connecting lines should coincide, the control system flowchart is spread in the horizontal direction so that space for a parallel course of the vertical sections is produced;
- if an input of one functional block depends on an output of another functional block, first all inputs and outputs of said another functional block are positioned;
- if a conflict occurs between an output of a first functional block and an input of a second functional block, which conflict is produced because the line coming from the output or the line leading to the input, although not the connecting line between an output an done or more inputs, cannot be represented only horizontally, a new positioning of all inputs and outputs of said first functional block and said second functional block is performed, and said functional blocks thereafter being positioned in reverse sequence.
Parent Case Info
This application is a continuation of application Ser. No. 163,117, filed as PCT CH86/00094 on July 7, 1986, now abandoned.
US Referenced Citations (5)
Foreign Referenced Citations (1)
Number |
Date |
Country |
0200974 |
Nov 1986 |
EPX |
Continuations (1)
|
Number |
Date |
Country |
Parent |
163117 |
Feb 1988 |
|