CAD CAM EDM DRO - Yahoo Group Archive

RE: [CAD_CAM_EDM_DRO] Limit and Homing switches

on 2002-03-08 19:43:49 UTC
Hi, Alan:

|Hi Drew, Jerry, list!
|
|Did you do the home in TurboCNC? I just discovered it! But I don't
|have any home switches... yet.

No, I didn't write that code.

|I did observe something. I boot windoz98, just to "DOS", and run both
|TurboCNC and my code. I thought that ought to be good enough. I still
|had some jitter on my code's pulses that I couldn't explain. Every 20ms
|(hard to determine), I see my pulse get very wide.

Remember that DOS interrupts the processor ever 19.2 milliseconds. It simply
updates a clock, and shouldn't eat too much time. But, add Windows or
another driver and guess what - you've got a whole crowd that uses that
interrupt and, all of a sudden, your pulse train gets too jittery to drive a
motor at high speed.

|I thought it was
|just my code. Then I looked at TurboCNC's pulses. Same problem, maybe
|worse! I thought all the "interruptions" were off! I formatted a DOS
|boot disk from DOS (windoz98), and ran both programs from DOS, rebooted
|from this floppy. Nice and clean (yeah, I should have known that)!
|HIMEM.SYS is loaded, DOSKEY, DBLBUF, CRROM stuff, and a few others. I
|recall Jerry running into EMM386 causing problems, but I didn't think
|these others would be a problem. Now I know! Somewhere there is a
|config.sys for the "DOS" boot of '98, but I haven't found it. The
|"shop" machine is even more complicated, as it has a LILO boot for EMS,
|and can also run '98. Well, at least a floppy boot works.

Alan - it's not in Config.sys. in MSDOS.SYS (a hidden file) Add a line
"BOOTGUI=0" and you should be able to boot directly into DOS without adding
the GUI. You can then play with Config.sys to present a menu which allows
you to use either Windows or DOS. Here is my CONFIG.SYS file:

Switches=/F
[Menu]
MenuItem=4DOS, MS-DOS 7.1 + 4DOS CLI
MenuItem=NORMAL, MS-DOS 7.1 + COMMAND CLI with EMM386 Driver
MenuItem=WIN98, Windows GUI
MenuItem=CD, MS-DOS 7.1 with CD Support
MenuItem=NOTHING, MS-DOS 7.1 Unadorned
MenuDefault=Win98, 10
MenuColor 11, 1

[Common]
DOS=HIGH,UMB
Device=C:\Windows\HiMem.SYS /TestMem:OFF

[4DOS]
SHELL=C:\4DOS-700\4DOS.COM C:\4DOS-700 /E:3072 /P
Device=C:\Windows\EMM386.EXE NOEMS RAM HIGHSCAN
DeviceHigh=C:\Windows\Command\ANSI.SYS
rem Device=C:\WINDOWS\SYSTEM\mouse.drv

[Normal]
Shell=C:\COMMAND.COM C:\ /E:3072 /P
Device=C:\Windows\EMM386.EXE NOEMS RAM HIGHSCAN
DeviceHigh=C:\Windows\Command\ANSI.SYS

[WIN98]
SHELL=C:\4DOS-700\4DOS.COM C:\4DOS-700 /E:3072 /P
Device=C:\Windows\EMM386.EXE NOEMS RAM HIGHSCAN
DeviceHigh=C:\Windows\Command\ANSI.SYS

[CD]
SHELL=C:\4DOS-700\4DOS.COM C:\4DOS-700 /E:3072 /P
Device=C:\Windows\EMM386.EXE NOEMS RAM HIGHSCAN
DeviceHigh=\sys\oakcdrom.sys /D:MSCD001
DeviceHigh=C:\Windows\Command\ANSI.SYS

[NOTHING]
SHELL=C:\4DOS-700\4DOS.COM C:\4DOS-700 /E:3072 /P
DeviceHIgh=C:\Windows\Command\ANSI.SYS

[Common]
Set OS=WIN98
Files=50

And,here's my MSDOS.SYS file - without all of the lines that have the X's in
them to take up space:

[Paths]
WinDir=c:\windows
WinBootDir=c:\windows
HostWinBootDrv=c

[Options]
AutoScan=0
BootMulti=1
BootGUI=0
DoubleBuffer=1
LOGO=0

-- Carol & Jerry Jankura
Strongsville, Ohio
So many toys, so little time....

Discussion Thread

Alan Marconett KM6VV 2002-03-06 17:10:26 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Ian W. Wright 2002-03-07 05:14:31 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Drew Rogge 2002-03-07 08:43:31 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Alan Marconett KM6VV 2002-03-07 12:19:29 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Alan Marconett KM6VV 2002-03-07 12:38:56 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Drew Rogge 2002-03-07 15:18:35 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Alan Marconett KM6VV 2002-03-07 16:20:41 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches wanliker@a... 2002-03-07 18:33:44 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches mariss92705 2002-03-07 19:54:50 UTC Re: Limit and Homing switches rekmac 2002-03-08 04:41:13 UTC Re: Limit and Homing switches Drew Rogge 2002-03-08 08:28:12 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Drew Rogge 2002-03-08 09:17:11 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Alan Marconett KM6VV 2002-03-08 11:35:01 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Alan Marconett KM6VV 2002-03-08 12:51:03 UTC Re: Limit and Homing switches Drew Rogge 2002-03-08 13:11:49 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Sven Peter 2002-03-08 17:12:07 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Limit and Homing switches Sven Peter 2002-03-08 17:48:52 UTC Re: [CAD_CAM_EDM_DRO] Re: Re: Limit and Homing switches Alan Marconett KM6VV 2002-03-08 18:27:09 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Carol & Jerry Jankura 2002-03-08 19:43:49 UTC RE: [CAD_CAM_EDM_DRO] Limit and Homing switches Alan Marconett KM6VV 2002-03-09 10:48:39 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches rehenry 2002-03-09 11:35:56 UTC Re: Re: Re: Re: Limit and Homing switches Drew Rogge 2002-03-11 07:21:47 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches Alan Marconett KM6VV 2002-03-11 12:36:46 UTC Re: [CAD_CAM_EDM_DRO] Limit and Homing switches