Alan Case
Lifetime Supporting Member
Hi.
PLC = Contrologix
I am trying to think of the best way to start a project where I need to vary the temperature of a product for tempering purposes.
A temperature profile may be start at 500 degrees C then drop 5 degrees over 2 minutes, then rise 1 degree over 1 minute then repeat until 40 degrees is reached. At present the rise and fall temps and times are to be all the same but I can almost guarantee that at some stage they will want to vary these.
As can be seen from my hand sketch (very rough) there is a base temperature profile (dotted) over which the fall and rise profile (solid line) will reside. The profile I wish to follow is the solid line.
I can generate a saw toothprofile using the function generator FB. The maths to populate the FB arrays is grade school level so I have no problem with that method.
The output of the function generator could be fed into a PIDE which could give a S-Curve/Sinewave type transition from rising to falling temp and vise versa. To me this is not the most elegant way to do this. (copy of RSLogix trend of this method attached)
Another method is to use the RMPS FB with where the soak time is minimal and soak temperatures are incrementing and decrementing.
Peter had a suggestion of cam tables using time instead of position but I cannot see any way to access the data in a cam profile.
Peter also suggested lagrange interpolation to get a formula I could use. This does not look overly hard so it could be the way to go.
I welcome any and all advise
Regards Alan
Edit. Remove .pdf from the jpeg file
PLC = Contrologix
I am trying to think of the best way to start a project where I need to vary the temperature of a product for tempering purposes.
A temperature profile may be start at 500 degrees C then drop 5 degrees over 2 minutes, then rise 1 degree over 1 minute then repeat until 40 degrees is reached. At present the rise and fall temps and times are to be all the same but I can almost guarantee that at some stage they will want to vary these.
As can be seen from my hand sketch (very rough) there is a base temperature profile (dotted) over which the fall and rise profile (solid line) will reside. The profile I wish to follow is the solid line.
I can generate a saw toothprofile using the function generator FB. The maths to populate the FB arrays is grade school level so I have no problem with that method.
The output of the function generator could be fed into a PIDE which could give a S-Curve/Sinewave type transition from rising to falling temp and vise versa. To me this is not the most elegant way to do this. (copy of RSLogix trend of this method attached)
Another method is to use the RMPS FB with where the soak time is minimal and soak temperatures are incrementing and decrementing.
Peter had a suggestion of cam tables using time instead of position but I cannot see any way to access the data in a cam profile.
Peter also suggested lagrange interpolation to get a formula I could use. This does not look overly hard so it could be the way to go.
I welcome any and all advise
Regards Alan
Edit. Remove .pdf from the jpeg file
Last edited: