Peter Nachtwey said:
??
There are many PLCs and each is different. Knowing how to calculate the PID gains is where the true knowledge is.
hehe, you caught me. Real truth is that I have calculated them, but process transfer function is a bit more complicated 2*exp(-4s)/(4s+1). And I've used Ziegler-Nichols method and playing with Matlab, I manage to determine that parameters.
I still have dilemas about my step 7 project. In 2-3 hurs, I'll test it, but I'd like everything to be OK. In attachment 1123 you can see where I found (-27648, 27648).
here's what I've found in documentation. So, if signal is bipolar, than if I understood
correctly, integeres on PIW... will be in range (-27648, 27648).
Also since analog card is biplar, I'll set all scaling and unscaling to biplolar, although
first two inputs are in range (0 , 10 V).
Also if you can look at my Step7 project, I changed a few things,
When you say I don't have much things, what do you mean exactly, since I intend to test this just like you see (in attachment PID.zip)
Am I'm missing something here, maybe?
I'm planning to download this project to PLC and start testing.
Thanks