Instruction/ maintenance manual of the product 232OPSDA B&B Electronics
Go to page of 28
Docum ent ation Num ber 232OPSDA1397 Manual Cover Page B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Optically Isolated Serial Data Acquisition Modu.
Docum ent ation Num ber 232OP SDA1397 Manual Table of Content s i B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 TABLE OF CONTENTS CHAPTER 1: IN TRODUCTION ............................................
ii Table of Content s Docum ent ation Num ber 232OP SDA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 APPENDIX A: DEC T O HEX TO ASCII CONVERSION.......... A-27 APPENDIX B: 232OPSDA SC HEMATIC & BOARD .
Docum ent ation Num ber 232OP SDA1397 Manual 1 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Chapter 1: Introducti on 232OPSDA Features The 232O PSDA is an optically isolated data acquisition module that is connected to your com puter’s RS- 232 serial port.
2 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Figure 1.2: General Block Diagram Packing List Exam ine the shipping car ton and the contents for phy sical damage.
Docum ent ation Num ber 232OP SDA1397 Manual 3 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Software Installation The 232OPSDA c omes with several a dem onstration program . To ins tall these program s on your hard drive: 1.
4 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Digital Input Channels: 1 Voltage Range: - 30VDC to +30VDC Low Voltage: -30VDC to 1.0VDC High Voltage: 2.0VDC to 30VDC Leakage Cur rent: 1 µ A ma xi mu m Digital Output Channels: 1 Low Voltage: 0.
Docum ent ation Num ber 232OP SDA1397 Manual 5 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Chapter 2: Connections This chapter will cover the connec tions required for the 232OPSDA. Four s ets of c onnections are requir ed: A/D converter, digital I/O, serial por t, and power supply connections.
6 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Figure 2.1: Current Loop Channel Connections (A /D 0) NOTE: W hen using the 4-20m A Current Loop Input with the setup shown in Figure 2.
Docum ent ation Num ber 232OP SDA1397 Manual 7 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Digital I/O Connections The digital I/O connections ar e m ade on the I/O port, which consists of term inal bloc ks.
8 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Table 2.
Docum ent ation Num ber 232OP SDA1397 Manual 9 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Pow e r Supply Connections The 232OPSDA r equires an isolated ex ternal power supply that is able to produce 9- 16VDC @10mA in addition to the por t power.
Docum ent ation Num ber 232OP SDA1397 Manual 11 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Chapter 3: Commands Only three comm ands ar e required to operate the 232OPSDA: the read A/D com m and, read digital I/O c omm and, and the set digital output com m and.
12 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Table 3.2 - Equivalent V al ues Sy ntax As mentioned earlier, the comm and string consis ts of four bytes.
Docum ent ation Num ber 232OP SDA1397 Manual 13 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 The com m and syntax for the extended com m and set is.
14 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Table 3.3 - Read A /D Response NOTE: T here are thr ee test c hannels that can be r ead: Ref+, Ref-, and Ref+/2.
Docum ent ation Num ber 232OP SDA1397 Manual 15 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Chapter 4: A / D T his c hapter will deal with the various A/D channels and manipulating the data obtained f rom them .
16 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 inverting am plifier, rem ove R15 and calculate values for R13 and R14 using the equation below.
Docum ent ation Num ber 232OP SDA1397 Manual 17 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 The signal conditioning c ircuit f or this A/D input channel has been designed to be easily m odified. In the original c onfiguration, R5 and R6 are left O PEN (they are not present).
Docum ent ation Num ber 232OP SDA1397 Manual 19 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Chapter 5: Sof tw are A pplication Program Interface T.
20 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 segm ent and of fset addres ses of the integer array where the results of the A/D conver sion will be stored.
Docum ent ation Num ber 232OP SDA1397 Manual 21 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 B232OPSDA _ SetDigitalOutput Purpose: This function s ets the states of the digital output lines.
22 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Syntax: C: WORD initComPort (WORD portAddr , BYTE irq ,.
Docum ent ation Num ber 232OP SDA1397 Manual 23 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 ‘ Open the serial port. ‘ OPEN “COM1:9600,N,8,1,cd,ds” FOR RANDOM AS #1 PAUSE (.5) ‘ Close the serial port when finished.
24 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Step 5 - Repeat Step 3 and 4 until each channel has been com pleted.
Docum ent ation Num ber 232OP SDA1397 Manual 25 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Step 1 - Construc ting the com mand s tring: Command$ .
26 Documentat ion Number 232OP S DA1397 Manual B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 Set Digital Output State T he Set Digital O utput com m and is used to set the s tate of the digital output line.
Docum ent ation Num ber 232OP SDA1397 Manual Appendix A A-1 B&B Electronics -- P O Box 1040 -- Ottaw a, IL 61350 PH (815) 433-5100 -- FA X (815) 433-5105 A ppendix A: Decimal t o Hex to A SCII Con.
An important point after buying a device B&B Electronics 232OPSDA (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought B&B Electronics 232OPSDA yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data B&B Electronics 232OPSDA - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, B&B Electronics 232OPSDA you will learn all the available features of the product, as well as information on its operation. The information that you get B&B Electronics 232OPSDA will certainly help you make a decision on the purchase.
If you already are a holder of B&B Electronics 232OPSDA, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime B&B Electronics 232OPSDA.
However, one of the most important roles played by the user manual is to help in solving problems with B&B Electronics 232OPSDA. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device B&B Electronics 232OPSDA along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center