Manuel d'utilisation / d'entretien du produit RS-485 du fabricant B&B Electronics
Aller à la page of 39
485SDA103798 Manual Cover Page B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 RS-485 Data Acquisition Module Model 485SDA10 Document No. 485SDA103798 This product Designed and Manufactured In Ottawa, Illinois USA of domestic and imported parts by B&B Electronics Mfg.
485SDA103798 Manual Table of Contents i B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Table of Contents Chapter 1- Introduction ........................................... 1 485SDA10 Features .
ii Table of Contents 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Set Turn-around Delay Command ............................... 17 Read Module Configuration Command .
485SDA103798 Manual Table of Contents iii B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 TABLE 5.1 - DIGITAL I/O MASK VALUES .................................... 24 TABLE A-1 EXTENDED COMMANDS .
485SDA103798 Manual 1 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Chapter 1- Introduction 485SDA10 Features The 485SDA10 is a general purpose control module which operates through an RS-485 interface.
2 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Figure 1.2 - General Block Diagram Packing List Examine the shipping carton and contents for physical damage. The following items should be in the shipping carton: • 485SDA10 unit • One 485SDA10 3.
485SDA103798 Manual 3 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Windows 3.11 1. Insert SDA Logger installation disk in your floppy drive. 2. Click the File Manager button. 3. Select the floppy drive containing the SDA Logger installation disk.
4 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 variable resistor must be greater than 1k Ohms to limit the output current to 5mA. • Connect A/D Ref Input+ to +5V DC.
485SDA103798 Manual 5 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 485SDA10 Specifications Analog to Digital Converter Resolution: 10 bit Channels: 11 Reference Range: 5.0V DC max. (4.
6 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Chapter 2 - Connections This chapter will cover the connections required for the 485SDA10.
485SDA103798 Manual 7 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 A/D Ref Input - T he voltage connected to this pin determines the low end of the input voltage range. For proper operation, this pin must be connected to a DC voltage between 0 and +2.
8 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Digital I/O Connections The digital I/O connectio ns are made on the I/O port, which is a DB-25S (female) connector.
485SDA103798 Manual 9 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Digital Ground Connect the digital ground pin to your digital device's ground. To minimize noise, do not connect analog ground and digital ground together.
10 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Serial Port Connections To communicate with the 485SDA10 module, it must be connected to an RS-422/RS-485 serial port.
485SDA103798 Manual 11 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Power Supply Connections The 485SDA10 requires 7 to 18 V DC at 30mA. Remember that the 30mA requirement doesn’t include the power consumption of any external devices.
12 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Chapter 3 - Commands There are only three commands required to.
485SDA103798 Manual 13 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 The decimal and hexadecimal equivalents of some ASCII characters are shown in Table 3.2. Notice that the ASCII representation of the character “0” does not have a value of 0.
14 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 The Read A/D channels command returns two bytes for each channel read. The two bytes represent the most significant byte (MSB) and least significant byte (LSB) of the reading.
485SDA103798 Manual 15 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Reading Digital I/O Command The Read Digital I/O command returns a byte which represents the states of the 3 digital input and 3 digital output states.
16 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Set Digital Output Command The Set Digital Output command is used to set the states of the 3 digital output lines.
485SDA103798 Manual 17 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Set Power-up States Command The Set Power-up States command is used to set the st ates of the digital outputs at power-up.
18 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 { address}{ states}{ delay} Where {address} is a byte represen.
485SDA103798 Manual 19 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Chapter 4 - A/D This chapter will deal with manipulating an A/D reading and cover some of the aspects that were not explained in the A/D Connections chapter.
20 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Data Range The data range of the A/D converter is determined by A/D Ref Input+ and A/D Ref Input- . A/D Ref Input- sets the bottom of the data range.
485SDA103798 Manual 21 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 The step size is also referred to as the resolution. Once the step size is known, all that is needed to determine the voltage of an A/D input is the number of steps.
22 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Chapter 5 - Software This chapter covers programming techniques such as constructing a command string, receiving data and manipulating data.
485SDA103798 Manual 23 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 ‘Get the value of channel 1 MSB$ = INPUT$ (1, #1) LSB$ = INPU.
24 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Table 5.1 - Digital I/O Mask Values Example 5.2 - Determining the status of Digital Input #1 of the module with and address of 10.
485SDA103798 Manual 25 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 b) Set Appropriate Outputs LO W states = states AND (NOT(mask)) By “ ANDing” the current states with the complement of the appropriate mask of a digital output (given in Table 5.
26 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Example 5.4 – Change the address of a model from 5 to 10.
485SDA103798 Manual 27 B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 ‘ Clear bit 2 of states to make digital output 2 LO W states .
28 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Read Module Configuration The Read Module Configuration command reads the 485SDA10’s address first, then the power-up states, and finally the turn-around delay.
485SDA103798 Manual Appendix A A- 1 B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Appendix A: Adding Data Field Confirmation W ith serial communications in a laboratory environment, the possibility of a communication error occurring is minimal.
A- 2 Appendix A 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Where “x” is the required data byte and “~” signifies the complement of the specified byte.
485SDA103798 Manual Appendix B B- 1 B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Appendix B: Analog Input Impedance When interfacing with an A/D converter, it is important that the device you are connecting can drive the A/D input.
B- 2 Appendix B 485SDA103798 Manual B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Simplified Analog Input Analysis Using the equiva.
485SDA103798 Manual Appendix B B- 3 B&B Electronics - - 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Figure B-1.
485SDA103798 Manual Appendix C C- 1 B&B Electronics - - PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 - - FAX (815) 434-7094 Appendix C: Decimal to HEX to ASCII Table Table C-1: Decimal to HEX.
FCC Class A Equipm ent Stat ement FEDERA L COMM UNI CA TIONS COMM ISSION RA DIO FREQ UENCY I NTERFA CE STA T EMENT Class A Equipmen t This equipm ent has been tested and f ound to com ply with the limits for Clas s A digital device, pursuant to Par t 15 of the FCC Rules.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté B&B Electronics RS-485 c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du B&B Electronics RS-485 - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation B&B Electronics RS-485, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le B&B Electronics RS-485 va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le B&B Electronics RS-485, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du B&B Electronics RS-485.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le B&B Electronics RS-485. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei B&B Electronics RS-485 ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.