Hi, thank for response - after long debugging ... 10h .. my expected behavior was reached by changing cleaning_buffer_counter = TEMP_TIMER_FREQUENCY; to 10 - looks like TEMP_TIMER_FREQUENCY is equal to 1000 and this is reason of delay of 1 second. Now new bad behavior is emerging -> my algorithm works like charm but there is no ok returned after reaching to final position. So algorithm worksby promanowski - Firmware - Marlin
Hello, I can’t find where delay is hidden so if someone can be so polite and give me a hint. In general i try to modify Marlin FW and MKS Gen L board to handle EDM machine. I have sperate spark generator that also is sensing if there is short. So in marlin i add my own M1910 code that is moving Z axis a bit back and a bit fwd (to hold original position). My problem is like this, when M1910 code (by promanowski - Firmware - Marlin