[Bdi4emc-help] 4.49 probable pinout problem
Pierpaolo Garofalo
pier_carla at yahoo.it
Thu Jun 22 23:19:14 CEST 2006
Hi,
this is the hardware pinout as configured on my
machine:
Par_Port_Number
1 <------------------ 0x378
Step_Mx_pin_2to9 <------ BASE
2 <------------------ second pin parallel 25pin port
Dir_Mx_pin_2to9
3 <------------------ third pin ...
Step_My_pin_2to9
6 <------------------ sixth
Dir_My_pin_2to9
7 <------------------ etc
Step_Mz_pin_2to9
4
Dir_Mz_pin_2to9
5
Mx_enable_pin_1_14_16_17 <------- CONTROL
16
My_enable_pin_1_14_16_17
1
Mz_enable_pin_1_14_16_17
14
oen
1 <----------------- enable -> up
> For the standard pinout, you would say QS_PINOUT =
> 0x76543210;
Could you please make an example according to my
setup?
I'll try and follow your advise.
Thanks,
Pier
--- Matt Timmermans <mt0000 at sympatico.ca> ha scritto:
> The EMC-standard pinout, starting at pin1 (parport
> D0 bit 0) is:
>
> X DIR, X STEP, Y DIR, Y STEP, Z DIR, Z STEP.
>
> Is that your pinout? If not, you'll need to change
> it in the .ini:
>
> - If you're using freqmod as your motion module,
> switch to quickstep. It's
> better, anyway.
>
> - In [EMCMOT] section, set the QS_PINOUT parameter.
> It's an 8-digit hex
> number. Each nibble specifies a parport D0 bit
> (0-7), and polarity (+8 for
> normally high). Starting at the LSB, they are DIR0,
> STEP0, DIR1, STEP1...
> STEP3 //Starting at the LSB, they are DIR0, STEP0,
> DIR1, STEP1... STEP3
>
> For the standard pinout, you would say QS_PINOUT =
> 0x76543210;
>
> Make sure you don't try to use the same pin for two
> purposes.
>
> After EMC starts up, you can run "dmesg" in a
> console to see kernel message,
> which will include a description of the actual
> pinout it is using.
>
> --
> Matt
>
>
>
> _______________________________________________
> Bdi4emc-help mailing list
> Bdi4emc-help at lists.ourproject.org
>
https://lists.ourproject.org/cgi-bin/mailman/listinfo/bdi4emc-help
>
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
More information about the Bdi4emc-help
mailing list