A software function that turns physical outputs on and off, depending on the level of a specified input. Servomotors, resolvers or encoders usually offer the input for software limit switches.