Hello Guest it is March 28, 2024, 09:23:36 AM

Author Topic: Hook up Schematic help  (Read 3125 times)

0 Members and 1 Guest are viewing this topic.

Hook up Schematic help
« on: August 05, 2019, 04:02:48 PM »
I'm sorry to be a bore here but I want to get it correct.
I have ripped my control box out and now will replace it with the following bits.

Warp9 ESS Smoothstepper
My existing C11 Multifunction BOB (I want to retain this because it has 2 built in electromechanical relays and PWM Support)
A new C10S BOB (I want to add this because of the increased i/o capacity)

Question is, how to hook them all up together. A wee schematic would be very helpful.

Thanks
One step at a time!
Re: Hook up Schematic help
« Reply #1 on: August 05, 2019, 09:15:25 PM »
Hi,
to start with just plug the C11 with a ribbon cable to port one of the ESS. You can use pin 26 of the ESS IEC header
to power the C11 if you wish.

That will be enough for you to get thw motors hooked up, the spindle drive, an Estop and a probe maybe. Thereafter you
will need the second BoB. Start with just the C11.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Hook up Schematic help
« Reply #2 on: August 11, 2019, 06:18:44 AM »
Hi Craig, I'm now attempting to configure my ESS,
I'm at the Ports and pins stage.
Previously I had Ports 10 , 11 & 13 on my C11 configured as my signal lines to drive my my x, y, & z motors
Now with the ESS plugged in to my C11 and I enable mapping then select ESS as my device I find that my port numbers do not appear in the drop down list ?

Am I getting it all wrong!! do I no longer use the ports on my C11 board ??
I thought I would have seen the C11 in the drop down menu (Output name)

Cheers
George.
One step at a time!
Re: Hook up Schematic help
« Reply #3 on: August 11, 2019, 06:48:43 AM »
Hi,
the Pins Config in the ESS plugin tab designates the ESS pins....not the C11 pins.

The ESS pins follow the traditional parallel port numbering, at least port 1.

Thus:
Port 1 Pin 1 =output
Port 1 Pin 2=output  etc.

See the attached pic, it tells you whether an ESS pin is an input or an output.

You can see in my example I assigned port1pin2 as Xstep and port1pin3 as Xdir. Note the ESS plugin allows aliases
like Xstep to help demystify the process.

Pins 10,11 and 13 are all inputs, they are not, nor I expect could ever have been, 'signal lines to drive your motors'....
I suspect they were in fact Home inputs.

Either way you not get away with that rubbish now. Your motor signals are ALL ESS outputs, thus are restricted
(in port 1 at least) to 1-9,14,16 and 17.

This I took from the C11 manual:

Quote
• Output pins 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 16 and 17.
• Input pins 10, 11, 12, 13 and 15.
• Input and output pins close to ground or +5vdc connections

So the C11 follows exactly the same pin numbering and signal direction (in or out) as the ESS. If you hook a ribbon  to
db25 cable from the ESS port 1 to the db25 input of the C11 then pin2 of the C11 will be Xstep and pin3 will be Xdir.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Hook up Schematic help
« Reply #4 on: August 11, 2019, 09:22:36 AM »
Thanks Craig,
I see now that Configure Control and Cofigure Plugin is different.

Using configure Plugin I see that quite a few settings such as step dir etc have already been made.

I take it then that I don't use the drop down menu 'Configure Control' ?
One step at a time!
Re: Hook up Schematic help
« Reply #5 on: August 11, 2019, 02:07:01 PM »
Hi,

Quote
I take it then that I don't use the drop down menu 'Configure Control' ?

That is correct, 90% of the settings you make will be in the ESS plugin and that will automatically update the
Control plugin so they are consistent.

