Wiki source code of DIN-CENCN-2 Setup
Last modified by Alexander Mott on 2024/02/09 01:01
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
10.1 | 1 | {{box cssClass="floatinginfobox" title="**CONTENTS**"}} |
![]() |
6.1 | 2 | {{toc/}} |
3 | {{/box}} | ||
![]() |
1.1 | 4 | |
![]() |
15.1 | 5 | 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. They are analogous to [[CEN-GWEXERs>>doc:SHOWRUNNER™ Setup Guide.SHOWRUNNER™ Installation Guide.SHOWRUNNER™ Installation and Network Setup.CEN-GWEXER Setup.WebHome]] for Crestron wireless systems. |
![]() |
1.1 | 6 | |
![]() |
3.1 | 7 | 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. |
![]() |
1.1 | 8 | |
![]() |
6.1 | 9 | = IP Configuration = |
![]() |
1.1 | 10 | |
![]() |
18.1 | 11 | Typically, each DIN-CENCN-2 will need to be initially configured via USB (USB Type B) unless their MAC addresses are already known and the lighting network has a DHCP server. If the DHCP server on the network is temporary (e.g. DHCP server software running on your computer or a processor utilizing the [[ShowRunner™ DHCP Server>>url:https://wiki.chiefintegrations.com/SHOWRUNNER%E2%84%A2%20Setup%20Guide/Troubleshooting%20Guide/Advanced%20Tools/DHCP%20Server/]]), then static IP addresses must be configured. If the DHCP server is permanent (such as a CP4N or ZUM-HUB4 Control Subnet), then only the IP table needs to be configured for the devices. |
![]() |
1.1 | 12 | |
![]() |
18.1 | 13 | == DHCP Configuration == |
![]() |
1.1 | 14 | |
![]() |
18.1 | 15 | If the lighting network has a permanent DHCP server, then DIN-CENCN-2s only require their IP table to be configured, though it is good practice to also record or update their hostname. If the MAC addresses for the DIN-CENCN-2s are not known, then the best way to update their configuration is via USB (USB Type B). If you are able to identify the DIN-CENCN-2s by MAC address, then it is possible to configure these settings via Ethernet using Text Console. Whether connected to the DIN-CENCN-2 via USB or Ethernet, the process to configure the IP table and hostname is the same: |
16 | |||
![]() |
1.1 | 17 | * Open Text Console in Toolbox and connect to the DIN-CENCN-2 |
![]() |
18.1 | 18 | * Run the following commands to configure the DIN-CENCN-2's IP table and hostname (example is for a CENCN-2 IP-ID of (% style="color:olive" %)**D1**(%%), a processor IP address of (% style="color:orange" %)**172.22.0.1**(%%), and a hostname of (% style="color:purple" %)**CENCN-L1**(%%)) |
19 | ** Update IP table: ##addm (% style="color:olive" %)**D1**(%%) (% style="color:orange" %)**172.22.0.1**(%%)## | ||
20 | ** Set hostname: ##host (% style="color:purple" %)**CENCN-L1**(%%)## | ||
21 | ** Reboot the DIN-CENCN-2: ##reboot## | ||
22 | * At this point, it is a good idea to [[update the device firmware>>doc:SHOWRUNNER™ Setup Guide.SHOWRUNNER™ Installation Guide.SHOWRUNNER™ Installation and Network Setup.Updating Firmware.WebHome]] | ||
23 | * Repeat for all DIN-CENCN-2s on the job | ||
24 | |||
25 | == Static Configuration == | ||
26 | |||
27 | If there is no permanent DHCP server on the lighting network, then DIN-CENCN-2s should be configured with static IP addresses via USB (Type B). If a temporary DHCP server is connected to the lighting network and you are able to identify DIN-CENCN-2s by MAC address, then it is possible to configure these settings via Ethernet using Text Console. Whether connected to the DIN-CENCN-2 via USB or Ethernet, the process to configure the static IP addresses is the same: | ||
28 | |||
29 | * Open Text Console in Toolbox and connect to the DIN-CENCN-2 | ||
![]() |
1.1 | 30 | * 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**(%%)) |
31 | ** Set IP address: ##ipa 0 (% style="color:blue" %)**10.0.0.12**(%%)## | ||
32 | ** Set IP subnet mask: ##ipm 0 (% style="color:darkgoldenrod" %)**255.255.255.0**(%%)## | ||
33 | ** Set default gateway: ##defr 0 **10.0.0.1**## | ||
![]() |
16.1 | 34 | ** Disable DHCP: ##dhcp off## |
![]() |
1.1 | 35 | ** Update IP table: ##addm (% style="color:olive" %)**D1**(%%) (% style="color:orange" %)**10.0.0.10**(%%)## |
36 | ** Set hostname: ##host (% style="color:purple" %)**CENCN-L1**(%%)## | ||
37 | ** Reboot the DIN-CENCN-2: ##reboot## | ||
![]() |
17.1 | 38 | * At this point, it is a good idea to [[update the device firmware>>doc:SHOWRUNNER™ Setup Guide.SHOWRUNNER™ Installation Guide.SHOWRUNNER™ Installation and Network Setup.Updating Firmware.WebHome]] |
![]() |
1.1 | 39 | * Repeat for all DIN-CENCN-2s on the job |
40 | |||
![]() |
14.1 | 41 | = Useful Commands = |
42 | |||
43 | Below is a list of useful commands that can be used with DIN-CENCN-2 to help with troubleshooting Cresnet issues. | ||
44 | |||
45 | * ##ppndiscover## - this command scans each of the DIN-CENCN-2's Nets and prints out a list of connected Cresnet devices identified by their connection ID and their TSID | ||
46 | * ##cnettest## - this command scans each Net and prints a summary of the number of devices on each net as well as any Cresnet issues found (e.g., "Y short to Z" or "Power Fault") | ||
47 | |||
![]() |
6.1 | 48 | = Moving Cresnet Devices = |
![]() |
1.1 | 49 | |
50 | 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. | ||
51 | |||
52 | When moving devices between Nets or between DIN-CENCN-2's it is important to keep in mind several things: | ||
53 | |||
54 | 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 | ||
55 | 1. Cresnet IDs must be in the hexadecimal range 03 to 1B | ||
56 | 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 | ||
57 | 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## |