background image

Installation and Configuration Guide

Summary of Contents for DeviceMaster PRO

Page 1: ...Installation and Configuration Guide ...

Page 2: ...ct names mentioned herein may be trademarks and or registered trademarks of their respective owners Sixth Edition November 14 2018 Copyright 2001 2018 Comtrol Corporation All Rights Reserved Comtrol Corporation makes no representations or warranties with regard to the contents of this document or to the suitability of the Comtrol product for any particular purpose Specifications subject to change ...

Page 3: ...DIN Rail Terminal Block Installation 18 DM 2102 and DM 2302 2 Port DIN Rail DB9 Installation 20 DM 2304 4 Port DIN Rail DB9 Installation 22 4 Port and 8 Port Installation 23 16 Port DeviceMaster RTS External Power Supply Installation 25 16 Port DeviceMaster PRO Installation 27 16 32 Port Rack Mount Models Internal Power Supply Installation 29 Adding a Unit to an Existing Installation 30 Replacing ...

Page 4: ... Configuration 63 Web Browser 63 PortVision DX 63 SocketServer Versions 64 DeviceMaster Security 65 Understanding Security Methods and Terminology 65 TCP and UDP Socket Ports Used by the DeviceMaster 70 DeviceMaster Security Features 71 Security Modes 71 Secure Data Mode and Secure Config Mode Comparison 72 Security Comparison 73 SSH Server 73 SSL Overview 74 SSL Authentication 74 Server Authentic...

Page 5: ...nectors 97 Screw Terminal 8 Null Modem Cables RS 232 98 Screw Terminal 8 Null Modem Cables RS 422 98 Screw Terminal 8 Straight Through Cables RS 232 485 99 Screw Terminal 8 Loopback Signals 99 Connecting Serial Devices 99 Nine Screw Terminals DM 2201 100 Screw Terminal Connectors 9 100 Screw Terminal 9 Null Modem RS 232 Cables 100 Screw Terminal 9 Null Modem RS 422 Cables 101 Screw Terminal 9 RS 2...

Page 6: ...ions PortVision DX 122 Telnet Session 122 SSH Session 124 Accessing RedBoot Commands in Telnet SSH Sessions PortVision DX 126 RedBoot Procedures 131 Accessing RedBoot Overview 131 Establishing a Serial Connection 132 Establishing a Telnet Connection 133 Determining the Network Settings 134 Configuring the Network Settings 134 Changing the Bootloader Timeout 135 Determining the Bootloader Version 1...

Page 7: ...ning Ports 154 Sending and Receiving Test Data RS 232 422 485 4 Wire 155 Loopback Test RS 232 156 Sending and Receiving Data RS 485 2 Wire 156 Socket Mode Serial Port Testing 160 Daisy Chaining DeviceMaster 4 8 16 Port Units 166 DeviceMaster LEDs 167 TX RX LEDs 167 Network and Device LEDs 167 Removing DeviceMaster Security Features 169 Serial Connection Method 169 Returning the DeviceMaster to Fac...

Page 8: ...viii Table of Contents DeviceMaster Installation and Configuration Guide 2000594 Rev F Table of Contents ...

Page 9: ...des the following models DM 2000 series DeviceMaster PRO DeviceMaster RTS DeviceMaster Serial Hub The Guide refers to DeviceMaster unless there is model specific information Download links in this Guide typically point to an RTS subdirectory where the file resides that supports all DeviceMaster models Note The DeviceMaster LT provides different RJ45 pin outs and is not discussed in this guide Refe...

Page 10: ...verviews for your installation NS Link COM ports or secure COM ports NS Link COM Port Driver Installation Overview on Page 10 NS Link tty ports NS Link tty Port Installation Overview on Page 11 TCP IP socket ports TCP IP Socket Port Installation Overview on Page 11 NS Link COM Port Driver Installation Overview Use the following overview which are discussed in detail in the subsequent sections to i...

Page 11: ...ver you are ready to configure socket port or serial tunneling 2 Configure the serial socket ports using the PortVision DX property pages or enter the IP address in a web browser and use the SocketServer web pages You can refer to the SocketServer help system or Socket Port Configuration on Page 61 for information for configuration procedures 3 Connect the serial devices to the DeviceMaster Refer ...

Page 12: ...erver or device driver version This Guide Any You can check for the latest version of this Installation and Configuration Guide Product Type Connected to Connector Name DeviceMaster RTS 1 port panel mount Hub switch router or NIC 10 100 ETHERNET DM 2101 and DM 2201 1 port DIN Rail Hub switch router or NIC 10 100 DM 2201 and DM 2302 Formerly named the DeviceMaster RTS 2 port 1E models NIC 10 100 Hu...

Page 13: ...M 2102 and DM 2302 2 Port DIN Rail DB9 Installation on Page 20 4 Ports DM 2304 DB9 serial ports DIN rail DM 2304 4 Port DIN Rail DB9 Installation on Page 22 4 or 8 Ports DB9 serial ports with dual Ethernet ports 4 Port and 8 Port Installation on Page 23 16 Ports RJ45 serial ports with dual Ethernet ports 16 Port DeviceMaster RTS External Power Supply Installation on Page 25 16 or 32 Ports RJ45 ser...

Page 14: ... Make sure the screws on both DIN rail clips line up Note If you need to remove the DeviceMaster from the DIN rail exert pressure on the backside of the tabs at the bottom of both DIN rail clips f Attach the DeviceMaster to the DIN rail Note Do not connect multiple units until you have changed the default IP address see Initial Configuration on Page 33 2 Connect the DeviceMaster port labeled 10 10...

Page 15: ...the Status LED has completed the boot cycle and network connection for the DeviceMaster is functioning properly using the table below Do not connect RS 422 485 devices until the IP address is configured and an appropriate port interface type has been configured The default port setting is RS 232 5 Go to Initial Configuration on Page 33 to configure the DeviceMaster for use 1 Port Panel Mount LED D...

Page 16: ...ned securely e Connect a UL Listed power supply and UL Listed power cord to a power source to apply power Note Do not connect multiple units until you have changed the default IP address see Initial Configuration on Page 33 3 Connect the 10 100 port to the same Ethernet network segment as the host PC using a standard network cable 4 Verify that the Status LED has completed the boot cycle and netwo...

Page 17: ...2101 and DM 2201 1 Port DIN Rail Power Supply on Page 140 for detailed power requirements c Use a small flat head screw driver to lock the wires into place d Verify that each wire has been tightened securely e Connect a UL Listed power supply and UL Listed power cord to a power source to apply power Note Do not connect multiple units until you have changed the default IP address see Initial Config...

Page 18: ... chassis ground connection is made only if the DIN rail is NOT connected to earth ground b Insert the DC positive wire into the screw terminal and the DC return wire into the screw terminal Refer to DM 2202 and DM 2402 2 Port Serial Terminals Power Supply on Page 141 for power requirements c Use a small flat head screw driver to lock the wires into place d Verify that each wire has been tightened ...

Page 19: ...nfigure the DeviceMaster for use DM 2202 and DM 2402 2 Port with Serial Terminal Connectors LED Descriptions STATUS The STATUS LED on the device is lit indicating you have power and it has completed the boot cycle Note The Status LED flashes while booting and it takes approximately 15 seconds for the Bootloader to complete the cycle When the Bootloader completes the cycle the LED has a solid stead...

Page 20: ... 2 5 30VDC serial number greater than xxxx 030000 A second redundant power supply can be connected to the unit by inserting the DC positive wire into the other screw terminal and the DC return wire into the screw terminal The DeviceMaster continues to operate if one of the two connected power supplies should fail Refer to the appropriate subsection for detailed power requirements DM 2102 and DM 23...

