Thanks Sam, > -----Original Message----- > From: Sam Sokolik [mailto:samco...@gmail.com] > Here is a couple crap explanations... > > Printer port > https://www.youtube.com/watch?v=f7dI0JYC5q4&t= > > mesa > https://www.youtube.com/watch?v=btYsWPriZVU&t= >
The overall perspective I already understand. And the7i92_R9902D.pin file has the pin descriptions. So obviously I have to create a pin file that matches my hardware. But these pins don't appear to match the pins in the manual. Configuration pin-out: IO Connections for P2 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 0 IOPort None 14 1 IOPort PWM 0 PWM (Out) 2 2 IOPort StepGen 0 Dir/Table2 (Out) 15 3 IOPort None 3 4 IOPort StepGen 0 Step/Table1 (Out) 16 5 IOPort PWM 0 Dir (Out) 4 6 IOPort StepGen 1 Dir/Table2 (Out) 17 7 IOPort None 5 8 IOPort StepGen 1 Step/Table1 (Out) 6 9 IOPort StepGen 2 Dir/Table2 (Out) 7 10 IOPort StepGen 2 Step/Table1 (Out) 8 11 IOPort StepGen 3 Dir/Table2 (Out) 9 12 IOPort StepGen 3 Step/Table1 (Out) 10 13 IOPort None 11 14 IOPort QCount 0 Quad-A (In) 12 15 IOPort QCount 0 Quad-B (In) 13 16 IOPort QCount 0 Quad-IDX (In) IO Connections for P1 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 17 IOPort None 14 18 IOPort PWM 1 PWM (Out) 2 19 IOPort StepGen 4 Dir/Table2 (Out) 15 20 IOPort None 3 21 IOPort StepGen 4 Step/Table1 (Out) 16 22 IOPort PWM 1 Dir (Out) 4 23 IOPort StepGen 5 Dir/Table2 (Out) 17 24 IOPort None 5 25 IOPort StepGen 5 Step/Table1 (Out) 6 26 IOPort StepGen 6 Dir/Table2 (Out) 7 27 IOPort StepGen 6 Step/Table1 (Out) 8 28 IOPort StepGen 7 Dir/Table2 (Out) 9 29 IOPort StepGen 7 Step/Table1 (Out) 10 30 IOPort None 11 31 IOPort QCount 1 Quad-A (In) 12 32 IOPort QCount 1 Quad-B (In) 13 33 IOPort QCount 1 Quad-IDX (In) And somehow that links back into the HAL except as that screen grab from pncconf there were pins marked 001 and also 0, 1 2, 3. I'll guess that the Chan # is the same as the 0,1,2 and 3 in pcnconf screen grab. So if I want Xstep on pin 2 and xdir on pin 3 then this? 1 0 IOPort None 14 1 IOPort None 0 2 2 IOPort StepGen 0 Step/Table1 (Out) 15 3 IOPort None 3 4 IOPort StepGen 0 Dir/Table2 (Out) The ribbon cable pin 1 is an output for Enable from Linux. I'm guessing I'd have to set pin 17 (or is it pin 8 from the manual to correspond to pin 7 on the DB-25). Still confused. John _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users