![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm4100/rabbitcore-rcm4100_user-manual_3119422065.webp)
User’s Manual
61
anaInmAmps
float anaInmAmps(unsigned int channel);
DESCRIPTION
Reads the state of an analog input channel and uses the previously set calibration con-
stants to convert it to current.
PARAMETERS
channel
the channel number (0 to 7) corresponding to LN0 to LN7.
RETURN VALUE
A current value between 4.00 and 20.00 mA corresponding to the current on the analog
input channel.
ADTIMEOUT
(-4095) if the conversion is incomplete or busy bit timeout.
ADOVERFLOW
(-4096) for overflow or out of range.
SEE ALSO
anaInCalib
,
anaIn
,
anaInVolts
Channel Code
4–20 mA
Input Lines
*
* Negative input is ground.
0
+AIN0
1
+AIN1
2
+AIN2
3
+AIN3
†
† Applies to Prototyping Board.
4
+AIN4*
5
+AIN5*
6
+AIN6*
7
+AIN7
Summary of Contents for RabbitCore RCM4100
Page 1: ...RabbitCore RCM4100 C Programmable Core Module User s Manual 019 0153 090508 G...
Page 18: ...14 RabbitCore RCM4100...
Page 102: ...98 RabbitCore RCM4100...
Page 106: ...102 RabbitCore RCM4100...
Page 110: ...106 RabbitCore RCM4100...
Page 112: ......