Simulation linear Spring

I am trying to animate an assembly show a spring compressstage,Does anyone know how to do this using spring simulationfeature ortutorial ?

ThanksSolidworksGeneral