2 steppers on one axis 5i25 - 7i76

More
22 Feb 2018 15:04 #106341 by chadrat6458
I have some Proximity Switch NPN to use for home/limit switch. Do you guys have any tips on how to wire them up?

Please Log in or Create an account to join the conversation.

More
22 Feb 2018 15:08 - 22 Feb 2018 15:13 #106342 by DanMN
On Mesa boards, PNP are the preferred type -- but both me and Rodw have rigged ours with NPN. And by me and Rodw I mean, he did it and I copied him ;)

It requires a pullup resistor. PCW's guidance on the thread below clarified it for me:

forum.linuxcnc.org/27-driver-boards/3191...sheet?start=10#91557
Last edit: 22 Feb 2018 15:13 by DanMN.

Please Log in or Create an account to join the conversation.

More
22 Feb 2018 17:25 #106348 by chadrat6458
Is this what I need?

2k 1/2w resistor

I hook this up between the power side and the output side of my switch?

Please Log in or Create an account to join the conversation.

More
22 Feb 2018 18:48 #106351 by DanMN
I used these: www.arrow.com/en/products/rs01a2k000jb12/vishay

Rodw used a circuit board for his, but I just soldered mine in as a T-splice to the sensor wire before it gets to the input pin. Page 7 of Norbert's holy gospel of 7i76e configuration has a schematic: forum.linuxcnc.org/27-driver-boards/3191...t?limitstart=0#83622

Please Log in or Create an account to join the conversation.

More
22 Feb 2018 21:07 #106354 by rodw
I checked my notes.I used 2.2 k ohms, 1 W on a 24 volt system.
I always intended to use a board as I had so many switches on the gantry it was convenient to use a DB9 cable and distribute to terminal blocks so I had the room to add the resistors which made it real easy to implement.

Please Log in or Create an account to join the conversation.

More
22 Feb 2018 21:19 - 22 Feb 2018 21:19 #106355 by rodw
Finally found a photo



I added a LED to show I had power to the gantry for troubleshooting
Each of the 7 sensors connects to its own 3 input terminal block.
One switch was an ordinary microswitch so no resistor on that one.
Attachments:
Last edit: 22 Feb 2018 21:19 by rodw.

Please Log in or Create an account to join the conversation.

More
22 Feb 2018 23:14 #106357 by chadrat6458
I can not home my Y.

Is there anything you can see that is wrong?
Attachments:

Please Log in or Create an account to join the conversation.

More
22 Feb 2018 23:51 #106360 by rodw
I think you are missing the homing sequence settings inyour ini file for each joint

Here is mine with homing switches so just check the docs I linked to earlier for your immediate homing.
HOME_OFFSET = 43
HOME_SEARCH_VEL = -100 
HOME_LATCH_VEL = 10
HOME_FINAL_VEL = 50
HOME_USE_INDEX = NO
HOME_SEQUENCE = -1

Please Log in or Create an account to join the conversation.

More
23 Feb 2018 01:34 - 23 Feb 2018 01:38 #106369 by DanMN
If you don't have the home/limit switches installed yet, I believe you'll need to have it configured more like this:

3.13. Immediate Homing
If a joint does not have home switches or does not have a logical home position like a rotary joint and you want that joint to home at the current position when the "Home All" button is pressed in the Axis gui, then the following ini entries for that joint are needed.

HOME_SEARCH_VEL = 0

HOME_LATCH_VEL = 0

HOME_USE_INDEX = NO

HOME_SEQUENCE = 0

HOME equals to HOME_OFFSET


From the 2.8 doc: linuxcnc.org/docs/devel/html/config/ini-homing.html


Added -- I'm not sure but you might need the Y joints to have HOME_SEQUENCE at -1 to synchronize the joints. I haven't been in your current config before, so it's not a combination of settings I've experimented with.
Last edit: 23 Feb 2018 01:38 by DanMN.

Please Log in or Create an account to join the conversation.

More
23 Feb 2018 02:18 #106370 by rodw
For the two gantry joints you definitely need
HOME_SEQUENCE = -1

otherwise LCNC won't know they are joined together.

I found it was prudent to home the Z (HOME_SEQUENCE = 0) before X (HOME_SEQUENCE = 1) to lift the Z up away from anything fixed to the table before homing the X

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.166 seconds
Powered by Kunena Forum