Page 21: ...onnect RS 422 485 devices until the IP address is configured and an appropriate port interface type has been configured The default port setting is RS 232 5 Go to Initial Configuration on Page 33 to configure the DeviceMaster for use DM 2102 and DM 2302 2 Port with DB9 Connectors LED Descriptions STATUS The STATUS LED on the device is lit indicating you have power and it has completed the boot cyc...

Page 22: ... small flat head screw driver to lock the wires into place d Verify that each wire has been tightened securely e Connect a UL Listed power supply and UL Listed power cord to a power source to apply power Note Do not connect multiple units until you have changed the default IP address see Initial Configuration on Page 33 3 Connect one of the 10 100 ports to the same Ethernet network segment as the ...

Page 23: ...figuration on Page 33 2 Connect the DeviceMaster to the same Ethernet network segment as the host PC If the DeviceMaster serial number is below xxxx 030000 use one of the following methods to connect the cable Serial numbers above xxxx 030000 the Ethernet port are interchangeable Ethernet hub or switch 10 100Base T Connect to the port labeled UP on the DeviceMaster using a standard Ethernet cable ...

Page 24: ... DeviceMaster is lit indicating you have power and it has completed the boot cycle Note The PWR LED flashes while booting and it takes approximately 15 seconds for the Bootloader to complete the cycle When the Bootloader completes the cycle the LED has a solid steady light that blinks approximately every 10 seconds LNK ACT The red LNK ACT LED is lit indicating that you have a working Ethernet conn...

Page 25: ...e operation of the DeviceMaster and to protect it from overheating maintain a minimum of 1 inch of clearance on all sides of the unit AC power inputs are intended to be used with a three wire grounding type plug which has a grounding pin Equipment grounding ensures safe operation Do not defeat the grounding means and verify that the DeviceMaster is reliably grounded when mounting within the rack N...

Page 26: ...TS 16 Port External Power Supply LED Descriptions Red LED Red LED on the front panel of the DeviceMaster is lit indicating you have power and it has completed the boot cycle Note The LED flashes while booting and it takes approximately 15 seconds for the Bootloader to complete the cycle When the Bootloader completes the cycle the LED has a solid steady light that blinks approximately every 10 seco...

Page 27: ...rom overheating maintain a minimum of 1 inch of clearance on all sides of the unit AC power inputs are intended to be used with a three wire grounding type plug which has a grounding pin Equipment grounding ensures safe operation Do not defeat the grounding means and verify that the DeviceMaster is reliably grounded when mounting within the rack Note Do not connect multiple units until you have ch...

Page 28: ...t has completed the boot cycle Note The LED flashes while booting and it takes approximately 15 seconds for the Bootloader to complete the cycle When the Bootloader completes the cycle the LED has a solid steady light that blinks approximately every 10 seconds LNK ACT The red LNK ACT LED is lit indicating that you have a working Ethernet connection COL If the red COL LED is lit there is a network ...

Page 29: ...s compatible with the maximum rated ambient temperature Make sure that the mechanical loading is level to avoid a hazardous condition such as loading heavy equipment in the rack unevenly The rack should safely support the combined weight of all equipment in the rack Slots and openings in the cabinet are provided for ventilation To ensure reliable operation of the DeviceMaster and to protect it fro...

Page 30: ...s easier to resolve than several at once 2 Power up the new DeviceMaster and verify that the PWR or Status LED lights 3 Program an IP address into the new DeviceMaster using PortVision DX 4 If necessary upload the latest firmware 5 Configure serial ports to support the serial devices or upload configuration files from PortVision DX 6 Connect the serial devices 16 32 Port Internal Power Supply LED ...

Page 31: ...to the network hub or server NIC 3 Apply power to the new DeviceMaster and verify that it passes the power on self test 4 Program the IP address of the new DeviceMaster 5 If necessary upload the latest protocol firmware 6 Configure any ports as necessary to match the previous unit or upload configuration files from PortVision DX 7 Transfer all cabling from the old DeviceMaster to the new DeviceMas...

Page 32: ...32 Hardware Installation DeviceMaster Installation and Configuration Guide 2000594 Rev F Hardware Installation ...

Page 33: ... 42 Organize how PortVision DX displays your Comtrol Ethernet attached products Access the latest documentation for your Comtrol Ethernet attached product PortVision DX Overview PortVision DX automatically detects Comtrol Ethernet attached products physically attached to the local network segment so that you can configure the network address upload firmware and manage the following products Device...

Page 34: ... PortVision DX operations that are affected how the DeviceMaster interacts with PortVision DX when security is enabled using the web interface SocketServer NS Link PortVision DX must scan the DeviceMaster before configuring security PortVision DX locates the DeviceMaster before setting either Secure Data Mode or Secure Config Mode If PortVision DX discovers the DeviceMaster after setting security ...

Page 35: ...y detects and identifies DeviceMaster units if they are in the same network segment 1 Download PortVision DX http downloads comtrol com dev_mstr portvision_dx Note Depending on your operating system you may need to respond to a Security Warning to permit access 2 Execute the PortVision_DX version msi file 3 Click Next on the Welcome screen 4 Review the CAUTION Read me file and then click Next ...

Page 36: ...ation and Configuration Guide 2000594 Rev F Installing PortVision DX 5 Click I accept the terms in the License Agreement and Next 6 Click Next or optionally browse to a different location and then click Next 7 Click Next to configure the shortcuts ...

Page 37: ...o the Do you want to allow the following program to make changes to this computer query 12 Select the Comtrol Ethernet attached products that you want to locate and then click Scan Note If the Comtrol Ethernet attached product is not on the local segment and it has been programmed with an IP address it will be necessary to manually add the Comtrol Ethernet attached product to PortVision DX 13 Go t...

Page 38: ... to the same network segment as the Windows system If the DeviceMaster is not on the same physical segment you can add it manually using Adding a New Device in PortVision DX on Page 105 1 If you have not done so install PortVision DX Installing PortVision DX on Page 35 2 Start PortVision DX using the PortVision DX desktop shortcut or from the Start button click Comtrol PortVision DX 3 Depending on...

Page 39: ... and open the Properties screen using one of these methods Double click the DeviceMaster in the Device Tree or Device List pane Highlight the DeviceMaster in the Device Tree or Device List pane and click the Properties button Right click the DeviceMaster in the Device Tree or Device List pane and click Properties in the popup menu Highlight the DeviceMaster click the Manage menu and then Propertie...

Page 40: ... the device to the network administrator Make sure that the administrator reserves the IP address subnet mask and gateway address of the DeviceMaster in the DHCP server To program a static IP address click Static IP and enter the appropriate values for your site Note For additional information open the PortVision DX Help system 11 Typically the Bootloader Timeout value should be left to it s defau...

Page 41: ...figuring socket ports Use the following procedure to check the SocketServer version on the DeviceMaster and check the ftp site for the latest version 1 If necessary open PortVision DX Comtrol PortVision DX or use the desktop shortcut and scan the network 2 Check the SocketServer version number of the Software Version for the DeviceMaster 3 Check the Comtrol ftp site to see if a later version is av...

Page 42: ...r configuration to avoid configuration problems You can use this procedure if your DeviceMaster is connected to the host PC laptop or if the DeviceMaster resides on the local network segment 1 Make sure that you have downloaded the latest SocketServer version from http downloads comtrol com dev_mstr rts software socketserver 2 If necessary open PortVision DX Comtrol PortVision DX or use the deskto...

