M8 switched output based on speed.

Is there a way to configure either a switched or PWM output based on speed with an M8. I have the speed value in the M8 via dig input 3 from the gearbox VSS via a DMC-D. I'm looking to switch a relay to activate the reverse lockout solenoid on the gearbox.