From: Pierpaolo Garofalo <[email protected]> Hi everybody, I recently installed BDI 4.49 on my garage PC as I decided to migrate to Linux for good. So far I have used a DOS program I wrote to drive may cnc router and seldom TurboCNC with no problem. After installing BDI I edited the emc.ini file to sort the pinout configuration out.
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