Professional Documents
Culture Documents
DB-9 Male
Pin 1
DB-25 Male
Pin 13
RS-232 Loopback
Pin 1 Pin 6 TX/RX Pin 5 Pin 9
RS-232 Signals
25 V SPACE, '0' 3V UNKNOWN
Pin 5 Pin 9
Pin 14 Pin 25
Pin 232 422/485 1 No Connect No Connect TXD 2 RI1 3 CTS TXD+ 4 RTS RTS (HSO) CTS (HSI) 5 DSR1 6 GND RXD RXD+ 7 DTR1 8 TXD RTS+ (HSO+) 9 RXD CTS+ (HSI+) GND 10 DCD1 1 These signals are No Connect on the PCI-232I and PXI-8422 ports.
Pin 1 2 3 4 5 6 7 8 9
232 DTE DCD2 RXD TXD DTR2 GND DSR2 RTS CTS RI2
232 DCE 422/485 DCD GND TXD CTS+ (HSI+) RXD RTS+ (HSO+) DSR RXD+ GND RXD DTR CTS (HSI) CTS RTS (HSO) RTS TXD+ RI TXD
Pin 2 3 4 5 6 7 8 20 22
232 TXD RXD RTS CTS DSR3 GND DCD3 DTR3 RI3
422/485 RTS+ (HSO+) CTS+ (HSI+) RTS (HSO) TXD+ CTS (HSI) RXD GND RXD+ TXD
Pin 5 Pin 9
3 V MARK, '1' 25 V
RS-232 +5 V
RS-485/422 Loopback
Pin 1 Pin 6 TX/RX Pin 1 Pin 6 All Pin 5 Pin 9 Pin 5 Pin 9
RS-485/422 Signals
If '' < '+' then MARK, '1' If '' > '+' then SPACE, '0' RS-422 Voltage: 7V RS-485 Voltage: 7V to +12 V
5 V RS-485 5V TX+ 0V 5V TX 0V Voltages are for illustration only. Actual voltage levels may vary.
Note: DCE mode supported on USB-232/2 and USB-232/4 only. 2 These signals are No Connect on the PCI-232I and PXI-8422 ports and ports 916 on legacy 16-port boards.
Pins not listed in this table are No Connect. 3 These signals are No Connect on the PCI-232I and PXI-8422 ports.
RS-485 Topologies
Slave 1 Tx Tx 120 Rx 120 Rx Tx Slave 2 Rx Tx Slave n Rx
ASCII Table
Char (sp) ! # $ % & ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? Dec 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 Hex 0x40 0x41 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4A 0x4B 0x4C 0x4D 0x4E 0x4F 0x50 0x51 0x52 0x53 0x54 0x55 0x56 0x57 0x58 0x59 0x5A 0x5B 0x5C 0x5D 0x5E 0x5F Char @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ Dec 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 Hex 0x60 0x61 0x62 0x63 0x64 0x65 0x66 0x67 0x68 0x69 0x6A 0x6B 0x6C 0x6D 0x6E 0x6F 0x70 0x71 0x72 0x73 0x74 0x75 0x76 0x77 0x78 0x79 0x7A 0x7B 0x7C 0x7D 0x7E 0x7F Char a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ (del)
MASTER
MASTER
Tx
120
120
Rx
120
120
4-Wire Full-Duplex Multidrop Network Using Terminating Resistors RS-485 terminators are available at ni.com/serial. For more information about LabVIEW, refer to ni.com/labview.
NI-Serial Features
Hardware Flexible baud rates up to 3 Mb/s High-performance DMA engine Isolation up to 2000 V RS-485 transceiver control Software Deterministic control with LabVIEW Real-Time Over 3000 instrument drivers online Powerful development tools
National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section on ni.com/legal for more information about National Instruments trademarks. Other product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National Instruments products, refer to the appropriate location: HelpPatents in your software, the patents.txt file on your CD, or ni.com/patents.
371253C-01
Febuary 2007