Need Help! MACH3 + NVEM + DM542 + NEMA23


Results 1 to 7 of 7

Thread: MACH3 + NVEM + DM542 + NEMA23

  1. #1
    Registered
    Join Date
    Apr 2016
    Location
    France
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default MACH3 + NVEM + DM542 + NEMA23

    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)


    Similar Threads:
    Attached Thumbnails Attached Thumbnails MACH3 + NVEM + DM542 + NEMA23-4-png   MACH3 + NVEM + DM542 + NEMA23-3-png   MACH3 + NVEM + DM542 + NEMA23-2-png   MACH3 + NVEM + DM542 + NEMA23-1-png  



  2. #2
    Registered
    Join Date
    Dec 2017
    Location
    Switzerland
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default Re: MACH3 + NVEM + DM542 + NEMA23

    Hi!
    The motor outputs config is correct but you need to disable Port#1 because NVEM is communicating through its DLL.
    The second issue you can have is slow optocouplers in your motor drivers. NVEM generates ~2.5us step impulses to which a slow optocoupler will not react.
    I had to change 4n25 to H11L1 to make them working.



  3. #3
    Registered
    Join Date
    Apr 2016
    Location
    France
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: MACH3 + NVEM + DM542 + NEMA23

    Hi Yury_D,

    Thank you very much for your answer.

    Do you have a functional CNC using NVEM, stepper motors, VFD+spindle, limit switches...?

    If so, could you post some screenshots of your Mach3 settings and pictures of your cabling (steppers motors, drivers and spindle to the NVEM) please ?

    For the moment I just managed to connect my NVEM with Mach 3 (and it works perfectly at every start NVEM is detected).
    But I do not manage to turn on a stepper motor, the spindle or detect a limit switch.
    Manually with the VFD my spindle works perfectly but not with Mach 3. So it is either my settings or my cabling (4 wires to cable between the VFD and NVEM).
    If I put a piece of metal in front of my limit switch a LED lights up on it. But in Mach 3 nothing in Diagnostics...

    Thank you for your time



  4. #4
    Registered
    Join Date
    Apr 2016
    Location
    France
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: MACH3 + NVEM + DM542 + NEMA23

    Hi everybody,

    As I am still struggling with Mach3 and my Home Made CNC composed of a NVEM (controller) + a 2.2kW Spindle and VFD + 6 DM542 Drivers + 6 NEMA23, I try again to require your help.

    For the moment, I only managed to perfectly connect and control my MPG with Mach 3 and the NVEM.

    So the connection between Mach3 and my NVEM is OK.

    Today I tried to do the job with my Spindle+VFD using Mach3 (it works manually) but unfortunately there is something wrong...

    I connected the VFD pins as followed :

    DCM -> GND1 (I also tried with ACM and ACM+DCM, but I don't know which is correct)
    VI -> VS0
    FOR -> OUT1
    REV -> OUT2

    I used the followings settings in Mach 3 :


    This is the max speed of my Spindle 24000 tr/min


    Here I don't know if the value 100 for turn manual Spindle Incr. is right, and 5 for Spindle 0V increment...


    Here I don't understand what to enter (step per ?...)


    Here I tried different PWMBase Freq. (5 / 50 /100). Nothing works.


    Here I followed NVEM instructions


    Here too

    And I changed the settings in the VFD to do PD001 -> 1, PD002 -> 1. Is there anything else to change in the VFD ?

    On VS0 (NVEM) I have always 10V (even if change the Spindle speed in Mach 3). On OUT1 and OUT2 I have 24V ... I don't know if it's right ?

    Does anybody have an idea what is wrong with my settings ?
    By the way, I still have not managed to run my stepper motors... They heat very slowly but do not run...

    Cheers



  5. #5
    Registered
    Join Date
    Aug 2015
    Posts
    7
    Downloads
    1
    Uploads
    0

    Default Re: MACH3 + NVEM + DM542 + NEMA23

    Super late reply and you probably have it running already... but are your dip switches and motors connected properly? I connected mine and the the data sheets that came with the motor/driver setup were wrong I didn't notice, resulting in internally shunts. after I figured this out with a slew of continuity tests with an extra disconnected motor got them connected properly. I contacted the company that I bought the motors from and they emailed the proper literature for the motor setup which confirmed the connections were wrong. Luckily no damage occurred, connected everything and worked my way through the rest. My steps with the resolution/amps were around 1999 steps which seems high. but it seems to work/and repeatable I haven't ran any codes through it yet, still building the mill, thought I would mention it.



  6. #6
    edwardleitz's Avatar
    Join Date
    Apr 2019
    Location
    Vejle
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: MACH3 + NVEM + DM542 + NEMA23

    Hello, I am thinking of using a DC Motor Spindle. I want to use NVBDL+ as the Spindle Driver and NVEM as the CNC Breakout Board.
    I want to control the Spindle Speed with PWM.

    What is the appropriate connection between NVBDL+ and NVEM?



  7. #7
    Member
    Join Date
    Mar 2016
    Location
    Mexico
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Marekin View Post
    Hi everybody,

    As I am still struggling with Mach3 and my Home Made CNC composed of a NVEM (controller) + a 2.2kW Spindle and VFD + 6 DM542 Drivers + 6 NEMA23, I try again to require your help.

    For the moment, I only managed to perfectly connect and control my MPG with Mach 3 and the NVEM.

    So the connection between Mach3 and my NVEM is OK.

    Today I tried to do the job with my Spindle+VFD using Mach3 (it works manually) but unfortunately there is something wrong...

    I connected the VFD pins as followed :

    DCM -> GND1 (I also tried with ACM and ACM+DCM, but I don't know which is correct)
    VI -> VS0
    FOR -> OUT1
    REV -> OUT2

    I used the followings settings in Mach 3 :


    This is the max speed of my Spindle 24000 tr/min


    Here I don't know if the value 100 for turn manual Spindle Incr. is right, and 5 for Spindle 0V increment...


    Here I don't understand what to enter (step per ?...)


    Here I tried different PWMBase Freq. (5 / 50 /100). Nothing works.


    Here I followed NVEM instructions


    Here too

    And I changed the settings in the VFD to do PD001 -> 1, PD002 -> 1. Is there anything else to change in the VFD ?

    On VS0 (NVEM) I have always 10V (even if change the Spindle speed in Mach 3). On OUT1 and OUT2 I have 24V ... I don't know if it's right ?

    Does anybody have an idea what is wrong with my settings ?
    By the way, I still have not managed to run my stepper motors... They heat very slowly but do not run...

    Cheers

    Hi Marekin, rigth nos i also i am having the same problem, please if You find the way to solved please could You share with me the solution.. thanks in advance



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

MACH3 + NVEM + DM542 + NEMA23

MACH3 + NVEM + DM542 + NEMA23