Hi 13engines,
It is an O-MC controller.
I do not know the history of the machine, since i have it, i did not have to reload the parameters or anything of the kind.
The code you provided works like a charm, so thank you very much, but I still do not understand what in the original code made it...