Herunterladen Inhalt Inhalt Diese Seite drucken
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Notes

Other variants are conceivable, e.g.
Task 4 (page 4-
The easiest solution is to use the function block TOF.
5)
A little additional task in this context: The output should only switch after the
input (e.g. with 1 s) has been debounced.
Here it is easiest to use two function blocks TON in conjunction with S and R.
Task 5 (page 4-
Hopefully, the timer functions CTU or CTD should not be too difficult. Only the
5)
case "package full" has to be considered more closely. If you simply use the
condition "actual value = preset value" to reset the counter, then the output Q of
the counter is on TRUE for just a short time. The signal has to be "retained".
Task 6 (page 4-
Here we want to recall the remarks about the program structure,
seqq and Fehler! Textmarke nicht definiert.. At any rate a program module,
6)
e.g. name 'Slide' type 'Program' and language 'FBD', should be created with
'Project' 'Object' 'Add...'. Then there are two alternatives:
'Slide' has to be added to the main program PLC_PRG in any case.
Then 'Slide_out' consists of e.g. two networks. On the right-hand side of the
network there is the set 'Drive_slide_out' or in the second network reset
'Drive_slide_out' (set and reset are abbreviated by S and R in programming, in
FBD there is a button in the toolbar). Then there are only the tasks left to find
meaningful conditions or links so that the process runs as desired. Since in this
structure the entire task was divided into small partial tasks, these steps should
no longer be difficult.
If only the module 'Slide' was created, it should consist of four networks.
5.5.
Notes
Some more examples.
5-14
OR operator before the timer function, then both inputs are debounced or
other timer functions between 'Length' and OR operator so that the second
input can be debounced with another timer value, etc.
For this relatively easy and clear process all networks for controlling the
slide can be integrated in this module.
Those who program separate processes consistently in separate modules
will create two more modules, e.g. 'Slide_out' and 'Slide_in'. Then they
will be added to the module 'Slide'.
page 4-1 et

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis