I will check this out, thanks!
My requirement is that the number of input/output parameters to the FB should be a variable and when instantiating the FB, the required number of parameters can be specified. So one instance of the FB can have 2 IOs, another can have 10 etc. Thanks!
Hi, pardon my ignorance, I am a bit new to this, but to compare the Old & New values, I would need to have access to them. My doubt is, for a particular variable, say X, how do I go about getting the value of X:Old (as in the value it held in the previous scan cycle)? Thank you!
Is it possible in CODESYS to access the value that a variable held in the previous cycle and compare it with it's present value? I am used to working with ABB's tool, which had the option of defining an attribute called STATE to a variable, which helps in accessing it's previous cycle value in the ST code. Thank you!