Motor tuning is one thing which is done exclusively in the Control plugin.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Hook up Schematic help
« Reply #6 on: August 11, 2019, 04:59:38 PM »
Sorry Craig, no movement on my test setup, see pic.
I have 48Vdc to my Stepper driver. X Axis
Step and Dir are connected to Port1, pins 1&2
The parallell port marked 'PC' is connected to Port1 of the ESS
I have the ESS supplying 5Vdc to the C11
I have a second(Seperate) 5Vdc to the C11
So all voltages look good.

OK, when I do a manual jog using the left and right arrows, the DRO's follow but there's no movement on the stepper ??

I have set up the motor tuning and this looks OK. I used the same parameters that I had with MACH3

Looks like my my motor outputs (Port1, 1&2)are not enabled somehow. ??

So where's this numpy going wrong ??

« Last Edit: August 12, 2019, 01:09:23 AM by Tweakie.CNC »
One step at a time!
Re: Hook up Schematic help
« Reply #7 on: August 11, 2019, 07:13:38 PM »
Hi,
couple of issues.

In the original IEEE spec for the db25 parallel port pin 1 was ALWAYS an output. Pins 2-9 could be all outputs
or optionally all inputs.

In the early days of Mach when everyone had one parallel port it was standard to use pins 2-9 as motor outputs.
The circuitry driving pins 2-9 was fast, fast enough to drive stepper drivers whereas pin 1 although still an output
was often much slower. It may well be that the C11 follows that practice in which case your Xstep signal may be too
slow.

I recommend you use pins 2 and 3 for Xstep and Xdir respectively.

Second issue is that the 26 pin IDC ribbon cable can be configured (on the ESS board) for wire 26 to carry 5V from the ESS to
the breakout board. But you are using a 26 pin IDC to db25 cable and therefore there is NO wire 26 to carry that 5V into the C11.
Thus you need a separate supply for the C11. Note that the primary 5V supply for the C11 will have a common 0V connection to
the ESS....your power supplies better not fight. If your existing 5V ESS supply has adequate current capacity you could add two extra wires
to power the C11 as well, there would be no 0V conflict.

Last issue is....'do you have an enable signal to your stepper driver'. Most stepper drivers require an enable signal. Its common practice
to designate one output of the ESS (conventionally pin 1) and use that one output to enable all your drivers and maybe the spindle as well.

I notice that the C11 has a Safety Charge Pump circuit. I(ve never used one. Unless you feel there is a compelling reason to
have one then disable (by jumper selection) the SHC in the C11
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Hook up Schematic help
« Reply #8 on: August 12, 2019, 03:45:24 PM »
Correction Craig.
My motor was indeed connected to pins 2(step) &3(dir)
Still  no motor move but I can confirm the following.
All outputs ere enabled, this is done by jumping pin Ena pin to 5V. The Output enable status LED is 'lit'
The C11 has 2 5Vdc supplies. First is taken from the PC USB port and the second is by a separate external supply.
The Ess is not used to power the C11. Pin 26 Jumpers are off.
The C11 On board charge pump is disabled.
In Control Config, Axis mapping for X Y & Z is enabled.
In Control Config (Input Signals) Jogging for all 3 Axis is set (Input selected to keyboard)
In Ess config Port 1 pins 2 to 9 are set for (X step X dir) (y step y dir) (z step z dir)
In Ess config Input Signals, nothing is set here
In Ess config Homing, nothing is set here
In jog mode the DRO's follow for all 3 axis. The output staus LED's allocated for each of the Step & Dir signals all illuminate during jogging.
Still no motor movement. The Motors 'Lock' and cannot be turned by hand!
Now I'm really scratching my head ????  What am I missing ??
 
« Last Edit: August 12, 2019, 04:05:12 PM by Len-Tikular »
One step at a time!
Re: Hook up Schematic help
« Reply #9 on: August 12, 2019, 04:35:39 PM »
Hi,
you haven't mentioned the ESS plugin outputs.

Configure/Plugins/ESS Output Signals tab you should assign the pins you have previously set in Pins Config tab to the motor signals.
Can you confirm that?

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'