Move object by a given distance on rotation of another (bolt & screw)
Sounds like you need to set up a custom driver based on the rotation of the screw. This video is on corrective shape keys but is a good introduction to the use of drivers in animation 
https://www.youtube.com/watch?v=6mrceZ6fe-o