Hello Guest it is April 19, 2024, 06:05:57 PM

Author Topic: Connecting Sainsmart ST-M5045 drivers  (Read 3835 times)

0 Members and 1 Guest are viewing this topic.

Connecting Sainsmart ST-M5045 drivers
« on: October 10, 2019, 11:49:01 AM »
I will be installing my new Hicon Integra 7866 controller this weekend. The only part I am confused on is connecting the ENABLE to the drivers. I see in the Integra manual that the 24 volt outputs on the J15 connector is used for ENABLE. I attached an image showing how to connect the ST-M5045 driver to a controller. The ST-M5045 is expecting a 5 volt output and specifies to use a 2K resistor inline to reduce 24 volts to 5 volts to the driver. My electronics experience is a bit rusty but it also appears this is an NPN connection so I should use pin 0 on the Integra J15 connector.

Does this sound correct? Any suggestions/corrections here are greatly appreciated.

Ken

Re: Connecting Sainsmart ST-M5045 drivers
« Reply #1 on: October 11, 2019, 02:41:37 PM »
Hello,

The following changes are needed for connecting Integra 7866 with ST-M5045:

1. Step+-, Dir+- needs to be connected as shown in the attached image.

2. You can connect J6 +5V  to ENA+ and use the J15 NP0 on the Integra 7866 controller to connect the Enable input signal from the drive. You also should map the J15 NP0 to Enable#  signal on Mach4 which is set to 'Active Low'.

For further reading please visit our "Knowledge Base" from this link:
http://www.vitalsystem.com/portal/support.php
Go to "Stepper/Servo Connections" section for other Integra 7866- Driver connections.
Re: Connecting Sainsmart ST-M5045 drivers
« Reply #2 on: October 11, 2019, 06:05:06 PM »
Perfect!

Thanks,
Ken
Re: Connecting Sainsmart ST-M5045 drivers
« Reply #3 on: October 14, 2019, 04:53:36 PM »
I am having trouble getting motion from my CNC. I connected the ST-M5045 drivers as specified. All four drivers EN+ tied to J6 +5V and EN- tied to J15 NP0.

In Mach4 "Output Signals" configuration
"Enable #0"
Mapping Enable checked
Device=Hicon
Output Name = [P11] Output 0
Active Low checked

When I click the "Enable" button on Mach4 I hear an a slight audible click from the steppers. When clicking on "Jogging X+" I get no motion.

I used my DVM to check the EN pins on the drivers. The EN+ pin always measure 4.97 V and EN- measures 4.31 V when Mach4 is enabled. When Mach 4 is disabled I measure 0 V on EN-.

A couple of other observations (probably normal):
- When Mach4 is enabled the blue CPU LED does a double-blink pattern. When disabled I see a single blink pattern and the orange LED near NP0 lights solid.

Any debugging help would be greatly appreciated.

Ken
Re: Connecting Sainsmart ST-M5045 drivers
« Reply #4 on: October 14, 2019, 05:54:28 PM »
These low-cost drives are enabled by default, so you really don't need to wire anything to the ENA inputs if you want to enable it.  So the best way is to not wire the Enable signals to these drives.
« Last Edit: October 15, 2019, 12:04:23 PM by Vital System Support »
Re: Connecting Sainsmart ST-M5045 drivers
« Reply #5 on: October 15, 2019, 09:54:02 AM »
When I started Mach this morning I did so with the wrong profile (newbie confusion) and my profile appeared to be gone. I set up a new profile with all the same settings as before and now IT'S WORKING! I am using the enable active low setting.

I do have a networking issue that only allows me to use the direct connect method of communication but I will start a new thread for tat.

Thanks,
Ken