Trying to use stepper motor Portescap 26BC 6a

I'm trying to use a Portescap 26BC 6a:
the only info I found is that : data sheet
but I'm not really sure on how to use it with my Arduino UNO
when I run a stepper example like the "Stepper Motor Control - one revolution" it just does a lot of turns stops and do a lot of turns always in the same direction
I hope someone can help me I'm a beginner with Arduino and electronics

What are you using for a driver? I do not think that that is a stepper motor. The data sheet says brushless DC motor. It may need a specialized driver.

i dont have any driver just this motor
I've found it on my desk i think i took it on a dismantled thing (i don't remember maybe a printer

That is not a stepper motor. It is a brushless motor, apparently with a built in driver.

It should run fine on 5V and accept 5V logic for direction and start/stop. The blue wire is the output of a rotational speed sensor.

so orange wire - > for direction (LOW or HIGHT)?
yellow wire - > on off (LOW or HIGHT)?
green wire - > ?
blue wire - > output speed?

can I set the speed?

I would connect it for testing as follows:

Brown: Ground (GND) for both motor and logic
Red: motor power supply (not the Arduino 5V output, suggest 4xAA batteries or a wall wart).
Orange: GND or 5V, direction
Yellow: GND or 5V, stop or start
Green: logic 5V (Arduino 5V output OK)
Blue: tachometer pulse output, I think. Leave open until you can verify this.

I do not think you can set the speed.

it works exactly the same with battery or arduino the direction and the on/of works with digital pins
but i dont know what is the green (logic) if i don't give it 5v the motor does not work

Green is the logic power supply (Vcc) connection. Power must be provided for the logic to work.