1> Identify each winding.
EG A1, A2; B1, B2; C1, C2.
Spin the motor up to speed with another motor.
Energise A1, A2. For use 480 volts and fuse for about 75% of nameplate current. If the fuse blows repeatedly the motor is probably intended for wye operation. Ruduce the voltage to 240 volts and continue. The motor is now running as an induction generator and we can use the voltages output on the windings to easily determine the connections.
Connect B1 to A2. Read the voltage from A1 to B2. If it is equal to the applied voltage it is connected correctly.
If the A1 to B2 voltage is approximately 1.73 times the applied voltage one of the windings is reversed. Reverse B1 and B2.
Now connect C2 to A1. Check the voltage from C1 to B2. If it is zero or close to it the connections are correct. If the voltage is approximately twice applied voltage reverse the "C" winding connections. When the voltage between the free ends of the "C" wionding and the "B" winding are zero or close to it, you can connect them and the motor is now wired in delta.
Now if any of the windings have been reversed, make sure the labels have also been reversed. Your connections should be A2 with B1, B2 with C1, C2 with A1.
To change to a wye connection, connect power to A1, B1, C1, and connect A2, B2, and C2 together.
Nema motors are often star-delta start and use the delta connection for the high voltage or rated voltage connection.
IEC motors are often dual voltage and use the wye or star connection for the higher voltage.
yours