Posted 20 Jan 2020 Hi, I have some code and the PLC scan is quite long 55ms. I have also defined CTBL function with HSC 0 and when the value is reached program (Interrupt TASK 04) is executed - just SET output 100.01 (electrovalve for cutting) . My question is if when I have so long PLC scan, timing for OUTPUT 100.01 is always the same - immediately when Interrupt TASK 04 is executed or is ON after scan is done and then cutting moment is different. If timing can be different how to force OUTPUT 100.01 from Interrupt TASK 04 not after PLC scan is done Share this post Link to post Share on other sites
Posted 20 Jan 2020 You don't specify which PLC you are using, but you can right click on the coil and choose immediate refresh on our newer PLCs. The coil will then have an exclamation point inside of it to indicate immediate refresh. Of course you will have to do this in the Online Edit mode or transfer the program to the PLC. Share this post Link to post Share on other sites
Posted 20 Jan 2020 I wrote - it is CP1L-E Anyway if I make code !SET 100.01 in Interrupt TASK 04, I get output ON immediately, right? Share this post Link to post Share on other sites
Posted 20 Jan 2020 30 minutes ago, pszczepan said: I wrote - it is CP1L-E Anyway if I make code !SET 100.01 in Interrupt TASK 04, I get output ON immediately, right? Yes. Share this post Link to post Share on other sites