background image

Device Installer 

NET485 User Guide 

3-13 

3.7.4 Port Number  

The setting represents the source port number in TCP connections. It is the number used to identify the 
channel for remotely initiating connections.  

Note: When using Comm Port Redirector software, use this port number. 

Default setting for Port 1 is 10001. Range: 1-65535 except for the following reserved port numbers:  

 Table 9 - Reserved Ports 

Port Numbers  

Reserved for  

– 1024 

Reserved (well known ports) 

9999  

Telnet setup  

14000-14009  

Reserved for Comm Port Redirector 

30704

 

Reserved (77F0h)

 

30718 

Reserved (77FEh) 

Warning:

 

We recommend that you not use the reserved port numbers for this setting as incorrect operation may result. 

The port number functions as the TCP/UDP source port number for outgoing packets. Packets sent to the 
unit with this port number are received to this channel. The port number selected is the Incoming TCP/UDP 
port and Outgoing TCP/UDP source port. Port 0 is used when you want the outgoing source port to change 
with each connection.  

If the port number is set to 0, the initial value of 50000 will be used to actively establish a connection. Each 
subsequent connection will increment the number by 1. When the port number reaches 59999, it will wrap 
back to 50000.  

The automatic port increment feature must only be used when this device is the one initiating a connection 
using TCP. The port must be set to a non-zero value when this is a passive device or when UDP is being 
used instead of TCP. 

Summary of Contents for NET485

Page 1: ...NET485 RS422 485 Serial to Ethernet Adapter Revision E October 14 2013 ...

Page 2: ......

Page 3: ...body or in other applications intended to support or sustain life or in any other application in which the failure of a Grid Connect Inc product could create a situation where personal injury death or severe property or environmental damage may occur Grid Connect Inc reserves the right to discontinue or make changes to its products at any time without notice Grid Connect and the Grid Connect logo ...

Page 4: ...generates uses and can radiate radio frequency energy and if not installed and used in accordance with this guide may cause harmful interference to radio communications Changes or modifications to this device not explicitly approved by Grid Connect will void the user s authority to operate this device The information in this guide may change without notice The manufacturer assumes no responsibilit...

Page 5: ...fications 2 6 3 Getting Started 3 1 3 1 Quick Rundown 3 1 3 2 Physically Connecting the Unit 3 1 3 3 Methods of Assigning the IP Address 3 2 3 3 1 Hardware Address 3 2 3 3 2 IP Address 3 2 3 3 3 DHCP 3 2 3 3 4 AutoIP 3 3 3 4 Device Installer 3 3 3 4 1 Channel 1 Configuration 3 3 3 4 2 Configurable Pin Settings 3 4 3 5 Configuration Using Telnet 3 5 3 5 1 Telnet Connection 3 5 3 5 2 Telnet Messages...

Page 6: ...t in seconds 3 25 3 9 3 Enable High Performance 3 25 3 9 4 Disable Monitor Mode at Bootup 3 25 3 9 5 RS 485 TX Enable Active Level 3 25 3 9 6 HTTP Port Number 3 25 3 9 7 SMTP Port Number 3 26 3 9 8 MTU Size 3 26 3 9 9 TCP Re transmission Timeout 500 4000 ms 500 3 26 3 9 10 Enable Alternate MAC 3 26 3 9 11 Ethernet Connection Type 3 26 3 10 Security Settings 3 27 3 10 1 Disable SNMP 3 27 3 10 2 SNM...

Page 7: ... 1 8 Agency Approvals 8 1 8 1 Certificate of Compliance 8 2 8 2 Electromagnetic Compatibility Tests 8 3 List of Figures Figure 1 RS422 Wiring 1 4 Figure 2 RS485 Wiring 1 5 Figure 3 RS422 Four Wire Interface 1 6 Figure 4 RS485 Network 1 7 Figure 5 Main Features 2 1 Figure 6 Phoenix Connector 2 2 Figure 7 J2 Setting for Half Duplex 2 3 Figure 8 J2 Setting for Full Duplex 2 3 Figure 9 Ethernet Jack 2...

