Ethernet Bridge

Address Offsets

Each floor gateway is configured with a unique IP address and DyNet address offset for each spur (physical and logical address range, for example, 1000, 2000, 3000 etc.).

Logical address offsets in each EG enables reuse of area numbers (and use of common area numbers when required). The routing ensures that only systemwide and inter-spur communications are sent over the trunk. Intra-spur communications remain within the spur.

A common logical range may also be added to other gateways (for example, areas 201 – 255) for logical messages to other floors. The Bridge Configuration Wizard will identify other gateways with common areas. Common areas create a lot of additional routing between the gateways. Only use common areas if you have a genuine need to control areas on different floors from a user interface/sensor on another floor.

The diagram below shows different logical address range offsets on two spurs and a common logical address range shared by both spurs.

dyn eg logical addressing
Logical Addressing

Physical address offsets in each EG enable it to maintain electrical isolation from the trunk while keeping intra-spur communication within the spur and allowing the reuse of device box numbers. The diagram below shows different physical address range offsets on two spurs and a common physical address range when using two EGs as a single spur.

dyn eg physical addressing
Physical Addressing

Ethernet to RS-485

The EG acts as a bridge between Ethernet and RS-485 to establish a trunk-and-spur topology for efficient data transport. EGs are usually added to the SB job first to establish the Ethernet trunk, and then other devices are added under each EG to create the RS-485 spur subnetworks.

The EGs provides a way to isolate parts of the network by routing messages only for SM, common areas and devices on other spurs, over the trunk. In addition, EGs provide status polling, metric collection, area cascading, and scheduling features.

TCP connections can be secure or non-secure:

  • Non-secure connections can use a PDEG or PDDEG-S.

  • Secure connections must use a PDDEG-S.

dyn eth to rs 485 gateway

To commission an EG as an Ethernet bridge, first plug the commissioning PC into a DyNet spur with an EG. Connect SB using a serial connection and add the EG to the job. Refer to Adding an EG over RS-485.

The EG can be precommissioned. However, ports and connection settings may require updating once installed onsite.

Configure IPv4 addressing:
  1. Select the EG from the Device tree.

  2. In Device Properties > Device Identification, enter the Device name (this identifies the EG in SB).

  3. In the Ports editor, enter a Host name (this identifies the EG on the LAN).

  4. Under IPv4 properties, set Static IP to True.

  5. Enter the IP address for the EG.

  6. In the Gateway property, enter the IP address of the router.

  7. In the Subnet mask property, enter the subnet mask of the router (if different to the default value).

  8. Repeat this procedure for every bridging EG in your system.