Page 43: ...d click Refresh 6 If the upload fails reset the Bootloader timeout to 60 seconds and then repeat Steps 3 through 5 For procedures see Changing the Bootloader Timeout on Page 114 You are now ready to continue the installation and configuration process Device Driver NS Link Installation on Page 47 Socket Port Configuration on Page 61 Customizing PortVision DX You can customize how PortVision DX disp...

Page 44: ...ownload a document or documents 1 If necessary open PortVision DX Comtrol PortVision DX or use the desktop shortcut 2 Click Help Documentation 3 Optionally click the DOWNLOAD THECURRENTDOCUMENTATIONCATALOG ONLINE button to make sure that the latest documentation is available to PortVision DX 4 Select the product Category from the drop list 5 Select the document you want to download from the Docume...

Page 45: ...irectory and open the document 1 If necessary open PortVision DX Comtrol PortVision DX or use the desktop shortcut 2 Click Help Documentation 3 Click the Open the local copy of the document button to view the document Note If the document fails to open it may be that your browser has been disabled You can still access the document by clicking the Browse the folder for already downloaded documentat...

Page 46: ...46 Initial Configuration DeviceMaster Installation and Configuration Guide 2000594 Rev F How to Open Previously Downloaded Documents ...

Page 47: ... resides on the DeviceMaster Checking the SocketServer Version on Page 41 using PortVision DX or you can open your browser enter the DeviceMaster IP address to view the version on the Server Status page If necessary uploaded the latest version of SocketServer Uploading SocketServer with PortVision DX on Page 42 Note Technical Supports recommends that you update to the latest version of SocketServe...

Page 48: ... not want to install PortVision DX Page 35 to check the SocketServer version you can a Open SocketServer to check the version by opening your browser and entering the IP address of the DeviceMaster b Check the download site for the latest version http downloads comtrol com dev_mstr rts software SocketServer c If necessary download the latest version Note Technical Supports recommends that you upda...

Page 49: ...rivers on Windows systems Installation Overview for Windows The following NS Link device driver installation and configuration procedures are discussed in this subsection Install the NS Link device driver and DeviceMaster Drivers Management Console using the Installation Wizard Configure the COM ports using the DeviceMasterDrivers Management Console Configure device properties using the DeviceMast...

Page 50: ...nstallation 4 Click Next to install in the default location 5 Click Install 6 Leave the Launch DeviceMaster Driver Installation box checked If you do not check this box you can use the shortcut under the Start button at Comtrol DeviceMaster Driver Installation Wizard 7 Click Finish to complete the installation of the wizard ...

Page 51: ...ration Guide 2000594 Rev F Device Driver NS Link Installation 51 NS Link for Windows Installation 8 Click Next to start the driver installation 9 Click Install and Next 10 Select the DeviceMaster model that you are installing from the list ...

Page 52: ...ink for Windows Installation 11 Enter the quantity of this DeviceMaster model that you want to install and click Ok 12 Repeat Steps 10 and 11 for each DeviceMaster that you are installing and then click Next 13 Click Proceed You may see the popup at the right for each port depending on the operating system ...

Page 53: ... Configuration Guide 2000594 Rev F Device Driver NS Link Installation 53 NS Link for Windows Installation 14 Return to the Installation Wizard and click Close 15 Go to the next subsection for NS Link driver configuration procedures ...

Page 54: ...r under the start menu Comtrol DeviceMaster Driver Management Console 2 Highlight the Device Name of the DeviceMaster that you want to configure 3 Select the MAC address from the drop down list or enter the address from the MAC address label on the DeviceMaster If you programmed the IP address using PortVision DX the IP address displays in the IP Mode text box after you select the MAC address Note...

Page 55: ...the Drivers Management Console If you do not Apply the changes before leaving this screen you will be prompted to Apply Ignore or Cancel the changes Now that the MAC address has been associated to the DeviceMaster you can use the Network Settings screen to Change the IP address set the DeviceMaster to DHCP or Disable IP communications using the Network Settings button Reboot the DeviceMaster on th...

Page 56: ...S TCP connections to TCP port 4606 on which the DeviceMaster implements the Comtrol proprietary serial driver protocol are encrypted using SSL TLS Since SSL TLS can not be used for either UDP data streams or for the Comtrol proprietary MAC mode Ethernet driver protocol both UDP and MAC mode serial data transport features are disabled In addition to encrypting the data streams it is possible to con...

Page 57: ...Optionally set the TCP Timeout Multiplier value d Optionally click a different Scan Rate ms e Optionally click Verbose Event Log if you want to log additional DeviceMaster information into the event log f After making your changes click Apply if you have additional configuration procedures or click Ok if you have completed configuring your DeviceMaster Note You can refer to the help system if you ...

Page 58: ...ns application does not toggle RTS when transmitting in RS 485 mode If you are using an external RS 232 to RS 485 converter which is attached to a port that is configured for RS 232 d Click the appropriate options for your environment e Click OK to save the changes and return to the port General tab 3 If desired click the Clone check box to set all of the ports on this DeviceMaster to these charac...

Page 59: ...SL Mode in the driver you must Enable Secure Data Mode in the NS Link web page Use the following procedure to implement the Enable Secure Data Mode option 1 Access the NS Link web page using one of these methods Open your web browser enter the IP address and press Enter Right click the DeviceMaster in the Device List pane in PortVision DX and click Webpage 2 Click Network Security 3 Click Enable S...

Page 60: ...lation and Configuration Guide 2000594 Rev F Enabling Secure Data Mode 5 Click the appropriate Browse button to locate your key or certificate and click Save when you are done Click the Help button if you need information about key and certificate management ...

Page 61: ...e DeviceMaster including whether it is functioning in socket mode SocketServer or in NS Link driver See SocketServer Architecture on Page 62 for more information about socket port support The following menus are available in the web interface Port which includes the following pages Port Overview of all of the serial port settings Port Configuration for each port that includes Serial TCP connection...

Page 62: ...ct serial devices with an application that supports TCP IP socket communications addressing Serial tunneling mode is used to establish a socket connection between two DeviceMasters through an Ethernet network UDP mode is designed for applications that need faster data transmission or that make use of UDP s broadcast capabilities UDP differs from TCP in that a UDP transmission does not first requir...

Page 63: ...e Refer to the web page Help system if you need information about configuring sockets or serial tunneling which contains detailed configuration procedures and descriptions for all fields See Web Page Help System on Page 62 for information about downloading the help file separately 6 After changing the appropriate settings for your environment click Save 7 Click the Network tab to access the follow...

Page 64: ...web page is the same as the NS Link web page If the NS Link driver is not running not installed or disabled SocketServer loads when you open a web browser session Note The top illustration shows the web page before an NS Link device driver installation and the bottom illustration shows the web page after a device driver installation Your SocketServer or NS Link version may be different than these ...

Page 65: ...ertificates Client Authentication A process using paired keys and identity certificates to prevent unauthorized access to the DeviceMaster Client authentication is discussed in Client Authentication on Page 75 and Changing Keys and Certificates on Page 86 DH Key Pair Used by SSL Servers This is a private public key pair that is used by some cipher suites to encrypt the SSL TLS handshaking messages...

Page 66: ...the certificates Although the components of a PKI are generally understood a number of different vendor approaches and services are emerging Meanwhile an Internet standard for PKI is being worked on The public key infrastructure assumes the use of public key cryptography which is the most common method on the Internet for authenticating a message sender or encrypting a message Traditional cryptogr...

