Thanks Chris; I have learned the hard way, your 2.4 list below appears to be what is in the EMC 2.3 But not in the 2.3 Integrator Manual. Don
----- Original Message ----- From: "Chris Morley" <chrisinnana...@hotmail.com> To: "EMC" <emc-users@lists.sourceforge.net> Sent: Monday, May 24, 2010 9:08 PM Subject: Re: [Emc-users] Howto files for EMC. > > > > > > My information so far has been the Integrator Manual > > > and examples files. This is a difficult task with no examples > > > of this equipment configuration: and a very important > > > "motenc.0.enc-0x-index-enable" pin missing from the > > > Integrator Manual. > > > > > > I am now informed that there is indeed a > > > "motenc.0.enc-0x-index-enable" pin in the hal_motenc. > > > > > > Any help will be greatly appreciated. > > > Thanks > > This is from the 2.4 branch source code: > > * > * This is the driver for the Vital Systems MOTENC-100 board. > * The board includes 8 quadrature decoders, 8 analog inputs, > * 8 analog outputs, 68 digital inputs, 32 digital outputs, > * programable timer interrupts, a watch dog timer, and a hardware > * E-STOP circuit. > > * The following items are exported to the HAL. <boardId> is read > * from the jumper settings on the MOTENC-100 board and is formated > * as "%d". <channel> is formated as "%02d". > * > * Encoders: > * Parameters: > * float motenc.<boardId>.enc-<channel>-scale > * > * Pins: > * s32 motenc.<boardId>.enc-<channel>-count > * float motenc.<boardId>.enc-<channel>-position > * bit motenc.<boardId>.enc-<channel>-index > * bit motenc.<boardId>.enc-<channel>-index-enable > * bit motenc.<boardId>.enc-<channel>-reset > * > * Functions: > * void motenc.<boardId>.encoder-read > * > * > * DACs: > * Parameters: > * float motenc.<boardId>.dac-<channel>-offset > * float motenc.<boardId>.dac-<channel>-gain > * > * Pins: > * float motenc.<boardId>.dac-<channel>-value > * > * Functions: > * void motenc.<boardId>.dac-write > * > * ADC: > * Parameters: > * float motenc.<boardId>.adc-<channel>-offset > * float motenc.<boardId>.adc-<channel>-gain > * > * Pins: > * float motenc.<boardId>.adc-<channel>-value > * > * Functions: > * void motenc.<boardId>.adc-read > * > * > * Digital In: > * Pins: > * bit motenc.<boardId>.pin-<channel>-in > * bit motenc.<boardId>.pin-<channel>-in-not > * > * Functions: > * void motenc.<boardId>.digital-in-read > * > * > * Digital Out: > * Parameters: > * bit motenc.<boardId>.pin-<channel>-out-invert > * > * Pins: > * bit motenc.<boardId>.pin-<channel>-out > * > * Functions: > * void motenc.<boardId>.digital-out-write > * > * > * Miscellaneous: > * Parameters: > * u32 motenc.<boardId>.watchdog-control > * MOTENC_WATCHDOG_CTL_8MS 0x00000000 > * MOTENC_WATCHDOG_CTL_16MS 0x00000001 > * MOTENC_WATCHDOG_CTL_ENABLE 0x00000004 > * MOTENC_WATCHDOG_CTL_AUTO_RESET 0x00000010 // Reset by DAC writes. > * > * Pins: > * bit motenc.<boardId>.estop-in > * bit motenc.<boardId>.estop-in-not > > > _________________________________________________________________ > 30 days of prizes: Hotmail makes your day easier! Enter Now. > http://go.microsoft.com/?linkid=9729710 > -------------------------------------------------------------------------- ---- > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ---------------------------------------------------------------------------- ---- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.819 / Virus Database: 271.1.1/2893 - Release Date: 05/24/10 02:26:00 ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users