To create the required ports and routing rules for your EG, please run the sb icon bridge wizard Bridge Configuration Wizard.
sb ports ipv4 bridge
Configure Ethernet to RS-485 Translation Gateway:
  1. Connect SB to the network via a serial RS-485 connection.

  2. Right-click the EG in the device tree and select sb icon bridge wizard Bridge Configuration Wizard or press Alt+W.

  3. Select Ethernet to RS-485 Translation Gateway and click the Next > button.

    For precommissioning, untick the Connections checkbox. Trunk and inter-spur IP addresses can be added when connected on site.
    sb bridge wizard 1 eth rs 485 gateway
  4. Set the Trunk Connection > Connection Type to TCPv4 on Port 50001.
    Set the Inter-spur Connection > Connection Type to TCPv4 on Port 50003.
    Click the Next > button.

    sb bridge wizard 2 eth rs 485 gateway
    • sb icon checkbox untick Secure should be unticked. For secure gateway setup, refer to PDDEG-S Site CA Certificate and Secure Ethernet to RS-485 below.

    • sb icon checkbox tick Enable UDP Broadcast Discovery enables the UDP IPv4 discovery port (Port 9998) used by SB to find the bridges in the system (listed in the Connection Settings page under Ethernet Trunk Connection Settings). It also enables DynamicTouch access.

    • sb icon checkbox tick Enable WebSocket / Cloud Connection / BACnet enables WebSocket trunk connectivity for SB/SM, cloud connectivity for Dynalite Cloud, and BACnet for BMS integration.

    • sb icon checkbox tick DyNet2 Spur routes DyNet2 messages from the trunk onto a DyNet2 RS-485 spur.

    • sb icon checkbox tick Configure RS-485 as Modbus converts the RS-485 port from DyNet to Modbus for use with Modbus Power Meters

  5. Click sb icon add physical range  Add Physical Range and enter Offset, Min and Max values.

  6. Click sb icon add logical range  Add Logical Range and enter Offset, Min and Max values. Primary address Min value must be 1 or 0 (see note below).

  7. OPTIONAL: Click sb icon add logical range  Add Logical Range again to enter address ranges that are common to multiple EGs. The range defined by the Min and Max values must not overlap with the other logical ranges.

    SB lists the EG devices that it finds in the job that share common address ranges. The address ranges must match exactly.

  8. Click the Next > button.

    sb bridge wizard 3 eth rs 485 gateway
    Do not use common areas unless you have a genuine need to control areas on different floors from a user interface/sensor on another floor. When finishing the wizard, it will ask if you want to automatically create the additional routing between the gateways with common areas.
    The primary logical range for the spur can also be changed to start from 0 if you want to allow for Area 0 (All Areas) messages to be sent from the trunk. You must enable the Area Zero Transmit property on the port record for the EG. Spur devices may require further configuration to support this.
    A common logical range enables the system to address areas that span multiple spurs. A common physical range enables devices to appear on a single spur when attached to different EGs.
  9. You can select the checkbox and enter different polling periods, if applicable or click the next button to accept the default metrics for devices and channels on the spur.

    sb bridge wizard 4 eth rs 485 gateway
    Ensure only necessary metrics are selected to minimize network traffic.
  10. Click the Finish button.

  11. A popup message indicates the other EGs that must have their settings saved.

  12. Click Yes.

    sb bridge wizard common range popup
  13. Press F12 or click sb icon save to device Save to Device.

  14. Repeat this procedure for every EG bridge in your system.

  15. Click File > sb icon save Save to save the job to your PC.

For security reasons, the Bridge Configuration Wizard will disable the IPv6 default multicast connection when saved to the gateway. SB must now connect to the gateway using the Ethernet trunk connection or serial connection.

Ethernet to Ethernet

Configuring the PDEG or PDDEG-S as an Ethernet to Ethernet Translation Gateway and connecting multiple DDBC320-DALI controllers together via their Ethernet ports provides a cost-effective, scalable lighting control solution.

TCP connections can be secure or non-secure:

  • Non-secure connections can use a PDEG or PDDEG-S.

  • Secure connections must use a PDDEG-S.

When configured, SB and SM connect to the PDEG or PDDEG-S gateways via TCP connections. The PDEG or PDDEG-S gateways then connect to each DDBC320-DALI via separate TCP connections.

A maximum of 25 DDBC320-DALI controllers can be connected to each PDEG or PDDEG-S. Up to three DDBC320-DALI controllers can be configured with the same offset to behave as a single spur.

dyn eth to eth gateway with ddbc320
DyNet spur address range offsets should be configured on the DDBC320-DALI rather than on the PDEG/PDDEG-S.
For more information on configuring DDBC320-DALI Ethernet connections, refer to the Signal Dimmers Commissioning Guide.
Configure Ethernet to Ethernet Translation Gateway:
  1. In System view, right-click the EG and select sb icon bridge wizard Bridge Configuration Wizard (Alt+W).

  2. Under System Selection, select Ethernet to Ethernet Translation Gateway.

  3. Select Static IPv4 Address and enter the EG’s IP Address (as well as Gateway and Subnet mask if required).

  4. Under Configuration Selection, ensure Connections is selected and click Next >.

    sb bridge wizard 1 eth eth gateway
  5. Set the Trunk Connection > Connection Type to TCP IPv4 on Port 50001.
    Set the Ethernet Spur Connection > Connection Type to TCP IPv4 on Port 50003.
    Confirm required checkbox selection and click Next > to continue.

    • sb icon checkbox untick Secure (both) should be unticked. For secure gateway setup, refer to PDDEG-S Site CA Certificate and Secure Ethernet to Ethernet below.

    • sb icon checkbox tick Enable WebSocket / Cloud Connection / BACnet enables WebSocket trunk connectivity for SB/SM, cloud connectivity for Dynalite Cloud, and BACnet for BMS integration.

    • sb icon checkbox tick Enable RS-485 Spur for Hybrid / Dynalite configures routing if the gateway is connected to a DyNet RS-485 spur.

    • sb icon checkbox tick Configure RS-485 as Modbus converts the RS-485 port from DyNet to Modbus for use with Modbus Power Meters

    sb bridge wizard 2 eth eth gateway
  6. Click Next > (Do not add any physical or logical ranges).

    sb bridge wizard 3 eth eth gateway

    Ensure Device Online Status is sb icon checkbox tick Enabled and click Finish.

    sb bridge wizard 4 eth eth gateway

