How to connect Closed Loop Steppers to a 7i76E?
- Twizzlermill
- Offline
- Senior Member
-
- Posts: 40
- Thank you received: 5
I'm currently in the process of setting up my Mesa 7i76e card and I still have some questions.
Mainly it's this:
I have JMC closed loop steppers. I'm assuming the brand is not particularly important. Their drivers have six inputs and four outputs:
In: Enable+/-, Step+/-, Dir+/-
Out: Position+/-, Alarm+/-
I decided not to bother with Enable, so it can stay unconnected for now.
Connecting Step/Dir is easy enough, but I'm not sure where I need to put W10, W11 and W13 to properly drive the steppers. Differential rather than single ended is my guess, so right hand position (I'm referring to page 2 of the manual)?
Also, I'm not sure where to connect the outputs Position and Alarm and whether I need to run external power through them (I'm assuming the driver will provide it?). Is the Mesa card in combination with LinuxCNC even capable of using position information from the steppers? I know I don't technically need them to run the motors, but they are there and I want to use them – especially Alarm.
I feel a little dumb for asking these questions because I feel like I should be able to find the answers on my own, but I really don't want to destroy my hardware…
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18501
- Thank you received: 5065
they are not related to the step/dir outputs
For step/dir wiring I would wire the drives STEP+ and DIR+ to the 5V terminal on
the 7I76E's Step/Dir connectors and the drives STEP- and DIR- to the 7I76E's
Step- and Dir-.
For alarm, I would wire ALARM+ to +24V and ALARM- to a 7I76E field input
I would not bother with feedback position on step/dir systems
unless you have linear encoders
Please Log in or Create an account to join the conversation.
- Twizzlermill
- Offline
- Senior Member
-
- Posts: 40
- Thank you received: 5
For example, I don't really know what you mean by the input mode of the encoder exactly.
Isn't it kinda important whether I want to use differential mode or not?W10,W11 and W13 set the input mode of the encoder,
they are not related to the step/dir outputs
I don't exactly understand this part about wiring. If I take a look at the connection sheet provided by Norbert here:For step/dir wiring I would wire the drives STEP+ and DIR+ to the 5V terminal on
the 7I76E's Step/Dir connectors and the drives STEP- and DIR- to the 7I76E's
Step- and Dir-.
forum.linuxcnc.org/27-driver-boards/3191...76e-connection-sheet
forum.linuxcnc.org/media/kunena/attachme...hluss_2017-01-02.pdf
...where does the +5V wire actually go on the driver side?
I played around with a cheap breakoutboard and I know that I can drive the motors by just connecting Step+/Dir+ and putting Step-/Dir- on Ground on the board, but someone pointed out that I'd lose the differential mode this way. Is this a similar idea?
For alarm, I would wire ALARM+ to +24V and ALARM- to a 7I76E field input
I would not bother with feedback position on step/dir systems
unless you have linear encoders
PCW post=220033 userid=481
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18501
- Thank you received: 5065
encoder you have (single ended or differential)
The step/dir wiring I suggested is as follows (using channel 0 in this example)
TB2 PIN DRIVE CONNECTION
1 GND NONE
2 STEP0- STEP-
3 STEP0+ NONE
4 DIR0- DIR-
5 DIR0+ NONE
6 +5V STEP+,DIR+
Please Log in or Create an account to join the conversation.
- Twizzlermill
- Offline
- Senior Member
-
- Posts: 40
- Thank you received: 5
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18501
- Thank you received: 5065
optocoupler drive current which can be an issue with some
drives.
Please Log in or Create an account to join the conversation.
- Twizzlermill
- Offline
- Senior Member
-
- Posts: 40
- Thank you received: 5
Also, would this mean that I have to change Jumper W10, W11, W13 positions?
Thank you yery much for your help btw., I think I understand a lot more now.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18501
- Thank you received: 5065
W10,W11,W13 only set the spindle encoder mode
Please Log in or Create an account to join the conversation.
- Twizzlermill
- Offline
- Senior Member
-
- Posts: 40
- Thank you received: 5
Please Log in or Create an account to join the conversation.