Use a single AOI Add on Instruction to do all of the interface with your linear actuator.

Start your hands-on training: Studio 5000 PLC Trainer