You can use 'pan_setdigits' to change digit parameters at runtime.