The wizard adds three new routing records:

  • IPv4 TCP Port 50001 → IPv4 TCP Port 50003

  • IPv4 TCP Port 50003 → IPv4 TCP Port 50001

  • IPv4 TCP Port 50003 → IPv4 TCP Port 50003

The last routing record is only required when multiple DDBC320-DALI controllers share common areas. When the network is busy, there may be performance issues as this routing record will result in all messages from every DDBC320-DALI being routed to all other DDBC320-DALI controllers. In this case it may be necessary to have separate secure ports (with different port numbers) for groups of DDBC320-DALI controllers with common areas.

Additional routing records may be added according to the options (if any) selected on the Configure Connections step.

PDDEG-S Site CA Certificate

Creating secure Ethernet connections requires a PDDEG-S. To ensure end-to-end security, each PDDEG-S and Ethernet device must be configured for secure connections in the job before importing the job into SM.

To enable SM to connect securely to the PDDEG-S gateways in the system, Open SB on the SM Server machine and import the Site CA certificate to that machine and save the job/database.

SB enables you to:

  • Connect to the system via a secure trunk connection.

  • Manage site certificates.

  • Upload Device Site Certificates to devices.

dyn eth to rs 485 gateway secure
Create and upload certificate to the PDDEG-S:
  1. Right-click the PDDEG-S in System view and select sb icon manage certificate Manage Certificate.

  2. Click Select Certificate Type > Device Site Certificate for TLS Connections.

  3. Click the Create and Upload button. After 1-2 minutes, System Builder creates and uploads a signed certificate file to the gateway.

  4. Click the Close button.

    sb cert mgr device

Secure Ethernet to RS-485

Configure secure Ethernet to RS-485 Translation Gateway:
  1. Right-click the EG in System view and select sb icon bridge wizard Bridge Configuration Wizard or press Alt+W.

  2. Select Ethernet to RS-485 Translation Gateway.

  3. Enter an IPv4 address

    Ensure that sb icon checkbox untick Web Server is NOT selected.
  4. Click the Next > button.

    sb bridge wizard 1 eth rs 485 gateway
  5. Set the Trunk Connection > Connection Type to TCPv4 on Port 51443 and tick the sb icon checkbox tick Secure checkbox.
    Set the Inter-spur Connection > Connection Type to TCPv4 on Port 50003.

    • sb icon checkbox tick Enable UDP Broadcast Discovery enables the UDP IPv4 discovery port (Port 9998) used by SB to find the bridges in the system (listed in the Connection Settings page under Ethernet Trunk Connection Settings). It also enables DynamicTouch access.

    • sb icon checkbox tick Enable WebSocket / Cloud Connection / BACnet enables WebSocket trunk connectivity for SB/SM, cloud connectivity for Dynalite Cloud, and BACnet for BMS integration.

    • sb icon checkbox tick DyNet2 Spur routes DyNet2 messages from the trunk onto a DyNet2 RS-485 spur.

    • sb icon checkbox tick Configure RS-485 as Modbus converts the RS-485 port from DyNet to Modbus for use with Modbus Power Meters

    sb bridge wizard 2 eth rs 485 gateway secure

    Click the Next > button.

  6. Click sb icon add physical range  Add Physical Range and enter Offset, Min and Max values.

  7. Click sb icon add logical range  Add Logical Range and enter Offset, Min and Max values. Primary address Min value must be 1 or 0 (see note below).

  8. OPTIONAL: Click sb icon add logical range  Add Logical Range again to enter address ranges that are common to multiple EGs. The range defined by the Min and Max values must not overlap with the other logical ranges.

    SB lists the EG devices that it finds in the job that share common address ranges. The address ranges must match exactly.

  9. Click the Next > button.

    Do not use common areas unless you have a genuine need to control areas on different floors from a user interface/sensor on another floor. When finishing the wizard, it will ask if you want to automatically create the additional routing between the gateways with common areas.
    sb bridge wizard 3 eth rs 485 gateway secure
  10. Either leave the default metrics on the spur, or enable/disable/modify them as required.

  11. Click the Finish button, then click the Yes to close the confirmation message.

    sb bridge wizard 4 eth rs 485 gateway
  12. Record the box number and IP address of each gateway in your project notes for future reference.

  13. Press F12 or click sb icon save to device Save to Device.

  14. Click File > sb icon save Save to save the job to your PC.

