background image

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. Co. Inc.

707 Dayton Rd. -- P.O. Box 1040  --  Ottawa, IL  61350

PH (815) 433-5100  --  FAX (815) 434-7094

Internet:

http://www.bb-elec.com

[email protected]

[email protected]

 1995 B&B Electronics  --  Revised September 1998

Summary of Contents for 485SDA10

Page 1: ...Model 485SDA10 Document No 485SDA103798 This product Designed and Manufactured In Ottawa Illinois USA of domestic and imported parts by B B Electronics Mfg Co Inc 707 Dayton Rd P O Box 1040 Ottawa IL...

Page 2: ...erter 5 5 Volt Reference 5 Digital Inputs 5 Digital Outputs 5 Power Supply 5 Communications 5 Factory Default Settings 5 Chapter 2 Connections 6 A D Connections 6 A D Inputs 0 10 6 A D Ref Input 6 A D...

Page 3: ...a Field Confirmation A 1 Appendix B Analog Input Impedance B 1 Appendix C Decimal to HEX to ASCII Table C 1 Figures FIGURE 1 1 485SDA10 UNIT 1 FIGURE 1 2 GENERAL BLOCK DIAGRAM 2 FIGURE 1 3 A D WITH VA...

Page 4: ...le 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 A 2 TABLE C 1 DECIMAL TO...

Page 5: ...from 0 to 5 Volts The 3 digital inputs and 3 digital outputs are CMOS TTL compatible The A D and digital I O lines are available through a DB 25S female connector The 485SDA10 connects to the host co...

Page 6: ...al RS 485 422 Application Note If any of these items are damaged or missing contact B B Electronics immediately Software Installation The 485SDA10 comes with several useful programs such as a data log...

Page 7: ...ng system Below are the methods for uninstalling the SDA Logger Windows 3 11 1 Open the File Manager in the Control Panel 2 Click the drive that SDA Logger was installed to 3 Click the SDA16 directory...

Page 8: ...the output current to 5mA Connect A D Ref Input to 5V DC Connect A D Ref Input to analog ground See Figure 1 3 Connect the 485SDA10 to an RS 422 or 4 wire RS 485 serial port Once your connections hav...

Page 9: ...typ Accuracy 0 5 Output Current 5mA max Digital Inputs Channels 3 Voltage Range 30V DC to 30V DC Low Voltage 30V DC to 1 0V DC High Voltage 2 0V DC to 30V DC Leakage Current 1 A max Digital Outputs Ch...

Page 10: ...ions explain the functions and connections for the various analog signals A D Inputs 0 10 These are the analog input channels The analog data that is read from the 485SDA10 is related to the voltage o...

Page 11: ...lly this is connected to your device s ground and analog ground 0V Analog Ground This pin should be connected to your analog device s ground If ground 0V is the low end of your input voltage range A D...

Page 12: ...ound Digital Outputs 0 2 The digital output lines are CMOS TTL compatible A digital output that is set to a 0 LOW will output a voltage from 0 to 0 6V DC A digital output that is set to a 1 HIGH will...

Page 13: ...nnect the digital ground pin to your digital device s ground To minimize noise do not connect analog ground and digital ground together Connect unused digital inputs to digital ground Typical Connecti...

Page 14: ...put Connection is required Loop to RD B for 2 wire hookup RD A Receive Data A Input Connection is required Loop to RD A for 2 wire hookup RD B Receive Data B Input Connection is required Loop to RD B...

Page 15: ...upply 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 Therefore any current sourced with the dig...

Page 16: ...o the data fields refer to Appendix A See Table 3 1 Before going into the specifics of each command it is important to understand that a byte has a value from 0 to 255 and can be represented in decima...

Page 17: ...yte The start of message byte is always the character The second byte is the address byte This byte allows each unit to have a unique address The factory default address is the ASCII 0 zero character...

Page 18: ...e highest channel to be read See Table 3 3 Response Syntax ch MSB ch LSB ch 1 MSB ch0MSB ch0LSB The most significant byte of the channel specified is received first The least significant byte and the...

Page 19: ...5 Command Syntax addr RD Unit Response states Where states is a byte in which Bits 0 2 corresponds to the current states of Digital Outputs 0 2 and Bits 3 5 corresponds to the current states of Digita...

