Re: [CAD_CAM_EDM_DRO] Re: USB or Ethernet machine control
Posted by
JanRwl@A...
on 2002-01-24 10:22:41 UTC
Jerry and others who "do their own electronics": I now know it is "industry
standard" to have STEP and DIRECTION lines ("Logic Levels") to
stepper-drivers, whereas SOME folk used, instead, CW and CCW lines, before.
In fact, Superior Electric makes ITS drivers with an input that allows one to
CHANGE the meaning of the two input-lines to be one or the other pair.
HOWEVER (and potentially important to this hobby-group, I suspect), I built
MY first CAM Lathe based on CW and CCW inputs, NOT STEP/DIR. Thus, lotsa
software is written that way, and, being old and very, very lazy, I will NOT
change-back! (Would be a NIGHTMARE!). So, as I have recently gotten a pair
of Gecko G210 drives and new Superior Electric KML062 motors for a planned
plotter, and prepared for breadboarding, I inquired, and Mariss sent me
details how to make a one-IC (quad CMOS NOR) circuit which will convert
CW/CCW to STEP/DIR. Simple. So, I made a little PC with sockets (ALWAYS use
sockets for IC's!!!), and hooked all up to an old laptop, to test/check-out.
WOW! Stepper-motors were going NUTS! One would step kinda OK in ONE
direction, only, and both would SKIP many steps of an even-multiple of 100
sent to them, etc., etc. I was about to begin using untoward language when a
VISION came to my feeble mind! I had 74HCT02 IC's for both pairs of inputs,
and, as my laptop was putting-out a good 4+ volts for logic-HI, I pulled
those and put in 74HC02 (no T), and all was GOOD, again! Oh, and I taken NO
particular care with the "dress" of the LPT-1 cable and "logic-IN" wires for
this temporary lashup, as I realized it wasn't permanent, anyway, and that
often, as in this case, helps "find" sensitivities to such nastiness. (Yep!
That EMI will GETCHA!)
To recap: Use 'HC' (not 'HCT') logic between your PC and stepper-drives! Do
the wiring sensibly, and SHIELD your LPT-1 cable (many (most?) store-bought
LPT-1 cables ARE shielded, anyway) to stepper-drive inputs.
On my successful PC-controlled machines, I have always put a 74HC541 (octal
buffer) between the PC printer-port and "next", and then that "next" is a
couple of 74HC4538 monostables set for 4 uS, each, and, for driving the
opto-isolator inputs of most stepper-drivers, I use a GOOD O.C. "sink" driver
IC, last. The opto-isolators work WONDERS! I know, as I had built a
still-working home-brew lathe (run by a long-defunct CBM "PET"!!!) where the
parallel port is directly connected to the "TTL inputs" of my stepper drivers
(the old unipolar L/R kind), and "where did THAT come from?" steps show up
now and then. But NEVER once, since I have been using opto-isolator input
drivers. At least the Superior Electric "black boxes". Remains to be seen
how the G210's will fare, but I suspect JUST FINE! (Knock on wood!)
Jan Rowland
[Non-text portions of this message have been removed]
standard" to have STEP and DIRECTION lines ("Logic Levels") to
stepper-drivers, whereas SOME folk used, instead, CW and CCW lines, before.
In fact, Superior Electric makes ITS drivers with an input that allows one to
CHANGE the meaning of the two input-lines to be one or the other pair.
HOWEVER (and potentially important to this hobby-group, I suspect), I built
MY first CAM Lathe based on CW and CCW inputs, NOT STEP/DIR. Thus, lotsa
software is written that way, and, being old and very, very lazy, I will NOT
change-back! (Would be a NIGHTMARE!). So, as I have recently gotten a pair
of Gecko G210 drives and new Superior Electric KML062 motors for a planned
plotter, and prepared for breadboarding, I inquired, and Mariss sent me
details how to make a one-IC (quad CMOS NOR) circuit which will convert
CW/CCW to STEP/DIR. Simple. So, I made a little PC with sockets (ALWAYS use
sockets for IC's!!!), and hooked all up to an old laptop, to test/check-out.
WOW! Stepper-motors were going NUTS! One would step kinda OK in ONE
direction, only, and both would SKIP many steps of an even-multiple of 100
sent to them, etc., etc. I was about to begin using untoward language when a
VISION came to my feeble mind! I had 74HCT02 IC's for both pairs of inputs,
and, as my laptop was putting-out a good 4+ volts for logic-HI, I pulled
those and put in 74HC02 (no T), and all was GOOD, again! Oh, and I taken NO
particular care with the "dress" of the LPT-1 cable and "logic-IN" wires for
this temporary lashup, as I realized it wasn't permanent, anyway, and that
often, as in this case, helps "find" sensitivities to such nastiness. (Yep!
That EMI will GETCHA!)
To recap: Use 'HC' (not 'HCT') logic between your PC and stepper-drives! Do
the wiring sensibly, and SHIELD your LPT-1 cable (many (most?) store-bought
LPT-1 cables ARE shielded, anyway) to stepper-drive inputs.
On my successful PC-controlled machines, I have always put a 74HC541 (octal
buffer) between the PC printer-port and "next", and then that "next" is a
couple of 74HC4538 monostables set for 4 uS, each, and, for driving the
opto-isolator inputs of most stepper-drivers, I use a GOOD O.C. "sink" driver
IC, last. The opto-isolators work WONDERS! I know, as I had built a
still-working home-brew lathe (run by a long-defunct CBM "PET"!!!) where the
parallel port is directly connected to the "TTL inputs" of my stepper drivers
(the old unipolar L/R kind), and "where did THAT come from?" steps show up
now and then. But NEVER once, since I have been using opto-isolator input
drivers. At least the Superior Electric "black boxes". Remains to be seen
how the G210's will fare, but I suspect JUST FINE! (Knock on wood!)
Jan Rowland
[Non-text portions of this message have been removed]
Discussion Thread
ballendo
2002-01-23 04:42:43 UTC
Whither goest DOS?
Tony Jeffree
2002-01-23 06:31:07 UTC
Re: [CAD_CAM_EDM_DRO] Whither goest DOS?
Marcus & Eva
2002-01-23 08:21:41 UTC
Re: [CAD_CAM_EDM_DRO] Whither goest DOS?
studleylee
2002-01-23 08:27:58 UTC
Re: Whither goest DOS?
Randy Gordon-Gilmore
2002-01-23 08:45:28 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
David Goodfellow
2002-01-23 08:48:19 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Carol & Jerry Jankura
2002-01-23 09:19:20 UTC
Whither goest DOS?
pfrederick1
2002-01-23 09:50:41 UTC
Re: Whither goest DOS?
Fitch R. Williams
2002-01-23 10:22:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
CL
2002-01-23 10:38:32 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
CL
2002-01-23 10:47:29 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
dlantz@a...
2002-01-23 10:51:14 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Jon Elson
2002-01-23 10:58:07 UTC
Re: [CAD_CAM_EDM_DRO] Whither goest DOS?
Carol & Jerry Jankura
2002-01-23 11:02:45 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Jon Elson
2002-01-23 11:14:20 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Drew Rogge
2002-01-23 11:17:00 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Kevin P. Martin
2002-01-23 11:21:51 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ccstratton
2002-01-23 11:50:52 UTC
Re: Whither goest DOS?
Tim
2002-01-23 14:19:22 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ccs@m...
2002-01-23 14:31:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Hugh Currin
2002-01-23 14:37:02 UTC
Re: Whither goest DOS?
Smoke
2002-01-23 15:28:08 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Ray
2002-01-23 15:38:38 UTC
Re: Re: Re: Whither goest DOS?
Randy Gordon-Gilmore
2002-01-23 15:41:07 UTC
DOS is dead; long live DOS :-)
Chris L
2002-01-23 15:42:06 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: Re: Whither goest DOS?
Russell Shaw
2002-01-23 16:03:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
wanliker@a...
2002-01-23 17:21:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Bill Vance
2002-01-23 17:59:53 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
pfrederick1
2002-01-23 18:10:01 UTC
Re: Whither goest DOS?
Russell Shaw
2002-01-23 18:30:49 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Mr. sausage
2002-01-23 20:16:28 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
waynegramlich
2002-01-23 20:53:03 UTC
Open source CNC buffer [Was: Whither goest DOS?]
ballendo
2002-01-23 20:56:09 UTC
Re: Whither goest DOS?
Chris L
2002-01-23 21:22:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ballendo
2002-01-23 21:35:17 UTC
Re: Whither goest DOS?
Bill Vance
2002-01-23 21:40:43 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Carol & Jerry Jankura
2002-01-23 21:48:13 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ccs@m...
2002-01-23 22:00:11 UTC
Re: USB or Ethernet machine control
Jon Elson
2002-01-23 22:11:30 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ballendo
2002-01-23 22:36:41 UTC
Re: Whither goest DOS?
ballendo
2002-01-23 23:02:09 UTC
Re: Re: Whither goest DOS?
ballendo
2002-01-23 23:06:15 UTC
microcontrollers for cnc was Re: Whither goest DOS?
ballendo
2002-01-23 23:18:21 UTC
Re: Whither goest DOS?
ballendo
2002-01-24 00:50:52 UTC
Re: USB or Ethernet machine control
Ian Wright
2002-01-24 02:18:35 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
pfrederick1
2002-01-24 05:02:06 UTC
Re: Whither goest DOS?
dlantz@a...
2002-01-24 05:22:28 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
pfrederick1
2002-01-24 05:25:09 UTC
Re: Whither goest DOS?
Carol & Jerry Jankura
2002-01-24 05:54:58 UTC
RE: [CAD_CAM_EDM_DRO] Re: USB or Ethernet machine control
pfrederick1
2002-01-24 08:11:09 UTC
Re: Whither goest DOS?
JanRwl@A...
2002-01-24 10:22:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: USB or Ethernet machine control
Jon Elson
2002-01-24 10:54:27 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
CL
2002-01-24 11:02:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ccs@m...
2002-01-24 11:10:34 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
CL
2002-01-24 12:11:09 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ccs@m...
2002-01-24 12:24:01 UTC
Re: glitchy step signals
wanliker@a...
2002-01-24 12:44:21 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Luc Vercruysse
2002-01-24 13:57:00 UTC
Re: [CAD_CAM_EDM_DRO] Open source CNC buffer [Was: Whither goest DOS?]
Russell Shaw
2002-01-24 14:48:07 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Carol & Jerry Jankura
2002-01-24 19:05:21 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ballendo
2002-01-25 00:38:01 UTC
Re: Whither goest DOS?
ballendo
2002-01-25 00:47:16 UTC
Subject headings vs. OT was Re: Whither goest DOS?
ballendo
2002-01-25 02:07:05 UTC
Linux cnc OTHER than EMC was Re: Whither goest DOS?
Ian Wright
2002-01-25 02:41:16 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ballendo
2002-01-25 05:55:18 UTC
Re: Whither goest DOS?
Dennis Dunn
2002-01-25 06:31:26 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Russell Shaw
2002-01-25 06:39:34 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ballendo
2002-01-25 07:04:06 UTC
fpga's for b-box was Re: Whither goest DOS?
ballendo
2002-01-25 07:10:06 UTC
Re: Whither goest DOS?
Dennis Dunn
2002-01-25 07:37:33 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
CL
2002-01-25 11:18:26 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ballendo
2002-01-25 12:29:51 UTC
windows controllers master5 was Re: Whither goest DOS?
ballendo
2002-01-25 12:43:33 UTC
Re: Whither goest DOS?
dkowalcz2000
2002-01-25 13:09:00 UTC
Re: USB or Ethernet machine control
ballendo
2002-01-25 13:21:02 UTC
Black boxes was Re: USB or Ethernet machine control
j.guenther
2002-01-25 13:45:47 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Paul
2002-01-25 17:24:31 UTC
Re: [CAD_CAM_EDM_DRO] Black boxes
Russell Shaw
2002-01-25 17:38:28 UTC
Re: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
Jon Elson
2002-01-25 22:24:06 UTC
Re: [CAD_CAM_EDM_DRO] Black boxes was Re: USB or Ethernet machine control
Jon Elson
2002-01-25 22:42:11 UTC
Re: [CAD_CAM_EDM_DRO] Black boxes
ballendo
2002-01-27 04:50:03 UTC
"gutting" black boxes was Re: Whither goest DOS?
ballendo
2002-01-27 05:20:55 UTC
All those in favor of simple interfaces, say "I" was Re: Whither goest DOS?
ballendo
2002-01-27 06:41:41 UTC
Re: Black boxes
ballendo
2002-01-27 18:33:01 UTC
master 5 group for computer info was Re: Whither goest DOS?
Chris L
2002-01-27 18:48:57 UTC
Re: [CAD_CAM_EDM_DRO] master 5 group for computer info was Re: Whither goest DOS?
Raymond Heckert
2002-01-27 21:09:36 UTC
Re: [CAD_CAM_EDM_DRO] Re: Black boxes
Tony Jeffree
2002-01-27 22:15:52 UTC
Re: Patent searches (was Black boxes)
Scot Rogers
2002-01-27 22:58:49 UTC
RE: [CAD_CAM_EDM_DRO] Re: Whither goest DOS?
ballendo
2002-01-28 05:09:36 UTC
Us Govt. patent site was Re: Black boxes
Tony Jeffree
2002-01-28 05:24:30 UTC
Re: [CAD_CAM_EDM_DRO] Us Govt. patent site was Re: Black boxes
ballendo
2002-01-28 05:50:11 UTC
Us Govt. patent site was Re: Black boxes
Tony Jeffree
2002-01-28 07:03:07 UTC
Re: [CAD_CAM_EDM_DRO] Us Govt. patent site was Re: Black boxes
ron ginger
2002-01-28 18:39:05 UTC
Black boxes
wanliker@a...
2002-01-28 18:48:09 UTC
Re: [CAD_CAM_EDM_DRO] Black boxes
ballendo
2002-01-29 02:19:50 UTC
Re: Black boxes
Fitch R. Williams
2002-01-29 04:40:14 UTC
Re: [CAD_CAM_EDM_DRO] Black boxes