Hi everybody,
It's been now two days that I am fighting with MACH3 to make my NEMA23 (425oz) stepper motors work and I start losing too much hair which does not please my hairdresser at all...
It would be very nice if someone can give me some help with the hardware and software.
Here is what I have done so far :
Hardware
I connected two 36V-350W power supply to my four DM542 stepper drivers and to a LM2596S to get a voltage between 18-32V for the NVEM.
I connected the LM2596S to the NVEM (well it's a Chinese copy of a NVEM) with about 26V.
I connected the DM542 stepper Drivers to my NEMA23 (425oz / fours wires / 200 steps / 4.20 A peak) motors.
And I finally connected the NVEM to the stepper drivers without connecting the ENA part. I just connected COM+ (from NVEM) to DIR+/PUL+ (on DM542), CPX- (from NVEM) to PUL- (on DM542) and DIX- (from NVEM) to DIR- (on DM542) for each axis. I have nothing else connected to the NVEM (no E-STOP, no sensors...).
I also switched ON switches number 6/7/8 on the DM542 stepper Drivers to get 4.20A and 400 steps... I am not sure whether it's good or not ?
When I plug the entire electrical cabinet and switch it ON, there is no fire and all the LEDs are green (powersupply, driver, NVEM). Everything seems to work pretty well.
Software
Then I tried to connect the NVEM to my PC.
I followed the NVEM instructions and connected it directly to the ethernet plug on my PC.
I changed the IP address to 192.168.31.10... and I added the plugin NVEM_F.dll in the Mach3 folder. When I open the software I can select the plugin and sometimes I get the message "nvem.... connected" sometimes not, it depends. Anyway, the orange LED next to the Ethernet plug on the NVEM always blink very fast after I select NVEM plugin, which let me think the connexion is done properly even if I do not receive the message... (Do you think it is true ?)
The emergency mode is always actived when I start. I reset it is OK.
The motors make a little sound and become very slowly lukewarm, but they do not move at all. I took the voltage across the 2 coils of the stepper motor. One is 0Volts and the other is 2Volts... That's why there is a little sounds and I cannot turn the rotor with the hand. Is it normal to get these 2Volts?
Then in Mach3 I changed the native units to mm's (because I am french).
After what I set up the Ports, Pins, Motor parameters as explained in the NVEM instructions.
Ports setup and Axis selection
Only, Port#1 Enabled (0x378 Port address) and Kernel speed 25000Hz
Motors outputs
I enbaled all axis even if there are not connected as follow.
Input signals
As I do not have any Emergency switch connected to my NVEM, I found on another thread that I have to put #port 0 and pin number 15 to do my tests.
All other inputs are disabled.
Output signals
All all outputs signals are disabled.
No encoder and no spindle for the moment...
Motor tuning
I tune my motors as follow for the moment.
However when I load a G-code and try to drive the motors, nothing happen.
Do you have any idea what I am doing wrong ? Can you help me with this ?
Current settup :
Windows 10 on a laptop
MACH3 (Mach3Version3.043.066)
6 axes controller (https://www.ebay.com/itm/NVUM-6-Axis-CNC-Controller-MACH3-Ethernet-Interface-Board-Card-Fr-Stepper-Motor/263246935368?epid=870196799&hash=item3d4abd7548:g:GYEAAOSw0oBZ1c~b)
DM542 (https://fr.aliexpress.com/item/Stepper-motor-driver-cintroller-DM542-microstep-motor-brushless-DC-motor-shell-for-42-57-stepper-motor/32815838285.html?spm=a2g0w.search0104.3.1.R4Teb2&ws_ab_test=searchweb0_0,searchweb201602_4_10152_10 065_5000015_10151_10344_10068_10345_10342_10343_51 102_10340_10341_5130015_10609_10541_10084_10083_10 305_10304_10307_10306_10302_10610_5080015_10312_10 059_10313_10314_10184_10534_100031_10604_10603_101 03_10605_10594_5060015_10142_10107,searchweb201603 _32,ppcSwitch_3&algo_expid=9ac0cadc-e91d-44b5-b5da-524e3c5d89a4-0&algo_pvid=9ac0cadc-e91d-44b5-b5da-524e3c5d89a4&rmStoreLevelAB=0)
NEMA23 (https://fr.aliexpress.com/item/Nema-23-Stepper-Motor-3Nm-425oz-in-4-2A-4-wires-10mm-Shaft-CNC-Mill-Lathe/32585963113.html)