Controllo direzione di un Motore a 230v.

You CANNOT connect those wires until you get the wire name/function information from the manufacturer. It is likely not as you suggest. I don't know why it has 4 wires. If it were a stepper it would have 5 or 6. If it were brushless it would have 3. . I have no idea what to do with those wires without the Wire function reference table. you need to get that before you can use it. And FYI,
NEVER BUY A MOTOR WITHOUT THAT INFORMATION IN ADVANCE.