Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
Posted by
JanRwl@A...
on 2002-07-02 20:43:25 UTC
In a message dated 02-Jul-02 20:46:17 Central Daylight Time,
luisguillermo98@... writes:
turn, and you want to make FIVE turns (that's 1000 steps by MY math). AND,
you want to make it go SLOW. You have a machine-code at address=A which
makes ONE step for each CALL(A).
Then you'd do this: 100 A=machine-code address
110 FOR X=1 TO 1000
120 CALL(A)
130 FOR D=1 TO 10:NEXT
140 NEXT X
In line #130, you would make the "10" smaller for FASTER, or larger for
SLOWER.
However, I have a standard "delay loop" in my machine-code which has H and L
bytes, and H is always just 01, but L can be 3, 7, 15, 30, or 60 (for the
particular PC I am using, an old 20 mHz. machine). That is, I POKE AD, 3 (or
7, etc.) before using the CALL. Each increment the byte in AD is a tiny
amount of time (I forget what it actually is, now, but it is in the m
icroseconds for a 20 mHz. computer-clock). That is, I do NOT use lines like
line #130 in this example.
You can write the ASM-86 code @ "A" either to step CW or CCW, or, you could
write it so it would first set Direction, and then Step. I wrote mine with
EIGHT values for "A", one steps X-CW, another X-CCW. Then others Y-CW,
Y-CCW, X and Y N.E., N.W., S.W., and S.E. (45° moves).
Doing it with line-#130 in BASIC, even with a "1" in place of the 10, will be
VERY slow! (Unless you are using a 500 mHz desktop!)
Lotsa luck! Jan Rowland
[Non-text portions of this message have been removed]
luisguillermo98@... writes:
> dealy codeDelay code? Simple: Let's say your stepper/screw needs 200 steps per
turn, and you want to make FIVE turns (that's 1000 steps by MY math). AND,
you want to make it go SLOW. You have a machine-code at address=A which
makes ONE step for each CALL(A).
Then you'd do this: 100 A=machine-code address
110 FOR X=1 TO 1000
120 CALL(A)
130 FOR D=1 TO 10:NEXT
140 NEXT X
In line #130, you would make the "10" smaller for FASTER, or larger for
SLOWER.
However, I have a standard "delay loop" in my machine-code which has H and L
bytes, and H is always just 01, but L can be 3, 7, 15, 30, or 60 (for the
particular PC I am using, an old 20 mHz. machine). That is, I POKE AD, 3 (or
7, etc.) before using the CALL. Each increment the byte in AD is a tiny
amount of time (I forget what it actually is, now, but it is in the m
icroseconds for a 20 mHz. computer-clock). That is, I do NOT use lines like
line #130 in this example.
You can write the ASM-86 code @ "A" either to step CW or CCW, or, you could
write it so it would first set Direction, and then Step. I wrote mine with
EIGHT values for "A", one steps X-CW, another X-CCW. Then others Y-CW,
Y-CCW, X and Y N.E., N.W., S.W., and S.E. (45° moves).
Doing it with line-#130 in BASIC, even with a "1" in place of the 10, will be
VERY slow! (Unless you are using a 500 mHz desktop!)
Lotsa luck! Jan Rowland
[Non-text portions of this message have been removed]
Discussion Thread
JanRwl@A...
2002-06-27 17:31:54 UTC
Re: [CAD_CAM_EDM_DRO] I am loosing one step. weir!
luisguillermo98
2002-06-27 18:12:59 UTC
Re: I am loosing one step. weir!
JanRwl@A...
2002-06-27 18:25:50 UTC
Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
luisguillermo98
2002-06-27 18:39:56 UTC
Re: I am loosing one step. weir!
JanRwl@A...
2002-06-27 19:59:26 UTC
Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
Jon Elson
2002-06-27 23:38:59 UTC
Re: [CAD_CAM_EDM_DRO] I am loosing one step. weir!
Dan Mauch
2002-06-28 06:21:06 UTC
RE: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
luisguillermo98
2002-07-02 12:32:49 UTC
Re: I am loosing one step. weir!
JanRwl@A...
2002-07-02 17:02:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
luisguillermo98
2002-07-02 18:44:54 UTC
Re: I am loosing one step. weir!
JanRwl@A...
2002-07-02 20:43:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
luisguillermo98
2002-07-03 15:41:42 UTC
Re: I am loosing one step. weir!
luisguillermo98
2002-07-03 16:16:10 UTC
Re: I am loosing one step. weir!
Dennis Cranston
2002-07-03 16:56:25 UTC
RE: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
Thomas Mayfield
2002-07-03 16:57:55 UTC
[CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
JanRwl@A...
2002-07-03 22:42:08 UTC
Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
JanRwl@A...
2002-07-03 22:43:17 UTC
Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
Doug Harrison
2002-07-04 07:33:01 UTC
Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!
keongsan
2002-08-18 03:21:57 UTC
ringing sound
Dan Mauch
2002-08-18 06:40:33 UTC
RE: [CAD_CAM_EDM_DRO] ringing sound
turbulatordude
2002-08-18 07:32:35 UTC
Re: ringing sound
cadcamcenter
2002-08-18 08:42:49 UTC
Re: ringing sound