Sơ đồ chân cổng giao tiếp RS-232, RS-485
Last updated
Last updated
Serial control adapters provide an easy way to use Cat5/5e/6 cabling to connect the RJ-45 serial port of a Savant controller to a DB-9 serial port on an external device without the need to manually arrange wiring based on device pinout or specifications. The table below shows Savant's pre-built adapters available through the Savant Store. The pre-built adapters are color coded - see the specifications table below for details. NOTE: Savant recommends using TIA/EIA-568B standard for all Cat5/5e/6 cabling.
Most profiled devices that have RS-232 control will specify which color adapter is required for interfacing with the component within Blueprint. To find this information in Blueprint do the following:
Select the device.
Open Inspector.
In the Show drop-down menu, select Control Ports.
Select RS-232, RS-422, or RS-485 depending on the component. The image below is an example of fields displayed, with descriptions of the information provided.
A DB-9 connector has 9 pins arranged in two rows, with one row on top of the other. The top row has 5 pins and the lower row has 4 pins. This interface is commonly used for RS-232 serial applications.
RS-422 and RS-485 are generally connected to the endpoint device via screw-down terminals which are marked so as to match wiring on both sides. It is also possible that RS-422 and RS-485 may have a custom connector with a custom pinout. There is no standard wiring for RS-422/485, so the pinout shown in the next table should be used simply as a reference when connecting to an RS-422/485 device. NOTE: Referring to the manufacturer's protocol documentation is always the best practice in any case where the device pinout or correct wiring is in question.
In some instances, only two wires are used (- and +) out of the 4 (TX-, TX+, RX-, RX+). When this is the case, the TX- and TX+ could be wired together, allowing the ability to transmit but no feedback. Alternatively, the TX- could be connected to the RX- and the TX+ to the RX+, creating a - and + line. Some manufacturers use A and B to represent their wires, instead of - or +. If this is the case, some trial and error may be required to determine which wire maps to A and which maps to B.
IMPORTANT! When using RJ-45 to DB-9 adapters not sold by Savant, be sure to terminate any wires required for communication/control within the adapter. All unused wires in the connector should be cut so no bare wire is showing to prevent potential electrical shorts.
TIP: This image shows the internal wiring of a Savant Blue connector. The Red connector uses the same wiring without CTS and RTS.
TIP: This image shows the internal wiring of a Savant Green connector. The Yellow connector uses the same wiring without CTS and RTS.
Adapter Color
Serial Type
Red
No flow and no null (Straight)
Blue
Flow and no null (Straight)
Yellow
No flow and Null
Green
Flow and Null
Gold
DB-9 mini gender changer (Female to Male)
Name on Component
Control Type
Direction
Preferred Baud Rate
Supported Baud Rates
Data Length
Stop Bits
Parity
Flow Control
Connector Type
Cable Type
Adapter Color
Pin 1
RX+
Pin 2
RX-
Pin 3
TX+
Pin 4
Ground (GND)
Pin 5
No Connection for RS-422/485
Pin 6
TX-
Pin 7
No Connection for RS-422/485
Pin 8
No Connection for RS-422/485