|
Previous Top Next |
· | At begin, the program should present, after of obligatory plc clause, a name or denomination, that will may describe, on synthetic, but significant mode, of that treats the control. The end of the source program is signalized with the end clause.
|
|
· | With the var clause it make possible (however not obligatory) the association of meaningful names to variables of the program, those can be referenced subsequently, in the body of the logic of program, making more clear its understanding.
|
|
· | The network clause segments the program into parts, whereabouts each part initiates the utilization of the stack, making its management more rational, because guarantees that it don't will grow without limit in the course of functioning of the program. In addition, when enlarged comments enlighten the use of each segment, the control program gets more well documented, facilitating its understanding and maintenance.
|
|
· | The syntax of the LCE is similar to one of general use programming languages, like C, C++, Pascal, Basic, but is infinitely smaller and more simple that these ones, it approaching of imperatives commands into natural language (in Portuguese, English, or bilingual, regardless) and of the Structured Text - ST, what minimizes too much the learning curve of the LCE, even for the laymen in programming, because it hides of the user the inherent complexity to the control languages Instruction List based.
|
|
· | The alternative ways of PLCs programming, the straight drawing of the ladder diagram or of the function blocks diagram, are appropriate, in programs of minor presence, for electricians or electronic engineers and technicians, respectively, that detain the specialized required knowledges.
|
· | Note that, in programs of larger presence, this technique, even for the specialists on the area, suffers at the aspect of the documentation about the implemented control, that constitute a long supplementary work to be made, that ensue of the absence of significance and textual semantics of the obtained program, features naturally inherent to the high-level languages, where the text itself of the written program composes its better documentation.
|
|
· | For visualization purposes of the simulation, from Instruction List, is automatically generated the correspondent ladder diagram, that will function as if traversed by real scan cycles, repeatedly reading the points of virtual entry and updating the respective internal variables (simulation of the memory-image of I/O process), processing the instructions from beginning to the end of the control program, or in accordance with the utilized logic of deviations, attending, if enabled, the occurrences of virtual events of interrupts, and, at the end, setting the results on the points of virtual output. Obs.: the way of updating of the inputs and actuating of the outputs can be altered by the menu item I/O.
|
|
· | This cycle is repeated indefinitely, until that the Simulator be put on the Stop Mode.
|