Page 20: ...is a byte in which Bits 0 2 correspond to the outputs states of Digital Outputs 0 2 Unit Response no response Set Module Address Command The Set Module Address command is used to change the address of...

Page 21: ...ommand The Set Turn around Delay command sets the amount of time the 485SDA10 waits to respond after executing a command This delay is necessary when two RS 485 transmitters are sharing a pair of wire...

Page 22: ...40 Ottawa IL 61350 PH 815 433 5100 FAX 815 434 7094 address states delay Where address is a byte representing the module s current address states is a byte representing the module s power up states an...

Page 23: ...he 485SDA10 is from 0 to 5V DC If it is possible for your device to output a voltage that doesn t fall in this range steps must be taken to ensure that the voltage remains between 0 and 5V DC Voltages...

Page 24: ...l be read as a 1023 3FFh The data range is as follows Data Range A D Ref Input to A D Ref Input Data Range 0 to 1023 Data Range 0 to 3FFh Figure 4 1 shows the Data Range and A D Ref Inputs relationshi...

Page 25: ...ed as follows Voltage of steps Step size Example 4 1 Assume A D Ref Input 5 0V DC and A D Ref Input 0V DC Therefore Reference Range A D Ref Input A D Ref Input Reference Range 5 0V DC 0V DC Reference...

Page 26: ...ing The MSB is received first followed by the LSB This command requires a data byte The data byte is used to specify the number of the highest channel to be read All channels less than this channel wi...

Page 27: ...al inputs 0 2 and bits 0 2 correspond to the states of digital outputs 0 2 If a bit is a 0 then the digital state of that digital I O is LOW If a bit is a 1 then the digital state of the I O is HIGH T...

Page 28: ...is command requires a data byte The data byte is used to specify the output states Bits 0 2 correspond to the states of digital outputs 0 2 If a bit is a 0 then the output will be set LOW If a bit is...

Page 29: ...1 Clear bit 2 of states to make Digital Output 2 LOW states states AND NOT 4 Command CHR addr SO CHR states Print 1 Command Digital Output 0 will be set HIGH Digital Output 2 will be set LOW Digital...

Page 30: ...ta byte The steps to setting a module s power up states are given below 1 Construct the command string a Set appropriate outputs HIGH states states OR mask By ORing the current states with the appropr...

Page 31: ...information on RS 422 485 The turn around delay is stored in non volatile memory This command requires a data byte The data byte is used to specify the turn around delay One unit of turn around delay...

Page 32: ...PUT 1 1 4 Determining the address address ASC Reply 5 Receiving the power up states data Reply INPUT 1 1 6 Determining the power up states states ASC Reply Refer to Read Digital I O earlier in this ch...

Page 33: ...for Read Analog command or state byte for Set Output State command the command will be executed since the unit has no way of knowing that there was an error To provide the 485SDA10 with a way of dete...

Page 34: ...mmand Response Read A D Channels addr RA x x chxmsb chxmsb chxlsb chxlsb ch x 1 msb ch0msb ch0msb ch0lsb ch0lsb Read Digital I O addr RD I O states I O states Set Output States addr SO x x no response...

Page 35: ...sulting in a loss of resolution The next section titled Simplified Analog Input Analysis contains information from Texas Instruments data sheet on the TLC1543 The TLC1543 is the A D converter that is...

Page 36: ...c s s 1 2 2048 2 Equating equation 1 to equation 2 and solving for time tc gives V V V e t RC s s s c t i 2048 1 3 and t LSB R C c t i ln 1 2 2048 4 Therefore with the values given the time for the a...

Page 37: ...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 Equivalent Input Circuit Including the Driving Source...

Page 38: ...i 10 A LF ctrl J 42 2A 74 4A J 106 6A j 11 B VT ctrl K 43 2B 75 4B K 107 6B k 12 C FF ctrl L 44 2C 76 4C L 108 6C l 13 D CR ctrl M 45 2D 77 4D M 109 6D m 14 E SO ctrl N 46 2E 78 4E N 110 6E n 15 F SI...

Page 39: ...vide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not insta...

Reviews: