FutureHorizon
Hj @thiagoralves and friends,
 
I am developiong a function block that uses TP, PID and RAMP in its logic, but I keep getting this error for these types when they are declared as local variables.
 
[14-03-26 17:23:53]: /home/user/build/OpenPLC Runtime v4/src/program.st:424-7..424-14: error: invalid variable before ':=' in ST assignment statement.
 
Is it not possible to use these function blocks inside other blocks? I tried declaring them as VAR_IN_OUT, but this did not solve the problem...
 
Running Latest V4, of course.
Reply 0 0
thiagoralves
I believe your error is elsewhere, not on the TP, PID and RAMP function blocks
Reply 0 0
Reply