transitioning from smoothstepper to mesa?
26 Oct 2015 14:48 #64279
by axk
transitioning from smoothstepper to mesa? was created by axk
Hi guys, I've searched but couldn't find a situation quite like mine. Hope I'm not asking a redundant question. here goes...
I've got a miling machine whose electrical cabinet was done by MachMotion. They make their own breakout board called the Apollo I and it mates with an Ethernet Smoothstepper. I've found the smoothstepper troublesome for long jobs as it sometimes loses communication with the PC resulting in a trashed work piece. This has happened a few times and has me contemplating a move to something more robust.
The Apollo I connects to the Smoothstepper via two parallel ports. It outputs to the rest of the electrical cabinet via RJ45 connectors (X,Y,Z,A, and spindle control). I've attached homing switches to the inputs on the break-out board but made no other changes. (just checked the board's pictures and it appears to have a third port labeled SS-port which is not mentioned in the Apollo-I documentation, going to call the OEM and ask what that does tomorrow).
Since the rest of the cabinet seems to be working fine and I don't want to redo any of the OEM's wiring so I'd like to stick with the Apollo I breakout board if at all possible. I'd also like to continue using an ethernet based connector as this would allow me to move to a small sealed PC such as an intel NUC with fanless case. I've had problems with wood dust getting into the current non-sealed Mach3 machine.
Before I begin ordering parts, I figured I should ask a few noob questions:
1. Would an ethernet based mesa card allow me to use a computer which has moderate latency? (the intel NUC I have earmarked for this project has latency of 50k under heavy use)
2. which Mesa card work work best for my break out board? Is the 7i80DB the one I need?
3. In the future if I were to add linear encoders for my X,Y,Z axes could the 7i80 handle that? Would I need another break-out board?
thanks in advance for any advice
I've got a miling machine whose electrical cabinet was done by MachMotion. They make their own breakout board called the Apollo I and it mates with an Ethernet Smoothstepper. I've found the smoothstepper troublesome for long jobs as it sometimes loses communication with the PC resulting in a trashed work piece. This has happened a few times and has me contemplating a move to something more robust.
The Apollo I connects to the Smoothstepper via two parallel ports. It outputs to the rest of the electrical cabinet via RJ45 connectors (X,Y,Z,A, and spindle control). I've attached homing switches to the inputs on the break-out board but made no other changes. (just checked the board's pictures and it appears to have a third port labeled SS-port which is not mentioned in the Apollo-I documentation, going to call the OEM and ask what that does tomorrow).
Since the rest of the cabinet seems to be working fine and I don't want to redo any of the OEM's wiring so I'd like to stick with the Apollo I breakout board if at all possible. I'd also like to continue using an ethernet based connector as this would allow me to move to a small sealed PC such as an intel NUC with fanless case. I've had problems with wood dust getting into the current non-sealed Mach3 machine.
Before I begin ordering parts, I figured I should ask a few noob questions:
1. Would an ethernet based mesa card allow me to use a computer which has moderate latency? (the intel NUC I have earmarked for this project has latency of 50k under heavy use)
2. which Mesa card work work best for my break out board? Is the 7i80DB the one I need?
3. In the future if I were to add linear encoders for my X,Y,Z axes could the 7i80 handle that? Would I need another break-out board?
thanks in advance for any advice
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 5000
- Thank you received: 1409
26 Oct 2015 18:25 - 26 Oct 2015 18:28 #64282
by Todd Zuercher
Replied by Todd Zuercher on topic transitioning from smoothstepper to mesa?
I think that would work and I doubt you would need another board. I also think a 5i25 or 6i25 would also work.
If you also want to add the encoder feed back, you will probably need to add another board.
If you also want to add the encoder feed back, you will probably need to add another board.
Last edit: 26 Oct 2015 18:28 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
02 Nov 2015 14:07 - 02 Nov 2015 14:56 #64601
by axk
Replied by axk on topic transitioning from smoothstepper to mesa?
Thanks for the reply.
I've spent the past few evenings reading the users manuals for my current components.
My XYZ motors are Teco 750W servos, controlled by Teco drives. Apparently they're running in step-direction mode with Mach3 right now.
They have three connections, one for motor control output, one for encoder input, and a rs-232 com port. The rs232 is unconnected, and runs at 9600 bps. I presume this is far too slow to be useful to carry any encoder output to a control PC.
The encoder port gets the value from the servo's encoder. It connects to the drive via a 20 pin connector.
I'm still filling in gaps in my understanding here, so please forgive my naive questions, but here goes:
Assuming I wanted to go closed loop back to LinuxCNC...
1. Do I need to fork the connector; meaning both drive electronics and linux cnc get the encoder signal, or only send the encoder output to linuxcnc ?
2. What kind of daughter board would be needed connect between the three 20 pin connectors and a Mesa 7i80db ?
Is there a primer or wiki entry some place that shows a practical step by step for a similar servro configuration?
thanks in advance
I've spent the past few evenings reading the users manuals for my current components.
My XYZ motors are Teco 750W servos, controlled by Teco drives. Apparently they're running in step-direction mode with Mach3 right now.
They have three connections, one for motor control output, one for encoder input, and a rs-232 com port. The rs232 is unconnected, and runs at 9600 bps. I presume this is far too slow to be useful to carry any encoder output to a control PC.
The encoder port gets the value from the servo's encoder. It connects to the drive via a 20 pin connector.
I'm still filling in gaps in my understanding here, so please forgive my naive questions, but here goes:
Assuming I wanted to go closed loop back to LinuxCNC...
1. Do I need to fork the connector; meaning both drive electronics and linux cnc get the encoder signal, or only send the encoder output to linuxcnc ?
2. What kind of daughter board would be needed connect between the three 20 pin connectors and a Mesa 7i80db ?
Is there a primer or wiki entry some place that shows a practical step by step for a similar servro configuration?
thanks in advance
Last edit: 02 Nov 2015 14:56 by axk.
Please Log in or Create an account to join the conversation.
02 Nov 2015 17:23 - 02 Nov 2015 17:28 #64605
by cncbasher
Replied by cncbasher on topic transitioning from smoothstepper to mesa?
this is a servo system , so take a look at using a mesa 5i25 & 7i77 interface , this gives you pwm outputs for the servo's , encoders , an analog 0 - 10v , should be all you need .
if you want to use step direction then you can use a 7i76 interface . although if the servo drives can be input by pwm that would be far better than step direction in my opinion, but perfectly adequate .
9600 rs232 is woefully slow , that's probably only a setup input from a windows configuration program purely for the amps
their should be an output from the servo amp for the encoder , so that would go to linuxcnc .
you wont find a pin for pin adapter , you are going to have to manufacture the wires between the connector of the drives and to the 7i77 , a simple operation .
noting in this life is plug and play
is their a reason you wish to use the 7i80 ?
if you want to use step direction then you can use a 7i76 interface . although if the servo drives can be input by pwm that would be far better than step direction in my opinion, but perfectly adequate .
9600 rs232 is woefully slow , that's probably only a setup input from a windows configuration program purely for the amps
their should be an output from the servo amp for the encoder , so that would go to linuxcnc .
you wont find a pin for pin adapter , you are going to have to manufacture the wires between the connector of the drives and to the 7i77 , a simple operation .
noting in this life is plug and play
is their a reason you wish to use the 7i80 ?
Last edit: 02 Nov 2015 17:28 by cncbasher.
Please Log in or Create an account to join the conversation.
02 Nov 2015 19:44 #64610
by andypugh
Replied by andypugh on topic transitioning from smoothstepper to mesa?
If you want to use ethernet and a sealed PC, then the 7i80DB would certainly be an option.
I am a little bit puzzled by your description of the system layout, as it sounds back-to-front.
What I would expect would be a PC connected by Ethernet to a Smoothstepper, and then the Smoothstepper output on DB25 connectors to a breakout board, and from there to the drives.
If that is what you have then the 7i80DB, with the correct firmware loaded, would be a 1:1 replacement for the smoothstepper. However the 7i92 or 7i92H might be more economical, and that can drive your two existing DB25 ports, If I have interpreted the hardware layout correctly.
The 7i80DB does have the advantage of one extra port, and that is likely to be rather helpful if you wanted to add encoder feedback.
The first thing to do is to clarify the existing topology. 2 x parallel ports seems rather a lot of pins for a simple 3-axis controller, so perhaps the encoder feedback is already present on one of the ports.
(As an aside, it is interesting to compare the cost of the Apollo1 ($425) + Smoothstepper with that of a Mesa 5i25/7i76 ($200) which does the same thing and a bit more. )
Looking at the Apollo 1 manual (machmotion.com/documentation/Motion%20Co...%20User%20Manual.pdf ) it looks like you should be able to connect the 7i80DB or 7i92 to the "Parallel ports" (Which are actually nothing of the sort, they are being used as individual IO pins by Mach3 or by the Smoothstepper)
Alternatively, you could completely replace the Apollo 1 with the Ethernet-connected 7i76E
store.mesanet.com/index.php?route=produc...7i76E&product_id=290
Which appears to have very much the same capabilities.
The 7i76E can only count one encoder (normally the spindle) but has two expansion ports which can connect to any of the other 25-pin daughter-cards here: store.mesanet.com/index.php?route=product/category&path=83_87
I am a little bit puzzled by your description of the system layout, as it sounds back-to-front.
What I would expect would be a PC connected by Ethernet to a Smoothstepper, and then the Smoothstepper output on DB25 connectors to a breakout board, and from there to the drives.
If that is what you have then the 7i80DB, with the correct firmware loaded, would be a 1:1 replacement for the smoothstepper. However the 7i92 or 7i92H might be more economical, and that can drive your two existing DB25 ports, If I have interpreted the hardware layout correctly.
The 7i80DB does have the advantage of one extra port, and that is likely to be rather helpful if you wanted to add encoder feedback.
The first thing to do is to clarify the existing topology. 2 x parallel ports seems rather a lot of pins for a simple 3-axis controller, so perhaps the encoder feedback is already present on one of the ports.
(As an aside, it is interesting to compare the cost of the Apollo1 ($425) + Smoothstepper with that of a Mesa 5i25/7i76 ($200) which does the same thing and a bit more. )
Looking at the Apollo 1 manual (machmotion.com/documentation/Motion%20Co...%20User%20Manual.pdf ) it looks like you should be able to connect the 7i80DB or 7i92 to the "Parallel ports" (Which are actually nothing of the sort, they are being used as individual IO pins by Mach3 or by the Smoothstepper)
Alternatively, you could completely replace the Apollo 1 with the Ethernet-connected 7i76E
store.mesanet.com/index.php?route=produc...7i76E&product_id=290
Which appears to have very much the same capabilities.
The 7i76E can only count one encoder (normally the spindle) but has two expansion ports which can connect to any of the other 25-pin daughter-cards here: store.mesanet.com/index.php?route=product/category&path=83_87
Please Log in or Create an account to join the conversation.
03 Nov 2015 00:50 #64621
by PCW
Replied by PCW on topic transitioning from smoothstepper to mesa?
It looks like the Apollo1 breakout should work with either the 7I92(H) or the 7I80DB
Though at first glance their manual does not document the parallel interface pinouts very well.
The advantage of the 7I80DB is that you could add encoder inputs later if desired
(The 7I92 would use all of its I/O to drive the apollo1)
50 uSec latency is fine, though latency must be tested with a Preempt-RT kernel
which is what the mesa Ethernet card use
Though at first glance their manual does not document the parallel interface pinouts very well.
The advantage of the 7I80DB is that you could add encoder inputs later if desired
(The 7I92 would use all of its I/O to drive the apollo1)
50 uSec latency is fine, though latency must be tested with a Preempt-RT kernel
which is what the mesa Ethernet card use
Please Log in or Create an account to join the conversation.
03 Nov 2015 01:07 #64623
by axk
Replied by axk on topic transitioning from smoothstepper to mesa?
Hi Andy, sorry for being unclear. A top down description of my mill would look similar to what you've described:
Mach3 -> (via ethernet) -> SmoothStepper -> (direct plugin) -> Apollo I -> (via RJ45) -> Tech drives -> Tech servo motors
That is how the system was configured by MachMotion and the OEM. I have no quarrel with the Apollo I and no particular desire to re-wire the electrical cabinet as it works quite well driven via RJ-45. I am fully open to replacing the SmoothStepper and Mach3. I'm OK with adding additional daughter boards as necessary, but I'd like to keep the Apollo I as it is already in place and seems to work without issue. Admittedly, yes, it is an expensive breakout board and I would not go that way if I were spec'ing the system from scratch.
Regarding the two ports, yes both appear to be in use by Mach3. I have spindle, X,Y,Z and A axis (rotary table connected to a stepper motor), e-stop, and three limit switches. Near as I can tell, mach3 is treating this as an openloop system and has no knowledge of the actual positioning of the encoder.
The following is a pic I sent MachMotion asking for clarification about the ESS.
Turns out it is a little different than a stock ESS as they've inverted pins on the circled ports. This lets them connect the ESS directly to the Apollo-1 without any additional cables.
They did not have record of it and said it was likely a custom job for my mill's OEM. I don't see it offered on their website. The OEM claimed that the ESS was provided that way by MachMotion.
What kind of daughter board would I need to go along with a 7i80db to capture three encoders worth of feedback?
Also, would I be sending the encoder values to BOTH my Tech drive and LinuxCNC, or just linuxcnc?
thanks in advance
Mach3 -> (via ethernet) -> SmoothStepper -> (direct plugin) -> Apollo I -> (via RJ45) -> Tech drives -> Tech servo motors
That is how the system was configured by MachMotion and the OEM. I have no quarrel with the Apollo I and no particular desire to re-wire the electrical cabinet as it works quite well driven via RJ-45. I am fully open to replacing the SmoothStepper and Mach3. I'm OK with adding additional daughter boards as necessary, but I'd like to keep the Apollo I as it is already in place and seems to work without issue. Admittedly, yes, it is an expensive breakout board and I would not go that way if I were spec'ing the system from scratch.
Regarding the two ports, yes both appear to be in use by Mach3. I have spindle, X,Y,Z and A axis (rotary table connected to a stepper motor), e-stop, and three limit switches. Near as I can tell, mach3 is treating this as an openloop system and has no knowledge of the actual positioning of the encoder.
The following is a pic I sent MachMotion asking for clarification about the ESS.
Turns out it is a little different than a stock ESS as they've inverted pins on the circled ports. This lets them connect the ESS directly to the Apollo-1 without any additional cables.
They did not have record of it and said it was likely a custom job for my mill's OEM. I don't see it offered on their website. The OEM claimed that the ESS was provided that way by MachMotion.
What kind of daughter board would I need to go along with a 7i80db to capture three encoders worth of feedback?
Also, would I be sending the encoder values to BOTH my Tech drive and LinuxCNC, or just linuxcnc?
thanks in advance
Please Log in or Create an account to join the conversation.
03 Nov 2015 01:26 #64627
by PCW
Replied by PCW on topic transitioning from smoothstepper to mesa?
Typically modern servo drives have local encoder feedback _and_ a simulated encoder output.
This simulated encoder output is what would be feed back to linuxcnc for position feedback control,
not the motors encoder signals.
This simulated encoder output is what would be feed back to linuxcnc for position feedback control,
not the motors encoder signals.
Please Log in or Create an account to join the conversation.
03 Nov 2015 01:53 #64630
by axk
I had a similar complaint about the actual pin connections in the manual, but I suspect I could note down the configuration from Mach3 and try to duplicate it for linuxcnc/7i80db.
From what I can tell the encoder input to my Teco drive is done via 20 pin centronics connector.
I suspect I'll need to find a way to go :
20-pin centronics -> header / breakout -> daughter board -> 7i80
Sound about right?
Replied by axk on topic transitioning from smoothstepper to mesa?
It looks like the Apollo1 breakout should work with either the 7I92(H) or the 7I80DB
Though at first glance their manual does not document the parallel interface pinouts very well.
The advantage of the 7I80DB is that you could add encoder inputs later if desired
(The 7I92 would use all of its I/O to drive the apollo1)
50 uSec latency is fine, though latency must be tested with a Preempt-RT kernel
which is what the mesa Ethernet card use
I had a similar complaint about the actual pin connections in the manual, but I suspect I could note down the configuration from Mach3 and try to duplicate it for linuxcnc/7i80db.
From what I can tell the encoder input to my Teco drive is done via 20 pin centronics connector.
I suspect I'll need to find a way to go :
20-pin centronics -> header / breakout -> daughter board -> 7i80
Sound about right?
Please Log in or Create an account to join the conversation.
03 Nov 2015 01:57 #64631
by andypugh
XYZA is 8 outputs, 3 limit switches and e-stop is 4 inputs. That can all fit on one parallel port. A single parallel port can be configured as either 12 outputs and 5 inputs or 4 outputs and 13 inputs.
It looks like you can figure out which connector and screw terminal corresponds to which parallel port pin by combining tables 1, 8 and 9 and then looking carefully at figure 21 in the pdf manual.
Replied by andypugh on topic transitioning from smoothstepper to mesa?
Regarding the two ports, yes both appear to be in use by Mach3. I have spindle, X,Y,Z and A axis (rotary table connected to a stepper motor), e-stop, and three limit switches. Near as I can tell, mach3 is treating this as an openloop system and has no knowledge of the actual positioning of the encoder.
XYZA is 8 outputs, 3 limit switches and e-stop is 4 inputs. That can all fit on one parallel port. A single parallel port can be configured as either 12 outputs and 5 inputs or 4 outputs and 13 inputs.
It looks like you can figure out which connector and screw terminal corresponds to which parallel port pin by combining tables 1, 8 and 9 and then looking carefully at figure 21 in the pdf manual.
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds