On Monday 13 February 2017 12:08:16 TJoseph Powderly wrote: > Hello, you can look at > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Parallel_Port_Tester > > There is a version in the first linuxcnc screen (aka the config > picker) > > If you use any of these, check the address and if different, make > copies and edit > > These configs set the port simply as type 'output', but you can edit > such features into your custom version > > I have versions for 0xd030 and 0xd010 > > I recently found a new parport card's 3.3V outputs were not driving my > 5V stepper amp > because > an opto-coupler was used to level shift, and this added a delay by > rounding the rising edge of the step signal > the delay was enough to eliminate the step length! > > tomp tjtr33
Thats why any output driving an opto s/b true=low. The falling edge is not near as slowed then. Thats done by feeding the + of the opto with 5 volts, and in your hal file for a mesa card, setp hm2_[HOSTMOT2](BOARD).0.gpio.019.invert_output 1 setp hm2_[HOSTMOT2](BOARD).0.gpio.019.is_opendrain 1 Adjust the .019. as required. > On 02/13/17 21:26, Valerio Bellizzomi wrote: > > Thanks Todd, which parallel port test program should I use to toggle > > the output pins ? > > > > > > Thanks, > > Valerio > > ---------------------------------------------------------------------- >-------- Check out the vibrant tech community on one of the world's > most engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users