in which the operation of the mechanism is determined by the position of the carriage