Im semi new to plc's. What I am wanting to do is Used a laser distance sensor to control hydraulics on a machine. More or less a stop system. Is there a way where I could use a laser distance measure to turn on an output at a certain distance. I know you can take the 0 to 10 v and scale it in a plc but is there a way where you could input where you wanted it to stop like though an hmi. Say the cylinder is 20" on the scale fully retracted and fully extended it is 10" how would I turn of the the solenoid at 15" or be able to input where I wanted it to stop. Thanks