Page 8: ... Netmask Examples 3 9 Table 6 Interface Mode Options 3 12 Table 7 Common Interface Mode Settings 3 12 Table 8 Flow Control Options 3 12 Table 9 Reserved Ports 3 13 Table 10 Connect Mode Options 3 14 Table 11 Manual Connection Address Example 3 16 Table 12 Modem Mode Commands 3 19 Table 13 Disconnect Mode Options 3 20 Table 14 Flush Mode Options 3 21 Table 15 Pack Control Options 3 22 ...

Page 9: ... balanced differential signal This offers superior performance by canceling the effects of ground shifts and induced noise signals that can appear as common mode voltages on a network This also allows for data transmission at much higher data rates up to 460K bits second and longer distances up to 4000 ft What is the difference between RS422 and RS485 Like RS232 RS422 is intended for point to poin...

Page 10: ... output goes to a tri state condition In this condition the receiver section is still listening to the network D R Vcc 3 3V DE DI RO RE GND 8 3 4 1 2 5 7 6 3 3V TXDA TXDB U2 DATA LINES TRANSMIT ENABLE The NET485 provides the Transmit enable signal for RS485 two wire applications When configured for RS485 two wire applications the NET485 automatically asserts the transmit enable when it is ready to...

Page 11: ...ET485 uses Configurable Pin 1 CP1 for the transmit enable You must enable CP1 for RS485_TXEN during the configuration process See the Quick Start Guide for details The NET485 uses CP1 in the Active High condition You must set CP1 to Active High during the configuration process See the Quick Start Guide for details ...

Page 12: ...XDB Pin 4 3 3V CP0 TX 4 RX 5 Vcc 3 3V 2 GND 1 3 3V RS422 Half Duplex Mode SGND Pin 3 2 1 3 R13 10K J2 CPU TXDA TXDB RXDA RXDB SGND Figure 1 RS422 Wiring The transmit section of the CPU is labeled TX on pin 4 The receive section of the CPU is labeled RX on pin 5 Note that the CP0 pin on the CPU pin 6 which is configured to control the level of RS485_TXEN is connected to both transceivers The transm...

Page 13: ...nected to the RXDB terminal The three signals are TXDA RXDB and signal ground D R Vcc 3 3V DE DI RO RE GND 8 3 4 1 2 5 7 6 6 D R Vcc 3 3V DE DI RO RE GND 8 3 4 1 2 5 7 6 3 3V CP0 TX 4 RX 5 Vcc 3 3V 2 GND 1 3 3V RS485 Mode TXDA Pin 7 RS485 Mode TXDB Pin 6 RXDA Pin 5 RXDB Pin 4 SGND Pin 3 2 1 3 R13 10K J2 CPU TXDA TXDB SGND Figure 2 RS485 Wiring ...

Page 14: ...wire interface D R DE DI RO D R DE DI RO CP1 TX RX TXDA Pin 7 RXDB Pin 4 SGND Pin 3 CP1 DE CP1 D R DI RO TX TXDA RXDB SGND D R DE DI RO RX CP1 TXDB Pin 6 TXDB RXDA Pin 5 RXDA 4000 ft Rt Rt Rg Rg Figure 3 RS422 Four Wire Interface Notice that 5 conductors are used two twisted pairs and a ground wire Also when the cable lengths are long and or the data rates are high the network must be terminated T...

Page 15: ...uplex communications In this configuration it is important to prevent more than one device from transmitting at the same time This is controlled by software and the communications protocol Note that the transmission line is terminated on both ends of the line but not at drop points in the middle of the line Termination is only required with high data rates and or long wire runs Note Do NOT install...

Page 16: ......

Page 17: ...85 allows you to connect an RS422 485 device to the Internet so that you can connect to the device from anywhere there is an Internet connection Many industrial computers have an RS422 485 interface to connect to their control systems The software generally connects to one of the communication ports such as COM1 You can still use the same software with the NET485 by installing Com Port Redirector ...

