I am trying to understand how I could control a MDrive plus (Datasheet,). The advantage of this motor is that the driver is included so I would be able to directly interface it with the Arduino mega without additional device.
I have found some examples on internet to control a NEMA 34 motor but only with external driver.
So I don't know how to begin. There is two connectors and so I think two ways to communicate with the driver, with SPI and with I/O wires.
I believe you need something to convert the Arduino TTL serial signals to RS485.
I guess your comment is right if I would use the SPI connector?
I am sceptic because the motor is already connected to NI acquisition board (with the 4 wires blue, white,red, brown) and I don't think it uses RS485 protocol :
Finally I found someone who have ever managed a project with the same motor. Hence it's possible to control it with the I/O and I think it's the easiest way.