Canlan INSTALLATION MANUAL August 2014
Table of Contents Introduction... 4 Overview... 5 RJ45 Connector and Status LEDs... 5 Power Input... 6 RS232 / RS485 Connectors... 7 Installing the Canlan Software... 8 Connecting the Canlan to the PC... 9 Serial Connection... 9 Network Connection... 9 Making a Connection... 11 Setup and Configuration... 14 Address Configuration... 14 Operational Mode... 15 Remote Diagnostics... 16 Serial Interface... 17 Saving the Settings... 17 Commands... 18 Connecting the Canlan to a Control Panel... 19 Wiring (SmartLock)... 20 Wiring (Maestro)... 21 Configuring Host Software... 22 Maestro... 22 SmartLock Pro... 26 Determining MAC Addresses... 29 Appendix I... 31 Troubleshooting a Connection... 31 Copyright 2008 Cansec Systems Ltd. All rights reserved. CanLan Page 3 of 31
Introduction The Canlan network communications device provides seamless network connectivity for Cansec access control products. The CanLan supports up to 16 CP40 or 30 Smartlock control panels. On Maestro systems, network traffic only occurs when events or commands need to be relayed between the host and the control panels. Bandwidth is conserved through a complete implementation of the CP40 protocol on the control panels. A standard 10 Base-T network connection is provided for interfacing purposes. This allows the use of low cost Category 3 (or higher) unshielded twisted pair wiring, typically present in most LAN environments. With onboard processing and low bandwidth usage, the Canlan offloads work from host software with minimal impact on shared networks. Key Features Supports RS485 communications Supports up to 16 CP40 control panels Supports up to 30 SmartLock Pro control panels Onboard communication application conserves bandwidth Minimal impact on shared networks CanLan Page 4 of 31
Overview The Canlan consists of: 5 status LEDs 3 interface connectors 1 AC adaptor plug* *an access panel's battery backup can also be used (see the section on Power) RJ45 CONNECTOR AND STATUS LEDS The front of the Canlan (shown below) houses the RJ45 interface and the status LEDs. F A C D E B A RS232 Port Activity LED flashes when there is activity on the RS232 interface B RS485 Port Activity LED flashes when there is activity on the RS485 interface C Link Activity LED flashes on reception/transmission of Ethernet frames D Link Status LED indicates an active connection between Canlan and hub when lit E Power LED indicates that the Canlan is on when lit F 10 Base-T Connector standard 10 Base-T RJ45 connector for use with a crossover or straight through cable CanLan Page 5 of 31
POWER INPUT There are two options for providing power to the Canlan: 1. AC input 2. 12 VDC input AC Adaptor The supplied AC power adapter can be plugged into the AC adaptor connector on the back of the Canlan. NOTE: a power outage will result in a 20-30 loss of connectivity to the device. 12 VDC Battery Backup (recommended) The Canlan can be wired via the RS485 header connector to a Cansec access control panel's 12 VDC output. Wiring the Canlan to a panel with battery backup will prevent the unit from being reset during an AC power failure. AC Adaptor Connector RS485 Header Connector GND ( ) NEG 12 VDC (+) POS CanLan Page 6 of 31
RS232 / RS485 CONNECTORS RS232 Female DB9 Connector RS485 Header Connector RS232 Female DB9 Connector The female DB9 connector supports a 3-wire interface with the following pin-outs: 1. Not Used 2. RX 3. TX 4. Not Used 5. Gnd 6. Not Used 7. Not Used 8. Not Used RS485 Header Connector The RS485 header connector has the following pin-outs: 1. RS485A 2. RS485B 3. GND* 4. Reserved 5. Reserved 6. +12V DC* *use when wiring Canlan to battery backup CanLan Page 7 of 31
Installing the Canlan Software 1. Insert the mini CD into your computer's CD drive. 2. Go to My Computer and double-click your computer's CD drive. 3. Double-click Setup.exe. 4. Follow the installation instructions. CanLan Page 8 of 31
Connecting the Canlan to the PC For first-time configuration, a serial connection is most often used, but the following outlines how to connect the Canlan to the PC using either of the following methods: Serial Connection Network Connection SERIAL CONNECTION 1. Connect the CanLan to the PC using the DB9 data cable provided. 2. Continue to the Making a Connection section on page11. NETWORK CONNECTION Before connecting the CanLan and the PC using a network connection, you must first change the host PC's IP address. 1. Go to Start > Control Panel >Network Connections. 2. Right-click on the PC's ethernet connection and choose Properties from the context menu. NOTE: You may first have to disable any wireless network connections. CanLan Page 9 of 31
3. Select Internet Protocol (TCP/IP) from the list and press the Properties button. 4. Write down your current settings. 5. Select Use the following IP address and enter: IP address = 10.0.0.1 Subnet Mask = 255.255.255.0 Default Gateway = 10.0.0.1 6. Click OK. 7. On the Local Area Network Properties window, click OK. CanLan Page 10 of 31
8. Connect the CanLan to the PC using the Cat5 crossover cable provided. 9. Continue to the Making a Connection section below. Making a Connection NOTE: When you power on the CanLan, it will enter a 20-second configuration mode. LED B (RS485 Port Activity) will be illuminated during the 20-second configuration period. You must make a connection from the configuration software to the CanLan during the 20-second configuration period. If the 20-second configuration period expires before you make a connection, simply power the CanLan off and then power it back on again. This will reset the CanLan and put it back into configuration mode for 20 seconds, and you can attempt another connection. 1. Go to Start>All Programs>Canlan>Launch Configuration Software. 2. Plug the 12V AC-DC adaptor into an electrical outlet, and plug it into the CanLan. 3. This will power on the CanLan and reset the unit into a 20-second configuration mode. 4. LED B (RS485 Port Activity) will be illuminated for 20 seconds. CanLan Page 11 of 31
5. While LED B is illuminated, make a connection by choosing Connect from the CanLan Configuration Software main menu. 6. If LED B is on, choose your connection method: If you are using a serial connection, choose Connect via Serial Port and choose the appropriate COM Port from the drop-down menu. The COM Port number can be found by going to Control Panel > System > Hardware > Device Manager 7. If you are using a network connection, choose Connect via Network and enter the CanLan's default IP address: 10.0.0.100. If LED C is not illuminated on the CanLan, a proper electrical connection does not exist between the PC and the Canlan. This may indicate problems with the crossover cable, Canlan, or host PC ethernet card. CanLan Page 12 of 31
8. If LED B is off, first power the CanLan off and on again, and then make your selection (as above). 9. Press OK. 10. Once a connection is established, the configuration software will retrieve the current data from the CanLan. 11. The red connection icon at the bottom of the configuration software window will change to green and the message Unit Online will be displayed. LED B will stay on until Quit is pressed. Troubleshooting Tips If a connection cannot be established, the connection icon will remain red and the status line will report Unit Offline. Verify the CanLan Connection If you are using a network connection, go to Start >Run and type cmd and click OK to launch the Windows command prompt. Type ping 10.0.0.100 and then hit the Enter key on your keyboard. If there is no reply, double-check the cable connection and/or IP settings. Try a Serial Connection If successive attempts to establish a network connection are unsuccessful, try using a serial connection instead. For more troubleshooting tips, see the Troubleshooting a Connection section at the end of this manual. CanLan Page 13 of 31
Setup and Configuration NOTE: The following describes how to configure the Canlan using Canlan Version 7 software. To use this software, the Canlan must be using Version 7 firmware. If you are using an older version of the Canlan firmware, a firmware update kit is available from Cansec Systems. The configuration menu is grouped into four sections: Address Configuration, Operational Mode, Remote Diagnostics, and Serial Interface. Each section reflects a group of settings that will be stored in the Canlan's flash memory. ADDRESS CONFIGURATION The Address Configuration section defines the static IP address that will be assigned to the Canlan as well as its subnet mask and gateway address in the event the host PC is on a different subnet than the Canlan. In most corporate environments, the specific values for the IP address, subnet mask and gateway must be obtained from the IT staff managing the network. Failure to do so could result in address conflicts and other routing errors. Enter the following information: IP Address Subnet Mask Gateway Port CanLan Page 14 of 31
OPERATIONAL MODE Operational Mode The Canlan supports several modes of operation, some intelligent, designed to ease host workload and network traffic and others acting as simple Ethernet to RS485 bridges. The modes are selectable on a product basis for simplicity. Choose one of the three operational modes: Maestro SmartLock Pro/Connect Zodiac Max Idle Auto-Disconnect The idle auto-disconnect inactivity timer drops any active host connection after a specified interval (in minutes) during which no data is transmitted or received. This option helps prevent against a hung connection with a host which has gone offline without properly closing the socket connection or other situations where packet loss may occur. Recommended Setting For SmartLock Pro/Connect, it is highly recommended that idle autodisconnect is enabled with a value of 1 for the duration in minutes. Idle auto-disconnect is not needed for Maestro systems, because the Maestro interface monitors the connection to ensure it is active. CanLan Page 15 of 31
REMOTE DIAGNOSTICS The Canlan provides a rich set of diagnostic features to assist in both the installation and ongoing maintenance of field hardware. Additionally diagnostic software is available to assist in connectivity issues between a host and a Canlan (See the Canlan Troubleshooting Guide for more details). The Canlan implements a set of diagnostic commands which can be issued from the Advanced Diagnostic software tool. In addition, it continues to support execution tracing at selectable detail levels via Telnet or the Advanced Diagnostic software tool. Enable Remote Diagnostics The remote diagnostic interface available on port 23 can be disabled if network security is essential. Optional Password If remote diagnostics is enabled, an optional 8-character password can be entered to control access to diagnostic commands and the information they provide. CanLan Page 16 of 31
SERIAL INTERFACE In this section, select which of the two available serial interfaces will be used for the connection between the Canlan and the control panel(s). NOTE: this does not refer to the connection type used to configure the CanLan. RS232 Interface. If the CanLan will be connected to the control panels using an RS232 connector, choose RS232 Interface. This refers to the connection type between the Canlan and the control panels, not the cable type used to configure the Canlan. RS485 Interface. If the Canlan will be connected to the control panels using an RS485 connector, choose RS485 Interface. Setup When an operational mode is chosen, the default communication parameters are set for the selected control panel type. These settings may be overridden by clicking the Setup button. The current communication parameters are displayed in the status bar below the interface selection buttons for easy confirmation. SAVING THE SETTINGS Choose SAVE from the commands at the bottom of the menu screen. NOTE: If you used a network connection to configure the CanLan, change your PC's IP address information back to the original settings. CanLan Page 17 of 31
COMMANDS The configuration software provides a set of command buttons for reading and writing the flash configuration as well as setting factory defaults. The buttons and their actions are listed below. Load Save Version Default Connect Quit uploads the flash memory configuration from the Canlan replacing the existing settings downloads the current settings to the Canlan and writes them to flash memory displays the Canlan firmware revision information sets all parameters to their default values in the configuration software Note these defaults are not set in the Canlan flash memory unless the Save button is pressed initiates a connection with a Canlan closes the connection with the Canlan and immediately begins execution as per the selected operating mode CanLan Page 18 of 31
Connecting the Canlan to a Control Panel The Canlan may be connected to up to 16 CP40 access control panels or up to 30 SmartLock access control panels. Refer to the SmartLock Pro Installation Manual or the CP40 Installation Manual for details on connecting the access control panel to the Canlan. CanLan Page 19 of 31
RS-485 OFF 8 1 ON +5V +12V OFF 8 1 ON +5V +12V WIRING (SMARTLOCK) GND +12 VDC SMARTLOCK CONTROLLER #1 NOTE: The EIA RS-485 standard does not permit T-Tap or Star connections. NOTES: - Each Smartlock controller must have a unique address ADDRESS 1 SHOWN (Dipswitch 1 is OFF) - For communication wiring, use 22 AWG, twisted pair, stranded, shielded cable, 2000ft ( 609 m) MAX total length. 1 2 3 4 5 6 7 8 ON GND +12 VDC SMARTLOCK CONTROLLER #2 - Canlan needs to be configured for RS-485 communications. Refer to the Canlan Installation and Configuration guide for details. COMMS LED N/C N/C N/C ADDRESS SWITCH ON B A GND N/O N/O N/O B A GND POWER: - It is highly recommended that the Canlan be powered by 12 VDC output from a Cansec access control panel with battery backup. This will prevent connectivity loss during a power outage. SHIELD SHIELD B A GND Option 1: 12 VDC AC-DC Adaptor TO OTHER SMARTLOCK CONTROLLERS - 30 CONTROLLERS MAXIMUM - 609 m (2000 ft.) MAXIMUM LENGTH OR CANLAN TCP\IP CONTROLLER Option 2: GND +12 VDC + CanLan Page 20 of 31
WIRING (MAESTRO) NOTE: It is highly recommended that the Canlan be powered by 12 VDC output from a Cansec access control panel with battery backup. This will prevent connectivity loss during a power outage. NOTE: The EIA RS-485 standard does not permit T-Tap or Star connections. GND +12 VDC + RS485 5 8 7 CanLan Page 21 of 31
Configuring Host Software Once the Canlan has been configured and connected to a control panel, test the configuration by attempting a connection to the Canlan from the appropriate host software. The following sections give a brief overview of how to define a new Canlan using either: Maestro software Smartlock Pro software. MAESTRO Canlans are defined within Maestro as virtual trunk lines beginning at trunk 17 through trunk 256. The virtual trunks are configured by choosing EDIT > SYSTEM > NETWORK TRUNK ADDRESSES from the menu. CanLan Page 22 of 31
Once selected, the Network Trunk Addresses dialog is displayed. From this dialog, network trunks may be added, edited or deleted. Each network trunk refers to a Canlan and the Canlan s IP address and TCP port must be entered here. Once a new trunk has been defined, Maestro (or the Maestro server if a network version) must be restarted before the changes will take place. Restart the software and view the current connection status of the trunk by choosing VIEW > COMMUNICATIONS from the menu. The communications status window will be displayed. Select the trunk line from the drop list at the bottom to display the desired Canlan connection. The Canlan IP address, port and connection status are shown. Control panels should be added to test the RS232/RS485 side of the connection. To add new CP40 control panels, choose EDIT > PANEL DEFINITIONS from the menu. The panel selection list is shown first. Choose NEW to add a new control panel to the Canlan virtual trunk. The panel definition dialog is shown below. CanLan Page 23 of 31
This example assumes that a CP40 control panel has been wired to the Canlan and configured appropriately. In the first edit box (Panel Address) the control panel panel address must be entered as set on the CP40 address dip switches. In the next entry, enter the number of the new virtual trunk we defined in the Network Trunk Definitions dialog. Enter one or more card readers each with its own unique reader id and name and then press OK. We now have defined both the Canlan and one CP40 control panel which is connected to it. Once again, check the communication statistics by choosing VIEW -> COMMUNICATIONS from the menu. CanLan Page 24 of 31
Communication Problems If there is a communication problem between the Canlan and the access control panel, it will be reflected in the Timeouts column for each respective control panel. The Timeouts column counts the failure of the control panel to respond to data polls by the Canlan. CanLan Page 25 of 31
SMARTLOCK PRO Each reader or SmartLock control panel defined within the SmartLock Pro software has a connection tab where the means of communication is defined. After connecting a SmartLock control panel to the Canlan, run the Pro software and choose the Readers view. Press NEW on the toolbar to define a new reader. The reader definition dialog at right is displayed. Enter the address of the new control panel that was connected to the Canlan and give it a name. Select the Connection tab Direct Serial Connection - choose this option if the control panel connects to the PC through a serial communications device (CLAUSB). Network Connection - if the control panel connects to the PC through a CanLan, choose this option and enter the static IP address of the CanLan Host Name - if you have given the CanLan a name on the DNS server, choose this option and enter the port number. Check with your system administrator for host name. CanLan Page 26 of 31
Verify the Canlan connection by selecting VIEW > STATISTICS from the menu bar. The communication statistics window will appear, displaying statistics about connected control panels as well as information regarding the current Canlan connection state. Network Column The Network column indicates whether the control panel is connected via a Canlan or not. CanLan Page 27 of 31
Net Status Column If a control panel is connected to via the Canlan, the Net Status column indicates the current connection state between the host and the Canlan. If the host is attempting to connect but has not completed a connection, the status will be displayed as Connecting. Under normal circumstances, this should switch to the Connected status within a second or two after the connection is initiated. If the status remains in the Connecting state, then there maybe an issue with that Canlan configuration or socket connectivity issues through routers and/or firewalls. Offline Column The Offline column displays the actual control panel status and maybe either Yes or No. Yes means that the Canlan is good, but the control panel is not responding. This may indicate control panel address problems, wiring problems between the Canlan and SmartLock control panel or incorrect interface or operational mode selection within the Canlan configuration software. CanLan Page 28 of 31
Determining MAC Addresses Some installations may require Canlan MAC address information for switching or filtering purposes. A MAC address consists of 6 bytes typically expressed in hexadecimal format. The first 3 bytes are a manufacturers code and are fixed. The remaining 3 bytes are unique for each device produced by that manufacturer. The manufacture s code for the Canlan is 00-90-C2 with the remain 3 bytes differing for each unit. If the Canlan is currently installed and operational, the MAC address can be determined using the arp program available from the command line. Open a command line window and enter the commands as shown below. In this example, the Canlan at IP address 10.0.0.253 has a MAC address of: 00-90-C2-C3-EB-B8 CanLan Page 29 of 31
If the unit has not been installed yet, the last three bytes (6 characters) are stenciled on the CPU module as shown below. The MAC address is the same as the previous example: 00-90-C2-C3-EB-B8 CanLan Page 30 of 31
Appendix I TROUBLESHOOTING A CONNECTION Invalid Configuration If during startup, the Canlan determines that the current flash memory configuration is invalid, LED B will flash on and off every second. The Canlan will default to IP address 10.0.0.100. It is important to note the status of LED B (RS485 Port Activity) if connecting through the Ethernet interface. Troubleshooting an Invalid Configuration If LED B is flashing, first make sure all information entered in the configuration software (including IP address) is correct and then press SAVE. Power off the Canlan, wait a few seconds, and power it back on again. LED B should stop flashing while in the 20-second configuration mode. Recheck the information entered in the configuration software. Configuration vs Host Software Host software such as Maestro or Smartlock Pro will be unable to connect to a Canlan while an active connection exists between the Canlan and the configuration software. NOTE: if you are attempting to reconfigure a Canlan that has already been configured, don't enter the default IP address (10.0.0.100). Use the IP settings that were programmed into the Canlan when it was configured. If you do not know the origingal IP settings, use a serial connection instead. CanLan Page 31 of 31