| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
Model 485DSS Document 485DSS3298 This product Designed
Top Searches for this datasheetDistributed Smart Switch Model 485DSS Document 485DSS3298 This product Designed Manufactured Ottawa, Illinois domestic imported parts Electronics Mfg. Inc. Dayton Road P.O. 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Internet: http://www.bb-elec.com sales@bb-elec.com support@bb.elec.com 1998 Electronics August 1998 TABLE CONTENTS CHAPTER HARDWARE INTRODUCTION Figure Example RS-485/422 Multi-Node Network.1 CHECKLIST SPECIFICATIONS Figure View Circuit Board.2 PORT CONFIGURATION.2 RS-485/422 Port Table RS-422/485 Port RS-232 Port Table RS-232 DB25P Connector Chart.4 RS-422/485 Wiring 2-Wire Mode Table Component Values Send Data Timing.5 Figure RS-485 Wiring Diagram 4-Wire Mode Figure RS-422 Wiring Diagram RS-485 RS-422 TERMINATION POWER SUPPLY.7 OPERATION Figure Simplified Functional Diagram COMMUNICATION CONFIGURATION DISTRIBUTED SMART SWITCH COMMANDS.9 Command String Command Command STATUS REQUEST Command SETTING 485DSS ADDRESS Table Address Switch.14 BINARY FILE TRANSFER CHAPTER SOFTWARE.16 DESCRIPTION HARD DRIVE INSTALLATION.16 RUNNING DEMONSTRATION PROGRAM.17 APPENDIX ASCII CHARACTER CODES .A-1 APPENDIX DECIMAL/HEXADECIMAL CONVERSIONS.B-1 Table Hex/Dec Conversions .B-1 485DSS3298 Manual Table Contents Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 APPENDIX CABLE CHARTS .C-1 CHART DB25 CONNECTOR .C-1 485DSS RS-232 (DTE) PORT .C-1 CHART RS-232 DEVICE W/DB25 CONNECTOR .C-1 485DSS RS-232 (DTE) PORT .C-1 CHART CONNECTOR .C-1 485DSS RS-232 (DTE) PORT .C-1 CHART RS-232 DEVICE W/DB9 CONNECTOR .C-2 485DSS RS-232 (DTE) PORT .C-2 CHART RS-422/485 4-WIRE DEVICE 485DSS RS-422/485PORT CHART RS-485 2-WIRE DEVICE 485DSS RS-485/422 PORT. .C-2 Table Contents 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Chapter HARDWARE Introduction RS-485 Distributed Smart Switch (485DSS) connects RS-232 device RS-485 multi-node network shown Figure accomplish this, 485DSS converts RS-232 addressable RS-485 node. unique address, from 255, user assigned setting switches 485DSS. Figure Example RS-485/422 Multi-Node Network Checklist following items should shipping carton: RS-485 Distributed Smart Switch Instruction Manual 1/2" floppy disk Contact shippers immediately items above missing damage. 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Specifications Model: Size: Power: RS-232 Connection: RS-485 Connection: Communications: 485DSS 4.8"L 2.15"W 0.9"H 75mA DB-25 male (DTE configured) Terminal Blocks 9600 baud, parity, data bits, stop Figure View Circuit Board Port Configuration 485DSS RS-485/422 port RS-232 port. RS-485/422 signals terminal blocks. Table shows pinouts Figure shows location terminal blocks. RS-232 signal, configuration, connects DB25 male connector. Table shows RS-232 pinouts. RS-485/422 Port RS-485 port 485DSS receives transmits data from RS-485 network. RS-485 port balanced differential line driver receiver. RS-485 allows driver receiver pairs share two-wire party line network. This port will operate 4-wire network compatible with RS-422 devices. Refer Electronics' free RS-422/485 Application Note more information. Refer Appendix cable charts. 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Table RS-422/485 Port Terminal Block Signal TD(A)(-) TD(B)(+) RD(A)(-) RD(B)(+) +12VDC RS-232 Port RS-232 port asynchronous port that supports signals. order make proper connections RS232 port. necessary have basic understanding terms DTE. original design connecting RS-232 devices together uses DB25 connectors, connects (Data Terminal Equipment) device (Data Communication Equipment) device. Each device will have inputs pins that correspond outputs same pins other device. example, device transmits data device receives data PC's devices modems devices. Only RS-232 port pass through RS-485 port when 485DSS 485DSS raises lowers output signal RS-232 port reflect connect state port. This signal notify RS232 device start communicating Host alarm output. Host monitor input line determine RS-232 device requesting access network. This input line could also alarm input. NOTE: using lines alarms user have design additional circuitry properly interface alarm circuits. Refer cable charts Appendix making your cables. RS-422/485 Signal Direction Port Output Output Input Input Input Description Frame Ground Transmit Data (A)(-) Transmit Data (B)(+) Receive Data (A)(-) Receive Data (B)(+) Signal Ground Power Supply 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Table RS-232 DB25P Connector Chart Signal Direction RS-232 Port Output Input Output Input Signal Description Frame Ground Transmit Data Receive Data Request Send Clear Send Signal Ground RS-422/485 Wiring RS-485 receivers also have enable/disable control line. 2W/4W jumper selects when enable disable RS-485 receiver. Setting jumper position constantly enables receiver which same operating RS-422/485 4-wire mode. this position connected 2-wire network, data being transmitted RS-485 driver echos back through RS485 receiver. Setting jumper (RS-485, 2-wire mode) automatically enables receiver when RS-485 driver disables visa versa. configure 485DSS typical 2-wire party line network, jumper position. Refer Figure jumper location. RS-485 Specification labels data lines with designator. Some RS-485 equipment uses designator. almost cases, line equivalent line line equivalent line. Figure wiring example. 2-Wire Mode RS-485 allows half-duplex communications multiple drivers having control line enabling disabling (tri-stating) their outputs. When 485DSS transmits status reply message Host, microcontroller will automatically enable driver before transmitting first character reply disable driver after last character reply. When 485DSS (selected) RS-232 device transmitting data Host Send Data (SD) control circuit enables disables driver. 485DSS disables driver when transmitting data Host listens (receives) communications network. 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 control automatically enables RS-485 driver sensing leading edge first character transmitted RS-232 port. After transmitting last character, send data timer circuit waits character time millisecond 9600 baud) before disabling RS-485 driver. There components timer circuit, resistor (R15) capacitor (C10), that make send data control circuit. These components factory selected 9600 baud, allowing send data control operate 9600 baud higher. These components disable RS-485 driver approximately millisecond after transmitting last character. change baud rate lower than 9600 baud, configure send data control match specific baud rate RS-232 device, remove insert value specified Table into position. Figure locate C10. NOTE: timing circuit does control RS-485 driver when 485DSS sends reply messages host. Table Component Values Send Data Timing Baud Rate 1200 2400 4800 9600* 19200 38400 56700 115200 Time (ms) 8.33 4.16 2.08 1.04* 0.520 0.260 0.176 0.0868 Resistor Value Capacitor Value (ohms) C10(microfarads) 820K 430K 200K 100K* .01* 8.2K Factory Default 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Figure RS-485 Wiring Diagram 4-Wire Mode configure 485DSS RS-485 four-wire mode, place jumper position. Refer Figure connecting information Figure jumper location. this position 4-wire network Host RS-232 device communicate full duplex. CAUTION: Data loss occur Host sends 485DSS commands while host receiving data from network! 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Figure RS-422 Wiring Diagram RS-485 RS-422 Termination jumper labeled "TERM" provides termination RS485/422 receiver. termination resistor 120-ohm resistor placed between lines. this termination, place jumper "IN" position. Refer Figure location this jumper. there need termination, place jumper "OUT" position. more discussion termination refer Electronics' free RS-422/485 Application Note. Power Supply 485DSS requires unregulated power source that will supply volts milliamps. Connect positive side power source +12VDC terminal block common side power source terminal block. Refer Figure location terminal blocks polarity. Electronics' power supply Model 485PS2 available 485DSS. 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Operation host computer RS-485 network controls each 485DSS network sending them command messages. These commands turn 485DSS off, also request status from individual from 485DSS's network. communication setup used send receive these commands are: 9600 baud, data bits, parity, stop bit. Each command consists four characters: start message character, address characters, command character. 485DSS's network will receive command message strings sent Host, only 485DSS with matching address will execute command. Execution command raises Request Send (RTS) output line DB25 connector connects RS-232 port RS-485 network. Once (selected), RS-232 device transmit receive data HOST. Executing command lowers line, disconnecting RS-232 port from network. RS-232 port 485DSS (not selected) power 485DSS does buffer delay data passing through unit. data that sent from RS-485 device will passed through RS-232 side while unit selected including next command characters. Host poll 485DSS's network using request status command. This allows Host determine 485DSS requesting access network monitoring handshake status character returned 485DSS. status character reflects state input handshake signal Clear Send (CTS) RS-232 connector With this feature Host ability prioritize each 485DSS network. Refer Figure 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Figure Simplified Functional Diagram Three indicators located 485DSS. labeled flashes when RS-232 device transmitting data. labeled flashes when data being received 485DSS from RS-485 network. labeled turns indicating that RS-232 device access RS-485 network. Refer Figure Terminal blocks 485DSS connect RS-485 signals, input power unit. RS232 signals 485DSS connect DB25 male connector. eight-position switch located center 485DSS sets 485DSS's unique address. Communication Configuration Before HOST communicate with 485DSS, HOST must communication format 9600 baud, data bits, parity, stop bit. After communicating with 485DSS, HOST reset communication format match format RS-232 device attached 485DSS. data passed through unit after been selected. 485DSS does have buffering. Distributed Smart Switch Commands 485DSS constantly monitors serial data received RS-485/422 port command string. There only three commands required control 485DSS: command, command, status request command. 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Command String Command Strings consist four ASCII characters. first character start message character, "X-off" (decimal 19). second third characters represent hexadecimal address individual 485DSS. address range from (HEX "00" "FF"). Some commands require broadcast character "DC2" (decimal second third characters command. fourth character command character. Command Syntax: X-off Command character. Least signf. address character. Most signf. address character. Start message character. Command This command turns individual 485DSS asserts output handshake line DB25 connector. This command allows RS-232 device connected 485DSS access RS-485 network. address field command string specifies which 485DSS turn other 485DSS's network will turn address field does match their address setting. Command character: (decimal Example turn 485DSS address decimal hex). HOST transmits: Xoff decimal) hex) Example turn 485DSS address decimal hex). HOST transmits: Xoff decimal) hex) 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 were writing program BASIC turn address decimal hexadecimal) might form string like this: DSS0AON$ CHR$(19) CHR$(1) could then send DSS0AON$ select 485DSS address hex). similar strings turning other 485DSS's. Command This command turns 485DSS's network lowers output handshake line DB25 connector. command string consists non-printable ASCII characters. This command uses broadcast characters "DC2" (decimal address field. Sending this command before sending command that specific address (address characters printable) keeps RS-232 device from outputting printable characters. NOTE: This command permits only broadcast characters address field. Command character: (decimal Example Turn 485DSS's network. HOST transmits: Xoff decimal) hex) turn string BASIC might look like this: DSSOFF$ CHR$(19) CHR$(18) CHR$(18) CHR$(4) could then send DSSOFF$ turn 485DSS's. data control characters passed through 485DSS after been selected. STATUS REQUEST Command Status Request command requests status individual 485DSS status 485DSS's network. This command enables Host computer determine from each reply message received RS-232 device requesting access network access network. using this command Host ability prioritize 485DSS's network. specific address address field specifies response from individual 485DSS. Placing broadcast characters 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 address field specifies 485DSS's network. This command temporarily turns (disconnect) RS-232 port from network while transmitting reply message. reply message transmitted 485DSS consists ASCII characters. first character acknowledge character, upper case (decimal 65). second third characters represent hexadecimal address 485DSS that sent message. address range from (HEX "00" "FF"). fourth character indicates select state 485DSS, (decimal indicates RS-232 port does have connection (not selected) network (decimal indicates RS-232 port connection (selected) network. fifth character indicates state handshake input line RS-232 port connector. (decimal indicates state input pin, (decimal indicates high state input pin. sixth character message character, carriage return (decimal 13). Reply Syntax: message char. Handshake input state. Select State. Least signf. address character. Most signf. address character. Start message character. When this command contains specific address, 485DSS whose address matches command address will wait twenty milliseconds before transmitting reply message. command uses broadcast characters receive status from 485DSS's network each 485DSS will delay transmitting reply based address. amount delay equal unit's address decimal multiplied twenty milliseconds then additional milliseconds. 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Example: unit with decimal address will have delay milliseconds [(10 0.02) 0.02 0.22 seconds]. Command character: (decimal Example request status from 485DSS address hex) decimal. HOST transmits: Xoff decimal) hex) Reply: reply indicates that RS-232 port connection network unit handshake line high state. Example Request status from 485DSS's network. HOST transmits: Xoff decimal) hex) Reply: Reply: Reply: Reply: reply indicates following: Unit waited milliseconds then sent reply indicating connection RS-232 port network handshake line state. Unit waited milliseconds then sent reply indicating connection RS-232 port network handshake line state. Unit waited milliseconds then sent reply indicating connection RS-232 port network handshake line state. Unit decimal hex) waited milliseconds then sent reply indicating connection RS-232 port network handshake line high state. 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 were writing program BASIC request status from address decimal, might form string like this: DSS05RS$ CHR$(19) CHR$(6) could then send DSS05RS$ request status from 485DSS address similar strings requesting status from other individual 485DSS's. were writing program BASIC request status from 485DSS's network, might form string like this: DSSALLRS$ CHR$(19) CHR$(18) CHR$(18) CHR$(6) could then send DSSALLRS$ request status from 485DSS's network. Setting 485DSS Address Assign each 485DSS RS-485 network unique address. address eight position switch 485DSS labeled "SW1". Refer Figure location switch. access this switch, will need remove cover 485DSS. Insert small screwdriver slot side cover twist remove Each switch position equal specific weight value. 485DSS decimal address from 255. assign address 485DSS, cycle power unit. Table Address Switch DECIMAL Switch WEIGHT WEIGHT Weight False Weight True Factory Default Address 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Example address decimal hex), would turn switches 21). Example address decimal hex), turn switches 123). NOTE: important that address select already being used network! Binary File Transfer When transmitting binary files through Distributed Smart Switch, possible that string characters could resemble 485DSS command message. this would happen, there could disruption transfer process loss data. simple solution this problem change different baud rate before transferring binary files. 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Chapter SOFTWARE Description Distributed Smart Switch Demonstration (DSS_DEMO) Program (IBM Compatible) provides user with examples receive transmit commands 485DSS. DSS_DEMO.EXE executable program written QuickBasic that will send turn turn off, status request commands 485DSS. program also monitors reply messages from addresses. source code written QuickBasic (DSS_DEMO.BAS), Borland Pascal (DSS_DEMO.PAS) Borland Microsoft C/C++ (DSS_DEMO.C). source code provides illustration send receive commands 485DSS. SimpCom Version 1.03+ required recompile DSS_DEMO.C DSS_DEMO.PAS. This program provided 1/2" 720K diskette. 1/4" diskette required, please contact Electronics. NOTE: This demonstration program only intended system applications. Hard Drive Installation install your hard drive follow these steps: Place disk drive prompt Type press <ENTER> key. Type INSTALL press <ENTER> key. list files diskette file "FILES.LST". 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Running Demonstration Program Before demonstration program, must install program described "Hard Drive Installation" section above. Make sure have made proper connections from 485DSS RS-485 communication lines. running Windows, exit Windows DOS. program follow these steps from prompt: QuickBasic Program Type \485DSS press <Enter> key. Type DSS_DEMO press <Enter> key. Demo Program Type CD\485DSS\C press <Enter> key. Type DSS_DEMO press <Enter> key. Pascal Demo Program Type CD\485DSS\PASCAL press <Enter> key. Type DSS_DEMO press <Enter> key. 485DSS3298 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Appendix ASCII Character Codes DECIMAL ASCII CONVERSION TABLE ASCII ASCII ASCII ASCII ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl ctrl 485DSS3298 Manual Appendix Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Appendix Decimal/Hexadecimal/Conversions decimal (base numbering system represents each position successive powers with each decimal symbol having value from hexadecimal (base numbering system represents each position successive powers with each symbol having value Since each position must have single symbol, symbols through assigned values through respectively. Refer Table information examples follow will explain convert from decimal number hexadecimal number vice versa. Table Dec/Hex Conversions Decimal Value Hexadecimal Symbol 485DSS3298 Manual Appendix Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Hexadecimal Decimal Conversion: Each "Hex digit" decimal equivalent value hexadecimal symbol. Example: Decimal Convert 10FC hexadecimal decimal. (1st digit 4096) (2nd digit 256) (3rd digit (4th digit) 4096 4096 4348 10FC equals 4348 decimal. 4348 decimal equals 10FC hexadecimal. Decimal Hexadecimal Conversion: Example: Convert 4348 decimal hexadecimal. 4348 decimal equals 10FC hexadecimal. 4096 4348 4096 (1st digit) (2nd digit) (3rd digit) (4th digit) Appendix 485DS32985 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Appendix Cable Charts These charts indicate some common cable wiring based 485DSS RS-232 RS-485/422 ports. Refer Port Configuration section this manual more information. Chart DB25 Connector 485DSS RS-232 (DTE) Port 485DSS Serial Port Signal RS-232 (DTE) Port DB25 Connector Direction DB25 Connector Chart Connector 485DSS RS-232 (DTE) Port 485DSS Serial Port Signal RS-232 (DTE) Port Connector Direction DB25 Connector Chart RS-232 Device w/DB25 Connector 485DSS RS-232 (DTE) Port RS-232 485DSS Serial Port Signal RS-232 (DTE) Port DB25 Connector Direction DB25 Connector 485DSS3298 Manual Appendix Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 Chart RS-232 Device w/DB9 Connector 485DSS RS-232 (DTE) Port RS-232 485DSS Serial Port Signal RS-232 (DTE) Port Connector Direction DB25 Connector Chart RS-422/485 4-Wire Device 485DSS RS-422/485 Port. RS-422/485 485DSS 4-Wire Signal RS-485/422 Device Direction Terminal Blocks (A)(-) (B)(+) Signal Ground (A)(-) <-TD (B)(+) <-TD Chart RS-485 2-Wire Device 485DSS RS-485/422 Port. RS-485 485DSS 2-Wire Signal RS-485/422 Device Direction Terminal Blocks Data (A)(-) RD(A) Data (B)(+) RD(B) Signal Ground Appendix 485DS32985 Manual Electronics 1040 Ottawa, 61350 (815) 433-5100 (815) 434-7094 FEDERAL COMMUNICATIONS COMMISSION RADIO FREQUENCY INTERFACE STATEMENT Class Equipment This equipment been tested found comply with limits Class digital device, pursuant Part Rules. These limits designed provide reasonable protection against harmful interference when equipment operated commercial environment. This equipment generates, uses, radiate radio frequency energy and, installed used accordance with instructions, cause harmful interference radio communications. Operation this equipment residential area likely cause harmful interference, which case user will required correct interference personal expense. Class Equipment Statement Other recent searchesMK03-1B90C-2000W - MK03-1B90C-2000W MK03-1B90C-2000W Datasheet M53631601BE0 - M53631601BE0 M53631601BE0 Datasheet BJ0-C - BJ0-C BJ0-C Datasheet AN197 - AN197 AN197 Datasheet CP2101 - CP2101 CP2101 Datasheet CP2102 - CP2102 CP2102 Datasheet CP2103 - CP2103 CP2103 Datasheet
Privacy Policy | Disclaimer |