User Documentation

65
Supported operating systems – Graphic programming
2008050000/03/02-2018
INFOBEREICH
Die Angabe „MatNr/Version/Datum“ bzw. „1234560000/00/MM.YY“ ist als Textvariable deniert
und kann nur auf der „Rueckseite“ editiert werden. Die Textvariable erscheint in allen Doku-
menten dieses Buches, sobald eine Synchronisierung des gesamten Buches(!) durchgeführt
wird. ACHTUNG Die „Rueckseite” muss als Formatquelle(!) ausgewählt sein!
3.4.2 Repeater / Single template
Repeater
The repeater provides the framework for the Jasic program, i.e. once the delay has run its course, the re-
peater’s program code (combination of function modules) is executed and further processed. Program mod-
ules external to the repeater are executed only once. Repeaters cannot be interconnected and may be used
a max. of once in the program.
Single (Group)
The Single forms another frame for the Jasic program. In this case the program code (functional modules) is
executed only once - in contrast to the repeater.
The Group module ensures that all contained modules are executed before the subsequent module con-
nected with it is executed. Connected modules within the Group module are executed in sequence. The
sequenceofexecutionofnon-connectedmoduleswithinaGroupmoduleisundened.Someprogramex-
ecution structures (such as if, for example) do not allow any elements that are neither within a repeater nor
within a Group module--> program code that should only be executed 1x must in this case be part of a Group
module and cannot be alone outside a repeater.
3.4.3 Comparator template
The Jasic example comparator creates a Jasic framework in order, for example, to compare measured val-
ues with a boundary value. If the boundary value is exceeded, the system switches to the digital output 1.
You will require the following modules for this: “Sys-Var”, “Const. (Numeric)”, Comparator “Above threshold
value”and“Digitaloutput”.Thevariousmodulesareconguredbydouble-clickingtherespectivemodule.
Example:
• Open the properties of the module “SysVar”, “Const. (numeric)”, by double clicking it.
• Click the button “Select values”.
• Selectameasuredvaluewithinthetreestructureandconrmitwith“OK”
• Open the properties of the module “Const. (numeric)”, by double clicking it.
• Enter the value of the constants (e.g. a boundary value).
• Open the properties for the Comparator module “Above threshold value” and set the desired hysteresis
width, pre-run and after-run time.
• Open the module properties of the “Digital output” and set an output.