Page 18: ...th two of the pins used for power Table 1 RS422 485 Signals NET485 Signal 7 Pin Phoenix TXDA 7 TXDB 6 RXDA 5 RXDB 4 SGND 3 GND 2 8 24VDC 1 8 24VDC GND SGND RXDB RXDA TXDB TXDA TX TERM RX TERM Termination Jumpers Figure 6 Phoenix Connector The NET485 uses protective clamping structures on its inputs and outputs that clamp the voltage to a safe level and dissipate the energy present in ESD electrost...

Page 19: ...ower source from 5VDC to 24VDC even though the label shows 8 24VDC The current draw is determined by network activity and serial port communications In general a 2 5W supply will handle the load Most modular power supplies use the same method of designating which lead is positive and which one is negative Generally the lead with a white stripe or white markings is the positive lead Verify the lead...

Page 20: ...the NET485 Device Installer is one of the main software utilities that allows for fast and easy configuration of the NET485 1 Insert the CD into your CD ROM drive The CD will automatically start and display the main window If the CD does not launch automatically a Click the Start button on the Task Bar and select Run b Enter your CD drive letter colon backslash autorun exe e g D autorun exe To vie...

Page 21: ...ide Quick steps to get the unit up and running NET485_QS pdf Comm Port Redirector Guide Provides information on using the Windows based utility to create a virtual com port Redirector_UG_800235 pdf Web Enable User Guide Explains the steps to get your device Web enabled Web_Enabling_UG_800236 pdf UDP Configuration Guide How to use UDP to configure the unit How to acquire and use setup records to co...

Page 22: ...eb server SNMP read only Serial login Telnet login Security Password protection Locking features optional Rijndael 128 bit encryption Internal Web Server Serves static web pages and Java applets Weight 1 7oz Material Case Flame Retardant Temperature Operating range 40 C to 85 C 40 F to 185 F High performance mode has an upper temperature limit of 75 C Relative Humidity Operating 5 to 95 non conden...

Page 23: ...rk Serial Port Login With this method you connect a terminal or a PC running a terminal emulation program to the unit s serial port All of the methods for assigning an IP address will be discussed in Methods of Assigning the IP Address on page 3 2 It is important to consider the following points before logging into and configuring the device server The device server s IP address must be configured...

Page 24: ...s the possibility of several people simultaneously attempting to configure the unit See Telnet Connection on page 3 5 3 3 1 Hardware Address You need to know the unit s hardware address also known as MAC address which is on the manufacturers ID label on the bottom of the unit It is in the format 00 20 4a XX XX XX where the XXs are unique numbers assigned to the product Hardware Address 00 20 4a __...

Page 25: ...d but it denies the request for an IP address the unit does not attach to the network but waits and retries AutoIP can be disabled by setting the unit s IP address to 0 0 1 0 This setting enables DHCP but disables AutoIP 3 4 Device Installer Device Installer is a Windows based utility for configuring embedded device servers found in products such as the NET232 NET232jr and NET485 Serial to Etherne...

Page 26: ...re are three configurable hardware pins on the NET485 See the notes in The RS485 Enable Signal on page 1 2 To configure the NET485 for RS485 Tx Enable 1 On the main menu click Configurable Pins The Configurable Pins page opens 2 Set CP1 to RS485 TxEnable and Active level HIGH 3 When you are finished click the OK button 4 On the main menu click Apply Settings ...

Page 27: ...aller window or by starting a Telnet session in command mode Telnet Configuration using Device Installer Click the Telnet Configuration tab When the window opens click the Connect button Go to Telnet Messages on page 3 6 3 5 1 Telnet Connection To configure the unit over the network establish a Telnet connection to port 9999 Note If you use the Telnet Configuration tab on Device Installer skip ste...

