SMC03A configuration

How does one change the max analog reference command (“target condition” in the doc) via the random variables T_PID, PIDRATE, MISCPARAMS, etc. on the SMC03A motor driver?

For example, I have a digital encoder for feedback which will output 5kHz pulses at the speed I want to control the motor to. What do I change (which variables and to what values) to make this be equivalent to a 2V analog reference command (“target condition”)?

Please show the math and variable names in how you setup this up as well (so that I can figure out how to reconfigure it for other setpoints as well).

Thank you.