Page 67: ...ure Shell SSH allows data to be exchanged using a secure channel between two networked devices Replaces telnet which has no security SSH requires password authentication even if the password is empty See SSH Server on Page 73 for more information SSL Secure Sockets Layer The Secure Sockets Layer SSL is the predecessor of TLS Transport Layer Security SSL is a commonly used protocol for managing the...

Page 68: ...ross the Internet You use the private key to decrypt text that has been encrypted with your public key by someone else who can find out what your public key is from a public directory Thus if User A sends User B a message User A can find out User B s public key but not User B s private key from a central administrator and encrypt a message to User B using User B s public key When User B receives i...

Page 69: ...The following topic references are from http searchsecurity techtarget com PKI public key infrastructure How Public Private Key Cryptography Works Who Provides the Infrastructure Digital Certificate DH Key Man in the Middle attack The RSA Key pair topic reference is from http en wikipedia org wiki RSA Term or Issue Explanation Continued ...

Page 70: ...server can be disabled by setting the server port number to 1 and is enabled by default 161 SNMP UDP Port 161 is used by the SNMP agent if SNMP is enabled which is the default 4606 TCP Port 4606 is required if you want to use NS Link or PortVision DX if you want to update firmware without setting up a TFTP server and this port cannot be disabled 4607 TCP Port 4607 is only used for diagnostic purpo...

Page 71: ...in and ID commands are still allowed Requires SSL encryption of NS Link TCP connections Port 4606 Not directly supported by NS Link drivers for Windows and Linux The Linux driver has been tested using stunnel but manual setup is required Requires SSH instead of telnet connection to the diagnostic log TCP Port 4607 Two values for http READ and WRITE commands A2 Enable Secure Config Encrypts authent...

Page 72: ...d TCP 4606 admin SSL enabled clear disabled SSL disabled TCP 4606 async SSL clear SSL UDP disabled user configured disabled telnet RFC2217 user configured user configured user configured RFC1006 disabled user configured disabled 4607 diag log SSH telnet SSH 8000 serial port SSL clear SSL console config telnet on Port 23 SSH on Port 22 SSH on Port 22 SSH on Port 22 web clear on Port 80 SSL on Port ...

Page 73: ...sabled along with telnet access independently of Secure Data and Secure Config Modes The DeviceMaster uses third party MatrixSSH library from PeerSec Networks http www peersec com Weakest Strongest 0 1 2 3 3 4 Supported by None Password Authentication Secure Config Secure Data Key Certificate RedBoot yes yes yes no yes no SocketServer yes yes yes yes yes yes NS Link Driver MAC yes yes yes no no no...

Page 74: ...s signed by a trusted authority This verification requires that each party have access to the certificate key that was used to sign the other party s ID certificate Server Authentication Server Authentication is the mechanism by which the DeviceMaster proves its identity The DeviceMaster generally an SSL server can be configured by uploading an ID certificate that is to be presented to clients whe...

Page 75: ...uthentication certificate to the DeviceMaster Certificates can be obtained from commercial certificate authorities VeriSign Thawte Entrust and so forth Certificates can be created by users for their own use by using openssl command line tools or other applications Certificates and keys to be uploaded to the DeviceMaster must be in the DER binary file format not in the PEM ASCII file format The ope...

Page 76: ...w shows the number of ports that can be maintained by SocketServer at 100 throughput for various cipher suites and baud rates Note These throughputs required 100 CPU usage so other features such as the web server are very unresponsive at the throughputs shown above To maintain a usable web interface one would want to stay well below the maximum throughput port numbers above The overhead required t...

Page 77: ... two parties Typical options RC4 DES 3DES AES IDEA Camellia NULL The DeviceMaster supports RC4 3DES AES Message Authentication Code Hash function checksum used to verify that each message frame has not be corrupted or changed while in transit Typical options include MD5 SHA MD2 MD4 The DeviceMaster supports MD5 SHA In the design of the SSL TLS protocols the choices of four of the above are not ind...

Page 78: ...LS openssl contains command line tools to do the following More information is available at http www openssl org Create examine keys certificates Act as client or server ssldump is a command line tool that displays a human readable dump of an SSL connection s handshaking and traffic More information can be found at http www rtfm com ssldump If provided with server s private key can decrypt data st...

Page 79: ...r or the NS Link version Key and Certificate Management must be done using the Security tab in the DeviceMaster web pages If you want secure COM ports you must also Enable SSL Mode and enter any applicable server or client certificates in the NS Link device driver for Windows See Device Driver NS Link Installation on Page 47 The following illustration shows the Security Settings page under the Net...

Page 80: ...mail and RFC1006 features are also disabled in Secure Data mode In addition to encrypting the data streams it is possible to configure the DeviceMaster so that only authorized client applications can connect using SSL TLS See the Client Authentication discussion on Page 75 for details Enable Secure Config Mode If Secure Config Mode is enabled unencrypted access to administrative and diagnostic fun...

Page 81: ...a is logged when it is written read to from the serial port driver s TX RX buffers as such the relative timing between RX TX bytes is not precise but it should be sufficient to debug most problems especially frame oriented command response serial protocols Monitoring serial data through a telnet connection does generate extra network traffic and may have small effects on the timing of DeviceMaster...

Page 82: ...ress Enter to stop 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 62 63 41 42 43 31 32 33 61 ...

Page 83: ...sion of the private portion of this key pair allows somebody to pose as the DeviceMaster If the Server RSA Key is to be replaced a corresponding RSA identity certificate must also be generated and uploaded or clients are not able to verify the identity certificate RSA Server Certificate used by SSL servers This is the RSA identity certificate that the DeviceMaster uses during SSL TLS handshaking t...

Page 84: ...te the DeviceMaster requires all SSL TLS clients to present an RSA identity certificate that has been signed by the configured CA certificate As shipped the DeviceMaster is not configured with a CA certificate and all SSL TLS clients are allowed See Client Authentication on Page 75 for more detailed information All DeviceMaster units are shipped from the factory with identical configurations They ...

Page 85: ...ates on Page 86 Changing Security Configuration Use the following steps to change security settings in the DeviceMaster 1 Enter the IP address of the DeviceMaster in the Address field of your web browser and press the Enter key 2 Click Network Security 3 Click the appropriate check boxes to enable or disable security for your environment Refer to the help system or Configure Enable Security Featur...

Page 86: ...tion 1 If necessary enter the IP address of the DeviceMaster in the Address field of your web browser and press the Enter key 2 Click Network Keys Certs 3 Click Browse to locate the key or certificate file highlight the file and click Open 4 Click Upload 5 Click Save but changes will not take effect until the DeviceMaster is rebooted Note The key or certificate notation changes from factory or non...

Page 87: ...e 91 Four Screw Terminals DM 2202 on Page 94 Eight Screw Terminals DM 2402 on Page 97 Nine Screw Terminals DM 2201 on Page 100 Make sure that you have configured the ports for the correct communications mode before connecting any devices The default mode is RS 232 There is a remote possibility that connecting a serial device for the wrong mode could damage the serial device Note The DeviceMaster L...

Page 88: ... with connector pin outs or cabling for the serial device This illustrates the DB9 connector signals DB9 Connector Pin Outs Pin RS 232 RS 422 and RS 485 Full Duplex Master Slave RS 485 Half Duplex 1 DCD Not used Not used 2 RxD RxD Not used 3 TxD TxD TRxD 4 DTR Not used Not used 5 Signal GND Signal GND Signal GND 6 DSR Not used Not used 7 RTS TxD TRxD 8 CTS RxD Not used 9 RI Not used Not Used The f...

