Ok thanks, it works better now but I have another question to ask you because my motor doesn't
run anymore.
I believe to know why but I would like to have your opinion. I bought a NI RS-485 2 ports
and each connector have 9 pins (cf figure). The RXD+ and RXD- permit to write data in the buffer and the TXD +/- permit to read the data generated by the motor. The problem is the motor works with only 2 cables, one is +RS485 and the other is -RS485. As I had to cable the DB-9 connectors myself, I reliabled the RXD+ with the TXD+ and the RXD- with the TXD-. Now, I have the impression that it can't work because when the one cable is connected (without motor), I receive answers in the reading. It was just stupid to do this.
What do you think about this problem ?