Hello,
i did not read whole post, but i think you are in seach of this help Page, where the change of Parameter during runtime is descriped more in detail.
AS-Help Changing Stepper Configuration while Runtime
There are other Community Posts about ProcessParam/Config:
Unbounded Arrays in Process Param/Config
Usage of Process Config/Param
Greetings
Michael