ChipFind - документация

Электронный компонент: MODEL232SDA12

Скачать:  PDF   ZIP
232SDA124597 Manual
Cover Page
B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 434-7094
RS-232 Data Acquisition Module
Model 232SDA12
Document No. 232SDA124597
This product
Designed and Manufactured
In Ottawa, Illinois
USA
of domestic and imported parts by
B&B Electronics Mfg. Co. Inc.
707 Dayton Rd. -- P.O. Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 434-7094
Internet:
http://www.bb-elec.com
sales@bb-elec.com
techsupt@bb.elec.com
1995 B&B Electronics -- Revised November 1997
232SDA124597 Manual
Table of Contents
i
B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 434-7094
Table of Contents
Chapter 1- Introduction ........................................... 1
232SDA12 Features ......................................................1
Packing List ...................................................................2
Software Installation ......................................................2
DOS................................................................................... 2
Windows 3.11 .................................................................... 2
Windows 9x and Windows NT ............................................ 3
Uninstall.........................................................................3
Windows 3.11 .................................................................... 3
Windows 9x & Windows NT ............................................... 3
Getting Started ..............................................................3
232SDA12 Specifications ..............................................5
Chapter 2 - Connections ......................................... 6
A/D Connections............................................................6
A/D Inputs #-1............................................................... 6
A/D Ref Input + .................................................................. 6
A/D Ref Input - ................................................................... 7
Analog Ground ................................................................... 7
Typical Connections ........................................................... 7
Digital I/O Connections ..................................................8
Digital Inputs #-2 ............................................................. 8
Digital Outputs #-2........................................................... 8
Digital Ground .................................................................... 9
Typical Connections ........................................................... 9
Serial Port Connections...............................................10
Power Supply Connections .........................................11
Chapter 3 - Commands ......................................... 12
Syntax .........................................................................13
Reading A/D Channels Command...............................14
Reading Digital I/O Command .....................................15
Set Digital Output Command .......................................16
Chapter 4 - A/D....................................................... 17
Sampling Rate .............................................................17
A/D Input Range ..........................................................17
Reference Inputs .........................................................17
Data Range .................................................................18
Converting Data...........................................................18
ii
Table of Contents
232SDA124597 Manual
B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 434-7094
Chapter 5 - Software.............................................. 20
Read A/D Command ...................................................20
Read Digital I/O Command..........................................21
Set Digital Output States .............................................22
Appendix A: Adding Data Field Confirmation....... 1
Appendix B: Analog Input Impedance ................... 1
Appendix C: Decimal to HEX to ASCII Table........ 1
Figures
FIGURE 1.1 - 232SDA12 UNIT ................................................................... 1
FIGURE 1.2 - GENERAL BLOCK DIAGRAM ............................................. 2
FIGURE 1.3 - A/D WITH VARIABLE RESISTOR........................................ 4
FIGURE 2.1 - TYPICAL -5V A/D CONNECTION ..................................... 7
FIGURE 2.2 - TYPICAL DIGITAL I/O CONNECTIONS .............................. 9
FIGURE 4.1 - A/D CONVERTER DATA RANGE...................................... 18
FIGURE B-1 - EQUIVALENT INPUT CIRCUIT INCLUDING THE DRIVING
SOURCE .......................................................................................... B-3
Tables
TABLE 2.1 - 232SDA12 I/O PORT PINOUT ................................................ 8
TABLE 2.2 - RS-232 CONNECTOR PINOUT ............................................ 10
TABLE 2.3 - 232SDA12 TO DTE CONNECTIONS.................................... 11
TABLE 2.4 - 232SDA12 TO DCE CONNECTIONS ................................... 11
TABLE 3.1 - 232SDA12 COMMANDS ...................................................... 12
TABLE 3.2 - EQUIVALENT VALUES ....................................................... 13
TABLE 3.3 - READ A/D RESPONSE......................................................... 14
TABLE 3.4 - READ DIGITAL I/O RESPONSE FOR OUTPUTS ................ 15
TABLE 3.5 - READ DIGITAL I/O RESPONSE FOR INPUTS .................... 15
TABLE 3.6 - SET DIGITAL OUTPUT DATA BYTE VALUES .................. 16
TABLE 5.1 - DIGITAL I/O MASK VALUES .............................................. 22
TABLE A-1 - EXTENDED COMMANDS ................................................ A-1
TABLE C-1 - DECIMAL TO HEX TO ASCII TABLE............................... C-1
232SDA124597 Manual
1
B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 434-7094
Chapter 1- Introduction
232SDA12 Features
The 232SDA12 is a general purpose control module that is
connected to your computer's RS-232 serial port. The 232SDA12
offers 11 channels of 12-bit A/D (analog to digital), 3 digital inputs
and 3 digital outputs. With these features, the module can be used
to sense a variety of external conditions and to control a variety of
devices.
The 11 A/D channels allow you to measure voltages from to 5
Volts. The 3 digital inputs and 3 digital outputs are CMOS/TTL
compatible. The A/D and digital I/O lines are available through a
DB-25S (female) connector.
The 232SDA12 connects to your computer's RS-232 serial port
through a DB-25S connector. The unit automatically detects baud
rates from 12 to 96. A data format of 8 data bits, 1 stop bit
and no parity is used.
The unit may be powered by setting RTS and/or DTR high on
the serial port. If the 232SDA12 cannot be powered using the
handshake lines, it may be powered using a 2.5mm jack. The
232SDA12 requires 12V DC @ 5mA (not including the power
consumption of external devices).
NOTE: When using an external supply, connect the supply
only to specifically labeled power inputs (power jack, terminal
block, etc.). Connecting an external power supply to the
handshake lines may damage the unit. Contact technical
support for more information on connecting an external power
supply to the handshake lines.
Figure 1.1 - 232SDA12 Unit
2
232SDA124597 Manual
B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 434-7094
Figure 1.2 - General Block Diagram
Packing List
Examine the shipping carton and contents for physical damage.
The following items should be in the shipping carton:
232SDA12 unit
One 232SDA12 3.5" disk
This instruction manual
If any of these items are damaged or missing contact B&B
Electronics immediately.
Software Installation
The 232SDA12 comes with several useful programs such as a
data logging utility, a demonstration program, etc. The installation
for the SDA Logger is different depending on the platform you
install it to. Please use the one appropriate to your system.
DOS
1. Place the disk in drive A.
2. Type
A: and press the <ENTER> key.
3. Type
INSTALL and press the <ENTER> key.
4. Follow the instructions given by the program.
Windows 3.11
1. Insert SDA Logger installation disk in your floppy drive.