Page 28: ...Server not set DHCP device name not set DHCP FQDN option Disabled Security SNMP is enabled SNMP Community Name public Telnet Setup is enabled TFPT Download is enabled Port 77Feh is enabled Web Server is enabled Web Setup is enabled ECHO is disabled Encryption is disabled not in all units Enhanced Password is disabled Port 77F0h is enabled Channel 1 Baudrate 9600 I F Mode 4C Flow 00 Port 10001 Conn...

Page 29: ...rigger input disabled Channel 1 Match 00 00 Trigger input1 x Trigger input2 x Trigger input3 x Message Priority L Min notification interval 1 s Re notification interval 0 s Trigger 3 Serial trigger input disabled Channel 1 Match 00 00 Trigger input1 x Trigger input2 x Trigger input3 x Message Priority L Min notification interval 1 s Re notification interval 0 s Change Setup 0 Server 1 Channel 1 3 ...

Page 30: ... 0 DHCP 1 BootP 2 For example if the third octet is 0 0 5 0 the AutoIP and BootP options are disabled only DHCP is enabled The value 5 results from adding the binary equivalents of 0 and 2 This is the most common setting when using DHCP 3 6 2 Set Gateway IP Address The gateway address or router allows communication to other LAN segments The gateway address should be the IP address of the router co...

Page 31: ...3 6 4 Set DNS Server IP Address The DNS server allows the name of a remote machine to be resolved automatically Enter the IP address of the DNS server If the device is DHCP enabled the DHCP server provides the DNS server IP address which will override this configured value Note This setting is applicable only in Manual Connection mode 3 6 5 Change Telnet configuration password Setting the Telnet c...

Page 32: ...e DHCP name will default to CXXXXXX XXXXXX is the last 6 digits of the MAC address shown on the label on the bottom side of the unit For example if the MAC address is 00 20 4A 12 34 56 then the default DHCP name is C123456 2 Custom DHCP name You can create your own DHCP name on these products If you are using an IP address of 0 0 0 0 then the last option in Server configuration will be Change DHCP...

Page 33: ...DHCP client also provides instructions to the DHCP server describing how to process DNS dynamic updates on behalf of the DHCP client 3 7 Channel 1 Configuration Serial Port Parameters This section describes how to setup the serial port The following parameters are displayed when you select Channel 1 Option 1 Baudrate 9600 I F Mode 4C Flow 00 Port No 10001 ConnectMode C0 Send in Modem Mode Y Show I...

Page 34: ...n performance Note RS 422 485 I F Modes are supported on XPort 03 with firmware 6 1 0 0 and above The following table demonstrates how to build some common Interface Mode settings Table 7 Common Interface Mode Settings Common I F Mode Setting Binary Hex RS 232C 8 bit No Parity 1 stop bit 0100 1100 4C RS 232C 7 bit Even Parity 1 stop bit 0111 1000 78 3 7 3 Flow Flow control sets the local handshaki...

Page 35: ...is setting as incorrect operation may result The port number functions as the TCP UDP source port number for outgoing packets Packets sent to the unit with this port number are received to this channel The port number selected is the Incoming TCP UDP port and Outgoing TCP UDP source port Port 0 is used when you want the outgoing source port to change with each connection If the port number is set ...

Page 36: ...0 Incoming Connection Never accept incoming 0 0 0 Accept with DTR Active 0 1 0 Always Accept 1 1 0 Response Nothing quiet 0 Character response C connect D disconnect N unreachable 1 Active Startup No active startup 0 0 0 0 With any character 0 0 0 1 With DTR Active 0 0 1 0 With a specific start character 0 0 1 1 Manual connection 0 1 0 0 Autostart 0 1 0 1 Hostlist 0 0 1 0 Datagram Type Directed UD...

Page 37: ...her a carriage return ASCII 0x0D or a line feed 0x0A No blanks or space characters in the command string Between the first and last command string characters must be a full or partial destination IP address and may be a destination port number The IP address must be presented in standard dot decimal notation and may be a partial address representing the least significant 1 2 or 3 bytes of the remo...

