# Electrical installation

{% hint style="danger" %}
**Safety First:** Do not perform wiring while the unit is powered on. Before any wiring work, turn off the power and disconnect the power supply.
{% endhint %}

## **6-Pin Quick Connector Pin Definition**

* Connect the supplied cable to the power supply and the required communication interfaces. Unused wires must be insulated with protective material to prevent electric leakage or short circuits.
* Before opening the unit or performing any wiring, turn off the power and disconnect the power supply.
* Due to space limitations, the label on the side of the unit and the following diagrams show **wire pin definitions only**.

The 6-pin quick connector wire color assignments are defined as follows:

![Cable Pin Map](/files/e8381e825df9ddabde59aabc836bc60e4d7026b1)

<table data-full-width="false"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td>1</td><td>Brown</td><td>24 VDC (+)</td></tr><tr><td>2</td><td>Black</td><td>RS485 (B-)</td></tr><tr><td>3</td><td>Green</td><td>RS485 (A+)</td></tr><tr><td>4</td><td>Orange</td><td>NPN output (+)</td></tr><tr><td>5</td><td>Purple</td><td>4~20mA (+)</td></tr><tr><td>6</td><td>Blue</td><td>0 VDC (-)</td></tr></tbody></table>

### 24V DC Power Wiring Diagram

* **Brown wire**: 24 VDC (+)
* **Blue wire**: 0 VDC (–)

<div align="left"><figure><img src="/files/VMOhTe3l7rjDRrbDFrjl" alt="" width="563"><figcaption></figcaption></figure></div>

### 4–20 mA Analog Output Wiring Diagram

* **Brown wire**: 24 VDC (+)
* **Blue wire**: 0 VDC (–)
* **Purple wire**: 4–20 mA (+)

<div align="left"><figure><img src="/files/8kF3ZHnBdHzTwuM6Wtaj" alt="" width="563"><figcaption></figcaption></figure></div>

### **NPN Output Wiring Diagram**

* **Brown wire**: 24 VDC (+)
* **Blue wire**: 0 VDC (–)
* **Orange wire**: NPN Output (+)

<div align="left"><figure><img src="/files/2uj82ey3Hxy2NKQAD6hf" alt="" width="563"><figcaption></figcaption></figure></div>

### **RS-485 Two-Wire Wiring Diagram**

* **Black wire**: RS-485 B (–)
* **Green wire**: RS-485 A (+)

<div align="left"><figure><img src="/files/y9CJSIhZW30E4W75C1FG" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}

#### RS-485 Wiring Recommendations

* It is recommended to use **shielded 24 AWG twisted-pair cable** and connect devices in a **daisy-chain configuration**. Do not use star or ring wiring.
* For long cable runs, install **termination resistors** at both the master and the farthest device. A typical value is **120 Ω**, but the actual value should be calculated based on the cable specifications.
* If signal instability occurs, consider adding **bias resistors** at a point along the line.
* For the supplied 6-core cable, when used for RS-485 communication, **trim excess length** to minimize noise interference. Connect the shield braid to the main communication wires and **ground it**.
* In areas with heavy signal interference, the software may need to **poll multiple times** to receive a response. Implement a **repeated polling mechanism** in the communication program to distinguish between signal interference and actual device offline conditions.
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lorric.com/qr/fp-as310-english-v5/installation-and-setup/electronic-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
