Home
UC-8410/8416/8418/8430 WinCE User`s Manual
Contents
1. Web Server Configuration You will need to use a Windows 2000 or Windows XP machine for web administration Open Internet Explorer and then type the URL http 192 168 3 127 WebAdmin replace the IP with your UC 8410 8416 8418 8430 CE s network IP address to link to the Web Server Configuration page Z Web Server Configuration Microsoft Internet Explorer DAR BRO RHE HAO BREA IA HAW OQ O HAG Px ka o2 2 9 LJE So 8 ebi Instructions Logging SSL Configuration Restart Web Server Web Server Configuration The Web Server Administration WebAdmin page for the Windows CE Web Server enables you to remotely administer your Web server using your Web browser Use WebAdmin to manage the accessibility security and file sharing features of your Web server including the following tasks e Configure which files are shared and how they are accessed Configure which users have access to which files e Configure the authentication protocols the Web server will use View and configure the Web server log Caution Incorrectly configuring the Web server increases the likelihood a hacker could gain control of your Windows CE device and the likelihood that the system will be inaccessible The Web server configuration is intended for advanced users only For more information refer to the help topics included with the Web server or consult a System Administrator Choose a Web site A Web server can contain multiple Web sites You can
2. 125 200 250 400 500 666 800 1000 Function unsigned int mxcan get bus timing int fd Description This function get the bus timing of an open port Input fd Handle of the open port Return 0 on failure otherwise the bus speed in KHz Remarks Function int mxcan purge buffer int fd unsigned int purge Description This function purges the buffers of an open port Input fd Handle of the open port purge 1 receive data buffer 2 transmit data buffer otherwise both Return 0 on success otherwise failure Remarks Function int mxcan set read timeout int fd unsigned int to Description This function set data reading timeout of an open port Input fd Handle of the open port to timeout in milliseconds Return 0 on success otherwise failure Remarks Function int mxcan set write timeout int fd unsigned int to Description This function set data writing timeout of an open port Input fd Handle of the open port to timeout in milliseconds Return 0 on success otherwise failure Remarks Function int mxcan set nonblocking int fd Description This function set the open fd to be non blocking Input fd Handle of the open port Return 0 on success otherwise failure Remarks Function int mxcan set write timeout int fd unsigned int to Description This function set data writing timeout of an open port Input fd Handle of the open port to timeout in milliseconds Return 0 on success otherwise failure
3. Remarks Function int mxcan_inqueue int fd Description This function get the number of received bytes that are queued Input fd Handle of the open port Return The number of bytes are queued B 6 UC 8400 WinCE Application Development with the SDK and Software Libraries Remarks Function int mxcan_outqueue int fd Description This function get the number of bytes waiting for being transmitted to a CAN port Input lt fd gt Handle of the open port Return The number of bytes are queued Remarks Function int mxcan_get_parameters int fd CANPRM param Description This function get the parameter of an open port Input lt fd gt Handle of the open port lt param gt pointer to a structure of CANPRM Return 0 on success Otherwise return a negative value Remarks Function int mxcan_set_parameters int fd CANPRM param Description This function set the parameter of an open port Input lt fd gt Handle of the open port lt param gt pointer to a structure of CANPRM Return 0 on success Otherwise return a negative value Remarks Function int mxcan get stat int fd CANBST stat Description This function get the statistics of an open port Input fd Handle of the open port stat point to a container of statistics Return 0 on success otherwise failure Remarks The CAN bus statistics never reset except system reboot or driver unloaded F
4. System Information The first page displays the system information of the UC 8430 CE computer including the firmware version of the computer Net CF version the system time and system resources including main memory and file system usage System Manager OK x General Processes Services COM Ports Display Auto Launch User Group Module Name UC 8430 CE Computer Name UC 8430 CE Firmware Version v1 0 NET CF Version 3 5 CPU Architecture Intel IXP425 ARMS20T CPU 533MHz CPU System Time 2010 06 08 09 34 56 Free Total Memory 177288 192732 K Bytes Free Total Nand Flash Disk 32188 32398 K Bytes Serial Port Configuration The UC 8430 CE has 8 high performance serial ports When the system starts specify the default operation mode RS 232 RS 422 or RS 485 The factory default mode is RS 232 Click the COM Ports tab to see the status of the serial ports System Manager jok Ix General Processes Services COM Ports Display Auto Launch User Group COM Port Operation Mode COM3 COM4 COMS COM6 COM coms COM9 COMIO 3 2 UC 8400 WinCE Management Tools Process Thread Monitoring Control When running the UC 8430 CE computers can manage up to 32 000 applications To view processes that are currently running click the Processes tab To kill a process click the kill button next to the process name
5. 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 as well as Media sense Networking and Communications Capabilities For network centric embedded application usage the UC 8410 8416 8418 8430 CE not only provide powerful communication hardware interfaces including dual Ethernet and 3 in 1 serial ports but also support the 1 3 UC 8400 WinCE Introduction networking and communications capabilities that are built into Windows amp CE 6 0 The following features are supported Simple Network Management 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 additional Moxa serial ports is also included Network Utilities IpConfig Ping Route Utilities for troubleshooting various network problems TCP IP Includes IP Address Resolution Protocol ARP Internet Control Message Protocol ICMP Internet Group Membership Protocol IGMP Transmission Control Protocol TCP User Datagram Protocol UDP name resolution and registration and DHCP Supported Servers a
6. 0 Gateway N DNS N MINS N LAN3 Interface Configuration EHCP Enable N IP Address 192 168 5 127 SubNet Mask 255 255 255 0 N N N want to keep the current network settings on the next boot lt Y N y want to keep the current automatic launch settings lt Y N y DIDIT re PA PM After system restart you will find the new firmware ready and running Application Development with the SDK and Software Libraries The mxdev library for C and the mxdevice library for C Sharp are provided to help users develop applications on UC 8410 8416 8418 8430 CE computers The complete source code can be found in the example directory of the software CD The following topics are covered in this appendix g g o Installing the SDK Developing an Application with VS2005 Visual C Library gt UART gt DIO gt Watchdog gt Buzzer gt CANbus UC 8418 only Visual C Examples Net Compact Framework Library gt UART gt DIO gt Watchdog gt Buzzer Visual C Examples UC 8400 WinCE Application Development with the SDK and Software Libraries Installing the SDK Software libraries are available to simplify your software development time Before using the SDK Library you must install the MOXA UC 8410 8416 8418 8430 CE SDK UC 8400 CE SDK msi The SDK file is in the sdk directory of the UC 8410 8416 8418 8430 CE Software CD Use the following steps to install the SDK Copy UC 8400 CE
7. 8430 CE only Windows Embedded CE supports Virtual Private Networks VPNs The VPN support in Windows Embedded CE includes Layer Two Tunneling Protocol L2TP IP Security Protocol IPSec and Point to Point Tunneling Protocol PPTP L2TP IPSec enables enhanced security for Virtual Private Network VPN client connections from Windows Embedded CE based devices to corporate servers PPTP is a Network protocol that adds a 2 4 UC 8400 WinCE Getting Started security infrastructure for the transfer of data from a remote client to a private enterprise server which creates a VPN by using TCP IP based data networks Currently this function is supported only by the UC 8430 CE For VPN questions concerning the UC 8430 CE please contact Moxa s Technical Support team Make New Connection Make New Gonnection Type a name for the connection Type a name for the connection p da m Connection My Connection Select the connection type Select the connection type Q Dial Up Connection Q Dial Up Connection Q Direct Connection Q Direct Connection O virtual Private Network PPTP 9 j 9 y Virtual Private Network L2TP PPP aver Ethernet PPPoE O PPP over Ethernet PPPoE Operating the UC 8410 8416 8418 8430 CE Computers via Telnet Before operating your UC 8410 8416 8418 8430 CE computer using a Telnet client we suggest that you change the network settings of the computer see an earlier section so that at least one
8. RAM based registry The hive based registry stores registry data in files or hives which can be kept on any file system This removes the need for performing backup and restore on power off 1 5 UC 8400 WinCE Introduction Inserting a CompactFlash Card The UC 8410 8416 8418 8430 CE are equipped with a CompactFlash slot of type II that supports cards of both types I and II A mass storage card is considered to be a standard attachment to the computer When an empty mass storage card is inserted into the slot the computer automatically formats it to the FAT system This process takes a few minutes to complete When a mass storage card is inserted the UC 8410 8416 8418 8430 CE create a directory named HardDisk under the root directory and the newly created directory serves as a link to the storage The UC 8410 8416 8418 8430 CE does not support PNP plug and play and hot swap for CompactFlash storage devices Users must switch off the power and then insert the CompactFlash storage device in the slot When the power is switched on again the UC 8410 8416 8418 8430 CE will detect the CompactFlash storage device Be sure to shut off the power before removing the CompactFlash storage device The following table describes the compatible CompactFlash storage devices that have been tested and found to be compatible with the UC 8410 8416 8418 8430 CE computers Vendor Device Name Size ScanDisk Ultra II 1GB Transcend Compact Fla
9. cence eter cede rtr ERE H E ERR cate ERR ERR ERERERRRRTERNRKRE ERR RR MERE NR EA NER MER RR ERR ES 2 5 Adj sting the Time Zone re rere tero oer ep er oper es ides esos os ep epspeseyepoe e RERO ERUNT ETETRIREMEPEME A 2 6 Adjusting the SysStem TIME s ceo teer rere eere ERE RR MEO ERR IEEE ERN ERE EERR RO ARR RD RR RERR ER ATA AD RRAR RA RRIAR ME 2 6 Starting and Stopping ServViCeS nene nenne hehe ne nene e here sese re sese re sese rennen rennen nnn 2 6 Troubleshooting Network Connectivity sssssssrssrsrsrssrrusrtrntunrtttrtt tt tntu untu un eene nene e nere e nene nene nn nens 2 7 Simple Network Management Protocol SNMP cccee eee nemen nemen nemen reni nenne 2 8 datei i E 2 8 SNMP Mariager ett crests ee tetera tat eine lee te cele tee cise ieee seen ee RERERERERERERDEDRDRRRIROADIR RR ADR ORIRIMPXPA EAEE 2 8 Accessing Files through File Sharirig rrr nter r ernannt rari ra eR EPRRRERRERRIRRRRPRPNPMERRUERE 2 9 3 Management Tools ccccceceeeeeeeeeeeeeeeeueeeeeeeeeeeseeeeseseeeesaseeeesaseeeesaseeseseuaususasausesaseususauaususauaueaseuauensonsues 3 1 System IMMO Matis esena ah aeae seca xr AER Ua Gah svete meet weet es eem Eee Lue nae eE Eaa a Daaraan APEE TATATA 3 2 Serial Port Configuration erre erre rh RR rite hkr Era RE ERRURERRERERE ERR DET RRERE ERR IXREPNRERERARRRRS 3 2 Process Thread Monitoring Control esee einn natn nna nnn nana rna na rna nna nnn nnn 3 3 Services Monitoring Gontrol tt e
10. 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 UC 8410 8416 8418 8430 CE Domain Name DNS Servers 192 168 1 6 NODETYPE 8 Routing Enabled NO Proxy Enabled NO Use the ping command to troubleshoot network connectivity reachability and name resolution The 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 1ms TTL 126 Reply from 192 168 1 16 Echo size 32 time 1ms TTL 126 Reply from 192 168 1 16 Echo size 32 time 1ms TTL 126 UC 8400 WinCE Getting Started 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
11. 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 2 5 UC 8400 WinCE Getting Started Adding a User Use the command useradd 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 Please use System Manager to change the Password Adjusting the Time Zone Windows CE 6 0 supports Time Zone You can use Control Panel 2 Date Time to adjunct your current Time Zone It also supports Daylight Date and Daylight Time Adjusting the System Time Setting the System Time Manually
12. milliseconds Return True on success false indicates failure Remarks After calling the open you must call refresh in the specified time nTime or the system will be triggered rebooting Method bool refresh Description The watchdog refresh function call Class Name Watchdog Input None Return True indicates the watchdog refresh succeed false indicates refresh failure Remarks Method bool close Description Close the watchdog handle Class Name Watchdog Input None Return True indicates the watchdog refresh succeed false indicates refresh failure Remarks Buzzer Method bool Open Description Class Name Buzzer Input None Return None Remarks Method void Close Description Close the buzzer Class Name Buzzer Input None Return None Remarks Method bool Beep int time Description Enable the buzzer voice for a specified time Class Name DIO Input time the beep voice time in milliseconds Return True on success false the function fails Remarks B 10 UC 8400 WinCE Application Development with the SDK and Software Libraries Visual CZ Examples A device Net CF 3 5 class library mxdevice dll is provided to simplify application development with Visual Studio 2005 tools This library covers the Net CF Class Library for the buzzer and digital I O devices To link the library with your Visual Studio 2005 pro
13. of the two network ports is on 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 the Telnet client on your development workstation to connect to the Telnet console utility of the target computer Once a connection is established type the login name and password as requested to log on to the computer After logging in via the console port or a Telnet client several busybox commands are 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 the commands such as DATE and TIME are very useful for managing the computer s the system time Other commands such as DIR and MKDIR are good utilities for file management For example to inspect the file structure of the root directory simply type DIR gt dir b NANDFlash My Documents Program Files Temp Windows User Group Management User Group You should assign specific services such as ftp and Telnet to defined user groups so that these services are accessible only by the users within the permissible user group Three user groups namely ftpd telnetd and httpd are created by default for your convenience Adding a Group Use the command useradd g groupName to create a user group
14. please make sure you have a network connection from your PC to the target computer and can open an Internet browser at your PC after the connection Then use the IP address of the target computer as a home page URL After the main page comes out click on Web Based Management Provide your authentication data including user ID and password into the corresponding fields of the prompt case sensitive and then hit the enter key to request access to the management system The system checks your data with the users previously defined in the computer and then determines the validity of your logon The default User ID and Password are as follows User ID admin Password admin The following topics are covered in this chapter System Information Networking Server Configuration Serial Port Configuration Process Thread Monitoring Control Launching Processes Automatically Services Monitoring Control uaauauau u Binary Text File Management UC 8400 WinCE Web based Management System System Information After you logon successfully the main page displays the system information of the target UC 8410 8416 8418 8430 CE computer including the firmware version of the computer the RTC time the CPU system time and system resources including main memory and file system usage RAM and Flash MOXA EY windows Embedded CE 6 0 System Model Name UC 8430 CE Pto Computer Name UC 8430 CE PEE Firmware Version V1 0 Net CF Version 35 F
15. routing items in the tables type gt route PRINT To add a routing item on network interface 1 type gt route ADD 192 168 0 0 MASK 255 255 0 0 192 168 15 254 IF 2 To delete a routing item type gt route DELETE 192 168 0 0 Simple Network Management Protocol SNMP SNMP is the Internet Standard protocol for network management and is part of the TCP IP protocol suite SNMP was developed to monitor and manage networks It uses a distributed architecture that consists of agents and managers SNMP Agent The SNMP agent is an SNMP application that monitors network traffic and responds to queries from SNMP manager applications The agent also notifies the manager by sending a trap when significant events occur SNMP Manager An SNMP manager is an SNMP application that generates queries to SNMP agent applications and receives traps from SNMP agent applications The UC 8410 8416 8418 8430 CE computers install 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 on a target UC 8410 8416 8418 8430 CE e g network IP at 192 168 3 127 computer log on to the workstation computer that the SNMP manager resides on and then type gt snmpwalk v 2c c public 192 168 3 127 system SNMPv2 MIB sysDescr 0 STRING Micr
16. the UC 8410 8416 8418 8430 CE computers such a convenient feature is simulated by the web based management system Just click File Manager to view the directory tree of your target UC 8410 8416 8418 8430 CE 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 icon with an 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 E windows Embedded CE 6 0 File Manager System Goto Root Current Directory NANDFlash Operation Name Size Modified Date Networking CY Create Directory i D Upload File LK IsystemManager exe 201KB2010 06 07 AM 08 27 m LF Regutil exe 7KB2008 03 26 PM 01 19 File 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
17. want to upload and click open Step 4 Navigate back to the File Upload browser window and click OK The file uploading will start Step 5 After the file is uploaded completely refresh the page 4 4 Firmware Upgrade Procedure MOXA engineers continuously enhance and develop software features to improve the quality and functionalities of the embedded products New firmware will be continuously produced and posted in the MOXA download center When you decide to replace your firmware with a new one follow the steps below Go to MOXA download center to download an executable file for your computer for example UC 84xx CE V1 0 10071418 exe Upload this file to the target machine under the root directory i e V If you place this file in a compact flash or a USB device we suggest you to copy it to the root directory for a faster upgrade operation Logon the target computer via a telnet or console connection Execute this file Press y to continue the process Gy O x gt UC843GCE_U1 6_16666817 exe 1 3 6 1 4 1 8691 13 8438 Current Version is V1 0 The new firmware is UC 843 CE 1 6 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 th
18. 418 8430 CE Computers via Telnet User Group Management Adjusting the Time Zone Adjusting the System Time Starting and Stopping Services Troubleshooting Network Connectivity Simple Network Management Protocol SNMP SNMP Agent SNMP Manager Accessing Files through File Sharing UC 8400 WinCE Getting Started Powering on the UC 8410 8416 8418 8430 To boot up the system connect the power source to the power input located on the computer s rear panel It takes about 5 seconds for the system to boot up You will hear a clear BEEP sound when the boot up procedure is finished Once the system is ready the Ready LED will light up and stay on until you shut down the computer Resetting the UC 8410 8416 8418 8430 CE Computer Warm Start When powering on push the Reset button briefly for less than1 second The computer will reboot automatically Cold Start Switch the power off and then on again The computer will reboot automatically Reset to Factory Defaults Configuration only If the computer is not working properly and you would like to reset it to factory default settings press and hold the Reset button for 5 seconds as the operating system is starting up The buzzer sounds while the factory default settings are being loaded After the factory default settings have finished loading the computer will reboot automatically Do not confuse this action with Warm Start Reset to Factory Defaults Configuration a
19. Build Version 1400 SysVersion 1400 7000 2002 Microsoft Corporation All rights reserved UC 8400 WinCE Management Tools You can also change the authentication for each web virtual directory Z Virtual Directory Configuration Microsoft Internet Explorer DR BRO KEO HAO AREA IAM HAW ay O O AO lus ka 2 2 5 H HEO htps 192 168 27 18 MebAdmin x Hess Virtual paths provide a mapping from the URL a client browser requests and the page returned by the Web server For more information click here Retum to the Default Web site configuration page Return to the virtual directory listing page Virtual path mapping When connecting to this resource content should come from Virtual Directory Physical Directory or Redirection URL Iremoteadmin windows REMOTEADMIN dll User settings Who is allowed to access this resource The Level Required must be User or Administrator for the Allowed Users setting to take effect Level Required Help Allowed Users Help User A Configure the allowed users Authentication and directory browsing Fa value is set to default the virtual directory will use the default value for the Web site Enabled Disabled Default Directory Browsing Help o o 9 Basic Authentication Help o o e NTLM Authentication Help Oo Oo Permissions granted Once a user has access what actions are they allowed to take on it Help Read If checked clients may download files from this reso
20. C8430CE gt State OPEN mE mm um CTS DSR RI mm Ready i hostname Embedded 1 Now you have successfully changed the hostname to Embedded 1 You may use other hostname as you wish 2 9 UC 8400 WinCE Getting Started 2 Configure the files you would like to share in the UC 8410 8416 8418 8430 CE Use V netshare h to configure the parameters See the following figure E COM7 115200 None 8 1 ANSI UC8430CE gt netshare h metshare h s ShareName gt lt SharePath gt a lt Userl UserZ User3 gt r ShareNamu netshare h Show this help netshare Display all shared folder netshare s docs My Documents a admin Share AMy Documents folder as docs shared name for user admin im Ready 3 When finished you may access the UC 8410 8416 8418 8430 CE from the remote computer To use the function click Start Run and then input the device IP e g W192 168 30 199 The following login window will appear Connect to 192 168 30 199 Connecting to 192 168 30 199 User name admin v Password TIT Remember my password Enter Username and Password to access the UC 8410 8416 8418 8430 CE 4 When you have successfully logged in to the UC 8410 8416 8418 8430 CE you can view the files in the sharing folders of the UC 8410 8416 8418 8430 CE F 192 168 30 199 File Edit view Favorites Tools Help aw ay 5 c gt 27 yo Search Folder
21. N bus this counter will increase 1 unsigned int status error count when the CAN controller lost the arbitration and becomes a receiver this counter will increase 1 unsigned int error warning limit Reserved unsigned int tx errors Reserved unsigned int rx errors Reserved CANBST Visual C Examples Net Refer to the software CD to see C programming examples Compact Framework Library Moxa also provides a Net Compact Framework library for Net programming UART Method void SetComPortinterface string port SerialMode mode Description Set the interface of UART Class Name SerialInterface Input port serial port name string e g COM3 COM4 device COM12 mode the interface number of serial port Return none Remarks public enum SerialMode byte RS232_MODE 0x0 RS485 2WIRE MODE 0x1 RS422 MODE 0x2 RS485_4WIRE_MODE 0x3 B 8 UC 8400 WinCE Application Development with the SDK and Software Libraries DIO Method bool Open Description Open the DIO Class Name DIO Input port the port index from 0 to 3 mapping to DO0 DO3 from 0 to 11 mapping to DOO DO11 for UC 8418 only data 1 HIGH 0 LOW Return true on success false the function fails Remarks Method void Close Description Close the DIO Class Name DIO Input por
22. O device Input fd The access to the device Return None Remarks Function int mxdgio get input signal HANDLE fd int port Description This function gets the signal state of a digital input channel Input fd The access to the device port the port index from 0 to 3 mapping to DIO to DI3 from 0 to 11 mapping to DIO to DI11 for UC 8418 only Return Returns 1 for a high signal or O for a low signal if successful Otherwise returns a value of 1 Remarks Function int mxdgio get output signal HANDLE fd int port Description This function gets the signal state of a digital output channel Input fd The access to the device port the port index from 0 to 3 mapping to DOO to DO3 from 0 to 11 mapping to DOO to DO11 for UC 8418 only Return Returns 1 for a high signal or O for a low signal if successful Otherwise returns a value of 1 Remarks B 3 UC 8400 WinCE Function int mxdgio set output signal high HANDLE fd int port Description This function sets a high signal to a digital output channel Input fd The access to the device port The port index from 0 to 3 mapping to DOO to DO3 from 0 to 11 mapping to DOO to DO11 for UC 8418 only Return When successful this function returns 0 When an error occurs returns 1 Remarks Function int mxdgio set output signal low HANDLE fd int port Description This fu
23. SDK msi to your development PC Windows XP Vista For UC 8410 8416 8418 CE double click UC 841X CE SDK msi for UC 8430 CE double click UC 8430 CE SDK msi Follow the wizard prompt to complete the installation steps Developing an Application with VS2005 Due eC oH sto LIES HG oH e O Open Microsoft Visual Studio Net 2005 From the File menu choose New Project Choose the Project Type and then select the Smart Device Application as the type of project Fill in the project name and click OK Choose Windows CE as the target platform Select the desired project type and click OK Write your application code From the toolbar choose the Device SDK UC 8410 8416 8418 8430 CE From the Build menu choose Build Project or Rebuild Project When you complete your application upload it to the embedded computer Log on to the embedded computer At the console prompt execute it directly if it is a C or C file Visual C Library After the SDK is installed on your development PC the library can be found in your Visual Studio 2005 2008 environment UART Function unsigned int mxsp open int port Description This function opens a serial port Input port Port number starting from 3 Return When successful this function returns the handle of the open port When an error occurs it returns a negative value Remarks For example use mxsp open 3 to retrieve the interface of COM3 Th
24. System Manager General Processes Services COM Ports Display Auto Launch User Group NK EXE Ox400002 udevice exe 1 Ox1e2000a udevice exe 10 Ox1F7000a udevice exe 1 Oxea000e udevice exe 1 0x4bb0002 udevice exe 1 0x478000a explorer exe 4 0x482000a servicesd exe 24 0x576000a CMD EXE 1 Ox7a6001e cerdisp exe 3 Ox7be0026 CMD EXE 1 Ox6e20026 SystemManager exe 1 0x7bc004a Refresh Services Monitoring Control Some services such as FTP Telnet and HTTP run in the background to provide service for user requests Click the appropriate check box to enable or disable operation of a particular service System Manager General Processes Services com Ports Display Auto Launch User Group Services FTP Service Telnet Service Enable HTTP Service Enable Enable L NTP Server List time nuri neb ntp shim org ntp cyber fleet net ntp landau Refresh Time fea hours Save Settings You can also use SNTP to adjust the time automatically To do this check mark the Enable check box under SNTP and then click Save Settings To maintain normal operation of the computer some listed services cannot be stopped Such services do not have a check box next to them 3 3 UC 8400 WinCE Management Tools Display The UC 8430 CE s VGA output uses a DB15 female CRT connector to display the Windows CE desktop on an LCD monitor or a CRT monitor The default settings which ar
25. UC 8410 8416 8418 8430 WinCE User s Manual Fifth Edition January 2012 www moxa com product MOXA 2011 Moxa Inc All rights reserved Reproduction without permission is prohibited UC 8410 8416 8418 8430 WinCE 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 2010 Moxa Inc All rights reserved Reproduction without permission is prohibited Trademarks The MOXA logo 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 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 co
26. Use the date and time commands to query the current system date and time or to set a new system date and time gt date The current date is Tuesday November 22 2005 Enter the new date mm dd yylyy 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 The Date Time setting is saved to the UC 8410 8416 8418 8430 CE s RTC the date and time will not change when the system reboots Starting and Stopping Services After booting up the UC 8410 8416 8418 8430 CE computers run several services continuously to serve requests from users or other programs Notable services include telnet TELO console CONO world wide web HTTP HTPO file transfer FTP FTPO and others You will seldom need to use these services 2 6 UC 8400 WinCE Getting Started However note that you can start or stop a service with its associated name by using the services command For example Start the FTP service by typing gt services start FTPO Stop the FTP service by typing gt services stop FTPO The default services for the UC 8410 8416 8418 8430 CE are listed as below TELO Telnet Service FTPO FTP Service CONO Console Service Troubleshooting Network Connectivity The ipconfig tool prints the TCP IP related configuration data of a host including the IP addresses gateway and DNS servers
27. al input channels and 12 digital output channels for the UC 8418 8 10 100 Mbps switch ports UC 8416 only a CompactFlash slot for flash disk expansion and 2 USB ports 6 USB ports for the UC 8430 for adding additional memory such as a USB flash drive The UC 8410 8416 8418 8430 use an Intel XScale IXP435 533 MHz RISC CPU Unlike the X86 CPU which uses a CISC design the IXP435 s RISC design architecture and modern semiconductor technology provide the UC 8410 8416 8418 8430 with a powerful computing engine and communication functions but without generating a lot of heat The built in 16 MB 32 MB for UC 8430 NOR Flash ROM 16 MB NAND flash and 256 MB SDRAM give you enough memory to run your application software directly on the UC 8410 8416 8418 8430 Since the dual LAN ports are built into the IXP435 CPU the UC 8410 8416 8418 8430 computers are ideal for network security applications The UC 8410 8416 8418 8430 come with the Linux 2 6 or Windows CE 6 0 platform pre installed to provide an open software operating system for software program development Software written for a desktop PC can be easily ported to the UC 8410 8416 8418 8430 platform with a common compiler without needing to modify the code This makes the UC 8410 8416 8418 8430 optimal for industrial applications but with minimal cost and effort Wide temperature models designed to operate reliably in temperatures ranging from 40 to 75 C eare also available Model Descript
28. ay driver that supports DirectDraw Audio Codecs and Renderers G 711 Audio Codec gt GSM 6 10 Audio Codec IMA ADPCM Audio Codec MP3 Codec MPEG I Layer 1 and 2 Audio Codec MS ADPCM Audio Codec Wave AIFF au snd File Parser Waveform Audio Renderer WMA Codec WMA Voice Codec WMAPro over s PDIF Packetizer Vv VV VV VV V Video Codecs and Renderers gt DirectShow Video Codec gt MPEG I Video Codec 1 4 UC 8400 WinCE Introduction MS RLE Video Codec Overlay Mixer Video Image Compression Manager EMA MEPG 4 Video Codec V NON ON Firmware Build Versions There are two ways to determine the version of your UC 8410 8416 8418 8430 CE computer s firmware You will need to know the firmware version to identify which features your UC 8410 8416 8418 8430 CE supports 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 Memory and File Systems The SDRAM has 256 MB of memory space of which 192 MB is allocated for the main memory in which the operating system and user applications run The kernel image occupies the rest of the space The UC 8410 8416 8418 8430 CE s internal file system controls access to the ROM and also provides file storage in the object store which is in the RAM The ROM file system provides persistent storage for applications and the data used by the applications even when the main p
29. configure a variety of options for each Web site created on your Web server including virtual directories authentication and directory browsing For more information see configuring Web sites If you do not have multiple Web sites all requests will be processed on the Default Web site Select an existing Web site or create a new one Default Web site Moi Create a new Web site Windows CE Version 6 0 Build Version 1400 SysVersion 1400 000 2002 Microsoft Corporation All rights reserved You can now create a new web site or create a virtual web path for your web application Z Virtual Directory List Microsoft Internet Explorer SEA BRO RHQ HAO RARE IA KAU O7 O AAG Pes kmr oS 8 Wa ABD nttpw 192 168 27 18 WebAdmin Home Instructions Logging SSL Configuration Restart Web Server Virtual Directory Configuration Virtual directories provide a mapping from the URL a client browser requests and the page returned by the Web server For more information click here Return to the Default Web site configuration page Virtual Path Physical Path i windows w w w w w wpubV IWebAdmin windows httpdadm dll MsmqAdmin Wwindowsunsmqadmext dll Msmq windows srmplsapi dll ISysAdmin windows sysisapi dll Iremoteadmin windows REMOTEADMIN dIll remoteadminimages windows w w w remoteadmin images fupnp windows upnp lupnpisapi windows upnpsvc dll Windows CE Version 6 0
30. de to RS422 SetInterface device COM10 3 Change the COM10 mode to RS485 4wire You can either enable or disable the FIFO by the utility setfifo Ex Type setfifo COM3 0 to disable FIFO of COM3 or type setfifo COM3 1 to enable FIFO of COM3 After that you can check the FIFO status by type setfifo gt setfifo COM3 0 Set FIFO success gt setfifo COM3 FIFO Disabled COM4 FIFO Enabled COM5 FIFO Enabled COM6 FIFO Enabled COM7 FIFO Enabled COM8 FIFO Enabled COM9 FIFO Enabled COM10 FIFO Enabled 1 7 2 Getting Started In this chapter we explain how to operate a UC 8410 8416 8418 8430 CE computer from a PC The PC will be referred to as a development workstation and the UC 8410 8416 8418 8430 CE computer will be called the target computer We describe the steps needed for some operations such as setting the system time troubleshooting network connectivity etc Some of these operations can be done using system commands after gaining access to the computer and others can be done with a web based management system as described in a later chapter The following topics are covered in this chapter Qaaaaauugaaaaa gu Powering on the UC 8410 8416 8418 8430 Resetting the UC 8410 8416 8418 8430 CE Computer Boot Loader Operating the UC 8410 8416 8418 8430 CE Computer via the Serial Console Changing the Network Settings Virtual Private Network VPN UC 8430 CE only Operating the UC 8410 8416 8
31. e function is equivalent to the Win32 CreateFile API Function int mxsp_close unsigned int fd Description This function closes a serial port Input fd Handle of the open port Return When successful this function returns 0 When an error occurs returns a negative value Remarks The function is equivalent to the Win32 CloseHandle API B 2 UC 8400 WinCE Application Development with the SDK and Software Libraries Function int mxsp set interface unsigned int fd int mode Description This function sets the type of communication interface for a serial port Input fd Handle of the open port mode 0 RS232 1 RS485 2WIRE 2 RS422 3 RS485 AWIRE Return When successful this function returns 0 Remarks Function int mxsp get interface unsigned int fd Description This function gets the type of communication interface of a serial port Input fd Handle of the open port Return When successful this function returns one of the values from 0 to 3 The function returns a negative value when an error occurs Remarks DIO Function HANDLE mxdgio open void Description This function opens an access to the DIO device Input None Return When successful this function returns an access to the DIO device Otherwise there is an error Remarks Function void mxdgio_close HANDLE fd Description This function closes the access to the DI
32. e 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 The time spent of this procedure depends on where the upgrade program resides I t takes about 5 minutes if this program resides in the root directory CRAM File System compact flash or USB 2 8 devices If the program is in a USB 1 1 devic e the procedure is very slow and may take about an hour to complete Continue the process Cy n5 Gy O7x gt UC843GCE_U1 6_16666817 exe 1 3 6 1 4 1 8691 13 8438 Current Version is 1 6 The new firmware is UC 843 CE 1 8 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 is 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 The time spent of this procedure depends on where the upgrade program resides I t takes about 5 minutes if this program resides in the root directory CRAM File System compact flash or USB 2 8 devices If the program is in a USB 1 1 devic e the procedure is very slow and may take about an hour to com
33. e shown on the Display tab are 800 600 for Width Height 60 in Hz for Frequency and 16 bits for Depth For general use adjust the settings to match the specifications of your LCD or CRT Click Apply to save the setting System Manager OK x General Processes Services COM Ports Display auto Launch User Group Settings Width Height Frequency Hz Depth bit Note You must reboot your UC 8430 CE for new settings to take effect User Group Management Use the Add button on the User Group tab to assign specific services such as ftp and telnet to individual users and user groups Use the Remove button to remove users System Manager OK General Processes Services COM Ports Disslay Auto Launch User Group admin Ftpd telnetd administrators aiii 3 4 UC 8400 WinCE Management Tools Use the Change Password utility to change the password User admin Current Password i New Password p Confirm Password Auto Launch Configuration Use the Auto Launch tab to specify which programs will execute automatically on boot up Click the Add button to add programs to the list and then restart the UC 8430 CE System Manager ok Ix General Processes Services COM Ports Display Auto Launch User Group Name 0 Parmeter O Windows atsagent exe Bude 3 5 UC 8400 WinCE Management Tools
34. ees Tia E yore etinn vile a a a a e A A a E aaa aa iere rere A E pee Pee bese Degebesa Pad 1 5 Dual Display UCS84302CE ONY AAA TT A E TT 1 5 Audio UE 8430 CEOnIV a a daa ra a aa n ME 1 5 Hive based Registry not RAM based essen nennen nena ne nah na nena raskin naar ana rnt rna rna 1 5 Inserting a CompactFlash Card iere rennen hern Ft ERR ER RRER ERR ERR ERREUR ERR RRERRRERERERRRRR EL ERERERERERAL 1 6 Inserting a USB Mass Storage DeVICCssssciessccvicevescvara aie save sa tree terere etr he re norohereru regu ee VERPPRRIRIRIPRRRPRRETRRREIXERA 1 6 RS 232 422 485 Serial POS 2 25 cire bane terae ir RR a a iae Re anaa Saee RR Ra Ann i ab iE Re RR tM ne EATS 1 6 2 Getting Started 2 1 Powering on the UC 8410 8416 8418 8430 0 eee esee enne 2 2 Resetting the UC 8410 8416 8418 8430 CE Computer esses meme meme nennen nnne nnn nnn 2 2 sorelle ERREUR 2 2 Operating the UC 8410 8416 8418 8430 CE Computer via the Serial Console een 2 2 Changing the Network Settings esses enne nennen nnne ne nnnnk nahen saine sk sai ku se ui kt sir n neni r nans tnn nnn 2 3 Virtual Private Network VPN UC 8430 CE only ccc mene memeeememenne hene hene nene nere nnne nn 2 4 Operating the UC 8410 8416 8418 8430 CE Computers via TeINCt cccecceee cece cent eens eens eens ne nennen 2 5 User Group Managemient secs
35. erty File Zoom Display Tools Help ERES AJE H aaa Make New LAN3 LAN1 LAN2 Connection IXP4XX Ethernet NPE Driver A Settings IP Address Name Servers An IP address can be automatically assigned to this computer If your network Specify an IP address does not automatically assign IP addresses ask your network administrator for an address and then type it in the space Sub S provided Default Gateway FI Start e Network Connections Qi 1 Je Je 6 36 AM E 3 Click OK Another method for changing the network settings is via the serial console Refer to Operating the UC 8410 8416 8418 8430 CE Computer via Serial Console and connect the UC 8410 8416 8418 8430 Type netconfig h to get help on this utility To illustrate how to match the settings to your application let s assume that your development workstation has a LAN port at 192 168 1 5 and the Domain Name Server DNS is at 192 168 2 6 In this case you should issue 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 netconfig command without parameters 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 Virtual Private Network VPN UC
36. etwork centric platforms designed to serve as front ends for data acquisition and industrial control applications Due to the distributed characteristics of the devices that these computers control they are often located in remote locations separate from the system administrator Managing this kind of remote computer requires handling configuration file management and process thread monitoring control over the network As the UC 8430 CE model comes with a VGA output this chapter describes how to configure and manage the UC 8430 CE computer via a display For the UC 8410 8416 8418 computers refer to Chapter 4 Web based Management System for the detailed configuration However the DHCP Allocator Configuration applies to all UC 8410 8416 8418 8430 CE models Please also note that the UC 8430 CE model can be managed via the Web based Management System The UC 8430 CE computers come with a pre installed management system to assist administrators Before using the system make sure that a CRT or LCD monitor is connected to your UC 8430 CE embedded computer and then double click the desktop icon System Manager The following topics are covered in this chapter System Information Serial Port Configuration Process Thread Monitoring Control Services Monitoring Control Display User Group Management Auto Launch Configuration Web Server Configuration uaaaaauauu u DHCP Allocator Configuration UC 8400 WinCE Management Tools
37. get computer This method is particularly useful when using the target computer for the first time 2 2 UC 8400 WinCE Getting Started After connecting the serial cable return to the development workstation and start a terminal program e g HyperTerminal Use the following console port settings Baud rate 115200 bps Parity None Data bits 8 Stop bits 1 Flow Control None Terminal VT100 Next enter the login name and password The default values are both admin Login admin Password admin Changing the Network Settings The UC 8410 8416 8418 8430 CE computers come with three network interfaces The default IP addresses and netmasks of the network interfaces are as follows Default IP Address Netmask LAN 1 DHCP DHCP LAN 2 192 168 4 127 255 255 255 0 LAN 3 192 168 5 127 255 255 255 0 Two methods can be used to change the network settings of the UC 8410 8416 8418 8430 Use the network settings function of the OS or use the Serial Console connection For the UC 8430 CE model you may use the following procedure to change your network settings 1 Go to Start gt Settings gt Network and Dial Up Connections File Zoom Display Tool Help File Edit View Advanced KE AA E x E P 3n 3 Ai Tah Ai f i1 LAN3 LANL LAN2 e Network Connections Q8 Lee 6 35 AM E UC 8400 WinCE Getting Started 2 Right click the LAN icon and the click Prop
38. ile Manager CPU Architecture Intel R IXP435 CPU System Time 2010 06 08 08 12 55 Greenwich Standard Time Services Free Total Memory 175244 192732 K Bytes RAD RRR nnn Processes Free Total FS RAM 42548 42972 K Bytes BAD aA SASS SS Soa SOS pex mm m n G Free Total FS NandFlash 32188 32398 K Bytes Registry Editor Reboot System Networking Server Configuration The UC 8410 8416 8418 8430 CE computers have 3 embedded 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 MOXA I Windows Embedded CE 6 0 System On Board Network Interface LAN1 IXPAXXETHNPE1 Networking DHCP Enable Network Address 192 168 30 214 Serial Port Network Mask 255 255 255 0 Network Gateway 192 168 30 254 File Manager Domain Name Server 192 168 1 150 Services LAN2 IXPAXXETHNPE2 Processes DHCP Enable F Network Address 192 168 4 127 Update Network Mask 255 255 255 0 Network Gateway Domain Name Server LAN3 PCARTL81391 DHCP Enable LI Network Address 192 168 5 127 Network Mask 255 255 255 0 Network Gateway Domain Name Server 4 2 UC 8400 WinCE Web based Management System Serial Port Configuration The UC 8410 8416 8418 8430 CE ha
39. ions and Package Checklist UC 8410 CE RISC based industrial embedded computer with 8 serial ports 4 DIs 4 DOs 3 LANs CompactFlash USB Windows CE 6 0 OS 10 to 60 C operating temperature UC 8416 CE RISC based industrial embedded computer with 8 serial ports 4 DIs 4 DOs 3 LANS 8 switch ports CompactFlash USB Windows CE 6 0 OS 10 to 60 C operating temperature UC 8418 CE RISC based industrial embedded computer with 8 serial ports 12 DIs 12 DOs 3 LANs 2 CAN ports CompactFlash USB Windows CE 6 0 OS 10 to 60 C operating temperature UC 8430 CE RISC based industrial embedded computer with 8 serial ports 4 DIs 4 DOs 3 LANs CompactFlash Dual VGA Audio 6 USB Windows CE 6 0 OS 10 to 60 C operating temperature UC 8410 T CE RISC based industrial embedded computer with 8 serial ports 4 DIs 4 DOs 3 LANs CompactFlash USB Windows CE 6 0 OS 40 to 75 C operating temperature UC 8416 T CE RISC based industrial embedded computer with 8 serial ports 4 DIs 4 DOs 3 LANs 8 switch ports CompactFlash USB Windows CE 6 0 OS 40 to 75 C operating temperature UC 8418 T CE RISC based industrial embedded computer with 8 serial ports 12 DIs 12 DOs 3 LANs 2 CAN ports CompactFlash USB Windows CE 6 0 OS 40 to 75 C operating temperature UC 8430 T CE RISC based industrial embedded computer with 8 serial ports 4 DIs 4 DOs 3 LANs CompactFlash Dual VGA Audio 6 USB Windows CE 6 0 OS 40 to 75 C operating tem
40. ject environment perform the following steps from your Visual Studio 2005 tool Copy the library file mxdevice dll to any folder on your local disk This file can be found on the product CD in the folder sdk dot Net Compact Framework Library or the file can be downloaded from the FTP site listed in the NOTE at the bottom of this page Open the Visual Studio 2005 IDE tool and then add a new C Smart device console application Enter the project name and location path In the Solution Explorer View add mxdevice dll to the reference section Click OK OV MT e 9 NOTE You may need to copy the mxdevice dll within the example when you try to execute the program B 11
41. mer roD DR E RR ERR E RRERR ER EROR DR DNA ERRIR ADR IRR RR RRERRRERRREEDRR 3 3 BIE SIE N II pupa Hn v 3 4 User Group Managements mi i tiaan rana Re xe De Er apne e Ne E etn e Rely D Paena aa Eaa ONAE OE EA IROMO CAESA ESTA ATE 3 4 Auto Launch COnPiQuratiOns s eeoa LLL CIEL 3 5 Web Server Configuration eann err a ap aaran a pep esed rapa EAE AAE Un ENEAN 3 6 DHCP Allocator Configuration sitet rite rer rrr Et Ra IEE ERR IER AR RD ERR MEINT REREERRRRRRDRURRRADRRRRRRER rit EEEE EEES 3 7 4 Web based Management System eeesesieieseseesesesaesanuuuuuuaua unas auk usas a nsa sau ssa suck sa sucus a sauna nan 4 1 SYStEMpINTORMAUOM Stites eniro loi ei ante date e ere tasa RR MEE RR D E D DER D NIME DEDERE Una Nak tn i tnihi 4 2 Networking Server Configuration cc enne nenne nene nene nene e reme e se ee semen nene nenne 4 2 Serial Port Config tatiOn eerie erre rr ERR EORR ER ERE RR ER RRRRRRRRERRDRRRRERRRRRRR ADAM RR RAE R X RT NARRA ERA ERR 4 3 Process Thread Monitoring Control aisiaren rarere iaria enne nnn nmni nnne a hn nana na runner nna nnn nnn 4 3 Launching Processes Automatically n eren rentrer Rt Eat R ERR REIR ERR RR RRRRRRMR DRE RR RR RRRRRIRRRRRRRRRRRRRRKR 4 3 Services Monitoring Control 0 rr rR I I I eene memes meses sisse sensn nnne rese sese nenne 4 4 Binary Text File Managerment Irene rtr nre errare Rent rpra ree deisGshabePsisseseneaehesenesensseneseaeseneceuessainae 4 4 A Firmware U
42. nction sets a low signal to a digital output Input fd The access to the device port the port index from 0 to 3 mapping to DO0 DO3 from 0 to 11 mapping to DOO DO11 for UC 8418 only Return When successful this function returns 0 When an error occurs it returns 1 Remarks Watchdog Function int mxwdg open unsigned long time Description This function starts a watchdog timer Input time Specifies an exact time period in milliseconds Note that the watchdog timer needs to be refreshed to avoid reset Return When successful this function returns a positive value representing a file descriptor Otherwise it returns a negative value Remarks After calling the mxwdg open you must call mxwdg refresh in the specified time lt time gt or the system will be triggered rebooting Function int mxwdg_refresh int fd Description This function refreshes the watchdog timer and should be called periodically during timer timeouts Input fd Specifies the file descriptor of the watchdog timer Return When successful this function returns 0 Otherwise it returns a negative value Remarks Function void mxwdg close int fd Description This function stops the watchdog timer Input fd Specifies the file descriptor of the watchdog timer Return None Remarks Buzzer Function HANDLE mxbuzzer open void Description This function opens a handle that
43. nd Daemons In addition to development and communication capabilities the UC 8410 8416 8418 8430 CE are also embedded with the following services and daemons These common and easy to use application servers help users migrate the UC 8410 8416 8418 8430 embedded computers 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 File Server The file server functionality in Microsoft Windows CE enables clients to access files and other resources over the network Web Server HTTPD Includes ASP ISAPI Secure Socket Layer support SSL 2 SSL 3 and Transport Layer Security TLS SSL 3 1 public key based protocols and Web Administration ISAPI Extensions Dial up Networking Consists of RAS client API and the Point to Point Protocol PPP RAS and PPP support Extensible Authentication Protocol EAP and RAS scripting Watchdog Service 4A CPU Hardware function for resetting the CPU in a user specified time interval You must call a Moxa library function to trigger the reset action Graphics and Multimedia Tools UC 8430 CE only Graphics Device Interface GDI Provides information about the fundamental graphics architecture for Windows CE DirectDraw Display Drivers Provides information about creating a displ
44. nd file system If the computer will not start up you must go to the Boot Loader and format the flash storage Once the flash storage has been reformatted restart the computer Boot Loader Three functions are provided to enhance the stability of the operating system e Reset to default This function allows users to load the factory default into the UC 8410 8416 8418 8430 e Format storage flash CE 6 0 is a FAT based system The system cannot work well when the FAT table is crashed This function allows users to format the file system and reboot the UC 8410 8416 8418 8430 e Firmware upgrade The latest firmware can be downloaded from Moxa s website See Appendix A for instructions on how to upgrade the firmware Use the following procedure to access the boot loader menu from the serial console Power off the UC 8410 8416 8418 8430 CE 2 Connect the serial console cable to your PC 3 Go to Start gt Programs gt Accessories Communication gt Terminal to create a new terminal Use these settings Baudrate 115200 Hardware Flow Control None Data bits 8 Parity None Stop bits 1 Terminal VT100 Activate this terminal window on your PC Hold down the DEL key Power on the UC 8410 8416 8418 8430 CE o n Operating the UC 8410 8416 8418 8430 CE Computer via the Serial Console The serial console port gives users a convenient way of connecting the development workstation to the console utility of the tar
45. on 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 UC 8400 WinCE Web based Management System Services Monitoring Control Some services run on the background to provide services such as ftp telnet and 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 Step 2 Click on a check box to toggle a start stop operation for a service MOXA y Windows Embedded CE 6 0 Services System 2 ser Ices Networking v TEL2 Running v TEL1 Running Serial Port v BTS1 Bluetooth Service Running v TELO Telnet Service Running File Manager v FTPO FTP Senice Running v lcono Console Service Running Services Processes Hours Save Settings Some listed services cannot be stopped in order to maintain normal operation of the computer Such services do not have a check box next to them 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
46. operates the buzzer Input None Return When successful this function returns a positive value or handle that represents the buzzer device Remarks B 4 Application Development with the SDK and Software Libraries UC 8400 WinCE Function void mxbuzzer beep HANDLE fd int time Description This function regulates the buzzer Input fd Specifies the open handle of the buzzer time Specifies the amount of time in milliseconds that the beep lasts Return None Remarks Function void mxbuzzer_close HANDLE fd Description This function closes the open handle of the buzzer Input fd Specifies the open handle of the buzzer Return None Remarks CANbus UC 8418 only Function int mxcan_open int port Description This function open a can port by the port number Input port Port number starting from 1 Return When successful this function returns the handle of the open port When an error occurs it returns a negative value Remarks For example uses mxcan _open 1 to retrieve the interface of CAN1 The function is equivalent Win32 CreateFile API Function int mxcan_close int fd Description This function closes a CAN bus port Input fd Handle of the open port Return When successful this function returns 0 When an error occurs it returns a negative value Remarks The function is equivalent Win32 Clo
47. osoft Windows CE Version 6 0 Build 0 SNMPv2 MIB sysObjectID 0 OID SNMPv2 SMI enterprises 8691 13 8430 DISMAN EVENT MIB sysUpTimeInstance Timeticks 586211 1 37 42 11 SNMPv2 MIB sysContact 0 STRING Your System Contact Here SNMPv2 MIB sysName 0 STRING UC 8410 8416 8418 8430 CE SNMPv2 MIB sysLocation 0 STRING Your Location Here SNMPv2 MIB sysServices 0 INTEGER 72 SNMPv2 MIB sysORLastChange 0 Timeticks 0 0 00 00 00 SNMPv2 MIB sysORID 1 OID SNMPv2 MIB snmp SNMPv2 MIB sysORID 2 OID UDP MIB udp SNMPv2 MIB SysORID 3 OID TCP MIB tcp SNMPv2 MIB SysORID 4 OID IP MIB icmp SNMPv2 MIB sysORID 5 OID IP MIB ip SNMPv2 MIB SysORID 6 OID RFC1213 MIB at SNMPv2 MIB SysORID 7 OID IF MIB interfaces SNMPv2 MIB sysORID 8 OID SNMPv2 MIB system SNMPv2 MIB SysORID 9 OID HOST RESOURCES MIB host SNMPv2 MIB sysORDescr 1 STRING Sample SysOR Description y an WU i W N 2 8 UC 8400 WinCE Getting Started SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB SNMPv2 MIB sysORDescr sysORDescr sysORDescr sysORDescr sysORDescr sysORDescr sysORDescr sysORDescr SysORUpTime sysORUpTime sysORUpTime sysORUpTime sysORUpTime sysORUpTime sysORUpTime sysORUpTime sysORUpTime o
48. ower supply is lost It integrates the read only files that are stored in Flash ROM with the read write files of both an application and a user In the UC 8410 8416 8418 8430 CE computers a child directory named NANDFlash under the root indicates the ROM storage of the flash memory is 32 MB The root directory is a 44 MB RAM file system It can be used for storing temporary files for your applications However do not place persistent files or applications in the root directory because they will be wiped out when the system is shut down Instead place them in the NANDFlash directory The file systems for storage devices connected through the USB port and CompactFlash are placed in the root of the internal file system If you intend to use these devices to port data between your PC and the UC 8410 8416 8418 8430 CE computers format them using the FAT file system on your PC Dual Display UC 8430 CE only The UC 8430 CE comes with 2 VGA outputs and supports the clone mode feature Audio UC 8430 CE only The UC 8430 CE has a line in for audio recording and an audio output for playing sound Note however that you can either record audio or play audio You cannot both record audio and play audio at the same time NOTE The audio recording and audio playing functions cannot be used at the same time Hive based Registry not RAM based The registry for the UC 8410 8416 8418 8430 CE computers is a hive based registry instead of a
49. perature UC 8400 WinCE Introduction All models are shipped with the following items 1 UC 8410 or UC 8416 or UC 8418 or UC 8430 embedded computer Wall mounting kit DIN Rail mounting kit attached to the product s housing Ethernet Cable RJ45 to RJ45 cross over cable 100 cm CBL 4PINDB9F 100 4 pin header to DB9 female console port cable 100 cm Universal power adaptor including power jack converter Quick installation guide Document and software CD Warranty card NOTE Notify your sales representative if any of the above items are missing or damaged Software Specifications UC 8410 8416 8418 8430 WinCE ready to run embedded computers are network centric computers that can be programmed for embedded communication applications The software features of the UC 8410 8416 8418 8430 CE computers are listed below Application Development Environment The UC 8410 8416 8418 8430 CE computers are easy to program The Windows CE environment provides the following common popular application development features that make programming as convenient and easy as in a PC environment 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 UC 8410 8416 8418 8430 CE are a subset of the WIN32 APIs They support full ANSI C run time standard input output library standard input output ASCII library and standard ASCII string functions In addition they
50. pgrade Procedure cccccsceeecceueeeeeeeeeueeeeeeuseeeeeusaeeesusaeeesusaeeeeuseueususeueusaseueusaseueusaueueueaeeueueas A 1 B Application Development with the SDK and Software Libraries eeeeeeeeeeeeeeeeen nenne B 1 Mors iade ec b Set ger ice cass aae Manen dees xt oe cRLUTLEPRIEM n EA B 2 Developing an Application with VS2005 00 nemen hee nene e neret ne ee serae ne enn nennen B 2 WISUal Cee WADA MEET ELLE B 2 UAR iect stot cmetctatet tates T T E teen ite io sis tod servum ninth ieee AL lod Oe PLE dv vL edad beu De emi ete tM eld crea B 2 DILO een PerrCrer E EEC OET EEE EEOC ETE ET ETE RETR EPEC EERE EEE EERE E CR Ror LL B 3 Watchdog sss EE B 4 E paa A E EEE E E A A niet ops B 4 CANbU S UC 84 8 0nly raia ata aaia aia aSa eia Eaa cc Rep PR prn Ea ana ea e aE a raaa aapi an n ar naa Eain B 5 Visual CFP Exa M ES i ies uh a DR ed eee AE E be Sa rM bre EUM enue AAA B 8 Net Compact Framework Eibratysz irr eer e TG B 8 Ur Au LENS B 8 DIO eer rr Eegexes sevo eres es ve en eres vovg Tee OPT EOP EE EEE DEAR ETE EET EORET ECE ET LOC eR Crecr cree renee reer ER B 9 BUZZ scc me eU Oe I AM MeL Mee eA s Ar A A e i cM aM D Dd ier ViSual C Examples erret rr ERR E REI ERR EM RRERE ERE ERR RR REM RRREMERERERR 1 Introduction Microsoft amp Windows CE 6 0 is an open scalable 32 bit operating system OS that allows you to build a wide range of innovative small footprin
51. plete Continue the process Cy n gt y The firmware upgrade procedure may take 5 minutes please wait Erasing 187 UC 8400 WinCE Firmware Upgrade Procedure O x gt UC843GCE_U1 6_16666817 exe 1 3 6 1 4 1 8691 13 8438 Current Version is U1 8 The new firmware is UC 843B8 CE 1 6 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 The time spent of this procedure depends on where the upgrade program resides I t takes about 5 minutes if this program resides in the root directory CRAM File System compact flash or USB 2 8 devices If the program is in a USB 1 1 devic e the procedure is very slow and may take about an hour to complete Continue the process y n gt y The firmware upgrade procedure may take 5 minutes please wait Erase Complete Iipdating 1 Wait for the upgrade to complete it will take about 5 minutes to finish it After upgrading select if you would like to keep the current network settings or restore the factory default values Pres
52. rrect such errors and these changes are incorporated into new editions of the publication Technical Support Contact Information Moxa Americas Toll free 1 888 669 2872 Tel 1 714 528 6777 Fax 1 714 528 6778 Moxa Europe Tel 49 89 3 70 03 99 0 Fax 49 89 3 70 03 99 99 www moxa com su ort Moxa China Shanghai office Toll free 800 820 5036 Tel 86 21 5258 9955 Fax 86 10 6872 3958 Moxa Asia Pacific Tel 886 2 8919 1230 Fax 886 2 8919 1231 Table of Contents 1 Introduction Per Pe ores educ e ice eoa dnce xe voz u ausa curans vago aana naina kiinaa RR errr ee tr rrr r ret rrr rer ttt Tri 1 1 OVERVIEW TUM RN E 1 2 Model Descriptions and Package Checklist ccccececeeeeseeeeeeseeeeeesaeceseeaeaeseeaeceseeaeceseeeeoeseeeeseeeeaeseceearnereeees 1 2 Software Specifications esee eee aa e enetan ium Ee ike si nuage se uan eis enema nens rr nene nnn nn 1 3 Application Development Environment sssesssrsrssrsrsrttrrrntttntus tntu ttut turunun hene nemen nene nene 1 3 Networking and Communications Capabilities esses 1 3 Supported Servers and Daemonhs eeree rh rrr nre RRENERERR ER RRERER REI DERRRIRERAETRDRE ERR IR RR kaS 1 4 Graphics and Multimedia Tools UC 8430 CE only ccecceeee eect eee eee mener nene nens 1 4 Firrmware Bulld Versions eee ete etae ree rrr ren rn PE ERE ER ERR RE ER REM RDKRRRE ERE REDE E ERE ER RR 1 5 Memory and File Systems z 5 a
53. s Y to keep the current network settings Oo Erase Complete Update Complete LANI Interface Configuration EHCP Enable y IP Address 192 168 3 127 SubNet Mask 255 255 255 0 Gateway N DNS N MINS N LAN2 Interface Configuration EHCP Enable N IP Address 192 168 4 127 SubNet Mask 255 255 255 0 N N N LAN3 Interface Configuration IEHGP Enable N IP Address 192 168 5 127 SubNet Mask 255 255 255 0 N N N Do you want to keep the current network settings on the next boot lt CY N m UC 8400 WinCE Firmware Upgrade Procedure 2 Press Y to keep the current automatic launch settings Bx Update Complete LANI Interface Configuration EHCP Enable y IP fiddress 192 168 3 12 SubNet Mask 255 255 255 8 N 2 N N LAN2 Interface Configuration EHCP Enable N IP Address 192 168 4 127 SubNet Mask 255 255 255 0 N N N LAN3 Interface Configuration EHCP Enable N IP Address 192 168 5 127 255 255 255 8 N N N Do you want to keep the current network settings on the next boot Y ND y Do you want to keep the current automatic launch settings lt Y N m 3 Press Y to reboot the target UC 8410 8416 8418 8430 CE O x Update Complete LANI Interface Configuration EHCP Enable Y IP Address 192 168 3 127 SubNet Mask 255 255 255 0 Gateway N DNS N MINS N ILAN2 Interface Configuration EHCP Enable N IP Address 192 168 4 127 SubNet Mask 255 255 255
54. s Ez 1192 168 30 199 Be NORFlash ev Temp Address Network Tasks G2 Adda network place View network connections f Set up a home or small office network 3 Set up a wireless network For a home or small office ef View wnrknrnnin ramniiFers 2 10 UC 8400 WinCE Getting Started 5 Afile server function is available for transferring files efficiently to the UC 8410 8416 8418 8430 CE To use the function click Start gt Run and then input the device IP e g W192 168 100 1 The following login window will appear Connect to epson chiang moxa com Connecting to 192 168 30 46 User name v Password Remember my password Cancel 6 After logging in you can view the sharing files on the remote computer 7 From any command window telnet or console type the netshare h command to display the following command syntax Melcome to the Windows CE Telnet Service on UC843 CE MOXA Firmware Version V1 0 Build 10871418 login admin Password Pocket CMD v 6 66 gt netshare h metshare h s lt ShareName gt lt SharePath gt a lt Useri User2 User3 gt r lt ShareName gt I netshare h Show this help netshare Display all shared folder netshare s docs My Documents a admin Share My Documents folder as docs shared name for user admin 2 11 3 Management Tools Moxa s ready to run embedded computers are n
55. seHandle API Function int mxcan write int fd char buffer int size Description This function write data to the open port the size should be a multiple of the CANMSG size Input fd Handle of the open port buffer buffer point to the data size size of the data should be a multiple of the CANMSG size Return 0 on failure otherwise the number of bytes written Remarks The function is equivalent Win32 WriteFile API Function int mxcan read int fd char buffer int size Description This function read data onto a buffer from an open port the size should be a multiple of the CANMSG size Input fd Handle of the open port buffer buffer point to the data size size maximum size to be read should be a multiple of the CANMSG size Return 0 failure 0 no data ready Otherwise the number of bytes read Remarks The function is equivalent Win32 ReadFile API B 5 Application Development with the SDK and Software Libraries UC 8400 WinCE Application Development with the SDK and Software Libraries Function int mxcan set bus timing int fd unsigned int speed Description This function set the bus timing of an open port Input fd Handle of the open port speed speed bus timing in kHz Return 0 on success otherwise returns a negative value Remarks The speed should be 5 10 20 40 50 80 100
56. sh 80X 512 MB Apacer Photo CIENO 2 GB Unigen Compact Flash card 128 MB Inserting a USB Mass Storage Device When an empty USB storage device is plugged into the USB slot on the UC 8410 8416 8418 8430 CE s rear panel the computer automatically formats device to the FAT system When the first USB mass storage device is plugged in a directory named StorageDisk is created in the internal file system under the root directory as a link to the storage device The directory created for the second USB device is StorageDisk2 RS 232 422 485 Serial Ports The UC 8410 8416 8418 8430 CE computers come with 8 high performance serial ports named from COM3 to COM10 All of them are designed to provide reliability high speed and 3 in 1 i e RS 232 RS 422 and RS 485 operation mode switch for your diverse applications Each of these ports supports baudrate settings up to 921600 bps You can use the interface utility setinterface exe to change or display your port interface Ex Type setinterface COM3 1 to change the port interface to RS 485 2W gt setinterface ModelName UC 8410 8416 8418 8430 CE COM3 RS 232 COM4 RS 232 COM5 RS 232 COM6 RS 232 COM7 RS 232 COM8 RS 232 COM9 RS 232 COM10 RS 232 gt setinterface h SetInterface COMx mode mode 0 RS232 mode 1 RS485 2 Wire 1 6 UC 8400 WinCE Introduction mode 2 RS422 mode 3 RS485 4 Wire SetInterface COM5 2 Change the COM5 mo
57. support C compiler exception handling and Run Time Type Information RTTI equivalent to desktop C compilers 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 amp 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 protocol for object exchange and remote procedure calls Microsoft Windows CE 6 0 provides functionality similar to the SOAP Toolkit version 2 on a desktop computer The SOAP Toolkit 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 3 5 Offers a choice of languages Microsoft Visual Basic and Microsoft Visual C and eliminates the common problems faced with language interoperability XML Provides the Document Object Model DOM for XML based functionality supports XML Query Language XQL and XPATH Extensible Style Sheet Language Transformations XSLT that enable you to transform one class of XML document into another SAX2 support for event based parsing of XML documents including MSXML Writer
58. t the port index from 0 to 3 mapping to DIO DI3 from 0 11 mapping to DIO to DI11 for UC 8418 Return 1 indicates HIGH 0 indicates LOW Remarks Method int GetlnputSignal int port Description Get the DI value Class Name DIO Input port the port index from 0 to 3 mapping to DIO DI3 from 0 11 mapping to DIO to DI11 for UC 8418 Return 1 indicates HIGH 0 indicates LOW Remarks Method int GetOutputSignal int port Description Get the DO value Class Name DIO Input port the port index from 0 to 3 mapping to DO0 DO3 from 0 to 11 mapping to DOO DO11 for UC 8418 only Return 1 indicates HIGH 0 indicates LOW Remarks Method bool SetOutputHigh int port Description Set the DO value to High Class Name DIO Input port the port index from 0 to 3 mapping to DOO0 DO3 from 0 to 11 mapping to DOO DO11 for UC 8418 only Return True indicates success otherwise the function fails Remarks Method bool SetOutputLow int port Description Set the DO value to Low Class Name DIO Input port the port index from 0 to 3 mapping to DOO0 DO3 from 0 to 11 mapping to DOO DO11 for UC 8418 only Return True indicates success otherwise the function fails Remarks B 9 UC 8400 WinCE Application Development with the SDK and Software Libraries Watchdog Method bool Open int nTime Description Start up a watchdog Class Name Watchdog Input time the watchdog refresh time interval in
59. t devices A typical Windows CE 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 point of sale terminals and display devices such as HMI advertisement appliances and interactive panels Moxa s UC 8410 8416 8418 8430 ready to run embedded computers provide Windows developers with an excellent Windows amp CE solution Moxa s extensive experience in kernel development on embedded small footprint communication devices provides the intense technological skills required while porting the Windows CE 6 0 kernel The following topics are covered in this chapter O Overview CJ Model Descriptions and Package Checklist O Software Specifications Application Development Environment Networking and Communications Capabilities Supported Servers and Daemons Graphics and Multimedia Tools UC 8430 CE only Firmware Build Versions Memory and File Systems Dual Display UC 8430 CE only Hive based Registry not RAM based Inserting a CompactFlash Card Inserting a USB Mass Storage Device RS 232 422 485 Serial Ports audauauauou UC 8400 WinCE Introduction Overview The UC 8410 8416 8418 8430 embedded computers feature 8 RS 232 422 485 serial ports 3 10 100 Mbps Ethernet ports 4 digital input channels and 4 digital output channels 12 digit
60. the IP address allocate end range 0 255 UC 8400 WinCE Management Tools p4 Set the DHCP lease time 1 unit 1 minute 1 4294967295 p5 Assign the Public Interface 0 3 0 to disable p6 Enable DNS Proxy 0 to disable 1 to enable p7 Enable NAT for Public Interface 0 to disable 1 to enable NOTE Devices connecting to the UC 8400 CE computer with a public IP address cannot use the web manager service FTP service or Telnet service provided by the UC 8400 CE computer 3 8 4 Web based Management System Note Internet Explorer 5 5 or above is required to use the web based management system The UC 8410 8416 8418 8430 CE ready to run embedded computers are network centric platforms and are designed to serve as excellent front ends 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 To resolve these management issues and accordingly reduce the toil of system administration a web based management system is installed into the UC 8410 8416 8418 8430 CE computers This system incorporates often used features into CGI pages and categorizes them on a menu bar Before operating the system
61. unction int mxcan get registers int fd unsigned char buffer int num Description This function get the register values of an open port Input fd Handle of the open port buffer point to a buffer for these values num number of register values For module with sja1000 chipset the value must be 32 Return 0 on success otherwise failure Remarks Structure of CANMSG typedef struct CANMSG unsigned int identifier unsigned int flags unsigned int length the length of data unsigned char data 8 CANMSG Structure of CANPRM typedef struct CANPRM unsigned int bus timing the bus speed in kHz 32 bit integer default is 1000 pA UC 8400 WinCE Application Development with the SDK and Software Libraries unsigned int acceptance filter mode non zero is for single mode default is dual mode unsigned int acceptance filter code default is 0 unsigned int acceptance filter mask default is OxFFFFFFFF CANPRM Structure of CANBST typedef struct CANBST unsigned int data_overrun_count If the data overrun this counter will increase LA unsigned int warning error count At least one of th rror counters has reached or exceeded the CPU warning limit defined this counter will increase 1 the CAN controller is not involved in bus activities this counter will increase Ley unsigned int bus_error count When the CAN controller detects an error on the CA
62. urce ina ta ssar eene TOAD centem ies em ibis nen DHCP Allocator Configuration The UC 8410 8416 8418 8430 CE computers DHCP Allocator configuration tool called ICSCFG can be used to enable the Internet router function Take the following steps to configure this tool Connect LAN1 to the Internet and LAN3 to your PC 2 Execute the ICSCFG command from the command line Enable the DHCP Allocator Y N Y e Which net interface will be the private interface 1 to 3 3 e IP address allocattion start range 0 to 255 130 e IP address allocation end range 0 to 255 250 e Set the DHCP lease time 1 unit 1 minute 1 to 4294967295 10 e Which net interface will be the public interface 0 to 3 0 to disable 1 e Enable DNS Proxy Y N Y e Enable NAT for Public Interface Y N Y e Will take effect after rebooting Reboot now Y N Y When finished reboot the computer so that the function will be enabled To disable the Internet router function run the ICSCFG in the command line and select n in the configuration e Enable DHCP Allocator Y N N You may also use the following command to configure all parameters together See the following descriptions To disable DHCP Allocator Windows ICSCFG exe d To enable DHCP Allocator Windows ICSCFG exe e p1 p2 p3 p4 p5 p6 p7 pi Assign the Private Interface 1 3 p2 Assign the IP address allocation start range 0 255 p3 Assign
63. ve 8 x MU860 high performance serial ports When the system starts up you can specify the default operation mode RS 232 RS 422 or RS 485 The default mode would be RS 232 MOXA EI windows Embedded CE 60 Default Operation Mode System All Ports E lal save an r ier COMPot OP Mode Saxe Sting Serial Port P1 coma RS232 Y La P2 coM4 R5232 v lal File Manager P3 coMs RS232 lal P4 COMS RS232 v id SERS Ps cow RS232 v P6 coM8 RS232 v Processes f F P7 cous RS232 x La P8 COM10 RS232 v lal Process Thread Monitoring Control At runtime the UC 8410 8416 8418 8430 CE computers can manage up to 32 applications You can use the management system to monitor and control them To view current processes please click the Processes item on the main menu bar The running processes are then displayed You can kill a process by clicking the kill button next to the process name MOXA Windows Embedded CE 6 0 System Processes Networking Name 40D mhas NK EXE 1 84 Serial Port ludevice exe 2 n ludevice exe 3 no File Manager ludevice exe l4 4 judevice exe 5 4 Services ludevice exe le Kill explorer exe 7 ee Iservicesd exe 8 i24 Kill ICMD EXE g 1 Kill ConnMC exe 10 2 Kill CMD EXE 11 1 Kill cerdisp exe 42 3 Automatic Launching 1 atsagentexe l I Add Launching Processes Automatically To have your applicati
64. w 0o 00 5 W N STRING STRING STRING STRING STRING STRING STRING STRING 1 Timeticks 2 Timeticks 3 Timeticks 4 Timeticks 5 Timeticks 6 Timeticks 7 Timeticks 8 Timeticks 9 Timeticks Sample Sample Sample Sample Sample Sample Sample Sample SysOR SysOR SysOR SysOR SysOR SysOR SysOR SysOR 20936 20936 20936 20936 20936 20936 20936 20936 20940 O O O O O OOOO Description Description Description Description Description Description Description Description 03 29 36 03 29 36 03 29 36 03 29 36 03 29 36 03 29 36 03 29 36 03 29 36 03 29 40 You will see a series of messages from the SNMP agent on the UC 8410 8416 8418 8430 CE computer From there you can monitor and manage the computer Accessing Files through File Sharing The UC 8410 8416 8418 8430 CE computers support a file sharing function so that remote computers can access the UC 8410 8416 8418 8430 CE to read files Take the following steps to enable file sharing 1 To enable the file sharing function rename the hostname of the UC 8410 8416 8418 8430 CE to avoid hostname collision on the network In the Serial Console screen enter the following command gt hostname Embedded 1 E COM7 115200 None 8 1 ANSI UCS430CE gt UCS430CE gt UCS430CE gt UCS430CE evice Name changed The new host name is Embedded 1 U
Download Pdf Manuals
Related Search
Related Contents
LE LOGICIEL AUDACITY User Manual Manual de usuario 03_PIANO SICUREZZA E COORDINAMENTO "取扱説明書" Black & Decker VG085 User's Manual \Documentation Aéronautique\Scans de la Documentation LX2 Programming Manual Bosch GSA 18 V-Li Copyright © All rights reserved.
Failed to retrieve file