Secure Ethernet to Ethernet

Configuring the PDDEG-S as a secure Ethernet to Ethernet Translation Gateway uses the site’s LAN to securely connect one or more Dynalite Ethernet devices, such as the PDZG-E Zigbee gateway, or the DDBC320-DALI controller (via its Ethernet port), to the Dynalite system.

When configured, SB and SM connect to the PDDEG-S gateways via TLS TCP connections. The PDDEG-S gateways then connect to each Ethernet device via separate TLS TCP connections.

A maximum of 25 Ethernet devices can be connected to each PDDEG-S. Up to three DDBC320-DALI controllers can be configured with the same offset to behave as a single spur.

dyn eth to eth gateway secure
  • DyNet spur address range offsets should be configured on the DDBC320-DALI rather than on the PDDEG-S.

  • For more information on configuring secure DDBC320-DALI Ethernet connections, refer to Signal Dimmers.

  • Each PDDEG-S can connect securely to a maximum of 25 Ethernet devices.

Configure secure Ethernet to Ethernet Translation Gateway:
  1. Right-click the EG in System view and select sb icon bridge wizard Bridge Configuration Wizard (Alt+W).

  2. Under System Selection, select Ethernet to Ethernet Translation Gateway.

  3. Select Static IPv4 Address and enter the EG’s IP Address (as well as Gateway and Subnet mask if required).

  4. Under Configuration Selection, ensure Connections is selected and click Next >.

    sb bridge wizard 1 eth eth gateway secure
  5. Set Trunk Connection > Connection Type to TCP IPv4 on Port 51443, and tick the sb icon checkbox tick Secure checkbox.
    Set Ethernet Spur Connection > Connection Type to TCP IPv4 on Port 50443, and tick the sb icon checkbox tick Secure checkbox.

    • sb icon checkbox tick Enable WebSocket / Cloud Connection / BACnet enables WebSocket trunk connectivity for SB/SM, cloud connectivity for Dynalite Cloud, and BACnet for BMS integration.

    • sb icon checkbox tick Enable RS-485 Spur for Hybrid / Dynalite configures routing if the gateway is connected to a DyNet RS-485 spur.

    • sb icon checkbox tick Configure RS-485 as Modbus converts the RS-485 port from DyNet to Modbus for use with Modbus Power Meters

    Click Next >.

    sb bridge wizard 2 eth eth gateway secure
  6. Click Next > (Do not add any physical or logical ranges).

    sb bridge wizard 3 eth eth gateway secure
  7. Ensure that Device Online Status is Enabled and click Finish.

    sb bridge wizard 4 eth eth gateway secure

The wizard adds three new routing records:

  • IPv4 TCP Port 51443 → IPv4 TCP Port 50443

  • IPv4 TCP Port 50443 → IPv4 TCP Port 51443

  • IPv4 TCP Port 50443 → IPv4 TCP Port 50443

This last routine record is required only when different DDBC320-DALI have common areas. When the network is busy, there may be performance issues as this routing record will result in all messages from every DDBC320-DALI being routed to all other DDBC320-DALI controllers. In this case it may be necessary to have separate secure ports (with different port numbers) for groups of DDBC320-DALI controllers that have common areas.

Additional routing records may be added according to the options (if any) selected on the Configure Connections step.

Connecting to the Ethernet Trunk

Once each EG has been configured as a DyNet translation bridge, it will carry DyNet2 messages over the Ethernet trunk. The bridge translates the DyNet1 messages on the spur to DyNet2 on the trunk.

