> For the complete documentation index, see [llms.txt](https://help.boomerang3.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.boomerang3.com/cg1018-relay-box-installation-manual/installation/config-file/url__3_different_modes/dual-b2-and-rqs.md).

# Dual (B2 and RQS)

To set the CG1018 to operate with B2 or Coolguard (RQS) server in **DUAL** mode define:

**URL\_MAC=0** and **URL\_DUAL=1**&#x20;

The settings shown below set **DUAL** mode and define server IP address as **81.91.10.237**.&#x20;

The alarms signaled by the unit are selected basing on the user name at the end of SERVICE\_URL line which are HUS\_CH1 and HUS\_CH2 in the example.&#x20;

In the other words, the unit will activate the channel, when the user, which is defined in the SERVICE\_URL line, will see an active alarm in the system.

{% code overflow="wrap" %}

```sh
# B2 or RQS (only reads temperature-alarms of two URL's)
#URL_DUAL=0 -> Uses the SERVICE_URL to get status from server (older behaviour of Blixtljus where a single URL controls both relays)
#URL_DUAL=1 -> Uses the two URL's SERVICE_URL_CH1 and SERVICE_URL_CH2 to control the two relay outputs individually, only temperature-alarms (ie. 1x) from URL will control the outputs (server's communication alarm status is ignored).
URL_DUAL=1
SERVICE_URL_CH1="http://81.91.10.237/strobelight.aspx?User=HUS_CH1"
SERVICE_URL_CH2="http://81.91.10.237/strobelight.aspx?User=HUS_CH2"
```

{% endcode %}

In DUAL mode the CG1018 polls two URL’s, and an active alarm on an assigned URL controls CH1 and CH2 relays respectively. This can be used when you want to use both relays to indicate two different active alarms.

The URL’s in the example look like this, with each URL controlling a specific relay (CH1 or CH2):

```sh
SERVICE_URL_CH1="http://81.91.10.237/strobelight.aspx?User=HUS_CH1"
SERVICE_URL_CH2="http://81.91.10.237/strobelight.aspx?User=HUS_CH2"
```

The Dual URL’s are formatted in the same way as the single URL used by the old standard, there are just two of them.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.boomerang3.com/cg1018-relay-box-installation-manual/installation/config-file/url__3_different_modes/dual-b2-and-rqs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
