B&B Electronicsメーカー232OPSDAの使用説明書/サービス説明書
ページ先へ移動 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.
デバイスB&B Electronics 232OPSDAの購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
B&B Electronics 232OPSDAをまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはB&B Electronics 232OPSDAの技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。B&B Electronics 232OPSDAの取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。B&B Electronics 232OPSDAで得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
B&B Electronics 232OPSDAを既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はB&B Electronics 232OPSDAの不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、B&B Electronics 232OPSDAに関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちB&B Electronics 232OPSDAデバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。