any one tell pluto.hal file enough control stepper

  • sakthi
  • sakthi's Avatar Topic Author
  • Visitor
  • Visitor
22 May 2010 05:16 #2968 by sakthi
Hi,

any one tell this pluto.hal file is enough to control stepper motors because in pluto_man9 document tells pluto having his own step generation we can get various speeds of step pulses using hal commands
i have written following code. is this HAL code enough to control steppers and also i just connect my pluto board on my parallel port by running this hal file is it possible get step and direction signals from pluto board. can any one guide me for this process .
##############################

loadrt threads period1=200000 name1=slow name2=base-thread period2=500000

loadrt pluto_step ioaddr=0x378 ioaddr_hi=0 epp_wide=1 watchdog=1 speedrange=3
addf pluto-step.read slow
addf pluto-step.write slow
setp pluto-step.stepgen.0.scale 765.5
setp pluto-step.stepgen.0.maxvel 10.5
setp pluto-step.stepgen.step-polarity 1
setp pluto-step.stepgen.steplen 255
setp pluto-step.stepgen.stepspace 255
setp pluto-step.stepgen.dirtime 1250
##############################

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.070 seconds
Powered by Kunena Forum