The RS-485 connections between the slave and master devices are as follows.
• RS485+ to RS485+
• RS485– to RS485–
• GND to GND
•
SIMPLE485MASTER.C
lower case letters to a slave. The slave will send back converted upper case letters back
to the master RCM3400 and display them in the
SIMPLE485SLAVE.C
•
SIMPLE485SLAVE.C
lower case letters to a master RCM3400. The slave will send back converted upper case
letters back to the master RCM3400 and display them in the
SIMPLE485MASTER.C
3.2.2 A/D Converter Inputs
The following sample programs are found in the
—Demonstrates how to recalibrate all single-ended analog input chan-
•
AD_CAL_ALL.C
nels for one gain, using two known voltages to generate the calibration constants for
each channel. Constants will be rewritten into the user block data area.
•
AD_CAL_CHAN.C
channel with one gain using two known voltages to generate the calibration constants
for that channel. Constants will be rewritten into user block data area.
•
AD_CAL_DIFF.C
channel using two known voltages to generate the calibration constants for that channel.
Constants will be rewritten into user block data area.
•
AD_CALMA_CH.C
convert analog current measurements to generate the calibration constants for that channel.
NOTE: The above sample programs will overwrite any existing calibration constants.
•
AD_RDDIFF_CH.C
differential input using previously defined calibration constants.
—Demonstrates how to read an A/D input channel being used to con-
•
AD_RDMA_CH.C
vert analog current measurements using previously defined calibration constants for
that channel.
•
AD_RDVOLT_ALL.C
using previously defined calibration constants.
—Demonstrates how to use a low-level driver on single-ended inputs.
•
AD_SAMPLE.C
The program will continuously display the voltage (average of 10 samples) that is
present on the A/D channels.
•
ANAINCONFIG.C
ended analog input values for display as voltages. The sample program uses the func-
tion call
anaInConfig()
User's Manual
—This program demonstrates a simple RS-485 transmission of
to program the slave.
—This program demonstrates a simple RS-485 transmission of
to program the master RCM3400.
—Demonstrates how to recalibrate one single-ended analog input
—Demonstrates how to recalibrate one differential analog input
—Demonstrates how to recalibrate an A/D input channel being used to
—Demonstrates how to read an A/D input channel being used for a
—Demonstrates how to read all single-ended A/D input channels
—Demonstrates how to use the Register Mode method to read single-
and the ADS7870 CONVERT line to accomplish this task.
STDIO
window. Use
STDIO
subdirectory in
ADC
SAMPLES\RCM3400
window. Use
.
17
Need help?
Do you have a question about the RabbitCore RCM3400 and is the answer not in the manual?