Are parameters in custom instructions passed by value or by reference?
I'm trying to make a PID controller function that takes a list containing the PID coefficients, SP/PV/Output etc. as a parameter.
The custom instruction attempts to change the value of items within the list as its output. But it doesn't appear to be doing this successfully.
Just want to clarify the actual mechanism of parameter passing so I can confirm or eliminate it as a source of error.