Hello, anyone know how to make a logic that monitors the change in position of a carriage through some rails ?. In my application I measure the position of the carriage by means of a laser sensor and I have to detect if the laser beam is interrupted when the carriage is stationary or moving. I have implemented a logic as the adjunct file, but doesn't work. the carriage has 15 positions.