try SFC
initblock empty
transition is start button
block 1 setpoint:=300
transition is a timer TON for two hours
block 2 other setpoint
transition for the time etc.
and so on
go back to init is automatic.
(can not see the img)
ladder diagram is also possibble
do it with steps as you learned in school (oops you are and i am doing your homework?)
start and init or step1 and notstep2 coilstep1
ton and step1 or step2 and notstep3 coilstep2
etc
step1 setpoint:=300
step2:=600
etc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have a profiler library function but it was not working so i need a smple program.
with this mail i have attached the file
This Temperature profiler will run under PID action not like the normal timer sequence.
have a look in w www.oscat.de w
they have exactly what you are looking for
if you like to pay me i can write it for you.
give the input and the output.
yes yes i am fan.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear All,
Iam using CoDeSys-V2.3
I need a sample program for Temperature profiler.
for example:
[img]E:\profiler.jpg[img]
next 2 hrs the temperature should maintain 300 deg C, after 4 hrs it should go 600 deg C and program should end.
many ways to make it:
try SFC
initblock empty
transition is start button
block 1 setpoint:=300
transition is a timer TON for two hours
block 2 other setpoint
transition for the time etc.
and so on
go back to init is automatic.
(can not see the img)
ladder diagram is also possibble
do it with steps as you learned in school (oops you are and i am doing your homework?)
start and init or step1 and notstep2 coilstep1
ton and step1 or step2 and notstep3 coilstep2
etc
step1 setpoint:=300
step2:=600
etc
hi,
i have a profiler library function but it was not working so i need a smple program.
with this mail i have attached the file
This Temperature profiler will run under PID action not like the normal timer sequence.
Tempertaure profile.pdf [8.77 KiB]
have a look in w www.oscat.de w
they have exactly what you are looking for
if you like to pay me i can write it for you.
give the input and the output.
yes yes i am fan.