Question:
How can P1 to P4 parameters be altered when the application is being executed?
Solution:
If the driver is communicating, you must to the following: stop communication via StopComm() function, edit [P] parameters, and then restart communication via StartComm() function.
Example:
Driver1.StopComm()
Driver1.p1 = 0
Driver1.p4 = 90
Driver1.StartComm()