Analog Inputs¶
The CANlink® wireless 4000 has two inputs that can be configured as analog inputs.
Electrical details can be found in the Technical Data section, under Interfaces, and pinouts in Main Plug Connector.
Pin 4 and pin 5 of the connector are analog inputs, and also pin 8 (Terminal 15).
| Pin | Voltage Measurement range |
|---|---|
| 4 | 0 VDC to 15 VDC |
| 5 | 0 VDC to 15 VDC |
| 8 (Terminal 15) |
0 VDC to 36 VDC (Maximum measurement voltage is the Terminal 30 (Vcc) voltage). |
Reading Analog Inputs¶
The analog inputs can be read using CANopen requests.
The results are represented as a decimal voltage.
Analogue Input 1 (pin 4) can be read from 0x3340:0x01 [Analogue Input 1 (Filtered)].
Analogue Input 2 (pin 5) can be read from 0x3340:0x02 [Analogue Input 2 (Filtered)].
Terminal 15 (pin 8) can be read from 0x3333:0x66 [Clamp 15 Real 32 (Filtered)].
Additionally, a digital representation of this analog input can be read from 0x3333:0x01 [Clamp 15].
This is useful as logic to determine if the ignition is switched on, or off.
| Value | Meaning |
|---|---|
0 |
Input state low (< 2.5 V) |
1 |
Input state high (> 5.5 V) |
Info
The Analog Input values in the CANopen Object Dictionary are updated every 50ms.
The filtering is not configurable, and is done in hardware.
Analog Input PDO¶
A worked example of configuring the device to periodically send analog input values over the bus using PDOs is described in the CTO section.