Analog Module
The analog module is equipped with 8 inputs that are specifically designed to support 8 potentiometers and another 8 inputs supporting encoders.
The potentiometers are supplied with 5V and provide a 0 to 5V analog input range.
The encoders offer the ability to generate analog values that increment or decrement based on the direction of rotation. This feature includes the option to select between two different increments: one for slow turning speeds and another for fast turning speeds.
In addition to accepting inputs from potentiometers, the module can also be connected to any source that generates a voltage ranging from 0V to 5V.
The analog values are digitized with a resolution of 12 bits and then scaled up to 16-bit resolution.
The parameters of the analog module can be modified using the Module Configuration Service (MCS), a CanAerospace node service accessible through the USB interface.
Additionally, the encoder counters' values can be conveniently stored and will be readily available upon powering up the system.
Byte | Description | Values |
---|---|---|
0 | Node ID | 1-255 |
1 | Data Type | USHORT (7) |
2 | Service Code | <potentiometer/encoder num> |
3 | Message Code | <message num> |
4 | Data Byte 1 | <high byte of analog value> |
5 | Data Byte 2 | <low byte of analog value> |
6 | Data Byte 3 | 0 |
7 | Data Byte 4 | 0 |
Analog modules use CAN Identifiers in the range of 0x718 - 0x71F.