Wiki source code of DIN-CENCN-2 Setup
Version 6.1 by Alexander Mott on 2022/09/16 20:54
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | (% class="row" %) | ||
6 | ((( | ||
7 | = DIN-CENCN-2s in SHOWRUNNER™ = | ||
8 | |||
9 | DIN-CENCN-2s are Cresnet-to-Ethernet bridges which convert data over the Cresnet bus into high-speed Ethernet traffic. This helps avoid issues with bandwidth over the Cresnet bus for jobs which have a large number of Cresnet devices, as well as allowing for additional power supplies to provide power Cresnet devices. | ||
10 | |||
11 | For SHOWRUNNER™ installations, the IP address of the DIN-CENCN-2 does not matter as long as it is in the same range as the processor and does not conflict with any other devices on the network. Instead, DIN-CENCN-2s are identified to the processor via their IP-ID. Note that which Cresnet devices are landed at each Net of each DIN-CENCN-2 matters, and if devices are moved between Nets or between DIN-CENCN-2s then the configuration will need to be updated (see below). Chief Integrations typically provides an SRTakeoff.xlsx spreadsheet with an IP Table tab that lists all the DIN-CENCN-2 IP-IDs in the program. If no takeoff is provided, then the processor's IP table can be checked by running the ##ipt -t ##command from the processor after the configuration is loaded. DIN-CENCN-2's will typically have IP-IDs in the "##Dx##" range. | ||
12 | |||
13 | = IP Configuration = | ||
14 | |||
15 | Typically, each DIN-CENCN-2 will need to be initially configured via USB, unless their MAC addresses are already known and the lighting network has a DHCP server (either by running DHCP server software on your computer, or if the processor has a control subnet or is running the [[SHOWRUNNER™ DHCP Server>>doc:SHOWRUNNER™ User Guide & Wiki.Troubleshooting.DHCP Server.WebHome]]). | ||
16 | |||
17 | Whether connected to the DIN-CENCN-2 via USB or Ethernet, the process to configure the static IP addresses is the same: | ||
18 | |||
19 | * Open Text Console in Toolbox and connect to the DIN-CENCN-2 | ||
20 | * Run the following commands to configure the DIN-CENCN-2's IP settings (example is for a **10.0.0.0(% style="color:darkgoldenrod" %)/24(%%)** subnet, with a CENCN-2 IP address of (% style="color:blue" %)**10.0.0.12**(%%), a CENCN-2 IP-ID of (% style="color:olive" %)**D1**(%%), a processor IP address of (% style="color:orange" %)**10.0.0.10**(%%), and a hostname of (% style="color:purple" %)**CENCN-L1**(%%)) | ||
21 | ** Disable DHCP: ##dhcp off## | ||
22 | ** Set IP address: ##ipa 0 (% style="color:blue" %)**10.0.0.12**(%%)## | ||
23 | ** Set IP subnet mask: ##ipm 0 (% style="color:darkgoldenrod" %)**255.255.255.0**(%%)## | ||
24 | ** Set default gateway: ##defr 0 **10.0.0.1**## | ||
25 | ** Update IP table: ##addm (% style="color:olive" %)**D1**(%%) (% style="color:orange" %)**10.0.0.10**(%%)## | ||
26 | ** Set hostname: ##host (% style="color:purple" %)**CENCN-L1**(%%)## | ||
27 | ** Reboot the DIN-CENCN-2: ##reboot## | ||
28 | * Repeat for all DIN-CENCN-2s on the job | ||
29 | |||
30 | = Moving Cresnet Devices = | ||
31 | |||
32 | In SHOWRUNNER™, which Net each Cresnet cable is landed on is important. Each DIN-CENCN-2 is firmware limited to a maximum of 25 Cresnet devices per Net, and which CENCN-2/Net each device is on is tracked in the configuration file. If devices are moved between DIN-CENCN-2s or moved between Nets on the same DIN-CENCN-2, then the configuration file must be updated. Every device in the configuration has a ##"DeviceHostId"## (the host DIN-CENCN-2's IP-ID) and a ##"DeviceHostBranch"## (the Net of the DIN-CENCN-2) associated with it. | ||
33 | |||
34 | When moving devices between Nets or between DIN-CENCN-2's it is important to keep in mind several things: | ||
35 | |||
36 | 1. Cresnet IDs (##"DeviceConnectionId"##) cannot conflict with the Cresnet ID of any other devices defined in the config on the same host ID and branch | ||
37 | 1. Cresnet IDs must be in the hexadecimal range 03 to 1B | ||
38 | 1. Any children devices (such as NS occ sensors, photocells, GLPPA-KP keypads, etc.) must also be moved. If the parent Cresnet ID is changed then the children IDs must also be updated | ||
39 | 1. If devices are moved from a DIN-CENCN-2 to be landed directly on a processor (or landed on a DIN-HUB on a processor), then the device host ID should be ##null## and the host branch should be ##0## |