@giuliano
I don't really know how to interpret that report except it shows the trigger is active
My guess is that the trigger is being activated multiple times by switch bouncing or similar.
You might need some denouncing code at the start like
G4 P20 ; short delay if sensors.gpIn[1].value = 0 ; bouncing M99 ; exit macroYou might also create a global variable in config.g like
global macroRunning= false
At the start of your trigger file put
if global.macroRunning = true M99 set global.macroRunning = true ; do your other stuff set global.macroRunning = false ; last line