Yeah , but i don't see in my case how put delay timer because my cycle finish if time and not action. to example "The object finish to move" i put delay with "TON" so boolean i understand how to make but not with time.
I try this with DO WHILE but the program don’t block in the DO WHILE and the refresh of temps_1 and temps_2 is the same so diff_temp =0
I want maybe 30/50 ms of delay to have a good derivate of my temperature. Do you have idea how use delay timer to have 1 times of the PLC not refresh and one other refresh and when the sub is good the action is make ?
i try getevaltime4,detdeltime4,plc time,..etc i'm block.