Its Leadwell MCV-600XL with Fanuc O-MF , customized by Fong Lee Singapore . So no help from Leadwell directly.

I have backup of parameters but no diagnostic parameters or macro programs, but diagnostic params were in the book so I entered them from there.
So parameter 230 = 6 was from backup , it means M6 calls O9020 , but in the book of parameters there are no parameters between 219 and 250 also there is no mention of parameter 40, in my backup it was 00010001

Also 9894 00000001 , 9895 00000001 in backup but in original book only 9895 is 1

ATC is carousel umbrella type

So my question is how should this macro look, I have tried couple of examples found using T#4120 or T#20 with or without M6 . Using none of these in 9020 what I have got is that in some cases only carousel spins indefinitely in place, or in other case carousel aproaches the spindle, tool is released , carousel lowered and then it starts to spin indefinitely .

Maybe it does not need a complicated macro because it seems all is done i ladder , I have complete ladder diagrams.

This is my Macro page with variables dont know if this is Macro A or B

Attachment 387166

Attachment 387168