> For the complete documentation index, see [llms.txt](https://docs.influxtechnology.com/support_guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.influxtechnology.com/support_guides/rexgen_xml_examples/gateway_can0_signal_to_can1.md).

# Gateway Routing CAN0 Signal to CAN1.

In this example, we will see how we can configure a ReXgen data logger to route all the CAN traffic from CAN 0 Bus to CAN 1 Bus

## Documentation

The below image shows how each element is linked in the XML file.

<div align="left"><figure><img src="/files/5aj8yTtXNiIlj4bTH6Xc" alt=""><figcaption></figcaption></figure></div>

They are connected using Unique IDs (UID).

### Default Settings

* CAN Baud Rate: 500 Kbps
* All CAN IDs are Routed

#### The following parameters can be modified by editing the XML as required.

**Modifying CAN Bus Channel:**

Edit the value of the CANBusSpeed element in the XML file under the CAN interface block.

Value has to be specified in bps

```xml
<CANINTERFACE UID="4">
        <Type>CAN</Type>
        <PhysicalNumber>0</PhysicalNumber>
        <CANBusSpeed>500000</CANBusSpeed>
        <CANFDBusSpeed>8000000</CANFDBusSpeed>
        <CANFDNonISO>false</CANFDNonISO>
```

#### Users can load the XML file into the ReXgen logger using the ReXdesk application/ReXdesk Convert application or the Rxlibrary DLL.

The process sends XML to the logger using ReXdesk. Click on Config Menu > Run > Run Config Using External File > Browse the XML file and click Open.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;">GitHub link</mark></td><td><a href="https://github.com/InfluxTechnology/Rexgen_XML_Examples/tree/main/GATEWAY_CAN0_Signal_to_CAN1">https://github.com/InfluxTechnology/Rexgen_XML_Examples/tree/main/GATEWAY_CAN0_Signal_to_CAN1</a></td></tr><tr><td><mark style="color:blue;">XML file</mark></td><td><a href="https://github.com/InfluxTechnology/Rexgen_XML_Examples/blob/main/GATEWAY_CAN0_Signal_to_CAN1/Gateway_CAN0_CAN1_Signal.xml">https://github.com/InfluxTechnology/Rexgen_XML_Examples/blob/main/GATEWAY_CAN0_Signal_to_CAN1/Gateway_CAN0_CAN1_Signal.xml</a></td></tr><tr><td><mark style="color:blue;">DBC file</mark></td><td><a href="https://github.com/InfluxTechnology/Rexgen_XML_Examples/blob/main/GATEWAY_CAN0_Signal_to_CAN1/ReXgen_IMU_Out_V3.dbc">https://github.com/InfluxTechnology/Rexgen_XML_Examples/blob/main/GATEWAY_CAN0_Signal_to_CAN1/ReXgen_IMU_Out_V3.dbc</a></td></tr></tbody></table>


---

# 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://docs.influxtechnology.com/support_guides/rexgen_xml_examples/gateway_can0_signal_to_can1.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.
