Home
Moxa DA-660-16-CE
Contents
1. 2 5 DA 660 8 16 CE User s Manual Getting Started Troubleshooting Network Connectivity The ipconfig tool prints the TCP IP related configuration data of a host including the IP addresses gateway and DNS servers gt ipconfig all Windows IP configuration Ethernet adapter Local Area Connection IP Address 192 168 4 127 Subnet Mask 255 255 255 0 Adapter Name IXP425ETHNPE2 Description IXP425ETHNPE2 Adapter Index 2 Address 80 86 33 33 34 12 DHCP Enabled NO Ethernet adapter Local Area Connection IP Address 192 168 14 202 Subnet Mask 255 255 248 0 Default Gateway 192 168 15 254 Adapter Name IXP425ETHNPE1 Description IXP425ETHNPE1 Adapter Index 3 Address 78 56 34 91 cc dd DHCP Enabled NO Host name DA660CE Domain Name DNS Servers 192 168 1 6 NODETYPE 8 Routing Enabled NO Proxy Enabled NO To troubleshoot network connectivity reachability and name resolution use the ping command This command verifies IP level connectivity to another TCP IP computer by sending Internet Control Message Protocol ICMP Echo Request messages The corresponding return Echo Reply messages are displayed along with round trip times For more information type ping without parameters gt ping www moxa com Pinging Host www moxa com 192 168 1 16 Reply from 192 168 1 16 Echo size 32 time lt lms TTL 126 Reply from 192 168 1 16 Echo size 32 time lt lms TTL 126 Reply from 192 168 1 16 Echo size 32 time lt
2. GR ee Ge Re GR ee Re Ge RA Ge Re Gee Re eke ee 2 6 Simple Network Management Protocol SNMP esse se se se ee ee ee se ee ee ee Se ee 2 7 Web based Management System see ese ER RR ER EER RR ER EE Ee RR ER EE ee 3 1 Logging Onto Web based Management System iese see se ee Ge ee GR GR ee GR ee GR Ge Re GR Re eke 3 2 Systerri Information re Es Eie eaves eti EER Keer nts Be Ke Na Rek SEERDE GR ee Aleit ee 3 2 Networking Server Configuration cecescssssecseeescsseeecesecseesecsevsecnaeeecsaecasecesaecatesesneseeenaeeees 3 3 Serial Port Configurations is csi EE SR Re Gee Gees ai eel alle eee Sta 3 3 Process Thread Monitoring Control ccsccescceseescecseeeseeeneeseecseeeseeeeceesenseeeseceeeeseesaeenaeenes 3 4 Launching Processes AutomaticallY iese sesse ee see se ee Ge Re Gee Re Re GR ee GR ee RA Ge Re Gee Re ee 3 4 Services Monitoring Controll sse ini e aniier eaaa aae EEE AE eE E ERES ERa SEEE 3 4 Binary Text File Management ienen aeie E EE E E EEN EE eke 3 5 Using the ECM Keypad ee EE EE eee aa tec A 1 Firmware Upgrade Procedure esse ee RR EE ER RR RR RR RE RE RE EE ER RR KAR RR RE EE Re Gee B 1 Frequently Asked OuestionS e esse ee EER RA ER REKE EER AR RR KEER RR REGEER ER REGEER Ee C 1 1 Introduction Microsoft Windows CE 5 0 is an open scalable 32 bit operating system OS that allows you to build a wide range of innovative small footprint devices A typical Windows CE
3. Step 3 Browse to KEY _LOCAL_MACHINE Comm HTTPD W DS Biwindons CE Web based Adminstration Refresh HKEY_LOCAL_MACHINE Comm HTTPD Sane New Value Name Pon I i anie New Value Type REG_SZ REG_OWORD REG BINARY T New Value Step 4 Add a DWORD value named Port The default value must be zero For New Value Name enter Port For New Value Type select REG DWORD Click the New Value button Step 5 Change Port to 51 81 in HEX In the Modified Value field enter 51 Go to the display position for Port and then click Modify Step 6 Browse to HKEY_LOCAL_MACHINE Services HTTPD Accept TCP 80 DA 660 8 16 CE User s Manual Frequently Asked Questions Step 7 Change the value of SockAddr to 02 00 00 51 00 00 00 00 00 00 00 00 00 00 00 00 For Modified Value enter 02 00 00 51 00 00 00 00 00 00 00 00 00 00 00 00 Go to the display position for SockAddr and click Modify Step 8 Log onto the embedded computer from a Telnet client and restart the web server gt services stop HTPO gt services start HTPO Step 9 Try the new URL to verify that the change was successful http 192 168 3 127 81 What type of file system is supported by Moxa embedded computers Moxa embedded computers support TFAT Transaction safe File Allocation Table file systems for the on board flash m
4. commands after gaining access to the computer and others can be done by a Web based management system which is described in a later chapter The following topics are covered in this chapter OOooOo OOoOooo Starting Your DA 660 Computer Resetting Your DA 660 Computer Operating Your DA 660 Computer Via Serial Console Changing the Network Settings gt Default IP Address Operating Your DA 660 Computer Via Telnet Client User Group Management Adjusting System Time and RTC Time Starting and Stopping Services Troubleshooting Network Connectivity Simple Network Management Protocol SNMP DA 660 8 16 CE User s Manual Getting Started Starting Your DA 660 Computer Connect the power cord that is shipped with the package to the AC DC power connector located on the right side of the rear panel of the target computer It takes about 30 to 60 seconds for the system to boot up Once the system is ready the Ready LED lights up and glows steadily till the computer is shutdown and the computer displays its model name and firmware version on the LCM Resetting Your DA 660 Computer Cold Start Switch off and then switch on the power again The computer reboots itself right away Resetting to Factory Defaults To reset the system back to factory default settings press and hold the Reset to Default button for at least 5 seconds The buzzer sounds while the factory default settings are loaded After the factory default settings hav
5. console utility of the target computer Upon a successful connection type the login name and password as requested to log on to the computer Login admin Password admin After passing the authentication validity check a group of commands will be available to operate the computer Use HELP to display all of the commands or type HELP command name to display extended help for the selected command Some of these commands such as DATE and TIME are very useful for managing the system time of the computer Other commands such as DIR and MKDIR are good utilities for file management For example to inspect the file structure of the root directory type DIR gt dir b NORFlash My Documents Program Files Temp Windows 2 3 DA 660 8 16 CE User s Manual Getting Started User Group Management User Group You often want the target computer to be accessible by multiple users with different needs For example a specific service such as ftp or telnet is accessible only by the users within the permissible group By default three user groups namely ftpd telnetd and administrators are pre created for your convenience Adding a Group Use the command useradd g lt groupName gt to create a user group gt useradd g yyyy group yyyy has been added Deleting a Group To remove a group use the command userdel g lt groupName gt gt userdel g yyyy group yyyy has been removed Adding a User Use the command usera
6. created by default administrators telnetd and ftpd C 2 DA 660 8 16 CE User s Manual Frequently Asked Questions Q A If I accidentally delete system files or corrupt the operating system is there any way to recover the system or reset the embedded computer to factory defaults If the embedded computer is behaving strangely or not working properly you may reset it back to factory default settings While the embedded computer is powered on use a paper clip or pin to hold the Reset to Default button down for five seconds This is a recessed button on the front of the unit A buzzer will sound as the factory default settings are loaded When the procedure is completed the system will automatically reboot At that time the embedded computer will have rolled back to its original state as defined by the original registry database Persistent files in the NORFlash directory will not be altered and should remain intact Can I reboot Moxa embedded computers remotely Yes Moxa embedded computers can be remotely rebooted Log onto the embedded computer from a remote client and use the command reboot to reboot the system What type of CompactFlash device is supported by Moxa embedded computers Moxa embedded computers have Type II CompactFlash slots These slots support CompactFlash Type I and Type II mass storage devices What type of USB device is supported by Moxa embedde
7. into a disable state After the upgrade is completed pow er the computer again Continue the process Cy nJ y The firmware upgrade procedure may take 5 minutes please wait Firmware upgrade complete mload norfmd dllt t LANL Interface Configuration IP Address 192 168 277 153 SubNet Mask 255 255 255 0 Gateway 192 168 27 254 192 168 1 6 LAN2 Interface Configuration IP Address 192 168 27 155 SubNet Mask 259 299 299 0 192 168 27 254 192 168 1 6 Do you want to keep the current network settings on the next boot Y ND gt y Reboot now CY N m The system will be restarted with the new firmware in effect B 3 C Frequently Asked Questions Q A Can the connection port for the web server HTTPD be changed to something other than 80 Yes you can change the connection port for the web server This is accomplished by changing a registry setting The following instructions show how to change the HTTPD port to 81 instead of 80 In this example the embedded computer is assigned an IP address of 192 168 3 127 Adapt the procedure as necessary for your embedded computer s IP settings Step 1 Open Internet Explorer and point it the following IP address http 192 168 3 127 sysadmin Client IE4 If necessary log on as an administrator The default administrator user ID is admin and the default administrator password is admin Step 2 Select Registry Editor in the top frame
8. 2 Welcome to the utility of the firmware upgrade program provided by Moxa Technolo gy This program overwrites the firmware image that was stored in the flash The settings you have ever made to the computer may be wiped out Please BACKUP file s before you continue this processtt During the upgrade process please do not plug off the power supply Otherwise incomplete process would damage the flash and force the computer into a disable state After the upgrade is completed pow er the computer again Continue the process Cy n DA 660 8 16 CE User s Manual Firmware Upgrade Procedure N uc 41 ce_v1_2 3 6 1 4 1 8691 13 7418 Current Version is V1 2 mormfd dll size 12288 inload norfmd d1llt t nk size 12239287 Firmware UC 7410 CE V1 2 Welcome to the utility of the firmware upgrade program provided by Moxa Technolo gy This program overwrites the firmware image that was stored in the flash The settings you have ever made to the computer may be wiped out Please BACKUP file s before you continue this processt During the upgrade process please do not plug off the power supply Otherwise incomplete process would damage the flash and force the computer into a disable state After the upgrade is completed pow er the computer again Continue the process Cy n gt y The firmware upgrade procedure may take 5 minutes please wait 5 The upgrade proves should take about five minutes When the process is complete you will
9. 60 is a hive based registry instead of a RAM based registry The hive based registry stores registry data inside files or hives which can be kept on any file system This eliminates the need for performing backup and restore on power off RS 232 422 485 Serial Ports The DA 660 embedded computer comes with two embedded serial ports named COM1 and COM 2 COM is hidden inside the box case for debugging purposes when developing firmware COM2 is used as the console port Although the console port can be used when developing applications e g data acquisition and control we suggest that you always use the serial ports located on the front of the device for your applications and reserve COM2 for console access The additional serial ports are named COM3 COM4 etc reading from left to right The ports are designed for reliable high speed data transmission The ports are 3 in 1 i e they can be set for RS 232 RS 422 or RS 485 to make them suitable for many different applications Each of the ports supports a baudrate up to 921600 bps 1 6 2 Getting Started In this chapter we explain how to use a PC to operate a DA 660 computer For clarity the PC is referred to as a development workstation and the DA 660 computer is called a target computer In addition manual steps are described to facilitate operations such as system time adjustment troubleshooting network connectivity etc Some of these operations can be done via system
10. DA 660 8 16 CE User s Manual Fourth Edition April 2008 www moxa com product MOXA 2008 Moxa Inc all rights reserved Reproduction without permission is prohibited DA 660 8 16 CE 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 2008 Moxa Inc All rights reserved Reproduction without permission is prohibited Trademarks MOXA is a registered trademark of Moxa Inc 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 typographical errors Changes are periodically made to the information herein to correct such errors and t
11. FAT file system would be unable to read those blocks causing the operating system to hang Although CompactFlash cards also have a life cycle most use NAND flash memory with hardware controllers that implement BBM This feature allows the FAT file system to flag and skip any bad blocks Furthermore there is much more storage space available on CompactFlash cards than on the NOR flash memory This space can be used cautiously to maximize the media s life cycle An effective method is to create a large empty file around 30 MB to store log data Data is written evenly over the space and when the end of the space is reached the write operations start over from the beginning of the space This method reduces the number of write operations performed on each block Storing Data in RAM vs Flash Memory Although data saved in RAM will be deleted when the system shuts down RAM storage has the advantage of faster read write access and no life cycle issue For applications where important data is transmitted immediately and directly to a host you can store the necessary log data in RAM After the host receives the data the data does not need to be retained and can be deleted Embedded computers have resource limits so integrators need to determine when it is critical that data be stored on one of the file systems When it is necessary for data to be stored the appropriate file system should be used Hive Based Registry The registry for DA 6
12. a ed Storage RR AE OE EE RE ER dense 1 5 Onboard Flash Memory Storage ese se see se see Gee ee se ee ee ee Ge Ge Se Re RR Gee Re ee ee 1 5 Bxternal Media Storage sesse EER RE EE psehavtachistestasesapessts ee EERS DE ee Des be ker GEE Tii 1 5 Caution When Storing Data sesse see see Ge ee Gee SA Ge RA Ge ee E ee SA Se Re Gee Re GR Ge ee ek 1 5 Storing Data in RAM vs Flash Memory iese esse sesse see se ese ee ee eke Ge ee Ge ek Gee Re ek ee ee 1 6 Hive Based Nu Eie EE OE ER EE RE ER EE EE 1 6 RS 232 422 485 Serial POrts RA EE RE RR OE N EE 1 6 Getting Started EE E E T 2 1 Starting Your DA 660 Computer osiensa e GR Ge Re Ge ee ee Ge Re GR ee SA Ge RR Ge ee ek ee eed 2 2 Resetting Your DA 660 Computer eee ee se se Se ee ee Ge ee ee ee ee Se Ge Re GR Re GRA Re ee ee ee 2 2 Operating Your DA 660 Computer Via Serial Console iese see ee ee Ge Se Se GR GR Re 2 2 Changing the Network Settings iese esse se se ee Ge ee GR ee AA Ge Re Ge ee GR ee Gee AA Ge Re GR ee ee 2 2 Operating Your DA 660 Computer Via Telnet Client sesse sesse se se ee eke Ge Re Gee Re Re 2 3 User Group Management iis sd ges ke EE ED Ge Ee Gee Ge GR DEE Sede Alda ee ease 2 4 Adjusting System Time and RTC Time esse see see see se Ge ee Ge ee GR Re Re GR ee RA Ge Re Gee Re Re ee 2 5 Starting and Stopping Services esse see ee Ge Gee GR ee GRA Ge Re Ge Re Re ee GR Ge Re Ge Re GR ee ee 2 5 Troubleshooting Network Connectivity esse see see see se
13. agement Protocol SNMP Monitors remote connections to the network Simple Network Time Protocol SNTP Client Provides support for synchronizing the device s system time with an SNTP server and supports Daylight Savings Time Serial Communications In addition to the 16550 UART driver bound to a debug port and the console port a special driver for 8 or 16 additional Moxa home made serial ports is also included Network Utilities IpConfig Ping Route Utilities for troubleshooting various network problems TCP IP Includes IP Address Resolution ARP Internet Control Message ICMP Internet Group Membership IGMP Transmission Control TCP User Datagram UDP name resolution and registration and DHCP Supported Servers and Daemons In addition to the development and communication capabilities mentioned above DA 660 embeds the services and daemons listed below These common and easy to use application servers help users migrate the DA 660 embedded computer to industrial communication applications easily and conveniently Telnet Server A sample server that allows remote administration through a standard Telnet client FTP Server A sample server used for transferring files to and from remote computer systems over a network using TCP IP 1 4 DA 660 8 16 CE User s Manual Introduction e Web Server HTTPD Includes ASP ISAPI Secure Socket Layer support SSL 2 SSL 3 Transport Layer Security TLS SSL 3 1 pu
14. atures DA 660 ready to run embedded computers are network centric head less computers that are designed to be programmable for embedded communication applications Applications Development Environment The Windows CE operating system provides an easy to use programming environment for the DA 660 In fact WinCE s popular application development features make programming as convenient and easy as in a PC environment e C Libraries and Run times Compared to the C libraries and run times used on a desktop PC running Windows the C libraries and run times on a DA 660 WinCE are a subset of the WIN32 APIs The system supports a full ANSI C run time standard input output library standard input output ASCII library and standard ASCII string functions In addition compiler C exception handling and Run Time Type Information RTTD equivalent to desktop C compilers are supported 1 3 DA 660 8 16 CE User s Manual Introduction Component Services COM and DCOM The Common Object Model COM is an operating system independent object oriented system for creating binary software components that can interact with other COM based components in the same process space in other processes or on remote machines Microsoft Foundation Classes MFC MFC is a comprehensive class library and complete object oriented application framework designed to help build applications COM components and controls SOAP Toolkit SOAP is an XML based
15. based device is designed for a specific use and often runs disconnected from other computers or distributed as a front end to a centralized host Examples include enterprise tools such as industrial controllers communications hubs and point of sale terminals and display devices such as HMI advertisement appliances and interactive panels The DA 660 WinCE series of ready to run embedded computers includes the 8 port DA 660 8 CE and the 16 port DA 660 16 CE The following topics are covered in this chapter LU Overview gt Package Checklist gt Model Descriptions and Features gt Hardware Specifications LI Software Features gt Applications Development Environment gt Networking and Communications Capabilities gt Supported Servers and Daemons Q Obtaining the Firmware Build Version Q Memory and File Systems RAM based Storage Onboard Flash Memory Storage External Media Storage Caution When Storing Data Storing Data in RAM vs Flash Memory OU Hive Based Registry Q RS 232 422 485 Serial Ports VVVV V DA 660 8 16 CE User s Manual Introduction Overview The DA 660 WinCE embedded computer is ideal for reliable small footprint programmable communication centric applications DA 660 uses an Intel XScale IXP 422 RISC based CPU running at a clock rate of 266 MHz Unlike the CISC architecture under an X86 CPU the RISC design supports compact instruction sets A RISC based CPU generates less heat and consequently enhanc
16. be asked if you wish to keep the current network settings Press Y to keep the current network settings cx Telne i Je x gy This program overwrites the firmware image that was stored in the flash The settings you have ever made to the computer may be wiped out Please BACKUP file s before you continue this process During the upgrade process please do not plug off the power supply Otherwise incomplete process would damage the flash and force the computer into a disable state After the upgrade is completed pow er the computer again Continue the process Cy n y The firmware upgrade procedure may take 5 minutes please wait Firmvare upgrade complete mload norfmd dllt LAN1 Interface Configuration IP Address 192 168 27 153 SubNet Mask 255 255 255 0 192 168 27 254 192 168 1 6 LAN2 Interface Configuration IP Address 192 168 27 155 SubNet Mask 255 255 255 0 Gateway 192 168 27 254 DNS 192 168 1 6 MINS Do you want to keep the current network settings on the next boot CY N a B 2 DA 660 8 16 CE User s Manual Firmware Upgrade Procedure 6 Enter Y when prompted to reboot the embedded computer cx Telnet 192 168 27 153 settings you have ever made to the computer may be wiped out Please BACKUP file s before you continue this processtt During the upgrade process please do not plug off the power supply Otherwise incomplete process would damage the flash and force the computer
17. blic key based protocols and Web Administration ISAPI Extensions e Dial up Networking Consists of a RAS client API and Point to Point Protocol PPP RAS and PPP support Extensible Authentication Protocol EAP and RAS scripting Obtaining the Firmware Build Version There are three ways to obtain the firmware version of the DA 660 embedded computer This information is particularly important for feature identification e Examine the welcome message after you log on to the computer e Log on to the Web based management system described in a later chapter to view the system information e Check the firmware version on the LCM display Memory and File Systems The DA 660 8 16 CE file system allows file storage on the system RAM or on the onboard flash memory Files can also be stored on external media such as a USB drive or CompactFlash card RAM based Storage About 20 MB of the 128 MB SDRAM is available for user applications and data The operating system and kernel image occupy the rest of the space The root directory is stored in RAM along with subdirectories such as Windows Temp My Documents Network and Program Files Files can be temporarily stored in these directories but they will be deleted when the system is shut down or restarted Persistent files and programs should be placed in the NORFlash directory Onboard Flash Memory Storage Onboard flash memory storage is provided thro
18. d computers Moxa embedded computers support USB 2 0 and 1 1 mass storage devices If you cannot find the USBDisk directory try unplugging the device and plugging it in again I plugged a USB drive into the computer but I can not find the associated directory under the root directory If you can not find the associated USBDisk or USBDisk2 directory try unplugging the device and plugging it in again On Moxa embedded computers how do I set up an application to start automatically upon bootup To start an application automatically on bootup log into the web based management system and complete the following steps Step 1 Navigate to Processes and find the Automatic Launching section Windows CE 50 System 4 Brocesse NK EE 1 2 Serial Port leers exe 2 4 dee exe 4 File Manager gwes exe 4 4 seraces ore 4 7 service KM CMD DE 6 1 Ka conmancthert DE T 4 Processes kn CMD Exe B n MA OM Launching 1 te nei ere Ratove Laas DA 660 8 16 CE User s Manual Frequently Asked Questions Step 2 In the first text field enter the full path of the application In the second text field enter any arguments if required Click Add MOXA ji N system Networking Serial Port File Manager Services Processes KeyPad LCM Easy Test Step 3 Repeat steps 1 and 2 to set up additional applications that will start automatical
19. dd lt newUserID gt to add a user for accessing the system The user s password by default is the same as the user name gt useradd xxxx user xxxx has been added In addition you can permit this user to access a particular service by typing g followed by the user group name of the service i e useradd g lt groupName gt lt newUserID gt For example gt useradd g telnetd xxxx user xxxx is existent group telnetd is existent user xxxx has been added to group yyyy Deleting a User Use the command userdel lt userID gt to delete a user from the system User admin CANNOT be deleted gt userdel xxxx user xxxx has been deleted You can also just remove a user from a user group by using the command userdel g lt groupName gt lt newUserID gt For example gt userdel g yyyy xxxx user xxxx has been removed from group yyyy Changing the Password Use the command passwd lt userID gt to change your login password The user s password by default is the same as the user name gt passwd xxxx Current password New password Retype new password Password has been changed 2 4 DA 660 8 16 CE User s Manual Getting Started Adjusting System Time and RTC Time The DA 660 computer has two time settings the system time or CPU clock and the RTC Real Time Clock time The system time regulates the execution of instructions and the RTC keeps track of the time even when the computer is tu
20. e been loaded the computer reboots itself Operating Your DA 660 Computer Via Serial Console The serial console port next to two LAN ports gives users a convenient way of connecting the development workstation to the console utility of the target computer This method is particularly useful when using the computer for the first time After you have wired a serial cable go back to the development workstation and start a terminal program e g HyperTerminal by using the settings shown below for the serial console port Baudrate 115200 bps Parity None Data bits 8 Stop bits 1 Flow Control None Terminal ANSI After a successful connection type the login name and password as requested to logon the computer The default values are both admin Login admin Password admin The console has a default timeout value of 15 minutes To disable the timeout you will need to change a value in the registry Go to HKEY_LOCAL_MACHINE Comm CONSOLED and set the Timeout value to FFFFFFFF Changing the Network Settings The DA 660 computer comes with two network interfaces The default IP addresses and netmasks of the network interfaces are as follows Default IP Address Netmask LAN 1 192 168 3 127 255 255 255 0 LAN 2 192 168 4 127 255 255 255 0 Normally you are required to change them because they are located on a different local network from that of your developm
21. emory TFAT protects the file system from write corruption during critical events such as a sudden power loss However the TFAT file system may not be recognized by PCs Therefore Moxa embedded computers support the FAT File Allocation Table file system for external storage media such as USB drives and CompactFlash cards Where can I store files permanently on Moxa embedded computers There is a sub directory named NORFlash under the root directory Use this directory to store persistent files Do Moxa embedded computer have a C or D V directory as found on desktop PCs Moxa embedded computers have a single root directory V Any external storage media will appear as subdirectories under the root directory as follows USB drives USBDisk and USBDisk2 CompactFlash cards CFFolder Can I delete any Windows CE system files No you should not be able to delete any system files Even if you somehow succeed in deleting the files they will simply reappear when the system reboots Can I add other users besides admin Yes by using the command useradd The command userdel can be used to delete users Is there a way control user access for each function service FTP Telnet Yes Log onto the embedded computer with the admin account Use the command useradd to create user groups and assign users to them Three groups are already
22. ent workstation Use the command netconfig to complete the task Type netconfig h to examine the usage of the command 2 2 DA 660 8 16 CE User s Manual Getting Started gt netconfig h Usage netconfig n lt LAN1 or LAN2 gt m lt netmask gt d DNS server gt g lt gateway gt i lt IP address gt For example your development workstation has a LAN port at 192 168 1 x and the Domain Name Server DNS is at 192 168 2 6 Execute the following command gt netconfig n LAN1 i 192 168 1 5 m 255 255 255 0 g 192 168 1 254 d 192 168 2 6 Use command netconfig to view the new settings gt netconfig LAN1 Interface Configuration IP Address 192 168 1 5 SubNet Mask 255 255 255 0 Gateway 192 168 1 254 DNS 192 168 2 6 LAN2 Interface Configuration IP Address 192 168 4 127 SubNet Mask 255 255 255 0 Gateway DNS Operating Your DA 660 Computer Via Telnet Client Before operating your target computer using the Telnet client we suggest that you change the network settings of the computer see the earlier section to have at least one of the two network ports situated in the same LAN as your development workstation Use a cross over Ethernet cable to connect your development workstation directly to the target computer or a straight through Ethernet cable to connect the computer to a LAN hub or switch Next use a Telnet client in your development workstation to make a connection to the Telnet
23. er s Manual Web based Management System Networking Server Configuration The target computer has two network interfaces To view or change their settings click the Networking item on the menu bar After the page loads enter the relevant details on the corresponding text fields and then click Update to make the changes effective for the interfaces mad Windows CE 50 System an DHCP Enable o Rutsrorkina Network Address 19216827234 Network Mask 255 255 255 0 Serial Port Network Gateway Pie Manager Domain Name Server Services LAN2 DHCP Enable oO Processes Network Address 192 158 4127 Network Mask 255 255 255 0 Network Gateway Domain Name Server Serial Port Configuration The embedded computer has multiple high performance serial ports that can be set for RS 232 RS 422 or RS 485 operation All serial ports are set to RS 232 by default and serial ports can be set independently from one another Changes will take effect when the system is rebooted and will remain in effect until another change is made Windows CE 50 Defaut Operation Mode System com3 RS232 v ll Networking i P2 coms RS232 v t fi Serial Port P3 COMS Rees y al P4 COMB RS232 v ll File Manager PS com RS232 v ul P6 cOmB RS232 v id Services P7 COMBS RS232 YS ld Pa COMTO RS232 tal Processes bala I When the system starts up the default op
24. eration mode will be set to the above setting KeyPad LCM Easy Test 3 3 DA 660 8 16 CE User s Manual Web based Management System Process Thread Monitoring Control At runtime the target computer manages up to 32 applications that you can monitor and control via the management system To view current processes click the Processes item on the main menu bar You can kill a process by clicking the kill button next to the process name System 2lprocesses EE Name Tends NKEXE 1 2 Serial Port filesys exe 2 4 device exe 3 44 File Manager lgwes exe 4 4 lservices exe 5 19 Services Kill CMD EXE 6 1 Kill ce_neci exe 7 1 Processes Kill lom exe 8 1 Automatic Launching 1 ce_neci exe Add Launching Processes Automatically To have your application start on boot do the following Step 1 Click the Processes item on the main menu bar At the lower part of the page there is an area marked as Automatic Launching Step 2 Fill in the full path of the application in the first text field and its arguments in a separate text field if there are any Step 3 Click Add Services Monitoring Control Some services run in the background to provide services such as ftp and telnet daemons etc for user requests To monitor and control these services do the following Step 1 Click the Services item on the main menu bar The running services are displayed Ste
25. es reliability To provide sufficient data storage and run time memory for your applications DA 660 integrates 32 MB of Flash memory and 128 MB of SDRAM In addition the DA 660 has two LAN ports and 8 or 16 serial ports to extend its communication capabilities Two efficient LAN ports support high performance data transmission over the Intranet Internet Each serial port supports an RS 232 422 485 3 in 1 operation mode switch to provide centrally controlled connectivity to diverse serial devices The Da 660 WinCE system is built on the Microsoft Windows CE 5 0 operating system OS Using a common widely used programming environment makes DA 660 suitable for new system development and legacy system migration The hardware and software capabilities of the Da 660 WinCE system make it an ideal computing platform for data acquisition and transmission applications Package Checklist Before installing the Da 660 WinCE system verify that the package contains the following items e 1 DA 660 WinCE 19 inch Rackmount Kit Quick Installation Guide Document amp Software CD Cross over Ethernet cable CBL RJ45M9 150 150 cm 8 pin RJ45 to male DB9 serial port cable CBL RJ45F9 150 150 cm 8 pin RJ45 to female DB9 console port cable e Power Cord e Product Warranty Statement NOTE Notify your sales representative if any of above items is missing or damaged Model Descriptions and Features The Da 660 WinCE Series referred to in this manual a
26. hese changes are incorporated into new editions of the publication Technical Support Contact Information Wwww moxa com support Moxa Americas Moxa China Shanghai office Toll free 1 888 669 2872 Toll free 800 820 5036 Tel 1 714 528 6777 Tel 86 21 5258 0055 Fax 1 714 528 6778 Fax 86 10 6872 3958 Moxa Europe Moxa Asia Pacific Tel 49 89 3 70 03 99 0 Tel 886 2 8919 1230 Fax 49 89 3 70 03 99 99 Fax 886 2 8919 1231 Chapter 1 Chapter 2 Chapter 3 Appendix A Appendix B Appendix C Table of Contents Introduction EE N EE EE OE EN Aaaa ka NAKAA 1 1 OVERVIEW anys RE EE OE EE EE EE EE WO EN 1 2 Package Checklist EE EE EE ORE OE EE EE 1 2 Model Descriptions and Features sesse ea see Re ee ee Ee ee ee Re Re RR RR GRA Re Gee 1 2 Hardware SpecificatHOnS esse sesse ee se ese eke SR Re SA Ge RR Ge ee GR ee SA Ge RR Ge ee GR ee sede 1 3 it Adele ER OE OE ER RE RE EE OE 1 3 Applications Development Environment esse see ese see se ee see see eke se ed Ge ee Ge ek eke ee ee 1 3 Networking and Communications Capabilities iese see sees eke se RA Se RR Ge Re GR ee eek 1 4 Supported Servers and DaemoONnS esse esse se se se Ge RR GRA Ge Ge Ge ee ee ee ee ee ee 1 4 Obtaining the Firmware Build Version esse ee se se ee Gee Re ge Ge Re GR Re ek ee AA Ge Re Gee Re ee ke 1 5 Memory and File Systems noose ese ees se soe sesse see Se Ee Se SG Se Se eo Se ee E E Ee Se GR Ge bee Se Gee K 1 5 RAM b
27. le Manager Services Processes In addition the management system offers a mechanism for file upload This mechanism helps you transfer files from your workstation to the target computer in an easy way For instance after you have built an application on the development workstation you can use this mechanism to upload the application to the current directory of the target computer Step 1 Click Upload File A browser window pops up Step 2 From the pop up browser window click Browse to bring up a local file manager Step 3 Browse to and select the file that you want to upload and click Open Step 4 Navigate back to the browser window and click OK The system starts to upload the file Step 5 After the file is uploaded completely refresh the page 3 5 A Using the LCM Keypad Da 660 has an LCM and keypad that provide users with on site parameter readings and the ability to modify the configuration Parameters that can be modified include model name firmware version network settings etc We use the DA 660 16 CE as an example to demonstrate the steps you should follow to configure these parameters LCM Display Menu Key Select Key Display the process values Back to the previous Enter sub menu and parameters menu DA 660 16 Data Acquisition Computer Up Key Down Key Browse sub menus Browse sub menus upward downward Typical Example Model Name and Firmware Version This is the 1 screen when the system b
28. lms TTL 126 The route utility allows you to view or modify network routing tables Type this command without parameters to view a list of functions gt route To view current routing items in the tables gt route PRINT 2 6 DA 660 8 16 CE User s Manual Getting Started Simple To add a routing item on network interface 1 gt route ADD 192 168 0 0 MASK 255 255 0 0 192 168 15 254 IF 2 To delete a routing item gt route DELETE 192 168 0 0 Network Management Protocol SNMP SNMP belongs to the TCP IP protocol suite and is the Internet standard protocol for network management SNMP was developed to monitor and manage networks It uses a distributed architecture that consists of agents and managers e The SNMP agent is an application that monitors network traffic It responds to queries from SNMP manager applications It also sends traps to notify the manager of significant events e The SNMP manager is an application that sends queries to SNMP agents and receives traps from SNMP agents The DA 660 computer installs an SNMP agent to serve as an SNMP device You should install the SNMP manager on the workstation computer for example a Linux system that monitors the network After installing the nodes you need to configure the SNMP manager and agent To check SNMP agent capabilities in a target computer e g network IP at 192 168 3 127 please logon the workstation computer that for example a Linux based compute
29. ly upon bootup MOXA N i System Networking Serial Port File Manager Services Processes KeyPad LCH Easy Test C 4 DA 660 8 16 CE User s Manual Frequently Asked Questions Q How do I monitor processes on Moxa embedded computers A In the Telnet or serial console you can execute ps to monitor current processes In the web console there is a Processes page You can monitor processes and kill a pending application on the system Windows CEs0 System Da ocetser Networking NK EXE 1 2 Serial Port flesys exe 2 4 ence exe 3 4 File Manager gues exe 4 4 sernces exe 5 17 services ka CMD DE 6 1 Ka tonmant lers EXE 7 4 Pronesses Ka CMDEE B oh KeyPad LCA Aag Ore ENG Easy Test EI C 5
30. oots up Press MENU to enter the main menu ThinkCore DA 660 8 16 CE User s Manual Using the LCM Keypad Main Menu Press or use SEL to select an item Press or use SEL to select an item Press or use SEL to select an item Network Settings Port eth0 for example Press SEL Press SEL Press Press Press Press a A 2 Firmware Upgrade Procedure Software features for Moxa embedded computers continue to be developed improving quality and enhancing functionality Firmware updates will be made available in the Moxa download center When updating the firmware for your embedded computer follow these instructions 1 Visit the MOXA download center at http web4 moxa com support download_center asp to download the appropriate firmware update file for your embedded computer This will be an executable file such as DA660CE_V1 2 07052314 Copy this file to the root directory i e of your embedded computer We do not recommend that you perform the update from a CompactFlash card or a USB drive because performance will be very slow Log onto the embedded computer using a Telnet or console connection EET Execute the file Enter y when prompted 1 3 6 1 4 1 8691 13 741 Current Version is Ui 2 normfd dll size 12288 unload norfmd dllt nk size 12239287 Firmware UC 741 CE V1
31. p 2 Click the relevant check box to toggle a start stop operation for the desired service M O Windows CE 50 Services System TELO Telnet Service Running FTPO FTP Serice Running Serial Port ICONO Console Service Running Networking File Manager jo Pacific Standard Time v Services time nuri net ntp shim org ntp cyber fleet net ntp landau ac ru Hours Save Settings Processes 3 4 DA 660 8 16 CE User s Manual Web based Management System Binary Text File Management On a PC it is certainly convenient to have a friendly window based file manager to browse delete and organize files and directories On the target computer such a convenient feature is simulated by the web based management system Click File Manager to view the directory tree of your target computer Using the file manager you can perform the following operations e To browse a child directory click the name of the directory e To delete a file click the X in front of the file icon e To create a child directory click Create Directory and then follow the instructions e To refresh the current directory click Current Directory at the top of the page MOXA ae Windows CE 50 File Manager System Goto Root Current Directory NORFlash Operation Name Size Modified Date Networking CF Create Directory Le Upload File Cipocuments and Settings 1 1 2003 00 00 00 Serial Port Fi
32. protocol for object exchange and remote procedure calls Microsoft Windows CE 5 0 provides functionality similar to the SOAP Toolkit version 2 on the desktop It provides a layer that allows COM objects to use SOAP as the transport protocol for remote procedure calls and to interact with Web services Microsoft NET Compact Framework 2 0 Offers a choice of programming languages initially Microsoft Visual Basic and Microsoft Visual C and eliminates the common problems faced with language interoperability XML Provides the Document Object Model DOM for base XML functionality support for XML Query Language XQL and XPATH Extensible Style Sheet Language Transformations XSLT that enables you to transform one class of XML document to another SAX2 support for event based parsing of XML documents including MSXML Writer and parsing based on Simple API for XML SAX for resource constrained target devices Winsock 2 2 Provides enhanced capabilities over Winsock 1 1 including installable service providers for additional third party protocols and Media sense Networking and Communications Capabilities For network centric embedded application usage DA 660 not only provides powerful communication hardware interfaces including dual Ethernet and 3 in 1 serial ports but also supports the networking and communications capabilities that are built into the Windows CE 5 0 OS The following features are supported Simple Network Man
33. r the SNMP manager resides and type gt snmpwalk v 2c c public 192 168 3 127 system SNMPv2 MIB sysDescr 0 Microsoft Windows CE Version 5 0 Build 1400 SNMPv2 MIB sysObjectID 0 SNMPv2 SMI enterprises 8691 13 7420 SNMPv2 MIB sysUpTime 0 1282929 SNMPv2 MIB sysContact 0 Your System Contact Here SNMPv2 MIB sysName 0 WindowsCE You will see a series of messages from the SNMP agent From there you can monitor and manage the computer 3 Web based Management System Note Internet Explorer 5 5 or above is required to use the web based management system DA 660 ready to run embedded computers are network centric platforms designed to be used as front end computers for data acquisition and industrial control Due to the distributed characteristics of the devices that these computers control they often reside in harsh areas as the devices themselves and are away from system administrators To manage these computers operations such as networking server configuration file management and process thread monitoring control become a critical area to consider The following topics are covered in this chapter Logging Onto Web based Management System System Information Networking Server Configuration Serial Port Configuration Process Thread Monitoring Control Launching Processes Automatically Services Monitoring Control Binary Text File Management OOOOOOOD DA 660 8 16 CE User s Manual Web based Management Sy
34. rned off RTC time runs on a special battery that is not connected to the normal power supply Do not confuse a computer s real time clock with its CPU clock Setting the System Time Manually Use the date and time commands to query the current system date time or to set a new system date time gt date The current date is Tuesday November 22 2005 Enter the new date mm dd lyylyy 12 23 05 gt date T Wednesday November 23 2005 gt time The current time is 5 27 17 PM Enter the new time hh mm ss 16 02 00 gt time T 4 02 04 PM Adjusting RTC Time Use the command hwelock w to convert the system time to the RTC time gt hwelock w Use the command hwclock w YYYY MM DD hh mm ss to manually update the RTC time gt hwclock w 2005 12 23 15 00 00 Use the command hwclock to query the updated RTC time gt hweloek 2005 12 23 15 00 00 Starting and Stopping Services After booting up the DA 660 computer runs several services continuously to serve requests from users or other programs Notable services include telnet TELO console CONO world wide web HTTP HTPO and file transfer FTP FTPO etc You seldom need to care about these services However you still can start up or stop a service with its associated name by using the command services For example Start the FTP service by gt services start FTPO Stop the FTP service by gt services stop FTPO
35. s DA 660 consists of two models Both models have exactly the same software features and hardware specifications but DA 660 8 CE has 8 serial ports and DA 660 16 CE has 16 serial ports The following table lists the hardware specifications of the models in more detail 1 2 DA 660 8 16 CE User s Manual Introduction Hardware Specifications Model DA 660 8 CE DA 660 16 CE CPU Intel XScale IXP 422 266 MHz RAM 128 MB Flash 32 MB LAN Auto sensing 10 100 Mbps x 2 with built in 1 5 KV magnetic isolation protection RJ45 Connector Serial Port RS 232 422 485 x 8 RS 232 422 485 x 16 RJ45 Connector RJ45 Connector Serial Protection 15 KV ESD Data Bits 5 6 7 8 Stop Bits 1 1 5 2 Parity None Even Odd Space Mark Flow Control RTS CTS XON XOFF RS 485 ADDC Speed 50 bps to 921 6 Kbps Serial Console RS 232 x 1 RJ45 Connector LCM 128 x 32 dots Keypad 4 buttons Real Time Clock Yes Buzzer Yes Reset Button Reset to Default x 1 Power Input 100 to 240 VAC VDC auto ranging 47 to 63 Hz for AC input Power Consumption 12W Dimensions 480 x 198 x 45 mm with rack mount ears WxDxH 440 x 198 x 45 mm without rack mount ears Operating 10 to 60 C 14 to 140 F 5 to 95 RH temperature Storage temperature 20 to 70 C 4 to 176 F 5 to 95 RH Regulatory Approvals EMC CE Class A FCC Class A Safety UL CUL TUV Warranty 5 years Software Fe
36. stem Logging Onto Web based Management System A web based management system is provided for the DA 660 CE for easier management and system administration The web based management system uses a menu bar and CGI pages to provide access to commonly used features Before using the web based management system your PC must have a web browser installed and a network connection to the DA 660 CE To open the web based management system follow these steps 1 Point your PC s web browser to the DA 660 CE s IP address When the main page opens select Web Based Management 2 When prompted enter the required authentication data including case sensitive user ID and password The default user ID and password are as follows User ID admin Password admin System Information After you logon successfully the main page displays the system information of the target computer including the firmware version of the computer the CPU system time and system resources including main memory and file system usage RAM and Flash MOXA en Windows CE50 System Firmware Version 1 0 Networking CPU Architecture IXP 422 EE CPU System Time fen de 06 43 51 Pacific Standard Free Total Memory 93288 99164 K Bytes File Manager ee oe re oe ee a er Free Total FS RAM 16618 16736 K Bytes Services a ee ee oe Go ns va p Free Total FS Flash 15258 15544 Bytes AISLE ie Po eee ib y ikon a ay y ia CA 3 2 DA 660 8 16 CE Us
37. ugh the NORFIash directory Anything that is saved in this directory will be retained when power is disconnected or lost 15 5 MB of storage is available External Media Storage When external media is installed such as a USB drive or CompactFlash card it will be found as an additional directory For data that is intended to be shared with a PC the external media should be formatted using the PC s FAT file system Caution When Storing Data It is recommend that the onboard NOR flash be used for storing programs only For log data generated by your programs use external storage media such as CompactFlash or a Network File System CompactFlash is much easier to replace if it is damaged or full NOR flash memory has a life cycle of 100 000 write operations at the block 128 KB level It does not support BBM Bad Block Management For this reason a FAT file system would not know if a flash block has reached the end of its life cycle The FAT file system would continue to scan the block again and again eventually resulting in an unpredictable state 1 5 DA 660 8 16 CE User s Manual Introduction In addition the FAT file system searches for free space sequentially when performing write operations As files are deleted free storage space becomes more and more fragmented making it difficult to search When a file is frequently updated data is deleted and rewritten to the same memory blocks over and over again Eventually the
Download Pdf Manuals
Related Search
Related Contents
Smeg SCA310X Instructions for Installation and Use Abrasifs agglomérés - Guide de dépannage Inspiration® Getting Started Guide 取扱説明書 品番 BB-HG2000 Manuale del prodotto - Meccanica Benassi Spa 取扱説明書 - LIXILオンラインショップ Manual - SpaceLas Laser Light Copyright © All rights reserved.
Failed to retrieve file