Procedural elements |
Manual -> Energy Edition -> Automatic Line Coloring (ALC) - Topology -> Engineering in the Editor -> ALC elements -> Procedural elements |
Show all Hide all |
Procedural elements are created in zenon with a Combi Element. Their state determines the coloring of the connected line.
The following properties can be defined for them:
Function type Possible types are: |
Defines the technological type of the Combined element. |
- Source |
Passes on its color. If the source is active (1) all connected lines, which have activated the element property Color from ALC, get the color of the source. The color is defined in the project properties as the source color. (e.g. tanks or generators). A source is a single pole with a static source number assigned to it. The source is switchable over the state of its main variable. Generally, sources are considered as net-synchronous and detachable. |
- Generator |
A generator generally behaves like a source, but it is considered as independent an not net-synchronous. |
- Switch |
With this lines can be split. If the
switch is closed/active, the connection between the two lines is
closed and the line is colored with the defined color of the source
up to the next inactive switch. In this case a switch forwards the
source color of the input line to the output line. If the state of
the switch is 'malfunction' or 'undefined', the color of the line
turns into the color 'undefined' from the ALC configuration in the
project properties. |
- Disconnector |
A disconnector generally behaves like a switch. However, a disconnector must not be supplied with voltage in the topological model. Its state (on, off, intermediate position, malfunction) is determined by its main variable. |
- Drain |
This defines the end of the line. The
drain does not influence the coloring, but is solely used to
complete the model. If an external program (e.g. VBA) should access
the model, then the drain probably is needed for further
calculations, and so has to be inserted. |
- Transformer |
A transformer is a drain and a source at
the same time. SO with a transformer the input color (input source)
can be transformed to a new output color (transformer source
color). |
- Link |
With a link a line can be continued on
some other place. If a link is supplied by a line, all other links
with the same link number also are supplied by this line. Here it
does not matter, whether the links are in the same picture or on
different pictures in the project. So picture independent lines can
be defined. It is possible to have more than two links with the
same link number in one project. |
Link number |
Here the link number is entered for the
function type link. All identic link number is a project correlate.
Detailed description in the function type Link. |
Source |
Here a source is assigned to an element.
In this selection box all sources defined in the ALC configuration
(in the project properties) are available. All source names are
listed. |
A variable of the IEC type BOOL or integer has to be linked to the element as the main variable, so that the switch can get the status (open, closed, invalid). In the same way the source gets its status (active/inactive) frim the linked main variable.
For the function types source and transformer the defined source number is forwarded to the consumers (drains) over open/closed switches. The stati and colors of all connected lines are calculated from the superposed sum of the supplying source numbers and procedural elements.
Info |
Only the first two bits are considered for the switching. The first bit stands for the actual switching. 0 equals off and 1 equals 1. The second bit is the error bit. There is no error only if it is 0. |
Attention |
If in the single status the color and the filling color from the ALC is activated, also the procedural elements are colored by the status of the connected lines in the Runtime. |