101-0393 Rabbit Semiconductor, 101-0393 Datasheet - Page 110

no-image

101-0393

Manufacturer Part Number
101-0393
Description
CARD D/A 0-10V SR9400 SMARTSTAR
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0393

Accessory Type
Smart Star D/A Card
For Use With/related Products
SR9400
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
PARAMETERS
RETURN VALUE
SEE ALSO
110
int anaOut(unsigned int channel,
D15 D14 D13 D12 D11 D10
R1
Sets the voltage of an analog output channel by serially clocking in 16 bits to a D/A converter using the
following format:
channel is the D/A converter output channel to write. channel should be passed as
where slotnumber is 0–6, and channelnumber is 0–7
or
where slotnumber is 0–6, and channelnumber is 0–7.
rawcount is a value corresponding to the voltage on the analog output channel (0–4095). The follow-
ing rawcount data correspond to the analog outputs indicated.
0 if successful.
–1 if rawcount is greater than 4095.
unsigned int rawcount);
• Program bits (D15…D12)
• New data (D11…D0)
SPD—Speed control bit: 1 = fast mode (default), 0 = slow mode
PWR—Power control bit: 1 = power down, 0 = normal operation (default)
The following table lists all the possible combinations of the register-selects bits R1
channel = (slotnumber * 128) + (channelnumber)
channel = ChanAddr(slotnumber, channelnumber)
anaOutVolts, anaOutCalib
SPD PWR
(Register 1) and R0 (Register 0)
R1
0
0
1
1
4095 (0FFFH)
2047 (07FFH)
rawcount
0 (0000H)
R0
R0
0
1
0
1
MSB
Write data to D/A converter channel B
Write data to buffer
Write data to D/A converter channel A
Reserved
SR9400
+10 V
D9
+5 V
0 V
Approximate Output Equivalent
D8
Register
12 data bits MSB–LSB (0–4095)
D7
SR9410
+10 V
–10 V
0 V
D6
Smart Star D/A Converter Cards (SR9400)
D5
D4
SR9420
20 mA
12 mA
4 mA
D3
D2
D1
LSB
D0

Related parts for 101-0393