ADC Channels
You can use ADC channels as analog feedback for axes or as general-purpose analog inputs to measure sensors or potentiometers.
All ADC channels are multiplexed and automatically scanned to keep the converted ADC register values current. The following table lists the resource IDs and constants for ADCs:
Resource Name | Resource ID | Constant |
---|---|---|
ADC 1 | 0x51 | NIMC_ADC1 |
ADC 2 | 0x52 | NIMC_ADC2 |
ADC 3 | 0x53 | NIMC_ADC3 |
ADC 4 | 0x54 | NIMC_ADC4 |
ADC 5 | 0x55 | NIMC_ADC5 |
ADC 6 | 0x56 | NIMC_ADC6 |
ADC 7 | 0x57 | NIMC_ADC7 |
ADC 8 | 0x58 | NIMC_ADC8 |
ADC 9 | 0x59 | NIMC_ADC9 |
ADC 10 | 0x5A | NIMC_ADC10 |
ADC 11 | 0x5B | NIMC_ADC11 |
ADC 12 | 0x5C | NIMC_ADC12 |
ADC 13 | 0x5D | NIMC_ADC13 |
ADC 14 | 0x5E | NIMC_ADC14 |
ADC 15 | 0x5F | NIMC_ADC15 |
ADC 16 | 0xF1 | NIMC_ADC16 |
ADC 17 | 0xF2 | NIMC_ADC17 |
ADC 18 | 0xF3 | NIMC_ADC18 |
ADC 19 | 0xF4 | NIMC_ADC19 |
ADC 20 | 0xF5 | NIMC_ADC20 |
ADC 21 | 0xF6 | NIMC_ADC21 |
ADC 22 | 0xF7 | NIMC_ADC22 |
ADC 23 | 0xF8 | NIMC_ADC23 |
ADC 24 | 0xF9 | NIMC_ADC24 |
ADC 25 | 0xFA | NIMC_ADC25 |
ADC 26 | 0xFB | NIMC_ADC26 |
ADC 27 | 0xFC | NIMC_ADC27 |
ADC 28 | 0xFD | NIMC_ADC28 |
ADC 29 | 0xFE | NIMC_ADC29 |
ADC 30 | 0xFF | NIMC_ADC30 |
ADC channels do not typically provide the same level of feedback performance as encoders, but have the advantage of providing absolute rather than incremental feedback.