Programmeeritavad kontrollerid Labor 2
Note that after the button is
pressed, a feedback loop is activated that will prevent the button from being pressed again and
again.
Tallinn University of Technology March 2013
SECOND CONTROLLER
Most of the user functions are the same in this controller, consult the pages above if something is
unclear. The only difference is that instead of an Extra block, there are two AddOrSub and
Counter, both of which are connected to the operation of the parking lot.
Tallinn University of Technology March 2013
ADDORSUB
The inputs of this block are the three sensors of the parking lot the outputs are either `one car less'
or `one car more', and the goal is to determine whether a car has entered or exited the lot. When