can any one tell this pluto.hal file works
- sakthi
- Topic Author
- Visitor
22 May 2010 05:21 #2969
by sakthi
can any one tell this pluto.hal file works was created 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
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
##############################
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
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.
Time to create page: 0.046 seconds