Thanks Eric, I read the document mentioned in the config files just now and I wish I would have read that before bothering everybody.
I was sitting here pulling my hair out wondering where I was going to get enough ios,what with all the encoder counters and pwms. You confirmed what I thought the document said.I feel much better now. Thanks for your time Terry On Thu May 28 23:10 , 'Eric H. Johnson' <[email protected]> sent: >Terry, > >The new m5i20 and Mesa drivers in general are much more flexible than the >old m5i20 driver. If you look at configs/hm2-servos/5i20.ini, you will see >the following at the beginning of the file: > >DRIVER=hm2_pci >BOARD=5i20 >CONFIG="firmware=hm2/5i20/SVST8_4.BIT num_encoders=3 num_pwmgens=3 >num_stepgens=0" > >This maps through to hm2-servo.hal, specifically the line: >loadrt [HOSTMOT2](DRIVER) config=[HOSTMOT2](CONFIG) > >The first two lines are obvious. The third line is specifying how many of >each component type to allocate. The P2 and P3 connectors are basically the >same except for the channel number, because both can be interfaced with >boards such as the m7i33 for encoders and analog reference signals for the >servo amplifiers. > >Thus up to 8 motors and encoders can be handled by a single m5i20 if you >have a configuration needing that many channels. If you have fewer, then the >pins corresponding to the unused channels may be used as general purpose >I/O. The sample configuration only uses 3 pwm generators and encoders, thus >6 pins are available on the P2 connector for gpio (25, 27, 33, 37, 41, 45) >and all 24 pins on P3 are available for gpio. Each gpio may be configured as >either input or output. > >After loading a configuration, do dmesg to see the actual pin assignments >and pin names. > >Regards, >Eric > > >As I was looking through the SVST8_4IM2.pin file I saw that the connections >for P2 are almost the same but P3 is alot different than the origional >mi520. > >Do I make a new hal.io file for my machine and that will override the pinout >that is listed for P3 in the SVST8_4IM2.bit file? > >I would then call this new .io file from the .ini file? >A little direction here and I wont bother you guys anymore.The last >statement was probably inaccurate. > > > >------------------------------------------------------------------------------ >Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >is a gathering of tech-side developers & brand creativity professionals. Meet >the minds behind Google Creative Lab, Visual Complexity, Processing, & >iPhoneDevCamp as they present alongside digital heavyweights like Barbarian >Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >_______________________________________________ >Emc-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/emc-users ---- Msg sent via CableONE.net MyMail - http://www.cableone.net ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
