Note that using the ;@DC prefix as suggested by Tony will allow you to assign completely different functions to the knob when on ;@AC power.

Cheers