When SB is connected to the trunk, all configured EGs are automatically connected and are marked with the sb icon connected above 'connected upstream' icon.

In a multi-spur network, SB can communicate using an Ethernet trunk connection. This allows one commissioning engineer to commission the entire system from a single PC.

sb device tree connected trunk
  • Before you can connect System Builder via a trunk connection, you must have previously run the Bridge Configuration Wizard on each EG to configure the translation and then saved the changes to each device. The Bridge Configuration Wizard disables the IPv6 default multicast connection after saving to the EG. This means SB must now connect to the gateway using the Ethernet Trunk Connection or serial connection.

  • Configure a secure trunk port in the Ports editor or Bridge Configuration Wizard for SB/SM to connect securely.

Connect SB to the trunk:
  1. Plug your PC into the router router/switch with an Ethernet cable, or connect over Wi-Fi.

  2. Ping the IP address of each EG to check the connection (ensure your PC is on the same subnet as the EGs).

  3. Launch SB. If you haven’t already added the EGs to the current job, add them now by searching or sign-on.

  4. Select the job name in the Device tree.

  5. Open the Connection Settings tab and select Connection Settings > Use Ethernet Trunk Connection.

  6. From the dropdown list, select the required connection type:

    • TCP only

    • WebSocket Connection (if available)

    • TCP TLS (Secure Trunk)

    The EGs in your system are listed in the Ethernet Trunk Connection Settings table at the bottom of the page, with each EG’s Bridge Name, Box Number, IP address, Port, Routing, Tx Delay and current Status.

    From here, all connections can be enabled/disabled (see screenshot below).

  7. At the top of the page, under Trunk Connection, click the Connect button.
    SB connects to each EG using the connection settings previously defined by the Bridge Configuration Wizard.

sb job connected ethernet trunk
Ethernet trunk connection
  • WebSocket and secure trunk connections are only valid when connecting to PDDEG-S (not PDEG).

  • SB can connect to the system from the context menu by right-clicking a selected EG or the top-level job name in System view, or via the Connection Settings editor.

  • Select an EG in the Device tree before adding other devices to the spur.

  • When searching for spur devices on the network while SB is connected to the trunk, ensure that you enter the address offset in the search parameters. For example, if the trunk gateway is configured with an offset of 1000, enter a minimum of 1000 and a maximum of 1099 to find devices connected to this spur.

Connecting to a Serial Spur

In an RS-485 multi-spur network, SB can communicate with the network using a spur connection to a trunk gateway (EG or DDNG485). This allows multiple people to configure different parts of the system at the same time, considerably reducing commissioning time.

sb device tree connected spur
Connect SB to the spur:
  1. Plug a USB PC node into the commissioning PC and then into a DyNet port on the same spur as the EG.

  2. Launch SB.

  3. In the Device tree, select the EG you want to connect to.

  4. Open the Connection Settings tab and select either Use machine connection settings or Use job specific connection settings.

  5. Click the Configure button. SB displays a list of discovered connections.

  6. Select Connection Type > Serial and in the Connection Details list select Prolific USB-to-Serial, then click the OK button.

    sb machine connection settings serial
  7. At the top of the page, click the Spur Connection > Connect/Reconnect button. SB connects to the selected EG.

  8. Confirm that you are connected to the correct EG in the Device tree before adding other devices to the spur.

sb job connected spur
Serial spur connection
  • To avoid making any unwanted changes to the system, you can toggle Trunk/Spur Connection > DyNet Mute to On. This enables SB to receive but not send DyNet messages.

    This safeguard is enabled by default for online connection to the cloud gateway (if applicable). To automatically enable it for all connections, or to set a timeout (i.e., unmute after X minutes of inactivity), click the Configure… button.

  • You can perform wireless commissioning by connecting to the RS-485 spur using your bundled wireless router and EG (that is not part of the job), by plugging it into a DyNet port on a spur.

  • When searching for devices on the network while SB is connected to the spur, you do not need to enter an offset in the search parameters. For example, regardless of the offset configured in the EG, simply use the default minimum of 0 and a maximum of 99 (or 999 for a DyNet2 spur) to find devices connected to this spur.