On Sat, 12 May 2012, Eugenio Yime Rodriguez wrote: > Date: Sat, 12 May 2012 08:58:57 -0500 > From: Eugenio Yime Rodriguez <eugenio.y...@gmail.com> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: emc-users@lists.sourceforge.net > Subject: [Emc-users] Help with 5i25 + 7i77 > > Hi Everybody, > > I'm new to LinuxCNC and HAL, so before configuring AXIS I wanted to test my > new card 5i25+7i77 with analog output. > > For that in mind, I did the following steps, > >>> halrun > halcmd: loadrt trivkins > halcmd: loadrt motmod servo_period_nsec=1000000 num_joints=6 > halcmd: loadrt hostmot2 > halcmd: loadrt hm2_pci config="num_encoders=6 num_stepgens=0 > sserial_port_0=000000xx" > halcmd: setp hm2_5i25.0.watchdog.timeout_ns 3000000 > halcmd: addf hm2_5i25.0.read servo-thread > halcmd: addf motion-command-handler servo-thread > halcmd: addf motion-controller servo-thread > halcmd: addf hm2_5i25.0.write servo-thread > halcmd: addf hm2_5i25.0.pet_watchdog servo-thread > halcmd: start > halcmd: setp hm2_5i25.0.7i77.0.1.analogena TRUE > halcmd: setp hm2_5i25.0.7i77.0.1.analogout0 2.5 > > However, there is no output in 7i77 analog chanel 0. It seems I missed > something.
Not sure what could be going on (since the pins all show up) but can you try this simple sample config? moving the encoder a little bit should get some analog out (until you get a following error at least) freeby.mesanet.com/7i77.zip Also are you sure you have a analog out pin correct? (fourth pin from the bottom of TB5) Peter Wallace ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users