Hmm... I don't think you can use both resistance and PWM dimming. For resistance dimming, a 10k resistor is often used in series with a pot, mostly to due to many pots being a little under their rated value, and 100K or higher is needed to achieve full power.
I'll admit some confusion, never heard of using both resistance and pwm. A resistor in series with the driver and opto? Why prevent full off? Why not do it with PWM? Also, Meanwell datasheets say 10v pwm, not switched pwm. We'll figure it out, lots of smart people here.