101-0021 Rabbit Semiconductor, 101-0021 Datasheet - Page 45

no-image

101-0021

Manufacturer Part Number
101-0021
Description
Daughter Cards & OEM Boards A/D12 Exp Board
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0021

Product Category
Daughter Cards & OEM Boards
Rohs
yes
Product
A/D Conversion - Expansion Boards
Dimensions
72 mm x 54 mm x 19 mm
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
- 40 C
Operating Supply Voltage
24 V
Tool Is For Evaluation Of
XP8500
For Use With
Z-World Controllers
#if (BOARD_TYPE == CPLC_BOARD) ||
#use cplc.lib
#endif
main(){
#if (BOARD_TYPE == CPLC_BOARD) ||
#endif
(BOARD_TYPE==L_STAR)
struct adc4coeff adc4conv0;
struct adc4coeff adc4conv1;
struct adc4coeff adc4conv2;
struct adc4coeff adc4conv3;
int data0, data1, data2, data3;// Raw data.
unsigned int adc4_board;
int i;
(BOARD_TYPE==L_STAR)
uplc_init();
reset_pbus();
reset_pbus_wait();
if(sysclock() > 0x1e00)
reset_pbus_wait();
for(i=0;i<4;i++) {
}
if( i >= 4) {
}
printf(“XP8500 board %x has been
printf(“Reading XP8500 board calibration
adc4_readcoeff(adc4_board, 0, &ADC4conv0);
adc4_readcoeff(adc4_board, 1, &ADC4conv1);
if(adc4_init(0x0c0+i)) {
}
printf(“No XP8500 Board detected.\n”);
while(1) runwatch();
detected.\n”, adc4_board);
constants...\n”);
adc4_board = 0x0c0 + i;
break;
ADC4SMP1.C
// Program runs on PK2200
// and PK2100 controllers
// only.
// reset the PLCBus
// wait double if the
// clock is faster than
// 9 MHz
// find the first available
// XP8500 board on the PLCBus
// read cal for chan0
// read cal for chan1
// Structs needed
// only if you
// use calibration
// constants to
// convert raw A/D
// data to voltages.
// Brd address.
continued…
s

Related parts for 101-0021