A/D Converter Inputs - Z-World Wolf BL2600 User Manual

C-programmable single-board computer with ethernet
Table of Contents

Advertisement

The following sample programs are found in the
—This program demonstrates a simple RS-485 transmission of lower case
MASTER.C
letters to a slave. The slave will send back converted upper case letters back to the
master BL2600 and display them in the
slave. Make the following connections between the master and slave:
485+ to 485+
485- to 485-
GND to GND
—This program demonstrates a simple RS-485 transmission of lower case
SLAVE.C
letters to a slave. The slave will send back converted upper case letters back to the
master BL2600 and display them in the
master BL2600.

4.2.4 A/D Converter Inputs

The following sample programs are found in the
NOTE: The calibration sample programs will overwrite the calibration constants set at
the factory.
ADC_CAL_DIFF.C
channel using two known voltages to generate two coefficients, gain and offset, which
are rewritten into the reserved EEPROM. The voltage that is being monitored is dis-
played continuously.
—Demonstrates how to recalibrate a milli-amp A/D converter channel
ADC_CAL_MA.C
using two known currents to generate two coefficients, gain and offset, which are
rewritten into the reserved EEPROM. The current that is being monitored is displayed
continuously.
ADC_CAL_SE_BIPOLAR.C
A/D converter channel using two known voltages to generate two coefficients, gain and
offset, which are rewritten into the reserved EEPROM. The voltage that is being moni-
tored is displayed continuously.
ADC_CAL_SE_UNIPOLAR.C
A/D converter channel using two known voltages to generate two coefficients, gain and
offset, which are rewritten into the reserved EEPROM. The voltage that is being moni-
tored is displayed continuously.
ADC_RD_CALDATA.C
gain and offset, in the Dynamic C
operation.
—Demonstrates how to read and display voltage and equivalent values
AD_RD_DIFF.C
for a differential A/D converter channel using calibration coefficients previously stored
in the EEPROM. The user selects to display either the raw data or the voltage equivalent.
—Demonstrates how to read and display voltage and equivalent values
AD_RD_MA.C
for a milli-amp A/D converter channel using calibration coefficients previously stored
in the EEPROM. The user selects to display either the raw data or the current equivalent.
User's Manual
STDIO
—Demonstrates how to recalibrate a differential A/D converter
—Demonstrates how to recalibrate a single-ended bipolar
—Demonstrates how to recalibrate a single-ended unipolar
—Demonstrates how to display the two calibration coefficients,
STDIO
subdirectory in
RS485
STDIO
window. Use
window. Use
MASTER.C
subdirectory in
ADC
window for each channel and mode of
SAMPLES\BL2600
to program the
SLAVE.C
to program the
SAMPLES\BL2600
.
.
37

Advertisement

Table of Contents
loading

Table of Contents