hmm ne ist immernoch sehr sehr langsam.
aber trotzdem danke
hmm kann das was mit dem restlichen programm zusammenhängen????

SLOWMODE OFF
goto reset
'#### begin defines ####
define boot byte
define command byte
define schritte word
define richtung byte
define Achse_go port[2]
define Achse_dir port[3]
define a word
define i byte
'#### Ende Defines ####

'#### Set Parameters ####
boot=0
command=0
schritte=0
richtung=0
achse_go=0
achse_dir=0
'#### Ende set Parameters ###



'#### Programm begin ####
#reset

print "Treiberstart"
if boot=0 then print "Coldboot"
if boot=1 then print "warmboot(_reset)"
if boot=2 then print "Err than reset .... warmboot"

#command_
input command
if command=1 then goto start ' 1=X 2=Z 3=Y
if command=9 then end
goto command_

#start
print "11" '11 = Maschine:1 Achse:1
print "?"
input richtung
print "?"
input schritte
print "-"

if richtung = 1 then PULSE achse_dir

for a=1 to schritte
pulse achse_go
i=i
i=i
i=i
i=i
next


print "done."
goto command_


ist ein mini programm ich weis aber mehr brauch ich grade net hab software zu steuern am pc geschrieben übern com port das funzt auch aber die geschwindigkeit