4 Programmable Logic Controllers Flashcards
Explain the term cyclic execution.
There are four repeating steps: – Internal Checks – Reading Hardware Inputs – Proram Execution – Writing Hardware Outputs
What are the two worst-case assumptions that are made when calculating the
maximum reaction time?
The two assumptions are that the input changes just after the inputs are read and
the maximum cycle time is reached.
How are maximum cycle time and maximum reaction time linked?
Maximum reaction time ≈2· Maximum Cycle time
What to do, if reaction time is too long?
▪ Optimize Program
▪ Choose more performant PLC
▪ Use interrupts
How does the estimation of real-time behavior work?
▪ Determine longest program execution path.
▪ Measure or estimate cycle time for this execution path.
▪ Apply formula for maximal reaction time
Idea behind the Function Block language (FB):
Idea:
▪ Resembling switching circuit design by gates
▪ blocks with input and output
Idea behind the Ladder Diagram (LD)
Idea:
▪ Resembling switching circuit design by relays („schematics“)
▪ „contacts“ and „coils“
What does the “set” command do?
set variable to 1
What does the “reset” command do?
set variable to 0
Name three different timer block functions:
▪ TON Timer On Delay
▪ TOF Timer Off Delay
▪ TP Timer Pulse