Serial interfaces (RS485, CAN-BUS) for e.g. 2 barriers or speed gates and communication between two doors for interlock applications