Page 89: ...or the signals above DB9 Straight Through Cables RS 232 485 Use the following figure if you need to build an RS 232 or RS 485 straight through cable Straight through cables are used to connect modems and other DCE devices For example a straight through cable can be used to connect COM2 to a modem DeviceMaster TxD RxD RTS CTS DSR GND DCD DTR Signal RxD TxD CTS RTS DTR GND DCD DSR Signal DB9 2 3 8 7...

Page 90: ...l device 2 DeviceMaster 4 port 8 port models and the DeviceMaster Serial Hub 16 port verify that the devices are communicating properly Note DeviceMaster 1 port 2 port models and the 4 port DIN models do not have TX RX LEDs The RX yellow and TX green LEDs function accordingly when the cable is attached properly to a serial device After power cycling the DeviceMaster appropriate models the RX TX LE...

Page 91: ...lowing subsections RJ45 Null Modem Cables RS 232 Use the following figure if you need to build an RS 232 null modem cable A null modem cable is required for connecting DTE devices Note You may want to purchase or build a straight through cable and purchase a null modem adapter For example a null modem cable can be used to connect COM2 of one PC to COM2 of another PC Pin RS 232 RS 422 RS 485 1 RTS ...

Page 92: ...cation software Test Terminal for Windows or Minicom for Linux to test serial ports The DeviceMaster is shipped with a a single loopback plug RS 232 422 Pins 4 to 5 Pins 1 to 8 Pins 2 to 6 to 7 Note You can use Test Terminal Windows or minicom Linux to test the serial port You can refer to Testing Ports Using Test Terminal on Page 154 for Windows systems RJ45 RS 485 Test Cable You can use a straig...

Page 93: ...serial device After power cycling the DeviceMaster the RX TX LEDs are off The LEDs do not function as described until the port has been opened by an application You can use Test Terminal to open a port or ports if you want to test a port or ports Testing Ports Using Test Terminal on Page 154 3 You can refer to Network and Device LEDs on Page 167 for information about the remaining LEDs Mode Serial...

Page 94: ...ht Through Cables RS 232 485 on Page 96 Serial Terminal 4 Loopback Signals on Page 96 Connecting Serial Devices on Page 96 Serial Terminal 4 Connectors Use the following table or drawings for signal information The signals for SERIAL2 are the same as SERIAL1 RS 232 TxD RTS RxD CTS RS 422 RS 485 Full Duplex TxD TxD RxD RxD RS 485 Half Duplex TRxD TRxD RS 232 ground must be connected to the signal g...

Page 95: ...Null Modem Cables RS 422 An RS 422 null modem cable is required for connecting DTE devices Note RS 422 pin outs are not standardized Each peripheral manufacturer uses different pin outs Please refer to the documentation for the peripheral to determine the pin outs for the signals above RTS RxD TxD CTS CTS TxD RxD RTS 8 2 3 7 5 3 2 4 DB9 DB25 RS 232 Null Modem Cable RTS RxD TxD CTS RxD TxD RxD TxD ...

Page 96: ...dows or minicom Linux to test the serial port You can refer to Testing Ports Using Test Terminal on Page 154 for Windows systems Connecting Serial Devices Use the following information to connect the DM 2202 with serial terminals 1 Connect your serial devices to the appropriate serial port on the DM 2202 using the appropriate cable You can build your own cables or loopbacks using the appropriate d...

Page 97: ...on Page 99 Connecting Serial Devices on Page 99 Screw Terminal 8 Connectors Use the following drawings or table for signal information The signals for SERIAL2 are the same as SERIAL1 RS 232 CD DSR RI DTR TxD RTS RxD CTS RS 422 RS 485 Full Duplex N A N A N A N A TxD TxD RxD RxD RS 485 Half Duplex N A N A N A N A TRxD TRxD N A N A Ground must be connected to the appropriate signal ground terminal RS...

Page 98: ...dem cable is required for connecting DTE devices Screw Terminal 8 Null Modem Cables RS 422 An RS 422 null modem cable is required for connecting DTE devices RS 232 Null Modem Cable CD DSR RI DTR RTS TxD RxD CTS DCD DTR RI DSR CTS RxD TxD RTS 1 4 9 6 8 3 7 8 20 22 6 5 3 2 4 DB9 DB25 2 CD DSR RI DTR RTS TxD RxD CTS RxD RxD TxD TxD 8 2 3 7 5 3 2 4 DB9 DB25 RS 422 Null Modem Cable ...

Page 99: ...ndows or minicom Linux to test the serial port You can refer to Testing Ports Using Test Terminal on Page 154 for Windows systems Connecting Serial Devices Use the following information to connect the DeviceMaster with 8 serial screw terminals 1 Connect your serial devices to the appropriate serial port on the DeviceMaster using the appropriate cable Note Refer to the hardware manufacturer s insta...

Page 100: ...Connectors 9 Use the following table or drawings for signal information Screw Terminal 9 Null Modem RS 232 Cables An RS 232 null modem cable is required for connecting DTE devices RS 232 CD DSR RI DTR TxD RTS RxD CTS Signal GND RS 422 RS 485 Full Duplex N A N A N A N A TxD TxD RxD RxD Signal GND RS 485 Half Duplex N A N A N A N A TRxD TRxD N A N A Signal GND Ground must be connected to the signal ...

Page 101: ... Please refer to the documentation for the peripheral to determine the pin outs for the signals above Screw Terminal 9 RS 232 485 Straight Through Cables RS 232 or RS 485 straight through cables are used to connect modems and other DCE devices CD DSR RI DTR RTS TxD RxD CTS RxD RxD TxD TxD 8 2 3 7 5 3 2 4 DB9 DB25 RS 422 Null Modem Cable Sig Gnd Gnd 5 7 RS 232 485 Straight Through Cable CD DSR RI D...

Page 102: ...nux to test the serial port You can refer to Testing Ports Using Test Terminal on Page 154 for Windows systems Connecting Serial Devices Use the following information to connect the DeviceMaster with serial terminals 1 Connect your serial devices to the appropriate serial port on the DeviceMaster using the appropriate cable You can build your own cables or loopbacks using the appropriate discussio...

Page 103: ...ic Models on Page 119 Checking the NS Link Version on Page 118 Restoring Factory Defaults Specific Models on Page 119 Accessing SocketServer Commands in Telnet SSH Sessions PortVision DX on Page 122 Accessing RedBoot Commands in Telnet SSH Sessions PortVision DX on Page 126 Note You can optionally refer to RedBoot Procedures on Page 131 if you want to perform procedures at the RedBoot level Reboot...

Page 104: ...alling PortVision DX on Page 35 and Scan the network 2 Shift click the multiple DeviceMasters on the Main screen that you want to update and use one of the following methods Click the Upload button Right click and then click Advanced Upload Firmware Click Advanced Upload Firmware in the Manage menu 3 Browse click the firmware cmtl file Open Please locate the new firmware and then click Yes Upload ...

Page 105: ...isplays the programmed IP addresses in the Device List pane after the next refresh cycle Adding a New Device in PortVision DX You can add a new DeviceMaster manually if you do not want to scan the network to locate and add new DeviceMasters but there may be cases where you want to use the Add New Device window to Configure DeviceMaster units that are not on the local network remote using Remote Us...

Page 106: ...al Using the IP Address or MAC Address Use the following procedure to add a local DeviceMaster to PortVision DX if you do not want to scan the network 1 Locate the network information or MAC address of the DeviceMaster you want to add 2 Access the New Device window using one of these methods Click Add New Device in the Manage menu Right click a folder or a RocketLinx switch in the Device Tree pane...

