B&B Electronics manual Serial Port Connections, RS-485 Terminal Block Connections

Page 14

Serial Port Connections

To communicate with the 485SDA10 module, it must be connected to an RS-422/RS-485 serial port. The 485SDA10 works with 2-wire or 4-wire RS-485. The unit automatically detects baud rates from 1200 to 9600. A data format of 8 data bits, 1 stop bit and no parity is used. Connections are made using terminal blocks. Table 2.2 shows the terminal blocks and their functions.

Table 2.2 - RS-485 Terminal Block Connections

TB

 

485SDA1

 

Label

Signal

0 Function

Notes

 

 

 

 

TD(A)

Transmit Data (A)

Output

Connection is required. [Loop

 

 

 

to RD(A) for 2-wire hookup]

TD(B)

Transmit Data (B)

Output

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) for 2-wire hookup]

GND

Ground

-

Connection for Signal GND

 

 

 

and Power Supply GND.

+12V

+12 V DC Power

Input

Connection is required.

A typical 2-wire RS-485 connection is shown in Figure 2.3 and a typical RS-422 (or RS-485) 4-wire is shown in Figure 2.4.

NOTE: The 485SDA10 labels the data lines with “A” and “B” designators (per EIA RS-485 Specification). However, some RS-

485 equipment used “+” and “-“ as designators. In most cases the “A” line is the equivalent of the “-“ line and the “B” line is the equivalent of the “+” line. With an RS-485/422 system there are other factors that require consideration, such as termination and turn-around delay. For more information refer to the RS-485/422 Application Note (included in packing).

10

485SDA103798 Manual

B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350

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

Image 14 Contents
Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois Table of Contents Software Tables485SDA103798 Manual Table of Contents Iii 485SDA10 Features 485SDA10 UnitSoftware Installation Packing ListWindows UninstallGetting Started Windows 9x and Windows NTA/D with Variable Resistor 485SDA10 Specifications Inputs #0-10 Ref Input +Typical Connections Ref InputAnalog Ground Digital Inputs #0-2 Digital I/O Connections485SDA10 I/O Port Pinout Digital Outputs #0-2Digital Ground Typical Digital I/O ConnectionsSerial Port Connections RS-485 Terminal Block ConnectionsPower Supply Connections Typical RS-485 2-wire ConnectionCommands 485SDA10 CommandsEquivalent Values Reading A/D Channels CommandSyntax Read A/D Response AddrRA#Ch#MSBch#LSBch#-1MSB...ch0MSBch0LSB States Reading Digital I/O CommandAddrRD Read Digital I/O Response for OutputsAddrSOstates Set Digital Output CommandSet Module Address Command Set Digital Output Data Byte ValuesRead Module Configuration Command Set Power-up States CommandSet Turn-around Delay Command Addressstatesdelay Reference Inputs Sampling RateInput Range Data Range Converting DataPage Print #1, Command$ Read A/D CommandCommand$ = ! + CHR$addr + RA + CHR$channel MSB$ = INPUT$1, #1 LSB$ = INPUT$1, #1Reply$ = INPUT$ 1, #1 Read Digital I/O CommandCommand$ = ! + CHR$addr + RD Set Digital Output States Digital I/O Mask ValuesSet Module Address Command$ = !0SO + CHR$statesCommand$ = ! + CHR$addr + SO + CHR$newaddr Addr =States = states and NOTmask Addr = 5 states =Set Turn-around Delay Command$ = ! + CHR$addr + SC + CHR$delayRead Module Configuration Comp = not x and &HFF #addrRA00FF00FF01FE Table A-1 Extended Commands Appendix B Analog Input Impedance Simplified Analog Input Analysis 1 2 LSB = R s + 1k Ω × 60pF × ln2048485SDA103798 Manual Appendix B Appendix C Decimal to HEX to Ascii Table Table C-1 Decimal to HEX to Ascii TableClass a Equipment
Related manuals
Manual 39 pages 36.61 Kb Manual 46 pages 1.37 Kb