B&B Electronics 232OPSDA manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of B&B Electronics 232OPSDA, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of B&B Electronics 232OPSDA one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of B&B Electronics 232OPSDA. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of B&B Electronics 232OPSDA should contain:
- informations concerning technical data of B&B Electronics 232OPSDA
- name of the manufacturer and a year of construction of the B&B Electronics 232OPSDA item
- rules of operation, control and maintenance of the B&B Electronics 232OPSDA item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of B&B Electronics 232OPSDA alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of B&B Electronics 232OPSDA, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the B&B Electronics service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of B&B Electronics 232OPSDA.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the B&B Electronics 232OPSDA item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    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 Module 232OPSDA Module Docum ent ation Nu m ber 232OPSD A1397 This product Designed a nd Manufactur ed In Ottawa, Illinois USA of dom es tic and i m porte[...]

  • Page 2

    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 ...........................................................1 232OPSDA F EA TURES ..............................................................[...]

  • Page 3

    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 .................B-29[...]

  • Page 4

    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. It provides 2500V of optical is olatio[...]

  • Page 5

    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. T he f ollowing items s hould be in the shipping carton: 1. 232OPSDA m odule 2. One 232OPS[...]

  • Page 6

    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. Place the disk in drive A. 2. Type A: and press the <ENT ER> key .[...]

  • Page 7

    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.6VDC @ 8.[...]

  • Page 8

    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. [...]

  • Page 9

    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.1, A/D 1-5 cannot be us ed and should be connected to the term inal bl[...]

  • Page 10

    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. T able 2.1 shows the term inal block assignm ents. Digital Input Ter minal block 7 is th[...]

  • Page 11

    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.2 - RS-232 Connector Pinout Table 2.3 - 232OPSDA T o DTE Connections Table 2.4 - 232OPSDA T o DCE Connections DB25S Pin # Signal 232OPSD A Function Notes 2 Transmit Data (T D) Input Connection is re[...]

  • Page 12

    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. The pos itive(+) lead of the power s upply is con[...]

  • Page 13

    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. The co mm and string cons ists of [...]

  • Page 14

    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. The f irst byte is the start of mes sage by te. T he start of mess age by te is alway s the “!?[...]

  • Page 15

    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 shown below: Command Syntax: #0____ |||||| ||||| Compliment |||| Data Byte |||2 nd Command Byte ||1 st Command Byte | Address Byte Start of Message B[...]

  • Page 16

    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. Specify 13 (0Dh) to read Ref +, 12 (0Ch) to read Ref- , and 11 (0Bh) to read Ref +/2. Readin[...]

  • Page 17

    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 . Sampling Rate The A/D conver ter has a c onversion tim e around 10 mic roseconds , h[...]

  • Page 18

    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. Gai n V Vin R13 R 14 == + 0 1 NOTE: V 0 is the voltage read by the A/D converter chip, and Vin is the voltag[...]

  • Page 19

    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). Thes e two spaces ar[...]

  • Page 20

    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 The application program interf ace (API) is a set of routines that mak es it easy to comm unicate with the 232OPSDA m odule from a 16- bit DOS applicat[...]

  • Page 21

    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. Returns: FALSE (zero) if the function f ails, otherwise it retur ns TRUE (non- zero). B232OPSDA[...]

  • Page 22

    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. Syntax: C: BOOL B232OPSDA_SetDigitalOutput (WORD hComDev , BYTE modAddr , WORD lines, WORD states); Pasca [...]

  • Page 23

    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 , LONG baudRate ); Pasca l: function initComPort ( portAddr : word; irq : byte; baudRate : longint) as integer; BASIC: FUNCTION initComPort% (BYVAL por[...]

  • Page 24

    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. ‘ CLOSE #1 Read A /D Command The read A/D channels com mand r eturns t[...]

  • Page 25

    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. Step 6 - The var ious A/D channels have s ignal conditioning, so ma thematic al manipulation of the voltage read will have to be perform[...]

  • Page 26

    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$ = “!0RD” Step 2 - Tr ansm itting the com mand s tring: Print #1, Command$ Step 3 - Receiving the data: Reply$ = INPUT$ (1, #1) Step 4 - Manipulati[...]

  • Page 27

    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. T his c omm and requir es a data byte. The data by te is used to spec ify the output state.[...]

  • Page 28

    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 Conversion DECIMAL to HEX to ASCII CONVERSION TABLE DEC HEX ASCII KEY DEC HEX ASCII DEC HEX ASCII DEC HEX ASCII 0 0 NUL ctrl @ 32 20 SP 64 40 @ 96 60 ` 1[...]