Page 107: ... before SocketServer 9 xx cannot be loaded onto a DeviceMaster with SocketServer versions above 9 xx If you save a configuration file using PortVision DX you can choose what settings you want to save or load You may want to program the network settings in multiple DeviceMasters using Configuring Multiple DeviceMasters Network Addresses on Page 105 Note You can save device driver configuration sett...

Page 108: ...cedure to load a configuration file using the Device List pane to one or more DeviceMaster units Note The configuration file does not need to be the same model or port density For example the saved configuration file could be from a DeviceMaster PRO 8 port that you want to load on a DeviceMaster RTS 1 port 1 Highlight the device or devices in the Device List pane that you want to load and use one ...

Page 109: ...uration File 3 Click the Save Configuration button 4 Save the configuration file to an appropriate location SocketServer Loading Configuration Files You can use this procedure to load SocketServer configuration files using SocketServer Note You must have previously saved a configuration file to load 1 If necessary access SocketServer by entering the IP address in your web browser 2 Click System Co...

Page 110: ...ity For example you cannot load a DeviceMaster PRO configuration file onto a DeviceMaster RTS or a configuration file for a 32 port DeviceMaster RTS onto a 4 port DeviceMaster RTS Saving Driver Configuration Files You must save the driver configuration file in portions Device level configuration parameters Port configuration parameters You must upload each port s configuration parameters separatel...

Page 111: ...ation must be saved on a port by port basis 1 If necessary open the Driver Management Console located under Comtrol DeviceMaster Driver Management Console 2 Depending on your operating system you may need to click Yes to the Do you want to allow the following program to make changes to this computer User Account Control message 3 Highlight the DeviceMaster for which you want to save the port level...

Page 112: ...o you want to allow the following program to make changes to this computer User Account Control message 3 In the left pane highlight the DeviceMaster for which you want to load the device level settings from the configuration file 4 Click Load Configuration 5 Browse to the location of the configuration file that you want to load 6 Highlight the configuration file and click Open The configuration f...

Page 113: ...t to allow the following program to make changes to this computer User Account Control message 3 In the left pane highlight the port for which you want to load the port level settings from the configuration file 4 Click Load Configuration 5 Browse to the location of the configuration file that you want to load 6 Highlight the configuration file and click Open The configuration file loads in a few ...

Page 114: ...xx or higher loaded on the DeviceMaster PortVision DX installed Note If you cannot meet these requirements you can use RedBoot to change the timeout value See Changing the Bootloader Timeout on Page 135 PortVision DX Changing Bootloader Timeout Use the following procedure to change the Bootloader timeout to 45 seconds You can use this procedure to return the Bootloader timeout to 15 seconds after ...

Page 115: ...Bootloader timeout to 45 seconds You can use this procedure to return the Bootloader timeout to 15 seconds after you have successfully uploaded SocketServer 1 If necessary use your browser to access the DeviceMaster using the IP address 2 Click Network 3 Enter 45 in the Boot Timeout field and click Save Note You should return the Bootloader Timeout value back to 15 seconds after you upload the fir...

Page 116: ...DeviceMaster in the Device List pane and click Advanced Reboot 3 Click Yes to the Confirm Reboot query 4 Right click the DeviceMaster in the Device List pane click Refresh You may need to do this several times until you catch the reboot cycle in the Device List pane The Bootloader version is briefly displayed during the reboot cycle before SocketServer loads 5 Check the Comtrol web site to see if ...

Page 117: ...n Page 35 and Scan the network 2 If necessary check the Bootloader version Checking the Bootloader Version and download the latest version 3 Right click the DeviceMaster for which you want to update click Advanced Upload Firmware browse to the Bootloader cmtl file and then click Open 4 Click Yes to the Upload Firmware message that warns you that this is a sensitive process 5 Click Ok to the second...

Page 118: ...t PortVision DX 2 If necessary click Scan to locate the DeviceMaster The Device List pane displays the NS Link SocketServer version 3 Check the Comtrol ftp site to see if a later version is available To check the NS Link version you will need to check to see what version of SocketServer is available You can use this link to check to see what version of SocketServer NS Link is available at http dow...

Page 119: ... be downloaded using Locating Software and Documentation on Page 11 Restoring Factory Defaults Specific Models Use the following procedures to restore the DeviceMaster DIN rail models to the factory defaults To return to default port settings see Restoring Serial Port Settings on Page 120 Note For other models see Returning the DeviceMaster to Factory Defaults on Page 171 If Technical Support advi...

Page 120: ...and web page NS Link COM Port You can use this procedure to reset NS Link serial port settings 1 Open the Driver Management Console using Comtrol DeviceMaster Driver Management Console 2 Highlight the first port that you want reset to default values 3 Click the Defaults button and if appropriate Clone 4 Click Apply or Ok If necessary you can reset DeviceMaster device properties to their defaults o...

Page 121: ...DeviceMaster Installation and Configuration Guide 2000594 Rev F Managing the DeviceMaster 121 Managing the DeviceMaster You will be able to log in after the reboot cycle ...

Page 122: ...on using PortVision DX Use the appropriate procedure for your site Telnet Session below SSH Session on Page 124 Telnet Session Use the following procedure to access a telnet session with PortVision DX 1 In PortVision DX PortVision DX right click the DeviceMaster in the Device List pane for which you want to open a telnet session and click Telnet SSH Session 2 Leave the popup set to Telnet and Sele...

Page 123: ...e 2000594 Rev F Managing the DeviceMaster 123 Managing the DeviceMaster 3 If necessary enter the password and press Enter If a password has not been set press Enter 4 You can type help to refer to available commands supported by SocketServer NS Link ...

Page 124: ...tVision DX right click the DeviceMaster in the Device List pane for which you want to open an SSH session and click Telnet SSH Session 2 Click SSH and leave the port number at the default 3 If necessary depending on the operating system respond to the security notification 4 Press Enter Note The DeviceMaster does not have a user name 5 If necessary enter the password and press Enter If a password ...

Page 125: ...DeviceMaster Installation and Configuration Guide 2000594 Rev F Managing the DeviceMaster 125 Managing the DeviceMaster 6 You can type help to refer to available SocketServer NS Link commands ...

Page 126: ...u can open a Telnet or SSH session using PortVision DX to access RedBoot commands Use the following procedure to access a telnet or SSH session with PortVision DX 1 In PortVision DX PortVision DX right click the DeviceMaster in the Device List pane for which you want to open a telnet session and click Telnet SSH Session 2 Select Telnet or SSH leave the Selected Port number and click Ok ...

Page 127: ...If the PuTTY screen flashes in the background and does not appear as shown above make sure that Enable Telnet ssh has not been disabled in SocketServer To check this return to PortVision DX right click the DeviceMaster in the Device List pane and click Webpage Click the Security tab and if necessary verify that the Enable Telnet ssh option is enabled If it is not click the option and then click Sa...

Page 128: ...er DeviceMaster Installation and Configuration Guide 2000594 Rev F Managing the DeviceMaster 5 Quickly re open the telnet or SSH session using the previous steps 6 Select Telnet or SSH leave the Selected Port number and click Ok ...

Page 129: ...naging the DeviceMaster 7 Press Enter You can type help to review the RedBoot commands You can also refer to RedBoot Command Overview on Page 137 Note The dm prompt should be replaced by a redboot prompt If not you can reset the Bootloader timeout for a longer time period and retry this procedure ...

Page 130: ...130 Managing the DeviceMaster DeviceMaster Installation and Configuration Guide 2000594 Rev F Managing the DeviceMaster ...

