CoDeSys V3 – Quick Start 1/6
Task:
A standard garage door is to be controlled with a CoDeSys V3 SoftPLC.

Description of the task:
Depending on the current state (DoorOpen /
DoorClosed) of the garage door it is either opened or closed if the user presses the control
button (Actuation). During this process the controller activates the corresponding actuators
(DoorUp/ DoorDown) until the sensors (DoorOpen / DoorClosed /
DriveOverload) report that the door has reached its final position or that an error has
occurred which ends the opening/closing process. By pressing the control button again the user can
also stop the garage door manually at any time. The lighting of the garage door drive is to be
automatically turned on while the door is opening or closing and then turned off again after a
certain time interval. Should an error occur such as a drive overload (DriveOverload) or if
the opening or closing process takes too long, the current action is immediately interrupted and
the lighting starts to blink until the control button is pressed again.



