Home

NE-4000T Series User`s Manual

image

Contents

1. 2 The Searching window shows the Model MAC Address and IP Address of the NE 4000T units that have been located Click on Stop if the unit you are searching for is already listed NE 4000T Series User s Manual Network Enabler Administrator NE 4000T AC 00 90 6 8 09 FF FO 192 168 127 254 3 The Configurator window lists all NE 4000T units that were located Network Enabler Administrator Confiquration 282 9 Ele Network Enabler Admi A NE 4000T RC 00 90 E8 09 FF F0 192 168 127 254 MAA Now 0970372008 TOA Specify by IP Address l Select Specify by IP address under the Configuration menu to locate NE 4000T units by IP address This function can be used to find NE 4000T units located anywhere in the world provided the unit is accessible from the Internet NE 4000T Series User s Manual Network Enabler Administrator Ad Network Enabler Administrator Configuration File Configuration View Help dd dd Broadcast Search Specify by IP Address Configuration 0 Network Enabler Module s Unlock Model MAC Address IP Address Configure Export Configuration Import Configuration Shp Dn Aessen IF Address Type the IP address of the NE 4000T in the Input a Network Enabler IP address text field and then click on OK Add Network Enabler Input an Network Enabler ID address 192 168 1 45 y OK Cancel The NE 4000T will be listed
2. An integration kit NE 4000T ST containing a development board documents sample code cables and accessories is available for testing and product development Package Checklist e NE 4000T e NE 4000T ST e NE 4000T Documentation amp Software CD e NE 4000T Quick Installation Guide e Universal Power Adaptor Set e Null modem cable e Product Warranty Booklet NOTE Notify your sales representative if any of the above items is missing or damaged Product Features NE 4000T has the following features e TTL Interface up to 115 2 Kbps e 10M Ethernet with built in transformer e Ready to use TCP IP firmware e Compact size e Dual in line pin headers e Low power consumption e Web based Administrator utility e Menu driven serial console utility e Accessible by browser e NECTI Library for developing your own configuration utility e Highly expandable with up to 8 DIOs GPIOs 1 2 NE 4000T Series User s Manual Product Specifications System CPU RAM Flash LAN Ethernet Protection Serial Interface Port Type Signals Introduction 8 bit MCU 32 KB 64 KB 10 Mbps pin headers Built in transformer with 1 5 KV magnetic isolation TTL Pin header TxD RxD RTS CTS GND Serial Communication Parameters Parity Data Bits Stop Bit Flow Control Transmission Speed Software Features Protocols Operation Modes Utilities Configuration Power Requirements
3. l 2 7 11 13 15 20 21 23 25 37 42 NE 4000T Series User s Manual Well Known Port Numbers Whois nickname ween E 0 111 119 _ pi 13 35 39 42 43 49 53 70 79 l 2 2 7 3 l l l l 2 NECI Library NECI Network Enabler Configuration Interface is a set of APIs that run in the Windows 95 98 ME NT 2000 XP system to search locate and configure the NE 4000T over the network The NE 4000T library can be found in the folder ANECT LIBRARY on the CD enclosed with NE 4000T product For more information refer to svrctl chm in that directory C DIO Commands In this appendix we give the reference DIO commands used to access the Digital I O status of the NE 4000T Network Enabler from an Ethernet network The Digital I O status can be accessed by a specific TCP port default 5001 on the Network Enabler Command Packet Format Length Bytes Format Command Version Length of data Data must be hex Send the Command packet to the Network Enabler The Data field 1s command specific ACK Packet Format Format Command Status Length of data The Network Enabler returns by ACK packet You can get the Digital I O status and input output operation mode by checking the Data field of the packet Command This field defines the command code For example hex represents read single DIO For more information refer to following content Command Status This
4. D 2 NE 4000T Series User s Manual Service Information Problem Report Form MOXA NE 4000T Series 1 Moxa Product 0 NE 4000T RC O NE 4000T TS O NE 4000T TC O NE 4000T UD 2 Serial Number Problem Description Please describe the symptoms of the problem as clearly as possible including any error messages you see A clearly written description of the problem will allow us to reproduce the symptoms and expedite the repair of your product NE 4000T Series User s Manual Service Information Product Return Procedure For product repair exchange or refund the customer must 4 Provide evidence of original purchase Obtain a Product Return Agreement PRA from the sales representative or dealer Fill out the Problem Report Form PRF Include as much detail as possible for a shorter product repair time Carefully pack the product in an anti static package and send it pre paid to the dealer The PRA should be visible on the outside of the package and include a description of the problem along with the return address and telephone number of a technical contact NE 4000T Series User s Manual Service Information Revision History Document Edition Revision Details February 6 2004 Change to the standard manual format Update the edition of this manual on the title page p 2 7 Changed the definition for Ready LED when it s blinking September 6 2004 Updated screen shots to conform t
5. Five items are listed in the Configuration window No The order in which the NE 4000T units were located Model The model name NE 4000T RC NE 4000T TS NE 4000T TC or NE 4000T UD MAC Address The unique MAC Address assigned by Moxa The MAC address cannot be modified IP Address The NE 4000T unit s current IP address Status Lock Unlock Blank Fixed Lock Fixed Unlock Fixed see the following subsection for details Status Settings There are six Status settings note that the term Fixed is borrowed from the standard fixed IP address networking terminology Lock The NE 4000T is password protected Broadcast Search was used to locate it and the password has not been entered during the current Administrator session Unlock The NE 4000T is password protected Broadcast Search was used to locate it and the password was used to unlock the unit During the current Administrator session activating various utilities for this NE 4000T will not require re entering the unit s password Blank The NE 4000T is not password protected and Broadcast Search was used to locate it Fixed The NE 4000T is not password protected and Search by IP address was used to locate it Lock Fixed The NE 4000T is password protected Specify by IP address was used to locate it and the password has not been entered during the current Administrator session Unlock Fixed The NE 4000T is password protected
6. NE 4000T Series User s Manual Network Enabler Administrator Configuration The Serial Settings window will open allowing you to make changes to the serial parameters Serial Settings 9600 am ZB TTL Baud Rate 300 bps to 115 2 Kbps 9600 bps N A Parity Data Bits NE 4000T Series User s Manual Network Enabler Administrator Stop Bits Setting Factory Default Necessity N A Flow Control Setting None RTS CTS XON XOFF Factory Default Necessity None N A FIFO Setting Disable Factory Default Disable Necessity N A Interface Setting Factory Default Necessity TTL TTL N A A ATTENTION Check the serial communication parameters in your Serial Device s user s manual and then configure NE 4000T s serial parameters with the same communication parameters used by your serial devices Operating Mode Since the configuration variables depend on the Operating Mode we discuss each NE 4000T model separately Real Com Mode Check the Modify box select the NE 4000T RC you would like to configure and then click on the Settings button in the lower right corner of the window 4 16 NE 4000T Series User s Manual Network Enabler Administrator Configuration The Real COM configuration panel will open Operating Mode Real COM Mode H TCP Alive Check Timeout 4 17 NE 4000T Series User s Manual Network Enabler Administrator 0 min TCP connection is not
7. Specify by IP address was used to locate it and the password was used to unlock the unit During the current Administrator session activating various utilities for this NE 4000T will not require re entering the unit s password 4 9 NE 4000T Series User s Manual Network Enabler Administrator Unlock Password Protection NE 4000T units listed with Status of Lock or Lock Fixed are password protected If you attempt to modify the NE 4000T unit s configuration by double clicking on the unit s name the Error message Target is password protected You must Unlock first will appear E F Network Enabler Admit A Y Configuration NE 4000T AC 00 90 ES 09 FF FO 192 168 127 254 Lock A NAAA To unlock the NE 4000T unit 1 Select the NE 4000T that you would like to unlock and then click the right mouse button Select Unlock from the drop down list nabler Administrator Configuration Al E lt Enabler 4dmi Mapping 1 E gi Configure Export Configuration Import Configuration Assign IP Address 4 10 NE 4000T Series User s Manual Network Enabler Administrator 3 If you entered the correct password click on OK in the Unlock ok window Information uN x A 4 The NE 4000T unit will be listed as Unlock or Unlock Fixed depending on whether you used Broadcast Search or Search by IP address to locate the unit Configuring NE 4000T 1 Select the NE 4000T you wish to co
8. Microsoft Internet Explorer File Edt View Favorites Tools Help Address bs 192 168 127 254 cailogin s Network Settings ao Ers cceaaibhle Static P 7 F Settings IESSE passvord EN paa E Restart Logout A ATTENTION If your NE 4000T application requires using password protection you must enable the cookie function in your browser If the cookie function is disabled you will not be allowed to enter the Web Console Screen Device Name Setting Factory Default 1 to 15 characters NE 4000T MN Optional MN RC TS TC or UD This option is useful for specifying the location or application of different NE 4000T units IP Configuration Setting Factory Default When the DHCP option is selected NE 4000T will search for a DHCP server by transmitting DHCP broadcast packets over the network Ifa DHCP server is located NE 4000T will automatically update IP Address Netmask and Gateway to the values provided by the DHCP server If a DHCP server 1s not located within 1 minute NE 4000T will configure the network settings to the default values If the IP address changes you will need to conduct a new Broadcast Search to locate the NE 4000T NE 4000T Series User s Manual Web Console Configuration IP Address Setting Factory Default XXX 192 168 127 254 Required E g 192 168 1 1 IP addresses of the form x x x 0 and x x x 255 are invalid An IP address is a number assigned to a netw
9. s serial port the DB9 Male connector is located on NE 4000T ST directly to your computer s serial port 2 From the Windows desktop click on Start gt Programs gt PComm Lite gt Terminal Emulator 3 When the PComm Terminal Emulator window opens first click on the Port Manager menu item and select Open or simply click on the Open icon ES PComm Terminal Emulator Port Manager Help EI aleja 035 28 Profile NE 4000T Series User s Manual Serial Console Configuration 4 The Property window opens automatically From the Communication Parameter page select the appropriate COM port for the connection COM1 in this example and 19200 for Baud Rate 8 for Data Bits None for Parity and 1 for Stop Bits 5 From the Property window s Terminal page select ANSI and then click on OK NE 4000T Series User s Manual 6 SR Serial Console Configuration Power on the NE 4000T and press 0 continuously until the serial console screen opens ex PComm Terminal Emulator COM1 19200 None 8 1 ANSI Profile Edit PortManager Window Help a ala elea S BY COM1 19200 None 8 1 ANSI z NE 4000T BC C Address z 00 90 E6 09 FF FoO Serial No sae ll Firmware Version 2 1 Network Settings 2 Serial Settings 3 Operation Mode 4 Restore Factory Settings 5 Change Password 6 HardwareSoftware modem status settings ta Quit ey in your selection State OPEN P ES Ready Sev
10. 4 7 NE 4000T Conticuration Ee een e E 4 9 LAWS SUS eege 4 9 Unlock Password ProteG EE 4 10 Conmiiourime NE 4000 ee Ee 4 11 A A A IR st ones 4 12 NEO ido iii 4 13 SS A II acne 4 14 Operan o Mode aida a 4 16 PRC CESS ples anana aAA AA A 4 26 Pao Vy ON EE 4 28 PP O A ee 4 28 Eegeregie eene Eet 4 31 Chapter 5 Chapter 6 Chapter 7 Appendix A Appendix B Appendix C Appendix D Web Console Configuration ccccccsscccsseceseeeeeeeeeeeeeseeneeeeeeeeneseneseenesenees 5 1 Openin VOU SEO WS EE 5 2 EH 5 4 PCC CSSIO IP EE 5 6 Si E E REAN 5 8 Pee ISOC OO e PA E o cee ateteter see eeaterttcet ticemtetetes ie eeatecteeed ceetateeeaeeatacttantee 5 8 Serial Console COnfiguration cccccccceeeceeeceeeceneceeeceeeeeeeceesenesenesenesonesens 6 1 Upgrading the FINN WAN C ev csesacesccceascecsseaneereanasazczansivesacanessdnanesetcaiwensvaceaseranes 7 1 Well Known Port Numbers ocoonocococococococncnonono nono REENEN ENNEN ENKEN ENKEN A 1 NEC EID a ars B 1 DIO COMMAS EE C 1 Sevice MTOM AU ON adanenecohans dee D 1 MOXA E ees E D 2 Problem eeneg D 3 Product Retura teuer ta D 4 REVISION ESO nia D 5 1 Introduction Moxa s NE 4000T Series of Embedded Network Enablers is designed to turn serial devices into true network devices Smaller than a credit card NE 4000T comes with the right combination of hardware and software features to make product development efficient and straightforward Four NE 4000T models are availab
11. DIO port data 15 mode of 8 DIO for specific DIO port data 16 status of 8 DIO for specific DIO port C code example BOOL ReadMultipleDlOqine port 10t mode TE status DIOPacketStruct packet packet command 4 Read Byte DIO Commands packet version 1 DIO protocol command version packet length 1 data length packet data 0 port if DIO port send SoOcketroa char cpacket HEAD LENtpacket dength Hrs Send TCP packet Process the returned data here return TRUE Note The NE 4000T Documentation amp Software CD ROM contains a utility that can be used to test the DIO access commands C 4 Service Information This appendix shows you how to contact Moxa for information about this and other products and how to report problems In this appendix we cover the following topics O MOXA Internet Services O Problem Report Form O Product Return Procedure NE 4000T Series User s Manual Service Information MOXA Internet Services Customer satisfaction 1s our number one concern and to ensure that customers receive the full benefit of our products Moxa Internet Services has been set up to provide technical support driver updates product information and user s manual updates The following services are provided E mail for technical support support moxa com tw Moxa Group website for product information driver downloads documentation and more DEE http www moxa com
12. FF Factory Default Necessity None Optional Delimiter 2 Setting 00 to FF Factory Default Necessity None Optional Force Tx Timeout Setting 0 to 65535 ms Factory Default Necessity Optional The Data Packing feature allows you to ensure that a string of data 1s not split up into more than one packet Delimiter 2 is optional If left blank then Delimiter 1 alone trips clearing of the buffer If the size of the serial data received is greater than 1K then NE 4000T TC will automatically pack the data and send it to the Ethernet port However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly The Force Tx Timeout parameter is used to force transmission if the time limit is reached Set the parameter to 0 zero to deactivate this feature Note that the system obeys the first condition that it detects That is a packet is sent as soon as the Delimiter s are received or as soon as the Force Tx Timeout is reached whichever comes first UDP Mode Check the Modify box select the NE 4000T UD you would like to configure and then click on the Settings button in the lower right corner of the window 4 23 NE 4000T Series User s Manual Network Enabler Administrator Configuration The UDP configuration panel will open Operating Mode 4001 4 24 NE 4000T Series User s Manual
13. Name NE 4000T ECi 2 IP Configuration Static 3 IP Address 192 168 127 254 4 Netmask 255 255 0 0 5 Gateway i q Back to madri menu ey in your selection 3 IF Address 192 168 127 254 State OPEN P Ready 9 Follow steps 7 and 8 to configure other settings such as Serial Settings DIO Settings etc until all necessary configuration is done OG ATTENTION For more details about Network Settings Serial Settings Operation Mode DIO Settings Accessible IP Settings and Restore Factory Settings refer to Chapter 4 D Upgrading the Firmware This chapter describes the procedure for upgrading the firmware The latest version of the firmware can be downloaded free of charge from Moxa s website at www moxa com You must use the serial console port on NE 4000T ST to upgrade the firmware 1 Click on Start gt Programs gt PComm Lite gt Terminal Emulator 2 When the PComm Terminal Emulator window opens first click on the Port Manager menu item and select Open or simply click on the Open icon e PComm Terminal Emulator JE bs zl D E gri TOA CH 3 The Property window opens automatically From the Communication Parameter page select the appropriate COM port for the connection COM1 in this example and 19200 for Baud Rate 8 for Data Bits None for Parity and 1 for Stop Bits NE 4000T Series User s Manual Upgrading the Firmware 4 From the Property window s Terminal page s
14. Otherwise the packet is sent to the Gateway address Gateway Setting Factory Default Necessity To change the Gateway check the Modify box located above Netmask and then enter the new setting A gateway is usually a router that links the subnet to a larger network Typically the computers that control traffic within the network or at the local Internet service provider are gateway nodes NE 4000T needs to know the IP address of the default gateway computer in order to communicate with the hosts outside the local network environment Contact your network administrator to get the correct gateway IP address for your NE 4000T IP Configuration Setting Factory Default To change the IP Configuration check the Modify box located above Netmask and then select the desired setting from the drop down box When the DHCP option is selected NE 4000T will search for a DHCP server by transmitting DHCP broadcast packets over the network Ifa DHCP server is located NE 4000T will automatically update IP Address Netmask and Gateway to the values provided by the DHCP server If a DHCP server is not located within 1 minute NE 4000T will configure the network settings to the default values If the IP address changes you will need to conduct a new Broadcast Search to locate the NE 4000T Select the NE 4000T that you would like to modify check the Modify box and then click on the Settings button in the lower right corner of the window 4 14
15. Power Input Power Consumption Environment Operating Temperature Storage Temperature Regulatory Approvals EMC WARRANTY None Even Odd 8 ee RTS CTS XON XOFF 300 bps to 115 2 Kbps ICMP ARP IP TCP UDP DHCP HTTP NE 4000T RC Real COM Mode NE 4000T TS TCP Server Mode NE 4000T TC TCP Client Mode NE 4000T UD UDP Mode Administrator utility for Windows 95 98 ME NT 2000 XP Windows Utility Serial Console or Web Browser 5 VDC 5 65 mA 5 VDC Max 0 to 70 C 32 to 158 F 5 to 95 RH 20 to 85 C 4 to 185 F 5 to 95 RH FCC Class B CE Class B 5 years 1 3 2 Panel Layout and Pin Assignments In this chapter we show the panel layouts and pin assignments for the NE 4000T Embedded Network Enabler module and NE 4000T ST Starter Kit You can use the Starter Kit to test the NE 4000T module to determine if it s the right product for your application and then use it to develop programs for your applications This chapter covers the following topics a NE 4000T Module gt Panel Layout gt Pin Assignments gt Block Diagram a NE 4000T ST Starter Kit gt Ethernet Port Pinouts RJ45 gt Serial Port Pinouts Male DB9 gt DIO Pin Headers gt LED Indicators NE 4000T Series User s Manual Panel Layout and Pin Assignments NE 4000T Module The NE 4000T module is a serial TTL to Ethernet embedded enabler that is small enough to fit inside most serial devices Serial device manufactu
16. Process the returned data here return TRUE 2 Writing Single DIO Mode Set the operation mode of a single digital I O point to input or output Parameters Command code 2 hex Version 1 hex Length of data 2 hex represents three bytes data 0 The number for the DIO you wish to access data 1 DIO mode hex 0 for IN 1 for OUT Return Command Status Check the Command Status code on the previous page Length of data 3 hex Must be 3 bytes of return code in this mode data 0 The number for the DIO you wish to access data 1 DIO mode hex 0 for IN 1 for OUT data 2 DIO status hex 0 for LOW 1 for HIGH C 2 NE 4000T Series User s Manual DIO Commands C code example void WriteSingleDIOMode int port int mode DIOPacketStruct packet packet command 2 write single DIO mode command packet version 1 EE DIO EE version packet length 2 data length packet data 0 char port ZC DIO number packet data 1 char mode FJ DIO mode Send socketrd char packet HEADER EN packet Le ont 0 Send TCP packet Process the returned data here 3 Writing a Single DIO Status Set the status of the single digital output point to high or low state Parameters Command code 3 hex Version 1 hex Length of data 2 hex represents three bytes data 0 The number for the DIO you wish to access data 1 DIO status hex 0 for LOW 1 for H
17. THE FOLLOWING FUNCTIONS I Set MP Flag lt DO NOT USE J Clear MP Flag lt DO NOT USE S Set Burning Flag DO NOT USE T Clear Burning Flag lt DO NOT USE Using these functions could render your device unusable Please contact the Moxa Service Center nearest you 1f you have questions about this restriction 8 When the File Transfer window opens select Xmodem CheckSum and then click on OK File Transfer Protocol Direction fC ASCII Ce Transmit Kermit Receive Co Modem 1KCRC Modem CRC Ob Cancel 7 YModem Zhdodem 1 3 NE 4000T Series User s Manual Upgrading the Firmware 9 The Transmit File window opens next Locate the ROM file that you downloaded from Moxa s website and then click on Open Transmit File Ej x NE 4000T RC 2 2 bir NE 4000T AC 2 2 bir 10 The next window to open shows that the program is upgrading the firmware 11 After the upgrading is finished a window will open stating that the file has finished transmitting Click on OK to continue NE 4000T Series User s Manual Upgrading the Firmware 12 Press any key to return to the main menu Es PComm Terminal Emulator COM1 19200 None 9 1 ANSI Profile Edit PortManager Window Help a Bi ases 526 BY COM1 19200 None 8 1 ANSI Te Serial Ho LI Firmware Ver ZZ C Address 00 90 26 09 Et 0 F Flag set Burning Flag set ETA AAA ESE EEE EEE EEE EEE EE
18. closed due to an idle TCP connection 1 to 99 min NE 4000T RC automatically closes the TCP connection if there is no TCP activity for the given time After the connection is closed NE 4000T RC starts listening for another connection request Delimiter 1 Setting Factory Default Necessity Delimiter 2 Setting Factory Default Necessity Force Tx Timeout Setting Factory Default Necessity The Data Packing feature allows you to ensure that a string of data is not split up into more than one packet Delimiter 2 is optional If left blank then Delimiter 1 alone trips clearing of the buffer If the size of the serial data received is greater than 1K then NE 4000T RC will automatically pack the data and send it to the Ethernet port However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly The Force Tx Timeout parameter is used to force transmission if the time limit is reached Set the parameter to 0 zero to deactivate this feature Note that the system obeys the first condition that it detects That is a packet is sent as soon as the Delimiter s are received or as soon as the Force Tx Timeout is reached whichever comes first TCP Server Mode Check the Modify box select the NE 4000T TS you would like to configure and then click on the Settings button in the lower right corner of the window 4 18 NE
19. in the Configuration window if Network Enabler Administrator was able to locate the unit by IP address 4 Network Enabler Administrator Configuration File Configuration View Help leaz g Configuration 1 Network Enabler Module s gt d Network Enabler Adrii MAC Address IP Address Status 8 Configuration 1 NE 4000T RC 00 30 E8 09 FF FO 192 168 127 254 dr COM Mapping A ATTENTION Use Broadcast Search or Specify by IP Address to locate NE 4000T units Broadcast Search uses MAC address to locate all NE 4000T units connected to the same Ethernet LAN as the PC used to conduct the search Specify by IP Address can be used to locate any NE 4000T unit that is accessible from the PC used to conduct the search Note that in some circumstances you will not be able to use Specify by IP Address to locate an NE 4000T unit connected to the same LAN as the PC used to conduct the search For example suppose your PC and NE 4000T are connected to the same Ethernet LAN but are assigned to different subnets If you do not configure a valid Gateway IP then Specify by IP Address will report that the unit cannot be found In this case use Broadcast Search to find the NE 4000T unit 4 8 NE 4000T Series User s Manual Network Enabler Administrator NE 4000T Configuration Information Configuration 1 Network Enabler Module s MAC Address IP Address Status 1 HE AUT PL 00 30 E8 09 FF F0 192 168 127 294
20. make modifications NE 4000T Series User s Manual Network Enabler Administrator iG Setup Network Enabler Administrator 2 6 Ready to Install Setup e now ready to begin installing Network Enabler Administrator 2 6 on your computer de A Setup Network Enabler Administrator 2 6 Installing Please wait while Setup installs Network Enabler Administrator 2 6 on your computer 8 Check the Launch Network Enabler Administrator box if you would like to start Network Enabler Administrator right away and then click on Finish 4 4 NE 4000T Series User s Manual Network Enabler Administrator A Setup Network Enabler Administrator 2 6 Completing the Network Enabler Administrator 2 6 Setup Wizard Setup has finished installing Network Enabler Administrator 2 6 on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup Configuration Window To start Network Enabler Administrator select Start gt Programs gt Network Enabler Administrator 2 6 gt Network Enabler Administrator or click on the Network Enabler Administrator 2 6 icon on your desktop H E te Network Enabler Administrator San E Network Enabler Administrator opens to the Configuration window which is divided into four sections e The top section of the window includes the menu bar and function icons e The left middle section of the window allows you to choose between Con
21. the Administrator window 4 32 Web Console Configuration The Web Console provides a convenient way to configure some of the most basic NE 4000T settings This chapter covers the following topics Opening Your Browser Network Settings Accessible IP Settings Change Password OOO CO O Restart Logout NE 4000T Series User s Manual Web Console Configuration Opening Your Browser Before opening your browser you need to enable cookies 1 To enable your browser for cookies right click on your desktop Internet Explorer icon select Properties and then click on the Security tab CH O Sei Intemet Local intranet Trusted sites Restricted sites Etzcde lere O El 2 Enable the three options shown in the figure below and then click on OK E ecurity Settings E Cookies Allow cookies that are stored on your computer O Disable 0 Enable O Prompt Allow per session cookies not stored Disable 0 Enable O Prompt Downloads LS File download Disable gt Enable NE 4000T Series User s Manual Web Console Configuration 3 4 Enter the NE 4000T s IP address in your web browser s address box and then press the Enter key on your keyboard A screen will open displaying detailed information about NE 4000T A NE 4000T RC Configuration Microsoft Internet Explorer File Edit View Favorites Tools Help Address http 192 168 127 254 Go NE 4000T
22. 0T UD will check the connection status between the NE 4000T UD and remote host by sending keep alive packets periodically If the remote host does not respond to the packet 1t assumes that the connection was closed down unintentionally NE 4000T UD will then force the existing TCP connection to close Delimiter 1 Setting 00 to FF Factory Default Necessity None Optional Delimiter 2 Setting 00 to FF Factory Default Necessity None Optional Force Tx Timeout Setting 0 to 65535 ms Factory Default Necessity Optional 4 25 NE 4000T Series User s Manual Network Enabler Administrator The Data Packing feature allows you to ensure that a string of data is not split up into more than one packet Delimiter 2 is optional If left blank then Delimiter 1 alone trips clearing of the buffer If the size of the serial data received is greater than 1K then NE 4000T UD will automatically pack the data and send it to the Ethernet port However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly The Force Tx Timeout parameter is used to force transmission if the time limit is reached Set the parameter to 0 zero to deactivate this feature Note that the system obeys the first condition that it detects That is a packet is sent as soon as the Delimiter s are received or as soon as the Force Tx Tim
23. 168 1 1 to 192 168 1 254 192 168 1 0 253 253 255 0 192 168 0 1 to 192 168 255 254 192 168 0 0 255 255 0 0 192 168 1 1 to 192 168 1 126 192 168 1 0 255 255 255 128 Password To change the password check the Modify box and then enter the new password Leave the password boxes blank to erase the password In this case the NE 4000T will not have password protection Configuration Digital I O NE 4000T s DI O Settings were explained in detail in Chapter 3 4 28 NE 4000T Series User s Manual Network Enabler Administrator To change a DI O setting check the Modify box click on the DI O you wish to modify to highlight it and then click on the Setting button Configuration OO Input ih f2 Input High e DI O Set as Input The Status of a DI O set to Input mode is Sy Digital 10 Setting irrelevant so when Mode is set to Input the Status option is not active DI O Set as Output The Status of a DI O set to Output mode can TREAT be set to High or Low High B High DI O Pins 5 6 7 DI O pins 5 6 and 7 serve a dual purpose By default these three pins are set to transmit the DCD DSR DTR modem control signals To set pins 5 6 and 7 as DI O pins click the selection button to the left of DIO near the bottom of the window 4 29 NE 4000T Series User s Manual Network Enabler Administrator Configuration O Input He A Output He CIA Applying modifications 1 After making changes t
24. 4000T Series User s Manual Network Enabler Administrator Configuration The TCP Server configuration panel will open Operating Mode TCP Server Mode 1 001 D D D Local TCP Port xxxx e g 4001 4001 4 19 NE 4000T Series User s Manual Network Enabler Administrator The TCP port that NE 4000T TS uses to listen to connections and that other devices must use to contact the NE 4000T TS To avoid conflicts with well known TCP ports the default is set to 4001 TCP Alive Check Timeout Setting 0 to 99 min Factory Default Necessity 7 min Optional 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min NE 4000T TS automatically closes the TCP connection if there is no TCP activity for the given time After the connection is closed NE 4000T TS starts listening for another host s TCP connection Inactivity Timeout Setting 0 to 65535 ms Factory Default Necessity 0 ms Optional O ms TCP connection is not closed due to an idle serial line 0 65535 ms NE 4000T TS automatically closes the TCP connection if there is no serial data activity for the given time After the connection is closed NE 4000T TS starts listening for another host s TCP connection This parameter defines the maintenance status as Closed or Listen on the TCP connection The connection is closed if there is no incoming or outgoing data through the serial port during the specific Inactivity
25. 4001 The IP address Port that NE 4000 TC will establish a connection with To avoid conflicts with well known TCP ports the default 1s set to 4001 TCP Alive Check Timeout Setting Factory Default 0 min TCP connection is not closed due to an idle TCP connection 1 to 99 min NE 4000T TC automatically closes the TCP connection if there is no TCP activity for the given time 4 22 NE 4000T Series User s Manual Network Enabler Administrator Factory Default Necessity YN p Ya 0 to 65535 ms 0 ms Optional O ms TCP connection is not closed due to an idle serial line 0 65535 ms NE 4000T TC automatically closes the TCP connection if there 1s no serial data activity for the given time This parameter defines the maintenance status as Closed or Listen on the TCP connection The connection is closed if there is no incoming or outgoing data through the serial port during the specific Inactivity time If the value of the inactivity time is set to 0 the current TCP connection is maintained until there is a connection close request Although inactivity time is disabled the NE 4000T TC will check the connection status between the NE 4000T TC and remote host by sending keep alive packets periodically If the remote host does not respond to the packet 1t assumes that the connection was closed down unintentionally NE 4000T TC will then force the existing TCP connection to close Delimiter 1 Setting 00 to
26. E EEE EES NE 4000T Maintain Program Ver 0 J Clear MP Flag Si Set Burning Flag Ti Clear Burning Flag U Firmware Upgrade Prt rrt rrr rrr rrr rrr rrr rere reas 4 4 E SE I Set MP Flag Select ownloading flrmware pate firmware DEI Press any key to return Wain mera State DPEN M M ez IS Ready 7 5 A Well Known Port Numbers This appendix is for your reference Listed below are Well Known Port Numbers that may cause network problems if you configure NE 4000T for the same port Refer to RFC 1700 for Well Known Port Numbers or refer to the following introduction from IANA The port numbers are divided into three ranges the Well Known Ports the Registered Ports and the Dynamic and or Private Ports e The Well Known Ports range from 0 through 1023 e The Registered Ports range from 1024 through 49151 e The Dynamic and or Private Ports range from 49152 through 65535 The Well Known Ports are assigned by IANA and on most systems can only be used by system processes or by programs executed by privileged users The following table shows famous port numbers among the well known port numbers For more details please visit the IANA website at http www 1ana org assignments port numbers o o fea OO EE ER o Lesser COo EN ica SSS ie ea OOOO gime o SSS as New ao mm OOo ai rico pon O a ma as SMP Simple Mal Tranter Proa rim mese O a Host name server mensa
27. IGH Return Command Status Check the Command Status code on the previous page Length of data 3 hex Must be 3 bytes of return code in this mode data 0 The number for the DIO you wish to access data 1 DIO mode hex 0 for IN 1 for OUT data 2 DIO status hex 0 for LOW 1 for HIGH C code example void WriteSingleDIOStatus int port int status DIOPacketStruct packet packet command 3 write single DIO status command packet version 1 DIO protocol version packet eebe 25 data length packet data 0 char port DIO number packet data 1 char status DIO status send SocketEd char packet HEADER LEN packetlenght 0 Send TCP packet Process the returned data here C 3 NE 4000T Series User s Manual DIO Commands 4 Reading Multiple DIOs Read the state high or low and the mode in or out of all digital I O points at the same time Parameter Command code 4 hex Version hex Length of data 1 hex represents two bytes data 0 Number of the DIO port you wish to access Note Po DIOO DIOI DIO7 Port DIO8 DIO9 DIO15 etc Return Command Status Check the Command Status code on the previous page Length of data 17 data 0 no of DIO Port data 1 mode of 1 DIO for specific DIO port 2 status of 1 DIO for specific DIO port data 3 mode of 2 DIO for specific DIO port 4 status of 2 DIO for specific
28. NE 4000T Series User s Manual www moxa com product Third Edition September 2004 Moxa Technologies Co Ltd Tel 886 2 8919 1230 Fax 886 2 8919 1231 www moxa com support moxa com tw Worldwide support moxa com The Americas MOXA NE 4000T Series User s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement Copyright Notice Copyright 2004 Moxa Technologies Co Ltd All rights reserved Reproduction without permission is prohibited Trademarks MOXA is a registered trademark of The Moxa Group All other trademarks or registered marks in this manual belong to their respective manufacturers Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa Moxa provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose Moxa reserves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Moxa Technologies assumes no responsibility for its use or for any infringements on the rights of third parties that may result from its use This product might include unintentional technical or t
29. Network Enabler Administrator Local Listen Port Setting Factory Default Necessity INDICIO blank Required e g 192 168 127 16 Required for TCP Server applications The IP address Port that NE 4000 UD will establish a connection with To avoid conflicts with well known TCP ports the default is set to 4001 DEST IP Setting Factory Default Necessity XXX XXX XXX XXX blank Required e g 192 168 127 16 Port Setting Factory Default 4001 Necessity 1 to 65535 Required Required for TCP Client applications The IP address Port that NE 4000 UD will establish a connection with To avoid conflicts with well known TCP ports the default is set to 4001 Port Setting 0 to 65535 ms Factory Default Necessity 0 ms Optional O ms TCP connection is not closed due to an idle serial line 0 65535 ms NE 4000T UD automatically closes the TCP connection if there 1s no serial data activity for the given time After the connection is closed NE 4000T UD starts listening for another host s TCP connection This parameter defines the maintenance status as Closed or Listen on the TCP connection The connection is closed if there is no incoming or outgoing data through the serial port during the specific Inactivity time If the value of the inactivity time is set to 0 the current TCP connection is maintained until there is a connection close request Although inactivity time is disabled the NE 400
30. RC WAC Address 0 90 e8 09 ff f0 Input the password if the NE 4000T is password protected and then click on Login The password is transmitted without MD5 encryption over the Ethernet Leave the password box empty if the device is NOT password protected A NE 4000T RC Configuration Microsoft Internet Explorer File Edt Mea Favorites Tools Help i Address http 192 168 127 254 index html Go NE 4000T RC WAC Address 00 90 e8 09 ff f0 HES NE 4000T Series User s Manual Web Console Configuration 5 The NE 4000T Networking Settings screen will open 3 NE 4000T RC Web Console Microsoft Internet Explorer File Edit View Favorites Tools Help Address http 11192168127 254 cgiflogin Go Network Settings USS a Accessible N IP Settings Static IP y E password py etaask 0 55 255 00 E Restart Logout ATTENTION If you use other web browsers remember to enable the functions to allow cookies that are stored on your computer or allow per session cookies NE 4000T only uses cookies for the password transmission Network Settings If necessary click on the Network Settings link on the left side of the screen to open the Networking Settings screen Make necessary changes to the settings and then click on Apply to validate the modifications 5 4 NE 4000T Series User s Manual Web Console Configuration A NE 4000T RC Web Console
31. arted Real COM Mode NE 4000T RC NE 4000T RC comes equipped with COM Real COM Mode drivers that work with Windows 95 98 ME NT 2000 XP systems The driver establishes a transparent connection between host and serial device by mapping the IP Port of the NE 4000T RC s serial port to a local COM port on the host computer Proceed directly with data transmission no connection request required GITT The important point about Real COM Mode is that it allows users to continue using RS 232 serial communications software that was written for pure serial communications applications The driver intercepts data sent to the host s COM port packs it into a TCP IP packet and then redirects it through the host s Ethernet card At the other end of the connection the NE 4000T RC accepts the Ethernet frame unpacks the TCP IP packet and then transparently sends it to the appropriate serial device TCP Server Mode NE 4000T TS NE 4000T TS uses TCP Server mode to establish the Serial to Ethernet connection NE 4000T TS provides a unique IP Port address on a TCP IP network NE 4000T TS waits passively to be contacted by the host computer allowing the host to establish a connection with the serial device Data transmission proceeds as illustrated below 1 The host requests a connection from the TCP Server Mode NE 4000T TS configured for TCP Server Mode 1 Request a connection 2 Once the connection is established data can b
32. cessing your NE 4000T Note that NE 4000T also has a Serial Console which is always active The Serial Console can only be accessed via the NE 4000T ST Starter Kit Network Configuration 192 168 127 254 255 255 0 0 Static IP Address Factory Default XXX XXX XXX XXX 192 168 127 254 Required ep 192 168 1 1 IP addresses of the form x x x 0 and x x x 255 are invalid NE 4000T Series User s Manual Network Enabler Administrator Serial To change the IP address check the Modify box located above IP Address and then enter the assigned IP address An IP address is a number assigned to a network device such as a computer as a permanent address on the network Computers use the IP address to identify and talk to each other over the network Choose a proper IP address that is unique and valid in your network environment Netmask Setting Factory Default XXX XXX XXX XXX 255 255 0 0 Required e g 255 255 255 0 To change the Netmask check the Modify box located above Netmask and then enter the new setting Note that by default NE 4000T is assigned to a Class B subnet The netmask is used to group network hosts into a particular subnet When a packet is sent out over the network the NE 4000T will use the netmask to check whether the desired TCP IP host specified in the packet is on the subnetwork If the address is on the same subnet as the NE 4000T a connection is established directly from the NE 4000T
33. deactivate this feature Note that the system obeys the first condition that it detects That is a packet is sent as soon as the Delimiter s are received or as soon as the Force Tx Timeout is reached whichever comes first TCP Client Mode Check the Modify box select the NE 4000T TC you would like to configure and then click on the Settings button in the lower right corner of the window Configuration The TCP Client configuration panel will open 4 21 NE 4000T Series User s Manual Network Enabler Administrator Operating Mode 1 Port s Selected 1st port is Port 1 Operating Mode TCP Client Mode TCP Client Mode Settings Miscellaneous Optional Connect Mode Startup x TCP Alive Check Timeout Destination Host Port 0 99 min KR CC Inactivity Timeout 0 65535 ms Data Packing Optional Delimiter 1 IL Hex Delimiter 2 IP Hex Force Ts Timeout o 0 65535 ms w i OF Cancel Connect Mode Setting Factory Default If Startup is selected the NE 4000T TC will attempt to establish a connection with the Destination Host as soon as it receives power and boots up If Any Character is selected the NE 4000 TC will attempt to establish a connection with the Destination Host when it receives any character from the serial device Destination Host 1 Setting Factory Default XXX XXX XXX XXX blank Required e g 192 168 127 16 Port Setting Factory Default 1 to 65535
34. e Configuration Change Password To change the password enter the old password in the box next to Old and enter a new one in the box next to New Then reenter the new password in the box next to Confirm Leave the password boxes blank to erase the password In this case the NE 4000T will not have password protection Click on Apply to validate the modifications 3 NE 4000T RC Web Console Microsoft Internet Explorer File Edit View Favorites Tools Help Address ES http 192 166 127 254 4cgiAlogin Go Network eettings E Accessible CREEK IP Settings oe Kc Change Paserord Festart Logout Restart Logout Click on the Restart button on the left side of the screen if you would like to re start the configuration After all changes have been made and applied click on Logout to exit the system 5 8 6 serial Console Configuration This chapter introduces the procedure for using the serial console port on NE 4000T ST to configure NE 4000T Network Settings is used to illustrate the configuration procedure We suggest using MOXA PComm Terminal Emulator which is available free of charge as part of the MOXA PComm Lite program suite to carry out the configuration procedure Please go to www moxa com to download the PComm Lite installation program Before you start to configure the NE 4000T via serial console disconnect the power to NE 4000T ST 1 Use a serial cable to connect NE 4000T
35. e transmitted in both directions from the host to the NE 4000T TS and from the NE 4000T TS to the host 2 Proceed with data transmission 3 5 NE 4000T Series User s Manual TCP Client Mode NE 4000T TC In TCP Client mode NE 4000T TC can actively establish a TCP connection to a pre defined host computer when serial data arrives After the data has been transferred NE 4000T TC can disconnect automatically from the host computer by using the TCP alive check time or Inactivity time settings Refer to Chapter 4 for more details As illustrated in the figure data transmission proceeds as follows 1 The NE 4000T TC requests a connection to the host 2 Once the connection is established data can be transmitted in both directions from the host to the NE 4000T TC and from the NE 4000T TC to the host UDP Mode NE 4000T UD Compared to TCP communication UDP is faster UDP Mode and more efficient In UDP mode you can unicast or multicast data from the serial device to one or more host computers The serial device can also receive data from multiple host computers making this mode ideal for message display applications 3 6 TCP Client Mode Getting Started 1 Request a connection 2 Proceed with data transmission Proceed directly with data transmission no connection request required 4 Network Enabler Administrator In this chapter we demonstrate how to use Network Enab
36. elect ANSI and then click on OK Property Communication Parameter Terminal File Transfer Capturing Terminal Type buert Dumb Terminal Option Transmit E Local Echo Send Enter Key As Receive CR Translation No Changed zj LF Translation No Changed zj 5 Disconnect the power line from NE 4000T ST 6 Press the PRG button While still pressing the PRG button reconnect the power line to NE 4000T ST Do not let go of the PRG button at this point lt PRG Button Power Jack 7 Keep pressing the PRG button until the following screen appears Type U or click on the menu bar File Transfer icon to start the Firmware Upgrade procedure 1 2 NE 4000T Series User s Manual Upgrading the Firmware ES PComm Terminal Emulator COM1 19200 None 8 1 AN5I Profile Edit Port Manager Window Help a Gl alala 528 EY COM1 19200 None 8 1 ANSI gt O0 90 e8 09 ff 0 o set Burning Flag set FREESE EEE PEPE EEE EEE PEER EEE EEE EEE NE 4000T Maintain Program Ver 0 Clear HF Flag Set Burning Flag Clear Burning Flag Firmware Upqrade EFXIAAERA AAA EERE EEE ERE EEE EEE EE EEE EEE SE E Set MP Flag a Se Select State DPEN M M M IS Ready A ATTENTION Currently the serial console is set up to allow end users to upgrade NE 4000T s firmware The additional functions shown in the above screen are not for general use DO NOT USE
37. ents DIO Pin Headers Pin Signal e vec 4 VCC el pop 2 PIOO po 3 PIO Gs A PIO2 B SOS 5 PIO3 6 POH Po 7 PIO5 pos 8 PIO6 pios 9 PIO7 10 GND eu el GND LED Indicators LED Name LED Color LED Function red Indicates that the power is on Power is on and NE 4000T ST Steady on ao eae is functioning normally NE 4000T is in DHCP Client Blinking mode but it cannot find the DHCP Server off Power is off or power error condition exists 10 Mbps Ethernet connection 90 1 green Indicates that DIO is in Tow 0 status De green Indicates that DIO is in low 0 status 3 Getting Started In this chapter we explain how to set up the NE 4000T module and NE 4000T ST Start Kit and briefly describe the operation modes for each of the four NE 4000T models This chapter covers the following topics C O O UU D Wiring Requirements Plugging NE 4000T into NE 4000T ST Connecting the Power Connecting to the Network Connecting to a Serial Device DI O Settings gt Digital Output gt gt Digital Input Digital Output LED Circuit Design a Operating Modes gt gt gt gt Real COM Mode NE 4000T RC TCP Server Mode NE 4000T TS TCP Client Mode NE 4000T TC UDP Mode NE 4000T UD NE 4000T Series User s Manual Getting Started Wiring Requirements You should heed the following common safety precautions before proceeding with the installation of any electro
38. eout is reached whichever comes first Accessible IPs The Accessible IPs tab applies to NE 4000T RC Real COM mode NE 4000T TS TCP Server mode and NE 4000T UD UDP mode NE 4000T TC does not have an Accessible IPs tab since TCP Client network hosts must initiate communication In fact NE 4000T TC will only communicate with hosts which have ZP Address Port Destination Host I Port If the Enable box is checked the NE 4000T will only accept connection requests from network hosts with IP Address equal to one of the four active IP Addresses that appear in the Accessible IPs table The host must also belong to the subnet defined by the corresponding Netmask If the Enable box is not checked the NE 4000T will accept connection requests from any network host Configuration Ges Basic Network Serial Operating Mode Accessible IPs Password Digital 10 ode NE 4000T AC Modify MAC Address elt 3 O0 90 E8 09 FF FO Serial Number 1 2 192168127127 25525500 DE Firmware Wer D Ver 22 BIOS Ver Ver 2 Setting Click the Modify check box to modify configuration ff UK x Cancel To add or modify Accessible IPs settings check the Modify box highlight the row whose IP Address Netmask combination you wish to edit by clicking on the row and then click on the Setting button located just below the table Enter or modify IP Address and Netmask and then click on OK 4 26 NE 4000T Series User s Manual N
39. eral options are displayed under Main Menu To configure Network Settings input 1 and then press the Enter key on your keyboard ex PComm Terminal Emulator COM1 19200 None 8 1 ANSI Profle Edit PortManager Window Help a aja esas 5 28 BY COM1 19200 None 8 1 ANSI 2 Serial Settings 3 Operation Mode 4 Restore Factory Settings 5 Change Password 6 Hardware Software modem status settings LO Quit ey in your selection lt lt Main Menu gt Metwork Settings gt HAC Address O0 90 E8 09 FF FoO il Server Name NE 4000T BC 2 IF Configuration Static 31 IP Address 194 166 127 254 4 Netmask 255 255 0 0 5 Gateway i tq Back to madri menu ey in your selection State OPEN P m m ES Ready NE 4000T Series User s Manual Serial Console Configuration 8 To change server name input 1 The Server Name will appear at the bottom of the screen Type in the name for the NE 4000T If you wish to continue making changes to other settings just key in the number shown next to that item and configure the settings Input q to return to the Main Menu ES PComm Terminal Emulator COM1 19200 None 8 1_ ANSI Profile Edit Port Manager Window Help a BIR esse 5 28 BY COM1 19200 None 8 1_ ANSI Operation Mode Restore Factory Settings Change Password Hardware Software modem status settings Quit lt lt Main Mernu gt MNetwork Settings gt MAC Address 00 90 E5 09 FF FO 1 Server
40. etwork Enabler Administrator No IPAddess Nemak E EE A ERA AA Acessible IP Settings 192 168 127 127 255 255 0 0 Check the box for that row to activate the IP Address Netmask combination as an Accessible IP Subnet combination Configuration Er 192 168 127 127 255 255 0 0 ON Pe Osa ee A O Accessible IP Settings allows you to add or remove Legal remote host IP addresses to prevent unauthorized access Access to NE 4000Ts is controlled by IP address That is if a host s IP address is in the accessible IP table then the host will be allowed to access the NE 4000T 4 21 NE 4000T Series User s Manual Network Enabler Administrator You can allow one of the following cases by setting the parameters accordingly e Only one host with a specific IP Address can access the NE 4000T Enter the specific IP address e g 192 168 1 1 and enter 255 255 255 255 for Netmask e Hosts on the specific subnet can access the NE 4000T Enter an IP address e g 192 168 1 0 and enter 255 255 255 0 for Netmask Note that type of setting will allow access to all network hosts on a particular subnet e Any host can access the NE 4000T Disable this function by not entering any IP address or Netmask settings or by removing the checkmark from the Enable box The following Allowable Hosts table gives five configuration examples Allowable Hosts IP Address 192 168 1 120 192 168 1 120 255 255 255 255 192
41. field returns the status of the command 1 OK 0 Command error may be unknown Data Structure Definition C code example define header length of DIO Packet define HEADER_LEN 3 3 bytes define DIO Packet format Used for Command and ACK packet typedef struct _DIO_Packet_Struct char command char version char length char date 255 4 F DIOPacketotruct pDIOPacketstruct NE 4000T Series User s Manual DIO Commands Command Code Usage 1 Reading Single DIO Read the state high or low and the mode in or out of the single digital I O point Parameters Command code 1 hex Version hex Length of data 1 hex represents one byte data 0 Fill in the number for the DIO you wish to access DIO numbers start from 0 hex Return Command Status Check the Command Status code on the previous page Length of data 3 hex Must be 3 bytes of return code in this mode data 0 The number for the DIO you wish to access data 1 DIO mode hex 0 for IN 1 for OUT data 2 DIO status hex 0 for LOW 1 for HIGH C code example BOOL ReadSingleDIO int port int mode int status DIOPacketStruct packet packet command 1 read single DIO command packet version 1 FJ DIO protocol version packet Le o Eh de data length packet data 0 char port DIO Number send SocketFd char amp packet HEADER LEN packet length 0 Send TCP Packet j
42. figuration mode COM Mapping mode e The right middle section of the window shows the NE 4000T units with which Network Enabler Administrator has established contact Use this list to select the units you would like to configure e The bottom section of the window is the Message Log section Note that the log is erased each time Network Enabler Administrator is shut down 4 5 NE 4000T Series User s Manual Network Enabler Administrator ss Network Enabler Administrator Configuration File Configuration View Help Configuration O Network Enabler Module s e Network Enabler Admi MAC Address IP Address i Configuration l COM Mapping Message Log 0 Now 09 02 2004 6 13 46 PM Broadcast Search Broadcast Search searches by MAC address to locate all NE 4000T units connected to the same Ethernet LAN as your PC This means that Broadcast Search locates all NE 4000T units connected to the same Ethernet LAN as your PC regardless of whether or not the NE 4000T units are part of the same subnet as the PC 1 To start searching select Broadcast Search from the Configuration menu Sy Network Enabler Administrator Configuration File Configuration View Help dd 2 Broadcast Search specify by IP Address Configuration O Network Enabler Modules Unlock Model MAC Address IP Address Status Configure Export Configuration Import Configuration Mp RB LS Asslgen IF Address
43. ignal is coming in Use the Network Enabler Administrator discussed in Chapter 4 to configure the DI O and on off status Digital Output LED Circuit Design The figure shown below represents the digital output LED circuit This type of design is called a Sink When you develop your own applications you will need to follow the voltage limits shown below Low level Input Voltage Maximum voltage when DI is set 0 3xVCC V to Low status High level Input Voltage Minimum voltage when DI is set 0 7xVCC V to High status Low level Input Voltage Maximum voltage when DO is set 0 4 V to Low status High level Input Voltage Minimum voltage when DO is set 2 4 V to High status The Digital Output carries a current of only 1 mA Operating Modes Each of the four NE 4000T models supports a different operation mode NE 4000T RC supports Real COM Mode NE 4000T TS supports TCP Server Mode NE 4000T TC supports TCP Client Mode and NE 4000T UD supports UDP Mode The four operation modes are described separately in the following subsections Note that the main difference between the TCP and UDP protocols is that TCP guarantees delivery of data by requiring the recipient to send an acknowledgement to the sender UDP does not require this type of verification making it possible to offer speedier delivery UDP also allows multicasting of data to groups of IP addresses 3 4 NE 4000T Series User s Manual Getting St
44. into the NE 4000T ST board Both the module and board are clearly marked with white triangles that indicate how to position NE 4000T before plugging it in In the center of NE 4000T ST there is a square with one white inverted triangle shown as black in the figure on one of its sides and 2 rows of female sockets on the other two sides The NE 4000T board also has a white inverted triangle shown as black in the figure on one of its sides When plugging your NE 4000T into the NE 4000T ST board make sure these 2 white inverted triangles are facing the same direction as shown in the figure 3 2 NE 4000T Series User s Manual Getting Started lt Connecting the Power Connect the 12 30 VDC power line to NE 4000T ST s terminal block If the power cord is properly connected the POWER LED will illuminate in red When the system boots up and is ready to go the Ready LED will illuminate in green Connecting to the Network Connect one end of the Ethernet Cable to NE 4000T ST s Ethernet port and the other end of the cable to the Ethernet network If the cable is properly connected NE 4000T ST will indicate a valid connection to the Ethernet in the following ways e The Link LED will maintain a solid green color when connected to a 10 Mbps Ethernet network e The Link LED will flicker when Ethernet packets are being transmitted or received Connecting to a Serial Device Use a serial data cable to connect a seria
45. l device to the NE 4000T ST board when testing and developing applications NE 4000T ST s serial port also serves as a serial console port You may find it convenient to use the serial console utility during the production stage to configure a large number of NE 4000T modules before installing the modules in the serial device DI O Settings NE 4000T Embedded Network Enabler supports 8 Digital I Os Digital Output Each Digital Output uses 2 signals to control the devices connected to the terminal block on the evaluation board NE 4000T ST such as relay devices The 2 signals are formed by changes between high and low voltages For example you can program DOY to maintain a high voltage in this case the DOW s LED will not light up and change to low voltage in this case the DO O s LED will light up when you wish to trigger the relay device By using these 2 output signals you can control the on off status of your devices NE 4000T Series User s Manual Getting Started Digital Input Each Digital Input also uses the 2 signals mentioned above to recognize the messages coming from your device such as a sensor Unlike Digital Output mode NE 4000T waits passively for incoming signals when set to Digital Input mode For example you can configure DI to be in the On state meaning no signal 1s coming in when in the low voltage state With this type of setup the state will change to high voltage when a s
46. le e NE 4000T RC supports Real COM Mode Contact Moxa e NE 4000T TS supports TCP Server Mode e NE 4000T TC supports TCP Client Mode Contact Moxa e NE 4000T UD supports UDP Mode lt Contact Moxa Models NE 4000T RC NE 4000T TC and NE 4000T UD are available for project based orders only Please contact the Moxa sales representative nearest you for more information This chapter covers the following topics Overview Package Checklist Product Features E 0 E E Product Specifications NE 4000T Series User s Manual Introduction Overview The NE 4000T modules measure just 44 x 31 48 mm or less than half the size of a typical credit card making NE 4000T small enough to fit inside most serial devices NE 4000T comes with the TCP IP stack built into the firmware making the task of integrating NE 4000T module with your serial devices efficient and straightforward Engineers will not need to spend a lot of time on TCP IP programming but instead can focus on developing other major features shortening the time to market of your new products The reliable TCP IP communication firmware that comes with the NE 4000T Series can be configured very easily with the user friendly Windows utility or by serial console The product also has a Web console for basic configuration by web browser In addition a Windows based NECI Network Enabler Configuration Interface Library is available to help you develop your own Windows utilities
47. ler Administrator to configure your NE 4000T Unless otherwise noted the Real COM model NE 4000T RC is used to illustrate how to install and configure NE 4000T This chapter covers the following topics Installing Network Enabler Administrator Confugation window Broadcast Search Specify by IP Address NE 4000T Configuratino Information LI 0 O CO O gt Status Settings gt Unlock Password Protection QO Configuring NE 4000T Basic Network Serial Operating Mode Accessible IPs Password Digital I O VV VV VV V WV Export Import Functions ATTENTION NE 4000T RC the Real COM model of NE 4000T is used in most of the illustrations in this chapter However the discussion applies to all four NE 4000T models NE 4000T Series User s Manual Network Enabler Administrator Installing Network Enabler Administrator In this section we describe how to install Network Enabler Administrator l Insert the CD that comes with NE 4000T into your computer s CD ROM drive If your computer is not set up to autorun click on the utility_setup icon to start the installation N NE 4000T_ 1 00 D O File Edit View Favorites Tools Help a Back A search EE Folders CA History GS LD wy est Address E NE 4000T 1 00 D if Folders mi Desktop H My Documents E My Computer ll 3 Floppy Ai G Local Disk 0 4 A NE 40007_ 1 00 D Bes Local Disk Er Be Local Di
48. nfigure to highlight it click the right mouse button and then select Configure from the drop down list nabler Administrator Configuration MA ES 4 Enabler Admit GE Y Mapping 22 Broadcast Search Specify by IP Address Configure Export Configuration Import Configuration 4 11 NE 4000T Series User s Manual Network Enabler Administrator 3 After all items have been processed the Configuration window opens Configuration A MENTE Hamne Ena Fl E Wl EI Pe JE Let LS ALEA Td Lal E The Configurator window has seven tabs Basic Network Serial Operating Mode Accessible IPs Password and Digital I O that allow the user to view and modify settings Basic Configuration NE 4000T Series User s Manual Network Enabler Administrator Device Name 1 to 15 characters NE 4000T MN Optional MN RC TS TC or UD To change the Device Name check the Modify box above Device Name and then type the new name in the text input box This option is useful for specifying the location or application of different NE 4000T units Enable Web Console To disable the Web Console check the Modify box located above Enable Web Console and then un check the box to the left of Enable Web Console If this option is disabled you will not be able to open the NE 4000T unit s web page from a web browser You may want to disable this feature as an extra precaution to prevent unauthorized users from ac
49. nic device e Use separate paths to route wiring for power and devices If power wiring and device wiring paths must cross make sure the wires are perpendicular at the intersection point NOTE Do not run signal or communication wiring and power wiring in the same wire conduit To avoid interference wires with different signal characteristics should be routed separately e Use the type of signal transmitted through a wire to determine which wires should be kept separate The rule of thumb is that wiring that shares similar electrical characteristics can be bundled together e Keen input wiring and output wiring separate e Itis advisable to label the wiring to all devices in the system A ATTENTION Safety First Be sure to disconnect the power cord before installing and or wiring your NE 4000T ST Wiring Caution Calculate the maximum possible current in each power wire and common wire Observe all electrical codes dictating the maximum current allowable for each wire size If the current goes above the maximum ratings the wiring could overheat causing serious damage to your equipment Temperature Caution Be careful when handling NE 4000T ST When plugged in NE 4000T ST s internal components generate heat and consequently the board may feel hot to the touch Plugging NE 4000T into NE 4000T ST Before you connect NE 4000T ST to the power supply network and serial device you first need to plug the NE 4000T module
50. o new Windows Administrator Edited the contents to include four models D 5
51. o the configuration click on OK 2 Administrator will take a few seconds to process the modifications Processing 3 Click on OK to complete the configuration 4 30 NE 4000T Series User s Manual Network Enabler Administrator Export Import Functions l To export a configuration select the NE 4000T whose configuration you would like to export click the right mouse button and then select Export Configuration from the drop down menu Administrator Configuration olx ler Admi ray tion ping Broadcast Search specify by IF Address Unlock Configure A Select File window will open next Enter the target directory for the configuration file or click on Browse to search Click on OK to return to the Administrator window To import a configuration select the target NE 4000T click the right mouse button and then select Import Configuration from the drop down menu st Administrator Configuration olx NE 4000T RE 00 30 ES OS FERRO 192 169 127 24 SZ Broadcast Search ler Admi E tion ping epecify by IP Address 2 Unlock Configure Export Configuration 2 Import Configuration al Assign IF Address 4 31 NE 4000T Series User s Manual Network Enabler Administrator 4 A Select File window will open next Enter the source directory of the configuration file or click on Browse to search Click on OK to return to
52. on e NE 4000T RC Web Console Microsoft Internet Explorer File Edt View Favorites Toole Help Address E http 192 168 127 254 cai login Ge Network settings Accessible IP Settings E em IT oT Restart Sie be Logout NE 4000T has an IP address based filtering method to control access to the NE 4000T Accessible IP Settings allows you to add or remove Legal remote host IP addresses to prevent unauthorized access Access to NE 4000Ts is controlled by IP address That is if a host s IP address is in the accessible IP table then the host will be allowed to access the NE 4000T You can allow one of the following cases by setting the parameters accordingly e Only one host with a specific IP Address can access the NE 4000T Enter the specific IP address e g 192 168 1 1 and enter 255 255 255 255 for Netmask e Hosts on the specific subnet can access the NE 4000T Enter IP address e g 192 168 1 0 and enter 255 255 255 0 for Netmask e Any host can access the NE 4000T Disable this function by not entering any IP address or Netmask settings Refer to the following table for more details about the configuration example Allowable Hosts IP Address 192 168 1 120 192 168 1 120 255 255 255 255 192 168 1 1 to 192 168 1 254 192 168 1 0 255 255 255 0 192 168 0 1 to 192 168 255 254 192 168 0 0 255 255 0 0 192 168 1 1 to 192 168 1 126 192 168 1 0 255 255 255 128 NE 4000T Series User s Manual Web Consol
53. ork device such as a computer as a permanent address on the network Computers use the IP address to identify and talk to each other over the network Choose a proper IP address that is unique and valid in your network environment Netmask Setting Factory Default Ex 255 255 255 0 255 255 0 0 The netmask is used to group network hosts into a particular subnet When a packet is sent out over the network the NE 4000T will use the netmask to check whether the desired TCP IP host specified in the packet is on the subnetwork If the address is on the same subnet as the NE 4000T a connection is established directly from the NE 4000T Otherwise the packet is sent to the Gateway address Gateway Setting Factory Default Necessity A gateway is usually a router that links the subnet to a larger network Typically the computers that control traffic within the network or at the local Internet service provider are gateway nodes NE 4000T needs to know the IP address of the default gateway computer in order to communicate with the hosts outside the local network environment Contact your network administrator to get the correct gateway IP address for your NE 4000T Accessible IP Settings Click on Accessible IP Settings link on the left side of the screen to open the Accessible IP Settings window Make necessary changes to the settings and click on Apply to validate the modifications 9 6 NE 4000T Series User s Manual Web Console Configurati
54. rers use the module to upgrade existing serial devices into products that can be connected directly to an Ethernet port Panel Layout Top panel of NE 4000T Pin 1 a Side panel of NE 4000T 31 48 mm ___ NE 4000T Series User s Manual Panel Layout and Pin Assignments Pin Assignments CTS Reserved GND GND NOTE Ethernet Signals ETx ETx ERx ERx Serial Signals TXD RXD RTS CTS LED Names Link Active Ready Block Diagram IKEA 32 KB SRAM 2 KB EEPROM RTLBO1BAS z 10M Ethernet i MAC amp Phy Transformer er aig oc a oe 1 5KV isolation PIDO PISS E Ethernet wire to RJ45 directly 2 3 NE 4000T Series User s Manual Panel Layout and Pin Assignments NE 4000T ST Starter Kit The NE 4000T ST Starter Kit is used to evaluate the NE 4000T module and to develop applications The Starter Kit has a serial port and Ethernet port that provide a direct connection between a PC and the NE 4000T module The dimensions of the board are 130 x 50 mm W x D with a thickness of 1 6 mm NE 4000T Module Pin 1 Power LED JP7 DIO Pins a D g O Lelslslelslelslslels O re DIO LEDs Q Ready LED e Link ACT LED PRG Button Power Jack Ethernet Port Pinouts RJ45 Pin Signal 1 DE 2 Tx 3 Rx 6 Rx Serial Port Pinouts Male DB9 LI j A 2N040 Oo JO Ob GA G Z U 2 4 NE 4000T Series User s Manual Panel Layout and Pin Assignm
55. sk E E ES Local Disk 5 4 fsa Control Panel ER Ak NE 4000T_ 1 00 D utility setup Application MECI_LIBR MEFODOT_2 utility setup Modified 9 30 2003 6 47 PM Size 1 09 MB Click on Yes to continue The Welcome to the Network Enabler Administrator 2 6 Setup Wizard window opens next Click on Next to continue Welcome to the Network Enabler Administrator 2 6 Setup Wizard This will install Network E naber Administrator 2 6 on your computer Ik is recommended that you close all other applications before Continuing Click Nest to continue or Cancel to exit Setup i Cancel NE 4000T Series User s Manual Network Enabler Administrator 4 Accept the default destination folder or select an alternative Click on Next to continue a Setup Network Enabler Administrator 2 6 Select Destination Directory Where should Network Enabler Administrator 2 6 be installed C Program Files Network Enabler Administrator 2 6 Se Program Files EJ Accessories ACD Systeme C Acoustica Adaptec C Adobe 5 Check the Create a desktop icon box if you would like the Network Enabler Administrator icon to appear on your desktop Click on Next to continue 19 Setup Network Enabler Administrator 2 6 Select Additional Tasks Which additional tasks should be performed 6 Confirm that the Destination directory and Additional tasks are correct and then click on Install to continue Click on Back to
56. time If the value of the inactivity time is set to 0 the current TCP connection is maintained until there is a connection close request Although inactivity time is disabled the NE 4000T TS will check the connection status between the NE 4000T TS and remote host by sending keep alive packets periodically If the remote host does not respond to the packet 1t assumes that the connection was closed down unintentionally NE 4000T TS will then force the existing TCP connection to close Delimiter 1 Setting 00 to FF Factory Default Necessity None Optional Delimiter 2 Setting 00 to FF Factory Default Necessity None Optional Force Tx Timeout Setting 0 to 65535 ms Factory Default Necessity Optional The Data Packing feature allows you to ensure that a string of data 1s not split up into more than one packet Delimiter 2 is optional If left blank then Delimiter 1 alone trips clearing of the buffer If the size of the serial data received 1s greater than 1K then NE 4000T TS will automatically pack the data and send it to the Ethernet port However to use the delimiter function you must at least enable Delimiter 1 If Delimiter 1 is left blank and Delimiter 2 is enabled the delimiter function will not work properly 4 20 NE 4000T Series User s Manual Network Enabler Administrator The Force Tx Timeout parameter is used to force transmission if the time limit is reached Set the parameter to 0 zero to
57. ypographical errors Changes are periodically made to the information herein to correct such errors and these changes are incorporated into new editions of the publication Chapter 1 Chapter 2 Chapter 3 Chapter 4 Table of Contents Je ee ei d Le EE EE 1 1 EEN 1 2 Package Oheak EE 1 2 Prone T eo EE 1 2 Prod ci specication dora 1 3 Panel Layout and Pin Assignments cccseceseeeeeeeeeeeeeeseeeeneeeeeeeeeeeenes 2 1 NE 4000r Module a a 2 2 Panel Ee A oo ee eer ee eC ee 2 2 PA A dano es dE 2 3 TOC A AAA EE 2 3 EH ESA ER E TS dida pod 2 4 Ethernet Port Pinouts RJ49 ee ee 2 4 serial Port Pinouts Male DB9 ainia dales 2 4 PO P A IN 2 5 LED Md O aea T a lO 2 5 Getin Started casi 3 1 Witmo LEE aida ticos 3 2 Plugging NE 4000T into NE 4000 EST 3 2 Connecting Ne Eeer 3 3 Connectino to the Netwotk art id dde Rak oak 3 3 Connecting to a Seral DEVICES a tit att A 3 3 PU A PA a et een nn ee Te ee ee nes ere eee 3 3 PROTA e EE 3 3 Eeer 3 4 Digital Output LED Circuit Desen 3 4 Operan MES eegene 3 4 R a COM Mode NE 4000T RC WE 3 5 TCP Server Mode NE 4000T TS EE 3 5 TCP Client Mode INE 4000 TC as 3 6 UDP Mode NEAMO0OT UD hirren E 3 6 Network Enabler Administrator ococcococnccncncananoncarononcararanoncarananoncaranons 4 1 Installing Network Enabler Administrator ccccccccccccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 4 2 Configuration os o 4 5 Broadcast Seal EE 4 6 SI Ral y all e E

Download Pdf Manuals

image

Related Search

Related Contents

Samsung GT-S5050 Uporabniški priročnik  Service Manual Floor-standing SBF (Preliminary Version)  ASRock FM2A85X Extreme4-M Quick Start Manual  English - Johnson Level  RA2009-6  BRUGERMANUAL USER MANUAL BRUKERVEILEDNING  LX45 - Road Sound GmbH  AVR 760 AVR 660  Samsung Galaxy Chat Lietotāja rokasgrāmata(Jellybean)  LIBRETTO ISTRUZIONI  

Copyright © All rights reserved.
Failed to retrieve file