Page 131: ...oot Overview To access RedBoot you can use one of the following methods A serial connection between Port 1 on the DeviceMaster and a COM port on a PC Page 132 If you plan on using the serial method you will need a null modem cable a terminal program installed and configured on the PC and a Bootloader Timeout value in excess of 15 seconds If the Bootloader Timeout value has been reduced to 1 second...

Page 132: ...600 Data bits 8 Parity None Stop bits 1 Flow control None Note If you do not disable Bootloader from loading Steps 3 through 5 within the time out period default is fifteen seconds an application will be loaded from flash and started If this happens repeat Steps 3 through 5 The DM command is the only case sensitive command and must be in uppercase 3 Reset the DeviceMaster Note Depending on the mod...

Page 133: ...can use PortVision DX see Accessing RedBoot Commands in Telnet SSH Sessions PortVision DX on Page 126 2 Press the Enter key if you did not program a password or type the password and press Enter Note The DeviceMaster does not come pre programmed with a password 3 Type reset and close the session 4 Open a new telnet session enter the DeviceMaster IP address and the password 5 Type dis to disable th...

Page 134: ...he IP information in the Device List pane Configuring the Network Settings Use the following procedure to program the IP address using RedBoot 1 Establish communications with the DeviceMaster using the serial Page 132 or telnet Page 133 method 2 Enter ip addr mask gateway and press the Enter key to configure the IP address Where addr IP address you want to use mask matches you network subnet mask ...

Page 135: ...ollowing procedure to determine what Bootloader version is loaded in the DeviceMaster 1 Establish communications with the DeviceMaster using the serial Page 132 or telnet Page 133 method 2 At the RedBoot prompt type version The Bootloader information displays 3 Type reset to reset the DeviceMaster if you do not have any other related RedBoot tasks Note Optionally you can install PortVision DX on a...

Page 136: ... SocketServer Help system for information about email notification Use the following procedure to establish the DeviceMaster password for the Web and telnet server Establishing a password prevents unauthorized changes to the DeviceMaster configuration 1 Establish communications with the DeviceMaster using the serial Page 132 or telnet method Page 133 2 Type password your_password and press Enter N...

Page 137: ...ON OFF Manages machine caches channel 1 channel number Displays or switches the console channel chassis Displays chassis information cksum b location l length Computes a 32 bit checksum POSIX algorithm for a range of memory clearconfig Clears the application configuration disable Disables automatic load of the default application fis cmds Manages flash images See Chapter 2 of the eCos Reference Ma...

Page 138: ...and security settings telnet disable enable Sets or displays telnet server enable Disables telnet teltimeout seconds Shows or sets telnet time out terse Terse command response mode t485 port 1 port 2 Runs port to port RS 485 test This is not available on the DeviceMaster Serial Hub Port numbering is Port 0 through 15 and you must connect a straight through cable such as Ethernet patch cord timeout...

Page 139: ...304 4 Port DIN Rail Models Power Supply on Page 144 4 Port Panel Mount Power Supply on Page 144 8 Port Power Supply on Page 145 16 Port Power Supplies on Page 145 1 Port 5VDC Panel Mount Power Supply This subsection only provides information for the DeviceMaster 1 port 5VDC panel mount model The following table provides the DeviceMaster power specifications if you intend on purchasing your own ext...

Page 140: ... power supply Comtrol Power Supply 1 Port 5 30VDC Input line frequency Input line voltage Output voltage Output current 43 63 Hz 90 260 VAC 24VDC 500 mA 24VDC Comtrol device 1 Port 5 30VDC External Power Supply Output voltage Current Power 5 30VDC 100 mA Min 24VDC 2 5 W Any power supply that meets current consumption voltage power and connector pin outs requirements can be used DeviceMaster DM 210...

Page 141: ...h serial terminals DIN rail This table provides specifications if you intend on using your own power supply Comtrol device 2 Port DIN Rail Serial Terminals DM 2202 and DM 2402 External Power Supply Output voltage Current Power 6 30VDC 100 mA Min 24VDC 2 5 W Any power supply that meets current consumption voltage power and connector pin outs requirements can be used Signal Ground Chassis Ground Pos...

Page 142: ...supply for these model is on the bottom of the unit The product serial numbers are before xxxx 030000 where xxxx is the first four digits of the serial number This table provides specifications if you intend on using your own power supply 2 Port DB9 Models Power Terminal Bottom External Power Supply Output voltage Current Power 6 30VDC 100 mA Min 24VDC 2 5 W Any power supply that meets current con...

Page 143: ...for this model is on the top of the unit The product serial numbers are above xxxx 030000 where xxxx is the first four digits of the serial number This table provides specifications if you intend on using your own power supply DM 2102 and DM 2302 2 Port DIN Rail External Power Supply Output voltage Current Power 5 30VDC 100 mA Min 24VDC 2 5 W Any power supply that meets current consumption voltage...

Page 144: ...end on using your own power supply DM 2304 4 Port DIN Rail External Power Supply Output voltage Current Power 5 30VDC 100 mA Min 24VDC 2 5 W Any power supply that meets current consumption voltage power and connector pin outs requirements can be used Comtrol Power Supply 4 Port Input line frequency Input line voltage Output voltage Output current 47 63 Hz 90 260 VAC 24VDC 500 mA 24VDC External Pow...

Page 145: ...r Supply 8 Port Input line frequency Input line voltage Output voltage Output current 47 63 Hz 90 260 VAC 24VDC 500 mA 24VDC External Power Supply 8 Port Output voltage Current Power 9 30VDC 290 mA Min 24VDC 6 96 W Any power supply that meets current consumption voltage power and connector pin outs requirements can be used Comtrol Power Supply 16 Port Models Input line frequency Input line voltage...

Page 146: ...146 External Power Supply Specifications DeviceMaster Installation and Configuration Guide 2000594 Rev F External Power Supply Specifications ...

Page 147: ...ceMaster to Factory Defaults on Page 171 If you cannot diagnose the problem you can contact Technical Support on Page 174 Troubleshooting Checklist The following checklist may help you diagnose your problem Verify that you are using the correct types of cables on the correct connectors and that all cables are connected securely Note Most customer problems reported to Comtrol Technical Support are ...

Page 148: ... one of the Comtrol tools Advanced tab in the DeviceMaster Drivers Management Console which helps identify problems PortVision DX contains two applications that can be used to test or monitor the DeviceMaster Test Terminal program which can be used to troubleshoot communications on a port by port basis See Testing Ports Using Test Terminal on Page 154 for testing procedures Port Monitor program wh...

Page 149: ...icate with the DeviceMaster When using a sniffer to track NS Link packets filtering for Port 4606 will easily track the packet The packet should also contain the MAC address of the device and the originating PC so that it can be determined if the packet is able to travel the full distance one way or not If the 4606 packet is found on one side of a firewall or router using sniffer and not on the ot...

Page 150: ...rocess to fail The normal NS Link driver load process is 1 If NS Link determines that it needs to load a device it resets the device It does this to get the device into RedBoot mode Only RedBoot accepts load binary commands which are needed to load the NS Link binary into the DeviceMaster 2 After a 6 second delay NS Link sends an ID query to the device This query is to verify that the device is in...

Page 151: ...and driver installation documentation Overview This procedure will check whether the DeviceMaster can Communicate through the Comtrol device driver Determine if a port is open with an application Testing Comtrol COM Ports If necessary Installing PortVision DX on Page 35 to install PortVision DX which contains Port Monitor 1 Start PortVision DX from the Start menu select Comtrol PortVision DX or cl...

