Instruction/ maintenance manual of the product RS-232 Digital I/O Module 232SDD16 B&B Electronics
Go to page of 27
232SDD16-1005 Manual Cover Page B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 RS-232 Digital I/O Module Model 232SDD16 Documentation Num ber 232SDD16-1005 pn#3604-r1 This product Designed and Manufactured In Ottawa, Il lin ois USA of domestic and imported pa rts by B&B Electronics Mfg.
232SDD16-1005 Manual Table of Contents i B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Table of Contents Chapter 1 - Introduction ........................................... 1 232SDD16 Features ......
232SDD16-1005 Manual 1 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Chapter 1- Introduction 232SDD16 Features The 232SDD16 is a genera l purpose control module t hat is connected to your compu ter’s RS-232 serial port.
232SDD16-1005 Manual 3 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 232SDD16 Specif i cations I/O Lines Total: 16 (Factory def ault = inp uts) Digital Inputs Voltage Range: 0 Vdc to 5 Vdc Low Voltage: 1.
232SDD16-1005 Manual 5 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Chapter 2 - Connections This chapter will cover the connections re quired for the 232SDD16. There are three sets of conne ction s: digit al I/ O, serial port, and power supply.
232SDD16-1005 Manual 7 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Table 2.2 - RS-232 Connector Pinout DB-25S Pin # Signal Signal Direction at 232SDD16 Notes 2 Transmit Data (TD) Input Connection is required.
232SDD16-1005 Manual 9 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Chapter 3 - Commands There are only two commands required to control the 232SDD16: set output l ines, and read I/O lines.
232SDD16-1005 Manual 11 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 A byte represents an eight-bit binary number (11111111 ), therefore each byte can represent eight I/ O li nes. Each bit is assigned a bit position and a weight (value).
232SDD16-1005 Manual 13 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Command: !0SO Argument: {I/O msb}{I/O lsb} Response: none ASCII Example: !0SOUA Dec. Example: !0SO<85><65> Hex. Example: !0SO <55><41> Bin.
232SDD16-1005 Manual 15 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Command: !0RC Argument: none Response: definition of the sixteen I /O lines in two 8 bit bytes, and the power-up states in two 8 bit bytes.
232SDD16-1005 Manual 17 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Chapter 4 - I/O Interfacing This chapter will explain "HIGH" and "LOW" states and show some general examples of how to interface to t he I/O lines.
232SDD16-1005 Manual 19 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Figure 4.4 - Isolated Solid State Input Digital Outputs Digital outputs are used to turn external devices on or off. Digital outputs are CMOS/TTL compatible and oper ate between 0Vd c and +5Vdc.
232SDD16-1005 Manual 21 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Chapter 5 - Software This chapter will be divided into two sections. The first section covers programming techniques for constructing a command st ring, receiving data and manipulating dat a in QuickBAS IC.
232SDD16-1005 Manual 23 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Step 5 - Determining the I/O line de fin i tio ns: MSdefs = MSdefs AND mask LSd.
232SDD16-1005 Manual 25 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Define I/O Lines Command Step 1a - Constr uc t the command strin g: Define an I.
232SDD16-1005 Manual 27 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Demonstration Program The 232SDD16 Demonstration (SDD16) Program (IBM PC or Compatible) provides the user with examples of how t o receive and transmit commands to the 232SDD16.
232SDD16-1005 Manual Appendix A A-1 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 APPENDIX A ASCII Character Codes A-2 Appendix A 232SDD16-1005 Manua.
232SDD16-1005 Manual Appendix B B-1 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 APPENDIX B Hexadecimal/Decimal Conversions B-2 Appendix B 232SDD16-.
232SDD16-1005 Manual Appendix B B-3 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Hexadecimal to Decimal Conve rsion: Decimal = (1st Hex digit x 4096.
232SDD16-1005 Manual Appendix C C-1 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 APPENDIX C Interface Modules for SDD16 Models C-2 Appendix C 232SDD.
232SDD16-1005 Manual Appendix C C-3 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Table C.1 - DTB25 Connections DB-25P Pin # Function T.B. # DB-25P Pin # Function T.B. # 1 Unused. 1 14 I/O #15 14 2 Unused.
232SDD16-1005 Manual Appendix C C-5 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 DBM16 Interfacing This section will show some general examples of how to interface the DBM16 I/O lines to ext ernal devices.
232SDD16-1005 Manual Appendix C C-7 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Figure C.6 - Isolated Solid State Input Outputs Digital outputs are used to turn "ON" or turn "O FF" ext erna l devices.
232SDD16-1005 Manual Appendix C C-9 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 DBM16 Specifications I/O Lines Total: 16 (Factor y default - set to inputs ) Inputs Voltage range: 0Vdc to +50Vdc Low Voltage: 0Vdc to +1.
232SDD16-1005 Manual Appendix C C-11 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104.
232SDD16-1005 Manual Appendix D D-1 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Appendix D Adding Data Field Confirmation D-2 Appendix D 232SDD16-1.
232SDD16-1005 Manual Appendix D D-3 B&B Electronics -- PO Bo x 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 43 3-5104 Table D-1 Extended Commands Function Comma nd Respon se Read I/O Li.
An important point after buying a device B&B Electronics RS-232 Digital I/O Module 232SDD16 (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 RS-232 Digital I/O Module 232SDD16 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 RS-232 Digital I/O Module 232SDD16 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, B&B Electronics RS-232 Digital I/O Module 232SDD16 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 RS-232 Digital I/O Module 232SDD16 will certainly help you make a decision on the purchase.
If you already are a holder of B&B Electronics RS-232 Digital I/O Module 232SDD16, 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 RS-232 Digital I/O Module 232SDD16.
However, one of the most important roles played by the user manual is to help in solving problems with B&B Electronics RS-232 Digital I/O Module 232SDD16. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device B&B Electronics RS-232 Digital I/O Module 232SDD16 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