equations for Limit distance mate ?

I was wondering if SW allows us to set equation for LimitDistance mate? What I want to do is to set 1 equation for the upperLimit and another equation for the lower limit. I wonder if that ispossible and if so , how?

Thanks in advanceSolidworksAssemblies