Page 38: ... unit continues to scroll through the table until it is able to connect to another IP in the hostlist Hostlist supports a minimum of 1 and a maximum of 12 entries Each entry contains the IP address and the port number The host list will be disabled for Manual Mode and for Modem Mode The unit will not accept a data connection from a remote device when the host list option is enabled Baudrate 9600 I...

Page 39: ... will never attempt to initiate a TCP connection because it will use UDP datagrams to send and receive data MODEM MODE In Modem Emulation Mode the unit presents a modem interface to the attached serial device It accepts AT style modem commands and handles the modem signals correctly Normally there is a modem connected to a local PC and a modem connected to a remote machine A user must dial from th...

Page 40: ...ction has been closed RING n n n n A remote device having IP address n n n n is connecting to this device 0 OK 1 Connected 2 Ring 3 No Carrier 4 Error Received commands must begin with the two character sequence AT and must be terminated with a carriage return character Any character sequence received not starting with AT will be ignored The unit will only recognize and process single AT style com...

Page 41: ...within the unit ATDx x x x Makes a connection to an IP address x x x x and the remote port number defined within the unit ATH Hangs up the connection Entered as ATH ATS0 n Enables or disables connections from the network going to the serial port n 0 disables the ability to make a connection from the network to the serial port n 1 9 enables the ability to make a connection from the network to the s...

Page 42: ...e Disconnect Mode DTR drop either drops the connection or is ignored Note DTR is not factory enabled Note There is no State LED on the NET485 Table 13 Disconnect Mode Options Disconnect Mode Option 7 6 5 4 3 2 1 0 Disconnect with DTR drop 6 1 Ignore DTR 0 Telnet mode and terminal type setup 1 1 Channel port password 2 1 Hard disconnect 3 0 Disable hard disconnect 1 State LED off with connection 4 ...

Page 43: ... Network Clear with a connection that is initiated from the device to the network 1 Clear with a connection initiated from the network to the device 1 Clear when the network connection to or from the device is disconnected 1 Output Buffer Network to Serial Clear with a connection that is initiated from the device to the network 1 Clear with a connection initiated from the network to the device 1 C...

Page 44: ...is wait period is between successive network segments containing data For alternate packing the default interval is 12 ms Trailing Characters In some applications CRC Checksum or other trailing characters follow the end of sequence character this option helps to adapt frame transmission to the frame boundary Send Characters If 2 Byte Send Character Sequence is enabled the unit interprets the sendc...

Page 45: ... if the channel port password option is enabled in Disconnect Mode If the option is enabled you can set a password on the serial port 3 8 E mail Settings Note Part of the NeET485 design is the option of using three I O pins for different purposes These are referred to as Configurable Pins and are designated CP1 CP2 and CP3 in the Web Manager In order to use the E mail function on the XPort you wil...

Page 46: ...eiving two bytes of a specified sequence on the serial port If the serial sequence is set to 00 00 then it is disabled At the Serial Sequence prompt enter the ASCII Hex value Example A two byte sequence of 12 would be 0x31 0x32 Set all the configurable pins to X Don t Care so they are disabled If both the serial sequence and the configurable pins are disabled the trigger is disabled Message Enter ...

Page 47: ...ze the higher baud rates on the serial interface i e 460Kbps and 920Kbps Increasing CPU performance requires more power and lowers the unit s operating temperature The standard CPU performance mode supports up to 230400 baud Note If baud rates of 460Kbps or 920Kbps is set and the high performance mode disabled the operation of the serial channel would be out of the specified error tolerance thereb...

Page 48: ...ransmission timeout value If the ACK is not received for a packet sent from the xPort device then the unit will retransmit the data The valid range is 500 4000 msec Enable Alternate MAC If necessary enable the alternate MAC address if specified in the OEM setup record 3 9 10 Enable Alternate MAC If necessary enable the alternate MAC address if specified in the OEM setup record 3 9 11 Ethernet Conn...

Page 49: ...allows for ease of management and possibly some security If someone tries to violate security but doesn t know what community to connect to that person will be unable to get the SNMP community information from the unit The name is a string of 1 to 13 characters plus a null terminator 14 bytes total The default setting is public 3 10 3 Disable Telnet Setup Note If you choose to disable this option ...

