PING)) Sensors.. Communication Help

I don't think there is an actual way, because all motors/servos are not the same. Unless you code it yourself with set ranges (between 5 - 12 inches, turn this much) that's what I did for my robot.