Manual B&B Electronics 232DRIO

28 pages 0.19 mb
Download

Go to site of 28

Summary
  • B&B Electronics 232DRIO - page 1

    232DRIO-0308 Manual Cover Page B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 RS-232 Digital Relay I/O Model 232DRIO Documentation Number 232DRIO1005 pn#4520-r2 This product Designed and Manufactured In Ottaw a, Illinois USA of domestic and imported parts by B&B Electronics Mfg. Co. Inc. 707 Dayto ...

  • B&B Electronics 232DRIO - page 2

    ...

  • B&B Electronics 232DRIO - page 3

    232DRIO-0308 Manual Table of Contents i B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Table of Contents Chapter 1- Introduction ........................................... 3 232DRIO Feat ures .................................................. 3 Packing Li st .......................................... ...

  • B&B Electronics 232DRIO - page 4

    ii Table of Contents 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Demonstrati on Progr am ........................................ 22 Hard Drive In stallati on ......................................................... 22 Running Demonstrat ion Progr am ........................... ...

  • B&B Electronics 232DRIO - page 5

    232DRIO-0308 Manual 3 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Chapter 1- Introduction 232DRIO Features The 232DRIO is a general purpose data acquistion controller that is connected to your computer’s RS-232 serial port. The 232DRIO offers 1 opto-isolated input and 2 rela y outputs. With these ...

  • B&B Electronics 232DRIO - page 6

    4 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Figure 1.1 – 232DRIO Module Figure 1.2 – Simplified Block Diagram Packing List Examine the shipping carton and contents for physical damage. The following items should be in the shipping carton: 1. 232DRIO unit 2. Software 3. Thi ...

  • B&B Electronics 232DRIO - page 7

    232DRIO-0308 Manual 5 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Number of Channels: 1 Indication Mode Logic “0”: LED on, digital voltage input high Logic “1”: LED off, digital voltage input low Input Electrical Characteristic Voltage input low: <1.5 VAC/VDC Voltage input high: 5-30 VAC ...

  • B&B Electronics 232DRIO - page 8

    6 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Chapter 2 - Connections Do not make any connections to the 232DRIO until you have read this chapter. Remember to power down the unit and any other connected devices before maki ng any kinds of connections. Also be sure that the wires ...

  • B&B Electronics 232DRIO - page 9

    232DRIO-0308 Manual 7 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Table 2.1 - 232DRIO Terminal Blocks Blue Pin # Function Black Pin # Function 1 - Ground Input Power 1 Opto-Isolated Input 2 +12Vdc Input Power 2 Opto-Isolated Input 3 #2 N/C-Normally Closed Non-polarized 4 #2 N/O-Normally Opened 0-30 ...

  • B&B Electronics 232DRIO - page 10

    8 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Table 2.3 – 232DRIO To DTE Connections 232DRIO Pin # Signal DTE DB-25 Connection DTE DB-9 Connection 2 Rec eive Data (RD) 3 2 3 Trans mit Data (TD) 2 3 5 Signal Ground (SG) 7 5 9 Ring Indic ator 22 9 Table 2.4 – 232DRIO To DCE Co ...

  • B&B Electronics 232DRIO - page 11

    232DRIO-0308 Manual 9 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 There are only two basic commands required to control the 232DRIO: set output lines and read I/O lines. For normal environments, command strings are from three to four bytes in length; the “!” character, the “0” (zero) charac ...

  • B&B Electronics 232DRIO - page 12

    10 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Table 3.1 – 232DRIO Commands Function Command Response Set Output Lines !0S{…} No response Read I/O Lines !0R {…} Set Output Lines #0S{…}{~…} No response Read I/O Lines #0R {…}{~…} Symbol: {…} represents one byte < ...

  • B&B Electronics 232DRIO - page 13

    232DRIO-0308 Manual 11 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 used to specify which command will be executed by the controller,either the “R” or “S” character. The set output command requires one argument field (for normal environments) or two argument fields (data and its comp lement ...

  • B&B Electronics 232DRIO - page 14

    12 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Example 3.1 Set Output Lines Data Byte Relays Binary Decimal Hex Relay #2 R e l a y # 1 XXXXXX00 0 0 de-energized de-energized XXXXXX01 1 1 de-energized energized XXXXXX10 2 2 energized de-energized XXXXXX11 3 3 energized energized ...

  • B&B Electronics 232DRIO - page 15

    232DRIO-0308 Manual 13 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Read I/O Lines Command The Read I/O Lines command returns one data byte (with the “!”) and two data bytes (data and its co mplement with the “#”) that reflects the state of the I/O lines. Bit 2 is Input #1, Bit 1 is Relay #2 ...

  • B&B Electronics 232DRIO - page 16

    14 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Command: !0S Argument: {…} (shown in bold face) Response: none ASCII Example: !0S <ETX> Dec. Example: !0S <3> Hex. Example: !0S <03> Bin. Example: !0S <00000011> Description: Relay #2 is energized (“1”) ...

  • B&B Electronics 232DRIO - page 17

    232DRIO-0308 Manual 15 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 This chapter will explain "H IGH" and "LOW" states and show some general examples of how to in terface to the I/O lines. Caution must be taken not to exceed 232 DRIO specifications listed in Chapter 1 when interf ...

  • B&B Electronics 232DRIO - page 18

    16 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Figures 4.2 - 4.4 show examples of some typical input interfaces. Figure 4.2 - Switch Input Figure 4.3 - Solid State Input 232DRIO EXTERNAL CIRCUIT 5-30 Vdc/Vac Opto Isolated Input 232DRIO EXTERNAL CIRCUIT 5-30 Vd c/Vac Opto Isolate ...

  • B&B Electronics 232DRIO - page 19

    232DRIO-0308 Manual 17 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Figure 4.4 - Isolated Mechanical Input Relay Outputs Relay outputs are used to turn external devices on or off. Relay outputs are CMOS/TTL compatible and can also operate between 0- 24Vdc and 0-115Vac. Outputs can be used to control ...

  • B&B Electronics 232DRIO - page 20

    18 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Figures 4.5 - 4.6 show examples of some typical output interfaces. Figure 4.5 – Isolated Connection to External Circuit Figure 4.6 – Isolated Connection to External Devices EXTERNAL CIRCUIT 0-30 Vdc @ 8A max. 0-120 Vac @ 10A max ...

  • B&B Electronics 232DRIO - page 21

    232DRIO-0308 Manual 19 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Chapter 5 - Software This chapter will be divided into two sections. The first section covers programming techniques for opening/closing a com port, receiving data, and manipulating dat a in QuickBasic and C/C++. The second section ...

  • B&B Electronics 232DRIO - page 22

    20 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 QuickBasic (DEMO232.EXE and DEMO232.BAS) This section shows steps and examples of programming the 232DRIO in QuickBasic. If you are programming in another language, this section can be helpful as a guideline for programming the 232D ...

  • B&B Electronics 232DRIO - page 23

    232DRIO-0308 Manual 21 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 C/C++ (DEMO232.EXE and DEMO232.CPP) DEMO232.CPP is a demonstrati on program for use with B&B Electronics model 232DRIO module. Much of the work associated with using COM ports in C/C++ has been made easier by including the 232DR ...

  • B&B Electronics 232DRIO - page 24

    22 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Demonstration Program The Demonstration Programs (IBM PC or Compatible) provide the user with examples of how to receive and transmit commands to the 232DRIO. The DEMO232.EXE is the executable program and the DEMO232.BAS file is the ...

  • B&B Electronics 232DRIO - page 25

    232DRIO-0308 Manual Appendix A A-1 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 APPENDIX A ASCII Character Codes ...

  • B&B Electronics 232DRIO - page 26

    A-2 Appendix A 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 DECIMAL to HEX to AS CII CONVERSION TABLE DEC HEX ASC I I KEY DEC HEX AS CI I DEC HEX AS C I I DEC HEX ASC I I 0 0 NUL ctrl @ 32 20 SP 64 40 @ 96 60 ` 1 1 SOH ctrl A 33 21 ! 65 41 A 97 61 a 2 2 STX ctrl B 34 22 “ 66 42 ...

  • B&B Electronics 232DRIO - page 27

    232DRIO-0308 Manual Appendix B B-1 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 The decimal (base 10) numbering system represents each position in successive powers of 10, with each decimal symbol having a value from 0 to 9. The hexadecimal (base 16) numbering system represents each position in succ ...

  • B&B Electronics 232DRIO - page 28

    B-2 Appendix B 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Hexadecimal to Decimal Conversion: Decimal = (1st Hex digit x 4096) + (2nd Hex digit x 256) + (3rd Hex digit x 16) + (4th Hex digit) Each "Hex digit" is the decimal equivalent value of the hexadecimal symbol. E ...

Manufacturer B&B Electronics Category Network Card

Documents that we receive from a manufacturer of a B&B Electronics 232DRIO can be divided into several groups. They are, among others:
- B&B Electronics technical drawings
- 232DRIO manuals
- B&B Electronics product data sheets
- information booklets
- or energy labels B&B Electronics 232DRIO
All of them are important, but the most important information from the point of view of use of the device are in the user manual B&B Electronics 232DRIO.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals B&B Electronics 232DRIO, service manual, brief instructions and user manuals B&B Electronics 232DRIO. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product B&B Electronics 232DRIO.

A complete manual for the device B&B Electronics 232DRIO, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use B&B Electronics 232DRIO by users. Manuals are usually written by a technical writer, but in a language understandable to all users of B&B Electronics 232DRIO.

A complete B&B Electronics manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual B&B Electronics 232DRIO - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the B&B Electronics 232DRIO, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the B&B Electronics 232DRIO, that we can find in the current document
3. Tips how to use the basic functions of the device B&B Electronics 232DRIO - which should help us in our first steps of using B&B Electronics 232DRIO
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with B&B Electronics 232DRIO
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of B&B Electronics 232DRIO in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning B&B Electronics 232DRIO?

Use the form below

If you did not solve your problem by using a manual B&B Electronics 232DRIO, ask a question using the form below. If a user had a similar problem with B&B Electronics 232DRIO it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)