Ships arrive at the lock from both directions. The aim is to control the lock chamber so that the ships can pass the section of river with no accidents. The ships automatically enter the lock chamber when the entry signal shows green. They sail out when the exit gate is fully open.
For test purposes, you can stop ships approaching or have the ships continue to sail if you click with the mouse on the corresponding red lamp (bottom) or green lamp.
2 sensors for detecting whether the left-hand or right-hand lock gate is closed.
2 sensors for detecting whether the left-hand or right-hand lock gate is open.
2 sensors for detecting whether the water level has be equalized at the bottom or top.
2 sensors for detecting whether a ship has come from the left or from the right.
2 sensors for detecting whether a ship is passing the left-hand or right-hand lock gate.
1 sensor for detecting whether there is a ship in the lock chamber.
2 actuators for opening the left-hand resp. right-hand lock gate.
2 actuators for raising or lowering the water level.
2 actuators for generating a green signal at the left-hand or right-hand side.