Are parameters in custom instructions passed by value or by reference?

  1. I'm trying to make a PID controller function that takes a list containing the PID coefficients, SP/PV/Output etc. as a parameter.

  2. 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.

Tags
Vizzy

No Upvotes

Log in in to upvote this post.