Page 152: ... Errors If the errors are Overrun Errors represent receive buffer overflow errors If this is the case you will have to configure either software or hardware handshaking to control the flow of data The most common errors are Overrun errors Framing Errors indicate that there is an synchronization error between the beginning of a data frame and the end of the data frame A frame usually consists of a ...

Page 153: ...Add Columns 7 Highlight or shift click to add multiple statistics and click Ok Note See the Port Monitor help system if you need an explanation of a column 8 Scroll to the right to view the new columns 9 If you want to capture this session you can save a current session as a report To do this select one of the following save options File Save As File Save if the report already exists in an older f...

Page 154: ...nal window for that port This test is only testing the Tx and Rx signal lines and nothing else This test works in either RS 232 or RS 422 modes as both modes have transmit and receive capability A failure in this test will essentially prevent the port from working in any manner Loopback Test This tests all of the modem control signals such as RTS DTR CTS DSR CD and RI along with the Tx and Rx sign...

Page 155: ...rough the RS 232 422 485 4 wire full duplex port or ports that you want to test 1 If you have not done so perform Steps 1 through 2 on Page 154 2 Install the loopback plug onto the port or ports that you want to test See Connecting Serial Devices on Page 87 if you need to build loopback plugs 3 Select Port Send and Receive Test Data You should see the alphabet scrolling across the port If so then ...

Page 156: ...connectors Use the following steps to run the Loopback Test 1 If necessary start Test Terminal Page 154 Steps 1 through 2 2 Click Port Loopback Test This is a pass fail test and will take a second or two to complete Repeat for each port that needs testing If the Loopback Test and the Send and Receive Test Data tests successfully complete then the port is operational as expected Sending and Receivi...

Page 157: ...00594 Rev F Troubleshooting and Technical Support 157 Troubleshooting and Technical Support Test Terminal will open two windows note that both ports show Receiving on the status bar 3 Right click in both COM windows and remove the check mark for Receive ...

Page 158: ...p up 5 Right click the OPPOSITE window and click Send The Status line shows Sending or Receiving In this case COM40 is sending data and COM41 is receiving the data which is visually confirmed by the data scrolling across the COM41 window Note If you do not see the data being received it MAY be necessary to also disable the RTS and DTR options from the right click pop up menu in each COM port 6 Rig...

Page 159: ...ng COM port Neither COM port is sending or receiving data but shows Ready on the Status bar 8 Reverse the sending receiving windows one at a time Set the Receive option first then in the opposite window select the Send option The Status line shows Sending or Receiving in the reverse windows Data is now scrolling in the COM40 window COM41 is static as it is not receiving data but transmitting data ...

Page 160: ...lt values You may want to save the DeviceMaster socket configuration using PortVision DX Saving a SocketServer Configuration File on Page 107 1 If necessary install PortVision DX using Installing PortVision DX on Page 35 and scan the network to locate the DeviceMaster that you want to test 2 Right click the DeviceMaster and click Webpage 3 Click System Restore Defaults 4 Click the Port settings an...

Page 161: ...61 Troubleshooting and Technical Support 6 Under the TCP Connection Configuration section click the Enable option and leave all other settings on this page at their default values Note The Port number as it is needed later in this procedure In this example the port number is 8000 7 Click the Save button ...

Page 162: ...594 Rev F Troubleshooting and Technical Support 8 Verify that the port has been enabled 9 Leave the web page open 10 Attach the loopback plug that was shipped with the DeviceMaster to the serial port of the DeviceMaster See Connecting Serial Devices on Page 87 if you need to build a loopback plug ...

Page 163: ...roubleshooting and Technical Support 163 Troubleshooting and Technical Support 11 Right click the DeviceMaster in the Device List pane and click Telnet SSH Session 12 Enter the socket number of the port that you are testing Step 6 and click Ok PuTTY loads 13 Type 123 ...

Page 164: ...233 displays you need to disable local echo Use the following steps to disable local echo a Go to c Program Files x86 Comtrol PortVision DX b Execute PUTTY EXE to open the application c Click Terminal and click Force off for the Local echo option d Return to the Session menu highlight Default Settings and then click Save e Click Cancel to close PuTTY ...

Page 165: ... Enter the Socket Port number and then click Ok i Enter 123 single digits should appear 14 Remove the loopback plug and type abc No characters should display because the return path is open 15 Re attach the loopback plug type abc and the characters should appear 16 If you want to test additional ports simply repeat this procedure on that port or ports 17 Remove the loopback plug from the serial po...

Page 166: ...of additional information Note that standards and URLs do occasionally change Ethernet 10BASE T Rules The maximum number of repeater hops is four You can use Category 3 or 5 twisted pair 10BASE T cables The maximum length of each cable is 100m 328ft Note Category 3 or 5 twisted pair cables look the same as telephone cables but they are not the same The network will not work if telephone cables are...

Page 167: ...g Test Terminal on Page 154 If the port is configured for RS 232 422 mode RX LEDs yellow are lit TX LEDs green are lit when as the data exits the port If the port is configured for RS 485 mode RX LEDs yellow are lit while receiving TX LEDs green are lit during active data transmission Network and Device LEDs The LEDs indicate that the default DeviceMaster application SocketServer is running or aft...

Page 168: ... complete the cycle When the Bootloader completes the cycle the LED has a solid steady light that blinks approximately every 10 seconds If the LINK green LED is lit it indicates a working Ethernet connection If the ACT yellow LED flashes it indicates network activity 4 Panel Mount 8 16 DeviceMaster PRO 8 DeviceMaster RTS DeviceMaster Serial Hub 8 The PWR LED on the front of the unit is lit which i...

Page 169: ...able IP address A utility such as Angry IP Scanner from www angryip org may be used to discover IP addresses If the IP range is unknown a full scan from 0 0 0 1 to 255 255 255 255 may take a long time An Ethernet cable A PC Laptop with a telnet application installed such as PuTTY included in PortVision DX Serial Connection Method Use the following procedure to set up serial connection with a termi...

Page 170: ...and press Enter which removes the authentication level 8 If you do not know the IP address enter ip and press Enter 9 Enter timeout 15 and press Enter which sets a reasonable timeout value Note If the Bootloader timeout has been set too low to allow console port access and the IP address cannot be discovered then the DeviceMaster must be returned to Comtrol for re flashing 10 Connect the DeviceMas...

Page 171: ...volatile memory is in the form of flash and EEPROM memories The flash memory is used for non volatile program storage Leaving the factory there are two programs stored in the flash Bootloader binary bootloader bin The bootloader binary is loaded into DRAM for execution when the device is turned on After a period of time the bootloader loads the default application Default application binary Socket...

Page 172: ...Most of the values can be accessed by using the Web Server SocketServer or NS Link equivalent or telnet Refer to the appropriate procedure for your situation Telnet Access Serial Port Access on Page 173 Web Server Access on Page 173 Telnet Access Use this procedure to access the DeviceMaster configuration through telnet Note To reset authentication see Serial Port Access on Page 173 or use the Red...

Page 173: ...sable and press Enter The SSL command is only available on DeviceMaster products running SocketServer 7 0 and later Web Server Access You can optionally use SocketServer or the NS Link equivalent to access the DeviceMaster configuration and reset many values to their default values Some of the values require resetting the DeviceMaster to take effect After changing the IP addresses and resetting th...

Page 174: ... it starts running everything will have been returned to factory default values If you choose to verify the values the IP address has been reset to 192 168 250 250 Technical Support If you are using an NS Link driver for a Windows system you should review the troubleshooting section in the DeviceMaster Device Driver NS Link User Guide for Windows Page 11 before contacting Technical Support It cont...

Reviews: