Knowledge Base

The picture above shows the connections for the external analog input and output. The analog output is designated analog output B. It can generate a 0-10V signal, with a maximum load current of 5mA, corresponding to a 2KOhm load. The output has internal current limiting (which is not the same as being short circuit proof!).

The analog output voltage is a positive voltage measured with respect to the 0V terminal. It is programmed using the AnOutB instruction. With X=0 this will result in 0V out, with X=255 it will result in 10V out. You can also use fAnOut 1 which will result in 0v for W=0 and 10V for W=1.

The output resolution is 8 bits (256 steps between 0 and full scale) when you use the AnOut# instructions and 10 bits when you use fAnOut. The output is generated as a filtered pulse width modulated (PWM) signal. The filter consists of a simple 100mS RC low pass filter. For a full scale step output change, say from 0V to 10V, this will take 230mS to settle to within 10% of the full change, 450mS to settle to 1% and 550mS to settle to 0.4%.

How to blow up the analog output

Here are some ways of blowing up the analog output:

  1. Connect the output to any positive voltage over 10V and program a 0V output.
  2. Short the output to 0V for extended periods of time (it might survive)
  3. Connect the output to a negative voltage, even momentarily.