Page 50: ...nd 256 bit encryption key lengths Note Configuring encryption should be done through a local connection to the serial port of the NET485 or via a secured network connection Initial configuration information including the encryption key is sent in clear text over the network To configure AES encryption on the NET485 1 When prompted to enable encryption select Y 2 When prompted enter the encryption ...

Page 51: ... want to disable this capability for security purposes The default setting is the N No option which enables GPIO control The Y Yes option disables the GPIO control interface Note The function of the configurable pins on the NET485 should be changed with caution Some of the configurable pins are not connected or used for other functions 3 11 Defaults Select 7 to reset the unit s Channel 1 configura...

Page 52: ...lts Disable SNMP No SNMP community name public Disable Telnet setup No Disable TFTP Firmware Update No Disable Port 77FEh No Disable Web Server No Disable Web Setup No Disable ECHO ports Yes Enable Encryption No Enable Enhanced Password No Disable Port 77F0h No Email Settings Priority L Min notification interval 1 second All other parameters 0 e g email notification and triggers are disabled Exit ...

Page 53: ...ration Gets configuration of unit as hex records 120 bytes SC Send Configuration Sets configuration of unit from hex records PI x x x x Ping Pings unit with IP address x x x x to check device status AT ARP Table Shows the unit s ARP table entries TT TCP Connection Table Shows all incoming and outgoing TCP connections NC Network Connection Shows the unit s current IP address RS Reset Resets the uni...

Page 54: ......

Page 55: ...of a device will change is operational features This should only be done under the direction of technical support 5 1 2 Via Device Installer After copying the firmware to your computer use Device Installer to install it 1 Store the firmware in a subfolder on your computer 2 Start Device Installer and search the network for the device you want to upgrade 3 Select the desired unit and click the Upgr...

Page 56: ......

Page 57: ...et to the device server through port 1 the connection fails The ARP method only creates a temporary password When you Telnet to port 1 the connection should fail When you Telnet into port 9999 and do not press Enter quickly the device server reboots causing it to lose the IP address Telnet back to Port 1 Wait for it to fail then Telnet to port 9999 again Make sure you press Enter within 5 seconds ...

Page 58: ...e device server via the serial port you get no response Setup Mode via the serial port is NOT supported on the NET485 Setup Mode via the serial port is NOT supported on the NET485 The unit is able to receive data but it cannot transmit since the TXEN enable pin is not accessible to the boot firmware You can ping the device server but not Telnet to the device server on port 9999 There may be an IP ...

Page 59: ...representation the upper and lower four bits are treated separately resulting in a two digit hexadecimal number in this case 4C Use the following table to convert values from binary to hexadecimal Decimal 0 Binary 0000 Hex 0 1 0001 1 2 0010 2 3 0011 3 4 0100 4 5 0101 5 6 0110 6 7 0111 7 8 1000 8 9 1001 9 10 1010 A 11 1011 B 12 1100 C 13 1101 D 14 1110 E 15 1111 F 7 1 2 Scientific Calculator Anothe...

Page 60: ...Tables 7 2 NET485 User Guide Click Hex The hexadecimal value displays ...

Page 61: ...Tables NET485 User Guide 8 1 8 Agency Approvals Revised label for CE and UL marks For UL marks see the online database at www ul com database for additional information ...

Page 62: ...Tables 8 2 NET485 User Guide 8 1 Certificate of Compliance ...

Page 63: ...ed Immunity 80MHz to 2 7GHz Pass EFT Electrical Fast Trans Power 500V Pass CI Conducted Immunity 150kHz to 80MHz Pass IEC 61000 6 1 2005 Electromagnetic Compatibility EMC Part 6 1 Generic standards Immunity for residential commercial and light industrial environments IEC 61000 6 3 2011 Electromagnetic Compatibility EMC Part 6 3 Generic standards Emission standard for residential commercial and lig...

Reviews: