Home

WinPAC-5000 User Manual (WinCE Based, eVC

image

Contents

1. WinPAC 5000 Series User Manual Version 1 0 1 Page 80 4 5 3 Specifying the Path of the WinPAC 5000 Reference The WinPAC 5000 SDKs provides a complete solution to integrate with WinPAC 5000 Compatible with Visual C Visual Basic net and C In order to use a component in your application you must first add a reference to it Step 1 On the Tools menu and then click Options The Options dialog box appears File Edit View Insert Project Build Tools Window Help pourrie Browser AltFl 2 fi Eror Lookup As Remote Call Profiler WICESOO A5 Remote File Viewer WICESO0 fi Remote Heap Walker WICES00 wt Remote Kemel Tracker OW CESOO wrt Remote Performance Monitor 4 CESOO f Remote Process Viewer MCESO0 f Remote Registry Editor WCESOD As Remote Spyt ICESOO Pei Remote scvstem Information ESOL Ah Remote Zoomin WICESO0 select Remote Tools Customize Options ne s Macro Record Quick Macro Lthtslutt R Play Quick Macro tlt Shitt P Confieure Platoon Manager Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 81 Step 2 On the Directories tab in the Show directories for list select Include files Step 3 Under Directories type the path of the heard file The specified include path of the header file is default located at C Program Files Windows CE Tools wce500 PAC270 Icpdas Include
2. Cancel Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 77 Step 8 On the next page of the wizard click Next as shown in the following illustration WCE MFC AppWizard exe Step 3 of 4 Yfould you like to generate source file comments C No thank you How would you like to use the MFC library As a shared DLL As a statically linked library lt Back Finish Cancel Step 9 On the next page of the wizard Click Finish as shown in the following illustration App izard creates the following classes for Class name Header file CSDKinfoApp SDKinfoApp h Base class Implementation file cWinApp SDKinfoApp cpp Cancel Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 78 Step10 When the summary appears click OK to complete the wizard as shown in the following illustration Hew Project Information WCE MFC App vizard exe will create a new skeleton project with the following specifications Application type of SDKinfo Dialog Based Application targeting Winse WCE ARMY AI Winse VCE KIPSII Yina WCE MIPSIL FP Winse WCE MIPS Winse WCE MIPSIY FP Winse MYCE SHA Wina WCE emulator Winse WCE x86 Classes to be created Application CSDKinfo pp in DKinfo h and SDKinfo cpp Dialog CSDKinfoDlg in
3. Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 16 Bottom Panel The bottom panel includes a microphone an earphone a USB host a connector and two Ethernet ports Microphone in for WP 5441 only Earphone out for WP 5441 only 3 Mi M M D i a paree g oe2 gE LJ i pam ox f fai USB Host LAN2 gt Microphone in and Earphone out for WP 5441 only USB Client provides a fast flexible networking connection with unmatched ease of installation and use gt Ethernet Port LAN1 and LAN2 The Ethernet ports are the opening on WinPAC 5000 network equipments that Ethernet cables plug into Ethernet ports accept cables with RJ 45 connectors Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 17 gt USB Host A USB host controller is a machine with a root hub which allows several input devices to be connected to it such as mice and keyboards a gt Connector The pin assignments of the connector are as follows Signal Description COM3 RS 232 COM2 RS 485 COM 1 RS 232 n O i w Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 18 1 5 Dimension All dimensions are in millimeters gt WP 5000 Front View Back View Si
4. WinPAC 5000 User Manual WinCE Based eVC amp net Version 1 0 1 September 2010 WP 5441 SLUT S a _ es os Service and usage information for WinPAC 5141 WinPAC 5441 Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year beginning from the date of delivery to the original purchaser Warning ICP DAS assumes no liability for any damage resulting from the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use not for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2010 by ICP DAS Co Ltd All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies Contact US If you have any problem please feel free to contact us You can count on us for quick response Email service icpdas com Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 2 Table of Contents Tes MMU OCA CHO IM sacs teser T dase acess teehee rset E dence end T ANT 6 1 1 WNPAC 5000 Family scsusanensconssunsnesexosanenanestconeser
5. 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 114 6 2 2 WinPAC SDK updates for eVC To determine the SDK version that is compatibly running on the WinPAC you can read the Release Note which is located under each SDK folder these files provides important updated information for what we fixed and added Step 1 Get the latest version of the eVC components The latest version of the eVC components can be obtained from ftp ttp icodas com pub cd WinPAC napdos wp 5000_ ce50 sdk WinPACSDK Step 2 Copy the latest version of header files and libraries to Host PC The header files are located at C Program Files Windows CE Tools wce500 PAC270 Icpdas Include ARMV4 The libraries are located at C Program Files Windows CE Tools wce500 PAC270 Icpdas Lib ARMV41 Step 3 Copy the latest version of DLL files to WinPAC The DLL files are located at System_Disk ICPDAS System Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 115 Appendix A Tips How to Here we will guide you through some very useful tips to customize your WinPAC 5000 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 116 A 1 How to add a User Account To establish a new telnet and FTP accou
6. 2500 XW5111 RS 422 RS 485 4 2 wire Vrms For more detailed information about these support modules please refer to htto www icodas com products PAC up 5000 XW board Selection Guide htm Isolation Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 51 gt System Memory Setting Tab The System Memory Setting tab provides functions to adjust and monitor the unused RAM WINPAC Utility 2 0 1 1 Fie Help Configuration Auto Execution Multi serial port wizard System Memory Setting Backplane Compatibility Lape Move slider to the left for more memory to run programs Move slider ta the right for more storage room Only unused RAM can be adjusted Storage j gt ____ Program Memory Memory Allocated 49128KB Allocated 49128KB In Use 6916KB In Use 14248KB The tab use to How to use Adjust display Move the slider left to release more memory running programs or move the slider right to release more storage room and then press the Setting button Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 52 4 Your First Program When you learn every computer programming language you may realize that the first program to demonstrate is Hello World it provides a cursory introduction to the language s syntax and output Befo
7. Adding the WinPAC 5000 Reference ccccseeeeeeeeeseeeeesaeeeesaees 68 4 4 3 Adding the Control to the FOr cccceccccseeeeeeeeeeeseeeseeeeesaeeeeaees 69 4 4 4 Adding the Event Handling to the Control cccceseeeseeeeeeeeeeeees 71 4 4 5 Upload the Application to WiNPAC 5000 ccceccceeeecseeeeeeeeeeeees 72 4 4 6 Executing the Application on WinPAC 5000 ccccesseeeeeeeeeeeees 74 4 5 Your First Program in eMbedded Visual C cccccccceceeeeceeeeeeeeeseeeeseeees 75 4 5 1 Creating a Forms Based Project cccccssscccceseeseeeeesseeeeseeeseseees 75 4 5 2 Configuring Me Plafon sxcncvsiensnrvccisneeenasbnnainseleuseecslenmessasencueeesesenencuce 80 4 5 3 Specifying the Path of the WinPAC 5000 Reference 008 81 4 5 4 Adding the Control to the FOr cccceccccseeeeeeeeeeeeeeesaeeeesaeeeesaees 85 4 5 5 Adding the Event Handling to the Control ccccceseeeseeeeeeeeeeeeees 87 4 5 6 Upload the Application to WiINPAC 5000 ccceccceeceeeeeeeeeeeeeeees 89 4 5 7 Executing the Application on WinPAC 5000 cccceeceeeeeeeeeees 91 5 APIS ANd DEMO PLOGras cccceeccececeeeceeeeeeeeseeceueeeeeeseeeseueeseeesseeteeeeneesseeesaes 92 5 1 DEMO Progam WITT GF ccesceicncctevsneraeueneusceecusencevaenvadenmutveekeusesnctouednacenseseces 93 5 1 1 C Demo Programs for WinPAC Standard API cccccseeeeeeee
8. BLY EL OE Cancel Test Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 123 Step 4 On the TCP IP Transport Configuration dialog select Fixed port check box and then click the OK ICFFIF Transport Confizuraton Configuration tor device Pace o Device Check connection status Interval msec Fort number 5000 Use fired address 10 0 9 52 Configure automatically over serial Step 5 On the Windows CE Platform Manager Configuration dialog click Test Device Properties Device Name PACZTO Device pelect a transport and a startup server Choose Test to verify that you can establish a commection to your target device with the selected transport and startup server Transport TCPAE Transport for Windows CE Confieure tact werver Manual Sey EL Confienre IE Cancel l Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 124 Step 6 The Manual Server Action dialog will appear displaying a command line before click OK to close dialog turn to the WinPAC controller side to do the next two steps Mannal Server Action Please make sure the following files are on the device WY IN OOS Stepipe dll WA TAOS cermin exe WIN DOW S cetlstub dll And launch CEMGACLEXE with the fo
9. Hide Always On Top Empty Desktop Change HTTP document root directory Windowsa Bo to Ww indows anna aw pub Configure the synchronization with a time server v System Setting v Ethernet Setting v FIP Setting v System Information v Auto Execution v Multi serial port wizard v System Memory Setting Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 44 gt System Setting Tab The System Setting tab provides functions to configure the task bar HTTP directory path WinPAC Utility 2 0 2 0 f J Welcome to use WinPAC Utility This tool will help you to set WinPAC 8000 Display Resolution S00 600 na Wiel Cee q Bala Acoesilion System setting Task Bar Setting Auto Hide Always On Top Empty Desktop Change HTTP document root directory windows wiwwiwwwpuUb to Windows www wap Configure the synchronization with a time server The tab use to How to use Adjust the size of the desktop Select a display resolution from the Resolution list Lock or Auto Hide the taskbar Auto Hide Select the Auto Hide check box Lock Select the Always On Top check box Check the status of the See the Battery1 and Battery2 field that battery displays the battery status Change the HTTP directory Enter a new path in the Change HTTP path document root directory windows www wwwpub to field and then press the Setting
10. Menu File Help Configuration Reset System to Default Release Motes About Configuration Menu File Help Configuration Import Registry Ker Export Regsitry Key Store All Registry Setting Dump All Registry Setting Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 39 gt File Menu aA Help Configuration Save Save and Reboot Reboot Without Save Restore Default Settings Exit The menu commands Use to Save Saves the settings into Flash The new settings don t take effect until the WinPAC restart Save and Reboot saves the settings into Flash and restart the WinPAC The new settings will take effect after the WinPAC restart Reboot Without Save Restarts the WinPAC without save the settings into Flash Restore Default Restarts the settings of WinPAC to its factory Settings default values The settings include configuration setting network setting auto execution etc rene Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 40 gt Help Menu File Help Configuration Reset System to Default Release Notes About The menu commands Use to Reset System to Resets the system interrupt status to default Default The operation used in the situation when the interrupt crash You can select this operati
11. and then click Project Edit Yaiew Project Build Debug Data Tools Test Window Help Mew T Project CtrltShifttN Open 3 Web Site Stitt Alt Add gt Fil Chi Close Project From Exiting Code Close solution Step 3 In the Project types pane expand Visual C and then click Window CE5 0 save ll Ctltstuftes Export Template Step 4 In the Templates pane click Device Recent Files Applications Recent Projects Exit Step 5 Type a name in the Name field and then click OK Here we will enter the name systeminfo and a different location for the project if you wish Hew Project Project types Visual C Windows P ai R EF smart Device ia Class Library Oeil i es EE Console Application jalEmpty Project atab My Templates Other Project Types ajjeeecch Online Templates A project for creating tle coomact Framework 2 0 forms application for Windows CE 5 0 and later Name Location Solution Create new Solution w new Solution w Create directory for solution solution Hame Eei Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 57 4 3 2 Adding the WinPAC 5000 Reference The WinPAC 5000 SDKs provides a complete solution to integrate with WinPAC 5000 Compatible with Visual C Visual Basic net and C In order to use a component in your app
12. mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 130 A 2 2 Debug WinPAC programs in Visual Studio 2005 2008 Debugging in Visual Studio 2005 2008 are provided by WinPAC OS image V 1 3 0 4 or later Step 1 Make sure the following file are listed with the matching version numbers C Program Files Common Files Microsoft 1 ActiveSyncBootstrap dll shared CoreCon 1 0 Bin 2 ConMan2 dll 3 ConManPS dll 4 DesktopDMA dll 5 eDbgTL dll 6 TcoConnectionC dll shared CoreCon 1 0 Bin 1033 C Program Files Common Files Microsoft 1 DeviceDMA dll Shared CoreCon 1 0 Target wce400 armv4i gt eDbgTL dll 3 TcoConnectionA dll 4 clientshutdown exe 5 CMAccept exe 6 ConmanClient2 exe Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 131 Step 2 If the version matches correctly and the entire file are there copy the following files to WinPAC System_Disk ICPDAS System folder v Clientshutdown exe v ConmanClient2 exe v CMaccept exe v eDbgTL dll v TcpConnectionA dll Step 3 On the Project menu click Project Name Properties File Edit View Project Build Debug Data Format Took Window Commouty Help 5 Add Windows Form Add User Control Add Component Add Class shot Alt Add New Item Ctltstott A Add Existing Item shaft Alta Exclude From Project show All Files Add R
13. serial port and receive data from other device through the serial port For more information about these commands for communicating with expansion module please refer to CD Napdos io_module 87k_high_profile_modules htm IGPDAS Send to GOM 2 00 Connection Status COM Port Baudrate Data Bit Stop Bit com v 1520 w fe J Sor v fi v Close Hann O O O Oe lor se Binary String Sen olin Commands Responses am Bel Current Packet Size bytes i Current Packet Size bytes io Auto send Internal ms so Total Packet Bytes o Total Packet Bytes oC Start J stop If Set Packet Quantity send fo Packet Quantity received jo Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 36 3 5 VCEP ICPDAS VCEP is designed for managing your WinPAC Ye anywhere No matter where you are ICPDAS VCEP ad provides a convenient a environment on the Desktop ea your WinPAC remotely PC and allows you control ICPDAS VCEP is composed of two main components The Server which runs on WinPAC The Client which runs on a Desktop PC Once a connection is established between the client and server initiated by the client the client will periodically send requests for screen updates and send mouse key click information to the server to simulate Each video frame is inter compressed against the previous frame and then i
14. startup it allows users to configure ten execute files at most Tips amp Warnings A The allowed file types are exe and bat and they are executed in order of program 1 program 2 etc WinPAC Utility 2 0 1 1 File Help Configuration System Setting Ethernet Setting FTP Setting System Infor mation Multi serial port ape 1 i i OO OOOO O O a O O At most 10 programs can be 4 EAGLES ee ce ie execute o ee system startup ee O _ E The tab use to How to use Configure programs Press the Browse button to select the execute file running at startup which you want and then press the Setting button Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 50 gt Multi Serial Port Wizard Tab The Multi serial port provides functions for installation of the XW board driver WinPAG Utility 2 020 Fie Help Configuration Ethernet Setting FTP Setting System Information Auto Execution seri System _4 gt ce Driver enabled X Driver disabled Install driver Apply to sw 5xx modules v USE MSA MSBx Stepl set T USE com Step2 Go to File gt Save and Reboot to enable driver Slot scan Refresh The table below shows the expansion communication modules that are compatible with the WinPAC 5000 RS 232 422 485 DI DO Boards Serial Port Model DI DO Type Ch Wire xwe Rsa e swej Ta a a aE
15. 1 authentication Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 48 gt System Information Tab The System Information tab provides functions to monitor necessary system information of the WinPAC The system information is the most important note of version control for upgrading system WinPAG Utility 20 2 0 Fie Help Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Multi serial por ne xWwBoard feyysoo Module Type WWP 5141 64MB Flash Type system disk Samsung K8 7Ons Flash Type os Samsung K8 7Ons 64 bit Serial Number 01 20 20 13 13 00 00 60 OS Version 1 0 0 0 2010 07 09 13 00 00 Eboot Version 1 0 0 0 2010 07 27 15 00 11 CPU Version WinPacsDk Version WinPachet version WET Framework Yersion 2 0 7045 00 SOL CE Version 3 5 5396 0 Last Save Date Wednesday August 04 2010 rey bay m o o O o n Oy Tips amp Warnings The XW board series are for UPAC 5000 LP 5000 and WP 5000 series One PAC can only plug only one XW board The System Information tab show the module name for XW board Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 49 gt Auto Execution Tab The Auto Execute tab provides functions to configure programs running at WinPAC
16. 5000 Series User Manual Version 1 0 1 Page 128 Step 14 The Manual Server Action dialog will appear displaying a command line before click OK to close dialog turn to the WinPAC controller side to do the next two steps Manual Server Action Please make sure the following files are on the device WINDOWS tcpipe dll SW ADO S cerigre exe WY IN DOW S cetletub dll And launch CEMGACLEXE with the following cmd line CEMGRC EXE fT TOPIPC DOLL 4G 0 10 0 9 52 2008 Cancel Step 15 On the Microsoft eMbedded Visual C dialog click OK Microsoft eMbedded isual C CA ARMY 4HelthMemory exe does not contain debugging Information Press OK to continue Do not prompt in the future Cancel Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 129 Step 16 Connection established Then you can debug on line Tips amp Warnings A If you want to quit the debugger and return to editing you can click the Stop Debugging button from Debug menu ES Edit View Insert Project Debug Layout Tools Window Help Go F5 E Restart Ctl Shitt F5 Es Stop Debugging n Break TH Step Into Fil P Step Over FIO P step Out ShifitFl H F Eun to Cursor Ctl Fi0 Eb Emceptions fal Threads Modules Show NextStatement Altium ga Quick Watch Copyright 2010 ICP DAS Co Ltd All Rights Reserved E
17. ARMV4 inPacNet dll Options f fx Download B fid Directories orkspace Macros Format faye Platform CPOS ve Teco PAC270 STANI Win32 MYCE ARMY 4 A Include files Directories j j CAProgram Files findows CE Toolstwce5O00 5 TANDARDSDE 500 Includet CAProgram Files findows CE Toolstwce5O00 5TANDARDSDE 5SO00kmic inclu HPronram P Ainda Ifi ceh eB Whathir I Click this button to specify the path of the header file Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 82 Step 4 In the Show directories for list select Library files Step 5 Under Directories type the path of the heard file The specified include path of the header file is default located at C Program Files Windows CE Tools wce500 PAC270 cpdas Include ARMV4 inPacNet dll Download Build Directories kspace Macros Format ai F Platform PAC270 STANI Wind VYCE ARMY 4l hi Library files Directories CAProgram Files Windows CE Toolstwce5O0 S TANDARDSDE SOOVWID ARMY CAProgram Files Windows CE Toolstwce5O0 S TANDARDSDE 5SO0tmic libyak ancel Step 6 On the Project menu and then click Settings The Project Settings dialog box appears File Edit View n r Project Build Tools Window Help eet Active Project H Add To Project Depen
18. Add in Manager Jvtput file folder Macros Resources A SOL PROGRAM FILE a Fef Paths eference Pa _ Deploy the latest version Create GUID Signing thenticode siening Dotfuscator Community Edition Sign the project output ER WCF Service Configuration Editor External Tools Devices Import and Export Settee Customize P Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 133 Step 6 On the Options dialog select PAC 270 from the Show devices platform list and then click Properties Options F Ed e Documents show devices for platform Find and Replace Fonts and Colors a o Hei and E a Devices be mport sport Settings wea pa l E Cetinngs PACSO ARMV4 ARMYV4I Release Keyboard Task List Delete he Web Browser Projecte and Solution F Source Control t Text Editor H Databas Tools H Debugging aes Default device Devices PACSO ARMY4 AEMY 4I Release wt L Fonn Factors Step 7 On the PAC50 ARMV4 ARMV4I_ Release Properties dialog click Configure PACSOU ARMY4 ARMY4I Release Properties Default output location on device Program Files Folder wt Transport Bootstrapper Actveswne Startap Provider w Contiene Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Serie
19. Anna O Q pe Paper Size jA4 Advanced Draft Mode Caley Right 1 25 Bottom 1 f Margins inches Left 1 25 Top ji v Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 142 A 3 2 How to use printer via USB To use a shared network printer via USB please perform the following steps Step 1 On the WinPAC open a WordPad format file si Edit View Format Tools Mey Open Ctr 2 E E Step 2 Set up the printer Save S l 1 Printer Hewlett Packard LaserJet Password 2 Port LPT1 Print Ctril P 3 Paper Size Select the paper size Recent Files Close Ctrl yy File Edit View Format Tools E ta Test KD Tahom wlt w Print mE Printer Hewlett Packard Laser ka Print Range Orientation Bort EI Ji all Portrait Selection Landscape Met Path O Q 4 Margins inches Draft Mode EEI a5 Mele fi Color Right 1 25 Bottom fi Paper Size 144 x Advanced Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 143 A 4 How to use services tool The services tool can help you turn on turn off and monitor the WinCE services Step 1 Open a MS DOS command prompt Ei Uo fa p peee m 11 Ta a S bed ceed i Type the name of a
20. PAC 5000 Series User Manual Version 1 0 1 Page 46 gt FTP Setting Tab The FTP Setting tab provides functions to enable disable the FTP access enable disable anonymous FTP access and configure the FTP directory path WInPAC Utility 2 0 1 1 File Help Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Multi serial port Eno FTP Enable Disable Allow Anonymous Enable Disable Allow Anony mous Enable Disable Upload Change FTP default download directory Temp to The tab use to How to use Enable or Enable disable the FTP Select the Enable check box in the FTP field access l Disable Select the Disable check box in the FTP field Enable or Enable disable anonymous FTP access Select the Enable check box in the Allow Anonymous field Disable Select the Disable check box in the Allow Anonymous field Enable or Enable disable Select the Enable check box in the Allow Anonymous anonymous Upload field FTP upload p Disable Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 47 The tab use to How to use select the Disable check box in the Allow Anonymous Upload field Change the Enter a new path in the Change FTP default download FTP directory directory field and then press the Setting button path FTP Telnet Refer to the Appendix A
21. Projects Workspaces EJ WCE Application Project name AWCE ATL COM AppWizard FO WCE Dynamic Link Library MWEE MFC Activex ControlVizard Location WCE MFC AppWizard dll emia BA WCE MFC AppWizard exe CAWINDOWS CE TOOLS Ca WCE Static Library Create new workspace C Add to current workspace Dependency of wiWin32 WCE ARMY4 Mwina WCE ARMYA4l OWin32 WCE ARMY4T DWin32 WCE MIPS16 wWin32 WCE MIPSII Mwina WCE MIPSIL FP Leet Tips amp Warnings AN Ensure that Win32 WCE ARMV4I is selected in the CPUs list box and click OK Win32 WCE MIPSII_FP v Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 76 Step 5 Click OK to start the wizard Step 6 On the first page of the wizard click Dialog based and then click Next as shown in the following illustration WCE MFC App Wizard fexe Step 1 of 4 What type of application would you like to create C Single document M DocumentView architecture support What language would you like your resources in zl Cancel Step 7 On the next page of the wizard leave all the options as they are and then click Next as shown in the following illustration WCE MFC AppWizard fexe Step 2 of 4 Windows Help Activex Controls Please enter a title for your dialog SDKinfo Help contents file ISDKinfo htp lt Back Finish
22. Relative Humidity 10 to 90 non condensing Mounting on DIN rail Removing from DIN rail 7 i HAA WIU S S iiia F T hii S DM aA LLLI TTE ni gt DIN rail mounting PTT TT Toleteletatetalet The WinPAC 5000 has simple rail clips for mounting reliably on a standard 35 mm DIN rail 1100001010010 D C _ gt Piggyback mounting The WinPAC 5000 has two holes on both sides for piggyback mounting Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 22 Step 2 Connecting to a microphone an audio a PC the USB device and the power supply i Connect the mouse or keyboard to the USB port li Connect the microphone and earphone to the microphone in and earphone out for WP 5441 only iii Connect PC to the Ethernet port through a hub iv Connect the power supply 10 30 V to PWR and GND terminals v Connect the monitor to the VGA port Monitor Mouse or oe Keyboard amp Earphone WP 5441 Only a Power Supply 10 30 Voc Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 23 2 2 Configuring the Boot Mode The WinPAC 5000 has the following six main operating modes which can be selected by a rotary switch Rotary switch position Modes of operation Normal mode D
23. SDKinfoDig h and SDKinfoDlg cpp View CChildYiew in ChildYiew h and ChildYiew cpp Features Uses shared DLL implementation Localizable text in Bese Fal Project Directory CADOCUMENTS AND SETTINGS YINDOWS CE TOOLS EYC SDEinto Cancel Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 79 4 5 2 Configuring the Platform When developing applications by using eMbedded Visual C you must configure the Platform to indicate what platform and device you intend to download the application to Before you deploy your project check the platform On the Win32 WCE ARMV4I Debug configuration toolbar select Win32 WCE ARMV4I Release as shown in the following illustration eq SDEinfo Microsoft eMbedded Visual C Ble Edit View Insert Project Build Tools Window Help leals GH te 2 e e ee oa a ELE l i All class members CSDEinfoApp T Wind MYCE ARMY AI Release EEE sDKinto classes in32 YCE emulator Debug inj MYCE emulator Release in32 YCE MIPSII Debug Inge MCE MIPSII Release indg2 WCE MIPSIL FP Debug in32 VCE MIPSIL FP Release in32 WCE MIPSI Debug inj WCE MIPSIV Release In3g2 CE MIPSI FP Debug in32 WCE MIPSI FP Release indg2 YCE SHA Debug Inge CE SHA Release Inge MYCE x86 Debug Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
24. _DIALOG The resource editor appears in the right pane Step 3 From the lt q SDKinfo resources TOODO aE a SDKINFO DIALOG English U S fe ST nglis oO Button control a Icon onto the form 9 Version EE Pfs memm Buttoni gi E 3 ZU ERLEC Dialogeld Steuerelem hier Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 85 Step 4 Right click the Button control and then click Properties The Push Button Properties dialog box appears E SDKinfo re IDD_SDEINFO_DIALOG German Germany Dial Hea Copy EA Paste Insert Active Control FUERLED Dialogfeld Steuen aize to Content be Alien Lett Edges z Check Mnemonics AN Class Vizard Events Fro perties Step 5 Type Check the OS version in the Captions field and then click E3 Fush Button Properties W General Styles Extended Styles ID IDC_BUTTONT Caption Check the OS version W Visible l Group Disabled W Tab stop Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 86 4 5 5 Adding the Event Handling to the Control You have finished the design stage of your application and are at the point when you can start adding some code to provide the program s functionality Step 1 Double click the button on the f
25. ablished After the connection is established the color of the ActiveSync icon will change to green Get Connected Checking COM Ports Please wait while Setup locates your mobile device Disconnected Black amp Write Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 149 Step 7 Click Yes and then click Next to set up a partnership Hew Parmership Set Up a Partnership Before you can synchronize information between pour mobile device and this computer you must setup a partnership between them Would you like to setup a partnership ives Set up a partnership go that can synchronize Information between my device and this computer No don t want to synchronize information Set up my device as a quest so that can copy or move Information between my device and this computer Step 8 Select the type of information you want to synchronize and then click Settings Hew Partnership Select Synchronization Settings elect the type of information you want to snchronize To synchronize a particular type of information select its check bos To stop synchronization of that information clear its check box Mobile Device O Desktop Computer O Calendar Microgott Outlook O Contacts Microsoft Outlook Synchronized Files L jw Tasks Microzott Outlook To find out more about and to customize what g
26. anpsaxessasnanesaconasexantsarossassanines 7 1 1 1 WinPAC 5000 Naming Convention cccccseeeeeseeeeeeeeeeseeeeesaaeeeeas 7 1 1 2 WINPAC 5000 Comparison ccccecccceeceeceeeeeseeeeeseesesseeeesseeeesaeeeeas 8 1 2 Features a arcecenncenreenanctiencneaeh amneuatcionacecanceanualiens uecehaeeannentnuataachagenasaneaacenameeanaeaubes 9 To OS CIN CAL ONS ar E E E 12 1 4 OVOIVIOW 0 cccccccceeccceececeececeneeceueeceueecsueeceueesaueesueesueeesaeeeseessueessueessaeessaeeeas 14 Tee NINO NSION eree E E duets eaduerdsundareda EE 19 TO COMA O D siescanacecsnceocsenneconnnonsvannesntesascececsenrecesececsseraceceqessserecerecessaece 20 PEE a ES EE ois EN O EE EAA 21 2 1 Mounting the Hardware ccccccscccsscceccceeeceeecescecseeceueeeaeesseeseeeeneeeneeesegs 21 2 2 Configuring the Boot MOE cccceecccceeceeceeeeeseeceeeeeeeseeeeesseeeesseeesaaeeeeas 24 2 3 Changing the Language of the User Interface ccccceccceeeeseeeeeeeeeseeees 26 2 4 Using WinPAC Utility to Configure WinPAC 5000 Basic Functionality 28 i OOL QIN TASKS eea ui danedancdaerdvendanndanesa EAE AEE EEE ERR 29 3 1 Backup Utility 0 ccc cececceeeceeeese cess seseeeeseeeeseeeesaeeeseueesseeeseueeseneeneees 32 Ie CONG O e EEEE E EE EE 34 x NADOP OO a sas cams an tewersanzeuapiesacuacteuasnepiacdeneeseresuaeacesuerserieuersacieeneten 35 ee OIC NOG OM caxsnewasexsisavadenenonsdexcoeus donee xedexsaeedexeoeusdesesoxe
27. are a new user begin with this chapter it includes a guided tour that provides a basic overview of installation and configuration In addition to Quick Start Guide the package includes the following items if any items are damaged or missing please contact us Win PAC Module microSD Adapter Software Utility CD Screw Driver WP 5141 10016 WP 5441 2 4mm 2 1 Mounting the Hardware Before installing the hardware you should have a basic understanding of hardware specification such as the size of hard drive the usable input voltage range of the power supply and the type of communication interfaces For complete hardware details please refer to section 1 2 Specifications You also need to know the expansion capacities in order to choose the best expansion module for achieving maximal efficiency For more information about expansion module that are compatible with the unit please refer to http Awww icodas com products PAC up 5000 XW board Selection Guide htm Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 21 Step 1 Mounting WinPAC 5000 e The WinPAC 5000 can be mounted with the bottom of the chassis on the DIN rail the wall or piggyback e To clean the unit wipe it with a clean dry cloth e Maintain the following conditions Operating Temperature 25 C to 75 C Storage Temperature 30 C to 80 C
28. button Automatic synchronization of Refer to the Appendix A 6 How to configure system time the service for automatically synchronizing with the internet time server Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 45 gt Ethernet Setting Tab The Ethernet Setting tab provides functions to configure either DHCP Roaming or manually configured Static network settings and to monitor the MAC address Generally DHCP is the default settings but if you don t have a DHCP server you must configure the network settings by using manual configuration WINPAC Utility 2 0 1 1 File Help Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Multi serial port no MAC Address 1 U0 OD EO S0 O1 6t LAN LIP Address Setting Use DHCP to get IP address 0 Assign IP address IP Address 10 1 0 91 Mask 255 255 0 0 Gateway 10 1 0 254 DNS Serwer 10 0 0 332 The tab use to How to use Configure the network Obtaining an IP address automatically from DHCP settings Select the Use DHOP to get IP address option Manually assign an IP address Select the Assign IP address option Monitor the MAC See the MAC Address 1 and MAC Address 2 fields address that display the physical address of LAN1 and LAN2 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Win
29. ce icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 99 Folder Demo Explanation GPIO GPIO Shows how to connect and control XW107 XW107 demo the XW board series modules For C application these demo programs can be obtained from CD Napdos wp 5000_ce50 Demo WinPAC eVC PAC_lIO XWBoard xwboard Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 100 6 WinPAC 5000 Updates ICP DAS will continue to add additional features to WinPAC 5000 SDK and OS in the future So we advise you to periodically check the ICP DAS web site for the latest updates WinPAC 5000 updates services can be divided into the following two main categories CD Napdos wp 5000_ce50 os_image ssss22525 1 OS updates update_from_Eshell update_from_file SDK sss222222 2 SDK updates IO Modules Modbus NAPOPC_CE5 WinconSDK WinPacNet WinpacSDK Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 101 6 1 OS Updates The updates files of OS image are located on CD Napdos wp 5000_ce50 OS_Image CD Napdos wp 5000_ce50 os_image gt efele update_from_Eshell update_from_ file There are two ways to update the OS 1 Update from file Please refer to section 6 1 1 We recommend that you use this on
30. cel The Warning dialog box will appear on WinPAC 5000 GE E E AA a i 2 Would you lke to save the setting and reboot the device ne Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 110 Step 7 Configure the boot mode in normal mode Turn the rotary switch to 0 and then reboot the WinPAC Step 8 Run the WinPAC Utility fe p Conipe atin Bresa Setting terrae Seting FTP Seeing Serem niy ratin ato bner Mt serial pert wa eo Welcome 10 use Wien Utility That Sect wt Penis pou ep taaa Feat CC ene ry ee Somro Ta tar Srg linm aw On Tap Change HTTP Gacument root Grectory enone D tr Wet www rere wnr i a Help Configuration and Reboot FTP Setting sis n j i esolution a20 240 w a Reboot ee or Top senna Change HTTP document root directory to Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 111 Step 11 Click Yes to reboot the WinPAC 5000 Warning 2 Would vou lke to save the setting and reboot the device Step 10 Check the WinPAC OS version Start the WinPAC Utility and then select the System Information tab to check the current OS version Seenenney Check the OS version AEAENANEN Copy
31. connection fails shown as follow return to step 11 to do the action below To PACSO ARMY4 ARMY Release Connection faded Activesync is not inetealled Open the command prompt run the CommanClient2 exe transport tcpconnectiona dll property port 5000 i d Con at System_Disk ICPDAS System and then run the CMAccept exe File Edit Help system diski icpdas system gt Conmanclientz exe transport tcpconnectiona dll pro perty port S000 id Con system disk icpdas system gt Configure TCP IP Transport Use fixed port number SOOO Device IP address Obtain an IF address automatically using ActiveSync Use specific IP address 10 0 9 10 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 139 A 3 How to use the printer WinPAC have ability to access the printer you can connect to the printer via Ethernet network or USB Tips amp Warnings WinPAC only supports HP Laser Jet Printers which support PCL6 driver Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 140 A 3 1 How to use network printer To use a shared network printer please perform the following steps Step 1 On the Host PC check the name of the Host PC and the shared printer system Properties Automatic Updates t Re
32. crosoft Windows CE net e Supports PC based software eVC and VS NET e Web server FTP server Telnet server e ISaGRAF version for IEC 61131 3 programming e InduSoft version for SCADA solution gt Local I O and Communication Expansion Board WinPAC 5000 series equip an I O expansion bus to support one optional expansion board called XW board It can be used to implement various I O functions such as DI DO A D D A Timer Counter and various communication interface such as RS 232 422 485 CAN FRnet etc Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 9 Various Memory Expansions WinPAC 5000 provides various memory storage options such as EEPROM and microSD Customers can choose the memory based on their characteristics e 16 KB EEPROM to store not frequently changed parameters e microSD microSDHC to implement portable data logging applications gt Unique 64 bit Hardware Serial Number to Protect Your Program A unique 64 bit serial number is assigned to each hardware device to protect your software against piracy gt Remote I O Module and Expansion Unit WinPAC 5000 With the built in RS 485 and Ethernet port the series can connect RS 485 Ethernet remote I O units RU 87Pn ET 87Pn or modules I 7000 M 7000 ET 7000 With an XW board the 5000 series can have more communication ports or different
33. de View abe eel H S hhh zzz i E La ee ee ee j lll i Cmm A Ml pt I PNT ngap CU in A a A N a E a a A A a E a a i E 9 8 a o E SOOOCHOIO LE i i Side View fete fe TT mn hhh aa jut a fare fOr J ee a E N a E a a A N a E a a d E A y E E Epy y ert ee ee 6 8 6 8 88 LE ee i Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 19 1 6 Companion CD This package comes with a CD that provides drivers software utility all of the required documentations etc All of them are listed below CD napdos L wp 5000_ce50 Backup L Backup files related to the documents OS images SDKs etc Demo L Demos related to WinPAC Document L Document related to WinPAC eLogger Demos and drivers related to eLogger Micro SD L Tools and drivers related to manage the microSD misc L Files related to miscellaneous OS_Image L OS_Image related to WinPAC PC_Tools L Tools related to management WinPAC that install on PC SDK L SDKs related to WinPAC system_Disk Tools and drivers related to System_Disk that install on WinPAC Update L Installation packages related to WinPAC updates Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 20 2 Getting Started If you
34. dencies AlE Export Makefile In r Project into Workspace Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 83 Step 7 On the Link tab type the winpacsdk lib in the Object library module field and then click OK Project Settings settings For CC Link Resour es Mi Win32 YCE ARMYAI Release Category General Output file name ARMY 4IRel systeminto exe Object library modules Ignore all default libraries Generate mapfile Project Options nologo base 0x000 0000 stack 0 10000 0x1000 lentry Ww inMainCRT Startup fincrementalino pdb ARMY AIRelsysteminfo pdb concel Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 84 4 5 4 Adding the Control to the Form You can drag various controls from the Toolbox onto the form These controls are not really live they are just images that are convenient to move around on the form into a precise location After you add a control to your form you can use the Properties function to set its properties such as background color and default text Step 1 Click ResourceView in the Project Workspace pane and expand the resources tree by opening the top level folder Step 2 Open the Dialog folder and then double click the dialog resource name IDD_SDKINFO
35. deneoesedoneoeuedenseesean0 gt 36 0 ek Ol ane A 37 3 6 WINPAC Utility 0 0 cece eccecccceeeeeeeeeeeeeeeeseeeeceeeeeeaeseeceeeeseaeaeeeeeseseeaeeees 38 sO ula MENE AT ee 39 3 6 2 Property TADS ccccccccceeccceeeeseeeeceeeeseeeeseeeeseueeseeeeseueeseeeeseeeeseneesanees 44 AS YOUP PS POO AN ea A ls nimiiuibisdietestossnounien 53 4 1 Preparing the Development TOOIS ccccccccsscccseeceeeeeeeeceeeseeeeneeenseesaes 54 4 2 Installing WAFA G 5000 SDK eresse E R E E 55 4 3 Your First Program in C ccccccccccccsecceceeeeeceeeeseeeeeeeeeesseeeessaeeesseeeesaeeeeas 56 4 3 1 Creating a New PrOjeCt cccccesccceseeceseeceseeceesecseeesueeseueeseeeessaees 56 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 3 4 3 2 Adding the WinPAC 5000 Reference cccccceeeeeeeeeseeeeseeeeeaeees 58 4 3 3 Adding the Control to the FOr cccccccccceeeeeseeeecaeeeesaeeeesaeeesaees 59 4 3 4 Adding the Event Handling to the Control cccceeeeeeeeeseeeeeeeees 61 4 3 5 Upload the Application to WiNPAC 5000 ccceccseeceeeeeeeeeeeeeeees 63 4 3 6 Executing the Application on WinPAC 5000 ccccceeceseeeeeeeeees 65 AA YOUL FIStProgram IN VB INC Uc scera a E EERE E 66 A AN She aunG a New Project sseciccccestdeusens ocoseze eanccuandeaseusedcorcuaidsaceveddeasace 66 4 4 2
36. e Details Information Type Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 147 Step 3 On the File menu click Connection Settings w Microsoft Actives yuc E E x Mia abrainn Fa WLC hr OZE File Yiew Tools Help Mobile Device Delete Mobile Device Connection Sethi Hide Details Information Type Step 4 Make sure the Allow USB connections are selected and then click Connect E Connection Settings Waiting for device to connect M Show status icon in taskbar M Allow USB connections Allow connections to ane of the following com This computer is connected to Automatic M Open ctiveSync when my device connects F alow wireless connection on device when connected to the desktop Help OK Cancel Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 148 Step 5 Click Next to get connected Get Connected Get Connected To connect your device to this PC 1 Connect the cable to the PC 2 Turn on the device 3 Connect the device to the cable ActiveSync should automatically detect pour device IF your device is not automatically detected click Next IF you are using infrared IA or Bluetooth click Help Cancel He Step 6 Wait a while until the connection is est
37. e a very convenient way of status indications for faster easier diagnostics LED Name Color ON State Meaning RUN PWR Power on and OS is running User programmable control LED User programmable control LED Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 14 Tips amp Warnings i The LED indicators can be programmed with WinPAC API If do not necessary do not use RUN that is assigned to the OS status indicators Top Panel The top panel includes a microSD socket VGA port USB client and rotary switch VGA Port Rotary microSD USB Switch Socket Client gt microSD socket The microSD socket provides an easy way to expand the available storage with a microSD card up to 16 GB maximum Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 15 gt VGA port External VGA port provides an easy connection to a monitor or touch panel gt USB Client USB Client is used to for ActiveSync application An accessory USB cable is available to connect the client port with USB mini B type to USB Type a plug on a PC for ActiveSync application gt Rotary Switch The rotary switch is used to select the operating mode For more information about the operating mode please refer to section 2 3 Configuring the Boot Mode Copyright 2010 ICP DAS Co
38. e detailed comparison information please refer to 1 1 2 WinPAC 5000 Comparison 1 1 1 WinPAC 5000 Naming Convention As you examine this manual you ll notice there are many different models available Sometimes it is difficult to remember the specifications for any given model However if you take a few minutes to understand the module naming conventions it may save you some time and confusion The figure below shows how the module naming conventions work for each WinPAC 5000 model VGA amp Audio Communication Software Language 1 VGA 800 x 600 3 Ethernet x 1 amp USB x 2 1 Standard EN English 2 VGA 1024 x 768 4 Ethernet x 2 amp USB x 1 TC Traditional Chinese 3 Audio SC Simplified Chinese 4 VGA 800 x 600 amp Audio 5 VGA 1024 x 768 amp Audio Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 7 1 1 2 WinPAC 5000 Comparison The following table shows the comparison in all the features of WinPAC 5000 family VGA RS 232 Model OS CPU SDRAM _ Ethernet I O Expansion Bus Audio Port Resolution RS 485 WP 5141 PXA270 Yes CE5 0 128 MB 800 x 600 520 MHz for XW board only WP 5441 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 8 1 2 Features The key features of WinPAC 5000 include gt Windows CE Net 5 0 Mi
39. e for more quicker and easier to update 2 Update from Eshell Please refer to section 6 1 2 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 102 The WinPAC 5000 OS supports multi language 1 en English 2 SC Simplified Chinese 3 tc Traditional Chinese update_from_file update_from_eshell Es ER Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 103 6 1 1 OS Updates Using Installation Package File Installation package Is easier to upgrade OS image you just copy the package file exe and the corresponding Autolnit bat file to WinPAC 5000 and then double click installation package file to run it Step 1 Get the latest version of the installation package file and the corresponding Autolnit bat file uploading to WinPAC 5000 The latest version of the installation package file and the corresponding Autolnit bat file can be obtained from CD Napdos wp 5000_ce50 OS_Image update_from_file http ttp icodas com pub cd winpac napdos wp 5000 ced0 os image update f rom file gt The corresponding Autolnit bat file can be obtained from the same folder There are several ways to upload these files to WinPAC 5000 i Upload files via Ethernet li Upload files via a USB storage device the removable M
40. efault Debug mode r ee The following is an overview of the six modes Normal Mode Default mode Normal mode is the default mode of operation and the one you will use most of the time Use this mode for more tasks and configurations Programs also are executed in this mode Safe Mode Safe mode is a trouble shooting The mode loads the minimum required device drivers and system services to boot the WinPAC 5000 If you have malicious software or a program caused the WinPAC 5000 cannot be boot or run the normal mode you can boot in safe mode to solve the problem Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 24 Debug Mode Debug mode is a special environment in which program debug functions can be used in addition to normal system functions Debug mode is unsupported OS Update Mode OS update mode is a way used to update OS For more information on updating the WinPAC 5000 OS image please refer to section 6 1 OS updates Development Mode DCON_CE In this mode the VCEP will be run automatically and other settings are same as the normal mode For more information about the VCEP please refer to section 3 3 DCON_CE VCEP In this mode the VCEP will be run automatically and other settings are same as the normal mode For more information about the VCEP please refer to section 3 12 VCEP User Mode The posi
41. eference Add Web Reference set as start p Project Change Target Platform Systemilnto Properties Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 132 Step 4 On the Systeminfo tab unselect Deploy the latest version of the NET compact Framework including Service Packs check box _ ereate_database Formi cs Foml cs Design V Object Browser eos Fuld ployment Options Build Events l Target device Debug PACSO ARMYV4 ARMYV4T Release Jvtput file folder Resourves W elDL PROGRAM FILES icreate_databas Reference Paths Deploy the latest version of the NET Compact Framework including Service Packs imine thenticode Signing Sien the project output with this certificate Step 5 On the Tools menu click Options File Edit View Project Buld Debug Data Tools Test Window Help H i GS ie A 23 ERR Attach to Process Colt AlHP x PACSO ARMY4 ARMY4 Release aL fal j gt sa Device Security Manager x _ create_database Forml cs Fornl cs Desg 2 Connect to Device i a f oe a Dee Embor Manager f E Application Connect to Database Build Connect to Server ployment Options Code snippet Manager CthE Ctrl B Build Events Target device Choose Toolbox Items Debug PAC SO ARMY4 ARMY AT
42. ep 2 Under the Synchronized files click Add to select the synchronized files or add the file to the synchronization folder and then click OK File Synchronization Settings File Synchronization synchronize selected files on your mobile device with the The path of the corresponding files on this computer synchronization folder 7 Add 7 J Emoe y Caneel Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Page 152 WinPAC 5000 Series User Manual Version 1 0 1 Step 3 Check the synchronization status After clicking OK the synchronization will be performed The synchronization folder on PC 9 CADocuments and Setting WindowsMy Documents Windows lE My Documents hal E Microsoft Actives yuc Syme Stop Details Explore Options WindowsCE Connected Synchronized Information Tame 4 Files The synchronization folder on WinPAC 5000 eB XH E C Address my Documents nd File Edit View Go k x Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 153 A 6 How to automatically synchronize the WinPAC clock with an Internet Time Server Step 1 Run the WinPAC Utility Si Thee Wet et leq pou eee ee eee ED an Capan 4 Parr fro co J o Somro Sa LTE E n WinPAG Utility 20 2 0 Fie Help Con
43. ept clientshut Autoloader WinpacsStk Sleep PACSO24 pace01 H WAR TCE TfOQ0CE Wincor DLONCE Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 136 Step 12 On the Tools menu click Connect to Device File Edit View Project Build Debug Data Tools Window Commumty Help Sh Attach to Process Ct Alt gL Connect to Device 1E Connect to Database a Connect to server Code Snippets Manager Ct K Ctrl B Choose Toolbox Iter Add in Manager Macros Create GUID Dotacator Community Edition Extemal Tools Device Emulator Manager Import and Export kettings Lustonuze ptons Step 13 On the Connect to Device dialog select PAC 270 from Platform list and then click Connect Connect to Device To connect to a physical device or launch an emulator image select a Connect platform then choose a device below Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 137 Step 14 On the Tools menu click Connect to Device To PACSO ARMY4 ARMY4 Release Connection succeeded Step 15 Connection established Then you can debug on line Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 138 FAQ If the
44. es 93 5 1 2 C Demo Programs for PAC I O API cccceceeeeeeeeeeeeeeeeeeeeeaeeeesaees 95 5 2 DEMO Programs with CVC4 4 cccccccseecceeceeeeeeceeeeeeeeseeeeseuseceeeeseueesensesaaees 97 5 2 1 eVC Demo Programs for WinPAC Standard API e 97 5 2 2 eVC Demo Programs for PAC I O API ccccccceeeeseeeeeeeeeeaeees 99 6 WINPAC 5000 Updates cc ccecccceccceeeceeeeeeeeeeeeeesaeeesaeeeseeeesseeeeeeesseeeeseeesseeeeas 101 oo em 10 8 0 0 2 een ee ee er ee eer ne ee eee ee eee 102 6 1 1 OS Updates Using Installation Package File cceeceseeeeeees 104 6 1 2 OS Updates Using Eshell via Ethernet ccccecseeeeeseeeeeeeeeees 108 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 4 6 2 SUKS WOGA1ES vinsvcexsssecciveverersnersuccsner E E versie nrcnsecNE EDS 113 6 2 1 WinPAC SDK updates for C or VB Net ccceeceeseeeeeeeeeeeeeeeeees 114 6 2 2 WinPAC SDK updates for eVO eccceeccesseeeeseeeeeeeeeesaeeeesaaeeeeas 115 PO DONO A TIDO ROW 10 a iios gies cceieiaiasgincatsentaiataspieriesnteisios giacwiesniaianas gia seniaieuesens 116 A 1 How to add a User Account ccccccccseececeeceseeeeseeeeseeeeseeeeseeeeseeeeseeeenees 117 A 1 1 How to Use telnet to remote login the WinPAC from PC 008 119 A 1 2 How to remove the user from the lo
45. estore Default Settings Exit h LIL Always On Top Change HTTP document root directory to WANs Way aA BILE Setting Step 5 On the File menu click Save and Reboot Setting Step 6 Click Yes to reboot the WinPAC 5000 Warning 2 Would vou lke to save the setting and reboot the device Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 27 2 4 Using WinPAC Utility to Configure WinPAC 5000 Basic Functionality WinPAC Utility is a tool that provides ability to configure the WinPAC 5000 services TY mete hhith For more information on how to use the WinPAC Utility please refer to section 3 13 WinPAC Utility Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 28 3 Tools and Tasks Following tools has been installed on WinPAC 5000 CD Napdos wp 5000_ce50 system_Disk Tools Backup_Utility Dcomcnfg DCON_CE ISQLW35 Modbus napopc_ce5 Quicker RegistryEditor RegistryViewer Remote_display_application sendToCOM TaskMgr VCEP WinPAC_ Utility Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 29 gt Backup_Utility The Backup Utility is a system backup restore tool used to backup restore al
46. ete sae Bes gt a Select Forml amp Cut 43 Copy z mainMenul XA Delete Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 69 Step 3 In the Properties window type Check the OS version and press ENTER to set the Text property Properties buttonl Syetem Windows Forms Button RightToLeft Check the S version w Text hen Middle enter TextlmageRelation Overlay Text The text associated with the control Gg Class View Ay solution Explorer pap Properties Propertes Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 70 4 4 4 Adding the Event Handling to the Control You have finished the design stage of your application and are at the point when you can start adding some code to provide the program s functionality Step 1 Double click the button on the form The Code Editor opens with the cursor positioned in the event handler Step 2 Inserting the following code 1 Imports WinPacNet 2 MessageBox WinPAC 5000 pac_GetOSVersion Imports WainPacHet Public Class Form Private Sub Button Click ByYal sender As Syste 05Ve rsiong i End Sub End Class Tips amp Warnings AN The WinPacNet of unsing WinPacNet is case sensitive Copyright 2010 ICP DAS Co Ltd All Rights Reserved E ma
47. ets synchronized click f Settings on that information type in the list and then click Settings Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Page 150 WinPAC 5000 Series User Manual Version 1 0 1 Step 9 Click Finish to complete the setup Hew Partmership Setup Complete Tou are now ready to start exchanging information between hour mobile device and this computer Upon exiting this wizard Microsoft ActiveSync will open and IF your device is a guest click Explore on the toolbar and start exploring your device IF your device has a partnership synchronization starts Please wait until synchronization is complete before using your device Click Finish to exit this wizard Step 10 Click Sync to synchronize the information 8 Microsoft ActiveSync File View Tools Help OG fy slop Details Explore Options WindowsCE Connected Synchronized Information Type Status Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 151 Example Synchronize a file between the PC and WinPAC 5000 Step 1 Follow the above mentioned procedures to synchronize a file folder and then double click the Files Microsoft ActiveSync Sle x File View Tools Help Se be HEE sa atap Details Explore Options Window sCE Connected Spnchronized EE Type Files St
48. figuration FTP Sev System Information Auto Execution Multi serial port i Welcome to use WinPAC Utility This tool will help you to set WinPAC 8000 Display Resolation eon 600 kd YF ire Cong ui A a Agmasilion Sashes Setting Task Bar Setting Auto Hide Always On Top Empty Desktop Change HTTP document root directory ee to Ywindows www aay Ub Configure the synchronization with a time server Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 154 Step 3 Select the domain name in the Server drop down list and then enter a value in the Autoupdate Frequency field Internet Time 1 0 0 1 steol Server pool np org ka Step 4 Check the Seo A TT Automatically Step3 synchronize Automatically synchronize with an internet time server with an internet Update How time server Step 4 60 to File gt Save and Reboot to enable check box driver Auto update stopped a Help Configuration i Step 5 On the File menu EEE FTP Setting system lt 1 click Save and Reboot Without Save eSolution fazo 240 we Restore Default Settings Reboot Exit E SLILU a Always On Top Sula Change HTTP document root directory to LJ Step 6 The WinPAC will automatically synchronize with an internet time server regularly Internet Time 1 0 0 1 Step 7 Press Update Now to synchronize WinPAC clock
49. g WinPAC programs in EVC Step 1 On the Tools menu click Configure Platform Manager File Edit View Insert Project Build Tools Window Help A Error Lookup 7 Remote Call Profiler WCE500 7 Remote File Viewer WCE500 7 Remote Heap Walker WCE500 7 Remote Kemel Tracker WCE500 7 Remote Performance Monitor WCE500 P gt Remote Process Viewer WCE500 P gt Remote Registry Editor WCE500 P gt Remote Spy WCE500 Zh Remote System Information WCE500 A Remote Zoomin WCE500 select Remote Tools gt Customize Options Ka Macro Record Quick Macro Ctrl Shift R Play Quick Macro Ctrl Shift P Configure Platform Manager Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 122 Step 2 On the Windows CE Platform Manager Configuration dialog click Properties Windows CE Platfonm Manager Confizuraton elect a platform or device to configure PACTO Add Device 2a PACZTO Device Sa J Delete STANDARDSDK_420 Windows CE Default Platoon Step 3 On the Device Properties dialog click Configure Device Properties Device Hame PACZ O Device select a transport and a startup server Choose Test to very that you can establish a commection to your target device with the selected transport and startup server Transport TCPIP Transport for Windows CE otartup Sever Manual
50. gin liSt cccccsseeeeeeeeeeeeeeeeeeeens 121 A 2 How to online debug WINPAC cccseeccseeeeceeeeseeeseeeeseeeeseueeseeeeseeeesees 122 A 2 1 Debug WinPAC programs in EVO ccceccceeccceeeeceeeeeeeeeeaeeesaeees 122 A 2 2 Debug WinPAC programs in Visual Studio 2005 2008 131 Pes HIOW 10 WSC Une PINE sdecsstacaccectacancactadaccactadeosaetadecaactaceesaatadaecentaceecaaeadecee 140 A 3 1 How to use network printer cccceeceeccceeeeeeeeceeeseeeseeeeneeeseeeeeeeens 141 A 3 2 How to use printer via USB ccccccceecccseeeceeeeeeeeeseeeesaeeesaeeesaaees 143 Ps ROW 10 USC SCMVIGC S100 Mitcacicccazecdcecctenteaccascdcasesseveseencd E 144 A 5 How to use ActiveSync through USB Polt ccccseeeeeseeeeeeeeeeseeeeeneaeees 147 A 6 How to automatically synchronize the WinPAC clock with an Internet Time Sl VSI a E E E 154 Appendix B XW board Modules ccccecccceeeeceeeeceeeeseeeeseeeeseueeseueeseueeseeeeseeeesees 156 Appendix C Revision IAISTONY a osstescectcectnscst suas astosuaseuctoceenaedeausendaeecbundceadsneeseeuasancesrenee 157 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 5 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 Introduction a i a WinPAC 5000 ramar Devel log pm neni t l pimes Audio In O
51. ialog box will appear prompting you to select a location where you want to save this exported file Warning The export operation will export all the sub keys of the specific key which you input Store All Registry Stores all registry setting to flash from das file setting which is saved by Dump All Registry Setting How to use Step 1 Select the Store All Registry Setting then the Open dialog box will appear Step 2 On the Open dialog box select a specific das file to store Warning 1 The das file which should be saved by Dump All Registry Setting 2 It will save automatically after store das file Dump All Registry Dump all registries setting to das file Settings How to use Select the Dump All Registry Setting then the Save As dialog box will appear prompting you to select a location where you want to save this exported file Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 43 3 6 2 Property Tabs The WinPAC Utility includes the following property tabs all property tabs will be explained later WinPAG Utility 2 0 2 0 Fie Help Configuration Welcome to use WinPAC Utility This tool will help you to set WinPAc 8000 Display Resolution B00 500 ka Wires Congo wv Inftystrial Cerio Products Dola Acmasition Syshem Setting Task Bar Setting auto
52. icro SD card or FTP server Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 104 Step 2 Run the installation package file and then click OK to make sure you receive the important notice of this procedure will ease flash memory Warning Updating OS image will erase flash memory Please dont turn off the device during updating Step 3 Click Update Now to start updating the WinPAC 5000 WP 8Sx4x Ver 1 4 1 0 WinPAC 6000 Update Step 1 Install Boot Loader file Step 2 Erase flash disk Step 3 Install OS image Step 4 Set and save registry Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 105 This installation procedure will perform the following tasks i Install boot loader file Important Warnings AN Be careful if the boot loader broken off in this step and cannot restart in safe mode you have to send it back to us ii Erase flash disk iii Install OS image iv Set and save registry Tips amp Warnings This procedure will reset the registry settings to their default settings and all of your settings will be lost During this time do not turn off the WinPAC 5000 If the update is cancelled before completion the WinPAC 5000 may become damaged and may require servicing or exchange Besides we recommend
53. ies User Manual Version 1 0 1 Page 92 5 1 Demo Programs with C The following C demos have been designed to demonstrate the various features of the WinPAC 5 1 1 C Demo Programs for WinPAC Standard API The table below describes the WinPAC 5000 demos that have been designed to demonstrate the standard operation features of the WinPAC 5000 system Information UART Interrupt Registry Memory Access Micro SD Watchdog System Operation gt r Ri EE n a y Soi C7 T ero e bh Teena SMe Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 93 Folder Demo Explanation system systeminfo Retrieves information about the OS version CPU version SDK version etc memoryaccess memory Shows how to read write date values from to EEPROM battery _backup_sram Shows how to read or write to the battery backup watchdog watchdog Displays how the watchdog operate microsd microsd_management Shows how to enables disables Micro SD registry registry Shows how to read write date values from to registry uart Shows how to read the name of local I O modules via UART For C application these demo programs can be obtained from CD Napdos wp 5000_ce50 Demo WinPAC DotNET C NET Standard fto ftp icodas com pub cd winpac napdos wp 5000 ce50 demo winpac dotnet c 2 3 net standard Copy
54. il service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 71 4 4 5 Upload the Application to WinPAC 5000 WinPAC 5000 provide FTP server service you can upload files to WinPAC 5000 or download files from a public FTP server Step 1 On the Build menu click Build Solution File Edit View Project Debug Data Format Tools Test Window Help 2 Build Solution CtleshiftB Rebuild TE Deploy Solution Clean Solution Build syvstenuinto Rebuild systenunto Deploy syrstemunto Clean syetemunto Batch Build Configuration Manager Step 2 Open the browser and type the IP address of WinPAC 5000 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 72 Step 3 Upload the systeminfo exe application and the corresponding Winpacnet dll file to the WinPAC 5000 Tips amp Warnings AN For applications programming in C and VB net with net framework when executing these application on the WinPAC 5000 controller the corresponding Winpacnet dll file must be in the same directory as the exe file X ES Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 73 4 4 6 Executing the Application on WinPAC 5000 After uploading the application to WinPAC 5000 then you can just double click it on WinPAC 5000 to execu
55. immediately Stepe Autoupdate Frequency Step3 Automatically synchronize with an internet time server Update Now Step 4 Go to File gt Save and Reboot to enable driver Auto update running Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 155 Appendix B XW board Modules The XW board series are for UPAC 5000 LP 5000 and WP 5000 series One PAC can only plug only one XW board The XW board series have following common specification e DI channel is dry contact sink type e DO channel is open collector sink type DI DO Expansion olo Isolation XW107 Po XW 107 3750 Vrms xwio 8 Al AO DI DO Expansion a Al 12 bit AO 12 bit 7 m Ch Range Ch Range Xw3o4 6 SV 1 BV 4 4 RS 232 422 485 DI DO Boards Serial Port l Model 3 DI DO Isolation Type Ch Wire Fxws0s RS22 6 swe o C xwso7 RSa2ams a0s 1 awie 6 4 C ws rs223 2 swe 6 4 2500 XW5111 RS 422 RS 485 3 4 2 wire Vrms For more detailed information about these support modules please refer to htto www icodas com products PAC up 5000 XW board Selection Guide htm Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 156 Appendix C Revision History Revision Date Description 1 0 August 2010 In
56. interface to connect to other type of devices for example CANOpen devices DeviceNet devices or FRnet I O modules Plastic and Metal Casing The default case is plastic material customers can choose metal case if they want Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 10 gt Multi Communication Interface There are several of communication interfaces to expand I O and connect to external devices gt Small and Easy Installation WinPAC 5000 Series have a palm size shape 91 mm x 132 mm x 52 mm to be installed in a narrow space with DIN Rail 3 i s 3 E gt Highly Reliable Under Harsh Environment Our WinPACs operate in a wide range of temperature and humidity e Operating Temperature 25 75 C e Storage Temperature 40 80 C e Humidity 5 95 RH non condensing Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 11 1 3 Specifications Models WP 5141 WP 5441 System Software Embedded Service FTP server Web server supports VB script JAVA script Embedded SQL server Flash 64 MB 32 MB for OS 32 MB for System_Disk and System Registry EEPROM 16 KB Data Retention 40 Years 1 000 000 erase write cycles Expansion Flash Memory microSD socket with one 2 GB microSD card Support up t
57. is a free OPC DA Server The OPC stands for OLE for Process Control and the DA stands for NAPOPC pata Access working on WinPAC ViewPAC amp WinCon controllers provided by ICP DAS Ltd The first standard originally called simply the OPC Specification and now called the Data Access Specification resulted from the collaboration of a number of leading worldwide automation suppliers working in cooperation with Microsoft Originally based on Microsoft s OLE COM component object model and DCOM distributed component object model technologies the specification defined a standard set of objects interfaces and methods for use in process control and manufacturing automation applications to facilitate interoperability NAPOPC_CE5 DA Server integrates OPC Modbus TCP Slave and Modbus RTU Slave three kind Slave services as well as integrates Modbus TCP Master Modbus RTU Master and DCON three kind Master communication protocols It also provides one advanced function Rule Script for use in the I O integration and transformation and some conditional Logic operation Any version before 2 1 0 of the NAPOPC_CE5 was named Quicker Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 35 3 4 SendToCOM The SendToCOM uses the serial port to communicate with expansion module To use the SendIoCOM you can send data to expansion module through the
58. ished TLPAP Transport for Windows CE Step 11 On the Device Properties dialog click OK Device Properties Device Name PACZO Device select a tansport and a startup server Choose Test to verify that you can establish a connection to vour target device with the selected transport and startup server Transport TCPIP Transport for Windows CE Confis otarhip Server Manual DEIVEI Confieure Cancel Test Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 127 Step 12 On the Windows CE platform or device to configure dialog click OK Windows CE Platfonm Manager Confizuraton select a platform or device to configure G PACIO Add Device 8 PAC270 Device Sa J Delete i STANDARDSDK_420 Windows CE Default Platfonm _ Properties bont Step 13 On the Build menu point to Start Debug and then click Go E Hie Edit View Insert Project Build Tools Window Help 2 Compile systeminfodlgcpp Ctrl F Bvid Systenuinfio ene FY Rebuild All Batch Build lean Stat Debug Bii Go Update Remote Output File s H Sten Into Fil Execute Systemlnto exe Colt F5 Ut Rim to Cursor Ctrl F10 Set Active Configuration Attach to WCE Process Configurations eet Active Platform Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC
59. itial issue Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 157
60. l the data OS settings and files from to the WinPAC ViewPAC device gt Dcomcnig dcomcnfg exe for Windows CE to configure your DCOM settings NTLMUser exe for Windows CE to create local NTLM accounts on the Windows CE Device gt DCON_CE With Host PC running the DCON Utility on the WinPAC the DCON_CE program allows user to view and monitor the status of the DCON Utility gt ISQLW35 The ISQLW35 implements SQL server compact 3 5 Query Analyzer gt Modbus The Modbus provides various applications of Modbus protocol for configuring the WinPAC gt NAPOPC_CE5 NAPOPC_CE5 is an integrated omnibus software package it allows user to quickly establish a DCS control system gt RegistryEditor The RegistryEditor allows user to editor the registry value of Windows CE Operating system Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 30 gt Remote display application The remote display application allows user to view the display remotely of the WinPAC on a Host PC gt SendToCOM The SendToCOM allows user to send receive data to from the expansion module via serial port gt TaskMgr The TaskMgr provides details about programs and processes running on the WinPAC gt VCEP The VCEP allows user to manage the WinPAC remotely on a Host PC gt WinPAC Utility The WinPAC Utility provides various useful functi
61. lic FTP server Step 1 On the Build menu click Build Solution File Edit View Project Debug Data Format Tools Test Window Help 2 Build Solution CtleshiftB Rebuild TE Deploy Solution Clean Solution Build syvstenuinto Rebuild systenunto Deploy syrstemunto Clean syetemunto Batch Build Configuration Manager Step 2 Open the browser and type the IP address of WinPAC 5000 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 63 Step 3 Upload the systeminfo exe application and the corresponding Winpacnet dll file to the WinPAC 5000 Tips amp Warnings AN For applications programming in C and VB net with net framework when executing these application on the WinPAC 5000 controller the corresponding Winpacnet dll file must be in the same directory as the exe file cel E xal E Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 64 4 3 6 Executing the Application on WinPAC 5000 After uploading the application to WinPAC 5000 you can just double click it on WinPAC 5000 to execute it Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 65 4 4 Your First Program in VB net Here we will demonstrate how to create a VB net p
62. lication you must first add a reference to it Step 1 In Solution Explorer right click the References node and click Add Reference on the shortcut menu The Add Reference dialog box appears Step 2 Click the Browe tab and then select WinPacNet dll Add Reference NET COM Projects Browse Recent Class Fiew FEEN lt mearc l wer f References Add Reference Add Web Reference sort Alphabetically sort By Object Type sort By Object Access Group By Object Type File Name WinFacMetdll a File Types Component Files d0 tb olb gt ocx exe manifest gt The WinPacNet dll file can be obtained from CD Napdos wp 5000_ce50 SDK WinPacNet Step 3 Click OK to close the Add Reference dialog box Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 58 4 3 3 Adding the Control to the Form You can drag various controls from the Toolbox onto the form These controls are not really live they are just images that are convenient to move around on the form into a precise location After you add a control to your form you can use the Properties window to set its properties such as background color and default text The values that you specify in the Properties window are the initial values tha
63. llowing cmd line CEMGACEXE 7 5 T TCPIPC OLL Q 0 10 0 9 52 5000 Cancel Run F Programs e Favorites gt 3 Documents gt RuN l _ Ss 7 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 125 Step 8 On the Run dialog type the command which displays in step 6 and then click OK bY My Device WINPAC LA a coon gen een y lS ase ee pe a Type the name of a program folder X pa pagas Se r n cod a ad 2 or document and Windows will open r Tr ie fake wo t i tl tl Internet Microsoft Explorer WordPad tl My Documents Step 9 Return to the Host PC side and click OK on the Manual Server Action dialog Manual Server Acton Please make sure the following files are on the device VW WIN DOW S tepine ll WINDOWS cemgnc exe WN DOW S cetlstub dll And launch CEMGACLESE with the following cmd line CEMGRC EXE rS T TOPIPCLOLL 4G D 10 0 9 52 5000 Cancel Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 126 Step 10 On the Testing Device Connection dialog click OK Testing Device Connection Device Name ACO Device Connection to device establ
64. ment Kit SDK that contains C header files C libraries and documents Step 1 Insert the CD into your CD ROM drive Step 2 Execute the PAC270 SDK_YYYYMMDD msi gt The PAC270_ SDK YYMMDD msi can be obtained from CD Napdos wp 5000_ce50 SDK ftp ttp icodas com pub cd winpac napdos wp 5000_ ce50 sdk Step 3 Follow the prompts until the installation is complete Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 55 4 3 Your First Program in C Here we will demonstrate how to create a C program running on WinPAC 5000 with the C development tool which including the following topics 1 Create a new project 2 Add WinPAC 5000 reference 3 Add the control to the form 4 Add the event handling for the control 5 Upload the application to WinPAC 5000 6 Execute the application on WinPAC 5000 In this tutorial we will assume that you have installed WinPAC 5000 SDK on PC and used the Visual Studio 2005 for application development 4 3 1 Creating a New Project The Visual C project template is a composite control that you use in this example creates a new project with this user control Step 1 Start Visual Studio 2005 Visual Studio 2005 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 56 Step 2 On the File menu point to New
65. mory Access Micro SD Watchdog System Operation gt r Ri EE n a y Soi C7 T ero e bh Teena SMe Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 97 Folder Demo Explanation system systeminfo Retrieves information about the OS version CPU version SDK version etc memoryaccess memory Shows how to read write date values from to EEPROM battery _backup_sram Shows how to read or write to the battery backup watchdog watchdog Displays how the watchdog operate microsd microsd_management Shows how to enables disables Micro SD registry registry Shows how to read write date values from to registry uart Shows how to read the name of local I O modules via UART For C application these demo programs can be obtained from CD Napdos wp 5000_ce50 Demo WinPAC eVCT Standard Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 98 5 2 2 eVC Demo Programs for PAC I O API The table below describes the WinPAC 5000 demos that have been designed to demonstrate the expansion I O module features of the WinPAC 5000 biii Q m was MALTA e i A baa S a ita Hue cpe bidia O iioi oa 3 E 2 E f E f l i Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail servi
66. mote Advanced Hardware Windows Uses the following information to identity your computer C F on the network Computer descrptior Full computer namg Workgroup i fou can share this printer with other users on your network To iS enable sharing for this printer click Share this printer Do not share this printer Drivers IF this printer is shared with users running different versions of Windows You may want to install additional drivers so that the Users do not have to find the print driver when they connect to the shared printer Additional Drivers Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 141 Step 2 On the WinPAC open a WordPad format file Mie Open Ctr 2 Save Ctrl 5 Save As Password Print Ctrl F Recent Files si Edit View Format Tools Step 3 Set up the printer 1 Printer PCL Laser 2 Port Network 3 Net Path ServerName PrinterName The ServerName is your PC s name or IP The PrinterName is your printer s shared name of your PC 4 Paper Size Select the paper size File Edit View Format Tools hkl gt 9 amp Tahom v 14 Test Printer Pct Laser v Print Range Orientation Port Network v All Portrait Selection Landsca Net Path RRD 1 User2
67. ned from CD Napdos wp 5000_ce50 PC_Tools Eshell Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 108 Step 3 Configure the boot mode in OS update mode Turn the rotary switch to 3 and then reboot the WinPAC The Select Device dialog box appears Step 4 Select the device which you want to update the OS image and then click OK Select Device Enter Device Hame Select the device name which WwINPAC270 595 you want to update the OS Cancel Or Select From the List image from the list WINPAC27O 535 aac eea automatically put names on the list Step 5 On the File menu and then click Select Image Fy Microsoft Windows CE Debug Shell WINPAC270_636 fa B i Edit Tools Options View Help pave Cument Log As Chlts i a tat Logeme To File Ctit L stop Logeme To File Ctrl P select Image select Image DO WHLOAD CLEAN F Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 109 Step 6 Select the downloaded OS image file and then click Open Lock in Een Of 2 ownloading Rdfs cd_2 WinPAC napdos up 2666_ce56 0S_image up 23w1 update_from_Eshell en Ul umping to image on UP_44498 onnecting to UP_44498 using Ethernet WINFACTTO DOES Wel DAD ea Dp NE Images ban z Can
68. nt please perform the following steps Step 2 On the Login tab of the FTP Setting tab type the user name and password and then press Add button WINPAC Utility 2 0 1 3 ig File Help Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Multi serial port_ lt gt Access Login User name Password p 4 Usame Password 1 Type the User name and Password O 5 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 117 Step 3 The user has been added to the allowed under the remote login and included in the following list and then press Setting button WINPAC Utility 2 0 1 3 ig File Help Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Multi serial por KO Access Login User name Password Step 4 Press OK to store the settings FTP login Login succeeds The users of FTP have been enabled right now Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 118 A 1 1 How to Use telnet to remote login the WinPAC from PC Step 1 On the PC open a MS DOS command prompt W p4 ee T D Windows Catalogi aiis th Windows Update ait Fea Programs m document or 2 Type cmd open i
69. ntra compressed with a modified LZW scheme to minimize the amount of data transmitted from server to client For more detailed information on VCEP application please refer to http www icpdas com products PAC wincon 8000 wincon VirtualCE htm Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 37 3 6 WinPAC_ Utility The WinPAC Utility is a tool which is designed to quickly control and manage the WinPAC WinPAG Utility 2 0 2 0 Biz Fie Help Configuration System l 5 etting Ethernet Setting FTP Setting System Information Auto Execution Multi serial por 10O m Welcome to use WinPAC Utility This tool will help you to set WinPAC 8000 Display Resolution feo0 500 Wires Congo s Intyaslrial Cente Products Dola Acmasition Byshem Setting Task Bar Setting auto Hide Always On Top Empty Desktop Change HTTP document root directory Windowsa pub to Ww indows anna wpb Configure the synchronization with a time server Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 38 3 6 1 Menu Bar The WinPAC Utility includes the following function menu All function menu will be explained later File Menu Si Help Configuration Save Save and Reboot Reboot Without Save Restore Default Settings Exit Help
70. o 16 GB microSDHC card RTC Real Time Clock Provide second minute hour date day of week month year 54 bit Hardware Serial Number Dual Watchdog Timers LED Indicator 3 LEDs RUN PWR L1 L2 RUN PWR for status indications L1 L2 for user programmable Rotary Switch Yes 0 9 VGA amp Communication Ports Ethernet RJ 45 x 2 10 100 Base TX Auto negotiating Auto MDI MDI X LED indicators USB 1 1 olen USB 1 1 hosh Audio Port Microphone in and Yes Earphone Out Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 12 I O Expansion Bus Yes to mount one optional XW board Dimensions W x Lx H 91 mm x 132 mm x 52 mm Installation DIN Rail Mounting Operating Temperature 25 75 C Storage Temperature 30 80 C Ambient Relative Humidity 10 90 RH non condensing Power Input Range 10 30 Voc Consumption 4 8 W 0 2 A 24 Voc 6 W 0 25 A 24 Voo Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 13 1 4 Overview Here is a brief overview of the components and its descriptions for module status Front Panel The front panel includes programmable LED indicators WP 5441 ze d LED Indicators wi gt LED Indicators LED indicators provid
71. oject if you wish Hew Project Project fess Templates E Visual C Ficnal Stndin ins o b Windows c O E smart Dewice evel Device Application ie Clase Library eee JA Console Application je Empty Project Hy Templates Pocket PC 2002 jeearch Online Templates Co WintowsCE 5 0 a I og View BO o E imal C T A a AE a S Location Solution Z Create directory for solution Solution Name Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 67 4 4 2 Adding the WinPAC 5000 Reference The WinPAC 5000 SDKs provides a complete solution to integrate with WinPAC 5000 Compatible with Visual C Visual Basic net and C In order to use a component in your application you must first add a reference to it Step 1 In Solution Explorer right click the References node and click Add Reference on the shortcut menu Class View saearchs a systemunto Add Reterence Add Web Reference Sort Alphabetically sort By Object Type The Add Reference dialog box appears Step 2 Click the Browe tab and sort By Object Access then select WinPacNet dll Group By Object Type Add Reference NET COM Projects Browse Recent File Name WinFacMetdll a File Types Component Files d0 tb
72. olb gt ocx exe manifest gt The WinPacNet dll file can be obtained from CD Napdos wp 5000_ce50 SDK WinPacNet Step 3 Click OK to close the Add Reference dialog box Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 68 4 4 3 Adding the Control to the Form You can drag various controls from the Toolbox onto the form These controls are not really live they are just images that are convenient to move around on the form into a precise location After you add a control to your form you can use the Properties window to set its properties such as background color and default text The values that you specify in the Properties window are the initial values that will be assigned to that property when the control is created at run time Step 1 From the Toolbox drag a Button control onto the form Toolbox x All Device Control l Pointer Step 2 Right click the Button control and then click Properties Check ox ComboBox fe Contexten G DataGrid DataSet Formi cs Design Start Page ObjectBrowser ow X Date TimePicker A 3 Doman pDown qa HecrolBar ol ImageList InputPanel A Label A LinkLabel ee Oh Bring to Front 222 1 itView 2g Send to Back MainMenn E MesageQneve cerreesrereeres Eererecertreeers te Lock Controls F splorer aja Toolbox vp p
73. on to reset the interrupt status without rebooting the device Release Notes Checks out what s new and the know issues About Displays a dialog box with information about WinPAC Utility including the current version and copyright information Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 41 gt Configuration Menu File Help Configuration Import Registry key Export Regsitry Key Store All Registry Setting Dump All Registry Setting The menu commands Import Registry Key Backs up a sub key of registry by using a registration entry reg file How to use Step 1 Select the Import Registry Key then the Open dialog box will appear Step 2 On the Open dialog box select a specific reg file to import Warning 1 The reg file which should be saved by Export Registry Key 2 It will not save automatically after import a reg file Export Registry Key Makes a back up of a registry sub key How to use Step 1 Select the Export Registry Key then the Export Registry box will appear Step 2 Select a specific root key Step 3 Input a specific path of sub key Step 4 Push the OK button then the Save As Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 42 The menu commands d
74. ons such as configuring Ethernet settings monitoring system settings and FIP services etc for easy and quick management Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 31 3 1 Backup Utility Backup Utility is an application program for backing up data With this utility you can easily back up not only the files and folders you have created on your WinPAC 5000 but also the entire partition s including your WinPAC 5000 operating environment and its settings and dictionaries Below are the step by step procedures to use the Backup utility to back up data Step 1 Run the Backup Utility on WinPAC 5000 e Mem iiitiiiiiiiiiii The DCON firmware is located at o Sip n System_Disk tools Backup_utilityE Run the backup_utility DECR ON ON OY C Backup Restore Hip Step 2 Click Backup menu Eboot and OS _ EEPROM Registry SRAM 512K System_Disk All Backup information BackupTime 7 2010 12 09 28 PM Step 3 Select the options Lanquage English 64 bit Searial Wunber 01 40 65 04 11 00 00 71 that you want to OS Yersion 1 5 0 2 backup enter text CP Version 1 0 1 0 BP Version 1 0 1 0 annotations and MACL address 00 00 3F 01 45 64 MACE address 00 00 EF 10 71 00 then click the Start PEET backup Backup by ICP DAS Copyright 2010 ICP DAS Co Ltd All Rights Rese
75. orm The Add Member Function dialog box appears Step 2 Type the onBtnCheckOS in the Member function name field and then click OK Add Member Function Kdember function name OnBtnCheckOS m Cancel Message BN CLICKED Object ID IDC BUTTON The Code Editor opens with the cursor positioned in the event handler Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 87 Step 3 Inserting the following code char OS 32 TCHAR buf 32 pac_GetOSVersion OS pac_AnsiToWideString OS buf MessageBox buf 0 MB_Ok void C3ysteminfoDlg OnBtnCheckOs 4 f f TODO Add your control notification Step 4 Inserting the following code into the header area include winpacsdk h Hinclude stdafx h Hinclude systeminfo h Hinclude systeminfoDlg h Hifdef DEBUG define new DEBUG _NEW fundef THIS FILe Static char THIS_FILE _ FILE Hendif Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 88 4 5 6 Upload the Application to WinPAC 5000 WinPAC 5000 provide FTP server service you can upload files to WinPAC 5000 or download files from a public FTP server Step 1 On the Build menu click Build SDKinfo exe B Hie Edit View Insert Project Build Tools Window Help 2 ce Li Gil H
76. ou have finished the design stage of your application and are at the point when you can start adding some code to provide the program s functionality Step 1 Double click the button on the form The Code Editor opens with the cursor positioned in the event handler Step 2 Inserting the following code MessageBox Show WinPAC 5000 pac_GetOSVersion E namespace systeminfo public partial class Formi Form public Formi InitializeComponent f private void buttoni_Click object sender EventArgs e how VinPAC pac Get SVersion Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 61 Step 3 Inserting the following code into the header area using WinPacNet Fusing System using System Collections Generic using System Componenthodel using System Data using Syustem Drawing using Syustem Text using System Windows Forms na LianDacHot wao MWinfFPachHet namespace systeminfo 4 public partial class Fo 4 Tips amp Warnings AN The WinPacNet of unsing WinPacNet is case sensitive Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 62 4 3 5 Upload the Application to WinPAC 5000 WinPAC 5000 provide FTP server service you can upload files to WinPAC 5000 or download files from a pub
77. pa 2 Compile DKinfoDlgcpp Ctl F re Build DE ito exe F7 Rebuild All Batch Build Clean stat Debug Update Remote Output File s Execute SDK info exe Ctl F5 set Active Configuration Configurations set Active Platform Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 89 Step 2 Open the browser and type the IP address of WinPAC 5000 Step 3 Upload the systeminfo exe application gt X Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 90 4 5 7 Executing the Application on WinPAC 5000 After uploading the application to WinPAC 5000 en you can just double click it on WinPAC 5000 to execute it ZU ERLED Cialogfeld Steueraiem hier Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 91 5 APIs and Demo Programs There are several APIs and demo programs that have been designed for WinPAC 5000 You can examine the APIs and demo source code which includes numerous functions and comments to familiarize yourself with WinPAC 5000 APIs and quickly develop your own applications quickly by modifying these demo programs Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Ser
78. program folder or document and Windows will open it for you Open v Type cmd Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 144 Step 2 List all services Syntax services list File Edit Help Pocket CHD w 5 0 FY OxOOO301L10 TPO OxOOOSLS7oO xA ql OxOOO0S6790 OxOOUOSebe0 OxOOOs 7 Fo OxQUO0 Ss 7acw OxOUOsese0 TPO OxOOOSEL CO Step 3 Type the commands to configure service WOTIFY D11 HTTFL CLL credsvc dll MSHOD D111 ORESRSrvr dll FTPD_ D11 TELNET P11 sphserver dill timesye dll Syntax services stop lt services name gt For example turn on the FTP service services stop FTPO File Edit Help Pocket CHD wv 5 0 gt w gt Services list FY OxOOOso01L10 TPO OxOOUOUslo o OxOOOs2070 11l OxO0O0 se 730 Jx d z bz Ox000s act Ox000sese0 TF OxOOOdst tf 0 WOTIFY D11 HTTPD DLL credsve dll HMSMQE D111 OBEMSrVr dll TELNETE _P1l snubserver dll timeswve dll WinPAC 5000 Series User Manual Version 1 0 1 Ruming Purmnirng Purnirng Off Off Purnninc Bunn ric Puri Lricy Purr Punnincg Purnnincg Punnincg Bunning Bunning Bunning Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Page 145 Tips amp Warnings For more information about using services tool you just type
79. re writing your first program ensure that you have the necessary development tools and the corresponding WinPAC 5000 SDKs are installed on your system Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 53 4 1 Preparing the Development Tools WinPAC 5000 is a Windows CE based unit Windows CE is a mature embedded operating system which supports rapid development Two standard development tools are list as follows which are highly integrated with comprehensive support for developing applications of Windows CE based WinPAC 5000 gt Visual Studio GF Visual Studio WinPAC 5000 has NET Compact Framework 2 0 installed Visual Studio takes full advantage of the NET Compact Framework which uses public Internet standards to enable integration with new and existing applications running on any platform Supported languages include Visual C and Visual Basic NET gt Microsoft Embedded Visual C Microsoft eMbedded Visual C eMbedded Visual C is a standalone integrated development environment IDE that brings a new level of productivity to Windows CE development without compromising flexibility performance or control Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 54 4 2 Installing WinPAC 5000 SDK The WinPAC SDK is a Software Develop
80. right 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 112 6 2 SDKs Updates The updates files of SDKs are located on CD Napdos wp 5000_ce50 SDK CDRA Fleleloys wp 5000_ce50 SID IO Modules Modbus NAPOPC_CE5 WinconSDK WinPacNet WinpacSDK By eVC and donet development tools the WinPAC SDK installation is divided into the following two parts i WinPAC SDK updates for dotnet Please refer to section 6 2 1 ii WinPAC SDK updates for eMbedded Visual C Please refer to section 6 2 2 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 113 6 2 1 WinPAC SDK updates for C or VB net To determine the SDK version that is compatibly running on the WinPAC you can read the Release Note which is located under each SDK folder these files provides important updated information for what we fixed and added Step 1 Get the latest version of the C or VB net components The latest version of the C or VB net components can be obtained from fip ftp icodas com pub cd WinPAC napdos wp 5000_ce50 sdk WinPACNet Step 2 Copy the latest version of DLL to Host PC and WinPAC The DLL files on Host PC are located at anywhere only the solution can reference it The DLL files on WinPAC are located at the same directory as the exe file Copyright
81. right 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 94 5 1 2 C Demo Programs for PAC I O API The table below describes the WinPAC 5000 demos that have been designed to demonstrate the expansion I O module features of the WinPAC 5000 Deae inches De Ri hi wand a as A i Cra Y ee er s aiaa eran sae ge l i 2 E 3 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 95 Folder Demo Explanation GPIO GPIO Shows how to connect and control XW107 XW107 demo the XW board series modules For C application these demo programs can be obtained from CD Napdos wp 5000_ce50 Demo WinPAC DotNET C NET PAC_IO XWBoard fto ftp icodas com pub cd winpac napdos wp 5000 ce50 demo winpac dotnet c 2 3 net pac_1o xwboard Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 96 5 2 Demo Programs with eVC The following eVC demos have been designed to demonstrate the various features of the WinPAC 5 2 1 eVC Demo Programs for WinPAC Standard API The table below describes the WinPAC 5000 demos that have been designed to demonstrate the standard operation features of the WinPAC 5000 system Information UART Interrupt Registry Me
82. rogram running on WinPAC 5000 with the VB net development tool which including the following topics 1 Create a new project 2 Add WinPAC 5000 reference 3 Add the control to the form 4 Add the event handling for the control 5 Upload the application to WinPAC 5000 6 Execute the application on WinPAC 5000 In this tutorial we will assume that you have installed WinPAC 5000 SDK on PC and used the Visual Studio 2005 for application development 4 4 1 Creating a New Project The VB net project template is a composite control that you use in this example creates a new project with this user control Step 1 Start Visual Studio 2005 Visual Studio 2005 Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 66 Step 2 On the File menu point to New and then click Project Edit Yaiew Project Build Debug Data Tools Test Window Help New 5 Project Chr Shitten Open 3 Web Site Stitt Alt Add gt Fil Chi Close Project From Exiting Code Close solution Step 3 In the Project types pane expand Visual Basic and then click Window CE5 0 Save All Ctl Shittts Export Template Step 4 In the Templates pane click Device Applications Recent Files Recent Projects Step 5 Type a name in the Name field and Exit then click OK Here we will enter the name systeminfo and a different location for the pr
83. rved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 32 Warning D Total number of backup items 3 Are you sure you want to backup there items Eboot and OS Need 32MB of space Registry SRAM Step 4 Click Yes to confirm the backup options Browse for Folder Network System_Disk Micro _SD v Recycled Step 5 Choose the folder that Application Data My Documents you want to save Program Files backup file and click the Ok profiles Backup Utility Backup Restore Help Step 6 Wait for process to finish Backup Utility Compressing the OS and eboot file need 2 mint Compressing System_Disk need 1 minutes Compressing the backup file WSB_Disk Backup 2010 04 06 11 06 zip Compression is finish Backuping is finish Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 33 3 2 Dconmcnfg DCOMCMFG is a utility included with Microsoft Windows CE operating system and is used to configure various DCOM specific settings in the registry You can use the registry to specify default permissions for objects on the system such as Access Launch and Configuration Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 34 3 3 Napopc ced ane NAPOPC_CES DA Server
84. s User Manual Version 1 0 1 Page 134 Step 8 On the Configure TCP IP Transport dialog select the Use specific IP address option and type the IP address of WinPAC and then click OK Configure ICPSIP Transport Use fixed port number Device IP addres O Obtain an IP address automatically using Activetme Ce Use specific IF address 10 09 43 a C Step 9 On the PAC50 ARMV4 ARMV4l_Release Properties dialog click OK PACSO ARHY4 ARMY4I Release Properties Default output location on device Program Files Folder we Transport Bootstrapper Actvesyne Startap Provider w Confienre Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 135 Step 10 On the Options dialog click OK Options Find and Replace Fonts and Colors fl Help os mporn and Export Settings Intemational settings L Web Browser Projects and Solutions F Source Control Text Editor H Databaze Tools H Debugging a Zip Default device PACSO ARMY4 SEMY 4 Release w Form Factors TTM rrt oe Step 11 On the WinPAC run the CommanClient2 and the CMAccept exe applications which is located at System_Disk ICPDAS System kP xfal Address System_ Disk ICPDAS System Tcptonne DbgTL Conmancl ConMan2 a al WinconSDEK WINPAC PACSI72 PACSOS0 dlece400d OLECE400 omfcce400d MFCCE400 lt CMaAcc
85. services help File Edit Help Pocket CMD wv 5 0 help print this text list lists loaded services load Service name gt activates a service that is stop Service instance gt stops pauses a service do Start SService instance gt starts resumes a servic refresh service instance gt causes service to ref unload Service instance gt Causes service to be u register Service name gt service will he automati eboot unregister tservice name gt service will not be au ext reboot Command fervwice name gt argql arg send serv Oo service help service name gt get information on what serw are supported SSeOervilce name gt service s name in the registry SService instance gt particular instantiation i file name gt 3 silent d output to debugger Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 146 A 5 How to use ActiveSync through USB port ActiveSync helps you to synchronize the files on your host PC with the WinPAC Step 1 On the PC install the Microsoft ActiveSync software The Microsoft Active Sync software can be obtained from Microsoft website Step 2 Run the Microsoft ActiveSync You can run Microsoft Active Sync from the Start menu co Microsoft Actives ync f l led File View Tools Help k Explore Microsoft ActiveSync No partnerships Not connected NH Hid
86. t HELO nicrc SD A ite ia iy OVC VAN 4 WinPAC 5000 Series is the new generation PAC Programmable Automation Controller It is equipped a PXA270 CPU 520 MHz running a Windows CE NET 5 0 operating system various connectivity VGA USB Ethernet RS 232 485 and I O expansion bus The WinPAC 5000 series has many advantages including hard real time capability small core size fast boot speed interrupt handling at a deeper level achievable deterministic control and low cost Using Windows CE NET 5 0 gives it the ability to run PC based control software such as Visual Basic NET Visual C Embedded Visual C SCADA software SoftPLC etc It give users all of the best features of both traditional PLCs and Windows capable PCs For hardware expansion it also supports an I O expansion bus The I O expansion bus can be used to implement various I O functions such as D I D O A D D A Timer Counter UART and other I O functions Nearly all kinds of I O functions can be implemented by this bus But the bus can support only one board There are more than 10 boards available for WinPAC 5000 series users can choose one of them to expand hardware features WinPAC 5000 Series User Manual Version 1 0 1 Page 6 1 1 WinPAC 5000 Family The WinPAC 5000 family is divided into two main types according to Audio port WP 5141 without Audio port WP 5441 with Audio port For mor
87. t For you 2 Documents oan n Settings Search Browse Help an re Microsoft Windows XP Version 5 1 2600 LCG Copyright 1985 2001 Microsoft Corp C Documents and Settings Windows stelnet 18 1 8 98 WinPAC 5000 Series User Manual Version 1 0 1 Page 119 Step 3 The connection has been set up and then type the name and password AGE Welcome to the Windows CE Debug Service on Windows CE login anna Password m Step 4 The remote login has been completed Welcome to the Windows CE Debug Service on WindowsCE login anna Password gt WinPAC 5000 Series User Manual Version 1 0 1 Page 120 A 1 2 How to remove the user from the login list Step 1 Click a user from the list which you want to remove WInPAC Utility 2 0 1 3 File Help Configuration sername Password N KX Anna RRE g Step 2 The user will display in the field and then press Delete to delete the user from the login list WinPAC Utility 2 0 1 3 File Help Configuration access Login ooo d Password User name Vic Vic Password RRRE 1 The user will display in the field Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 121 A 2 How to online debug WinPAC Debugging is a process that you use to find and resolve errors or bugs ina program A 2 1 Debu
88. t will be assigned to that property when the control is created at run time Step 1 From the Toolbox drag a Button control onto the form Toolbox All Device Control l Pointer Check ox ComboBox fe Contexten G DataGrid ai DataSet Ee Date TiamePicker 3 Doman pDown qa HecrolBar ImageList InputPanel Label LinkLabel ListBox rer reer Teree S MamMennu E MesageQneve a Za Server Explorer se Toolbox mamMenul Step 2 Right click the Button control and then click Properties Formi cs Design Start Page ObjectBrowser w X 4 Bring to Front k Lock Controls on 4 Copy A View Code send to Back select Forml Cut Delete x Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 59 Step 3 In the Properties window type Check the OS version and press ENTER to set the Text property Properties buttonl Syetem Windows Forms Button RightToLeft Check the S version w Text hen Middle enter TextlmageRelation Overlay Text The text associated with the control Gg Class View Ay solution Explorer pap Properties Propertes Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 60 4 3 4 Adding the Event Handling to the Control Y
89. te it Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 74 4 5 Your First Program in eMbedded Visual C Here we will demonstrate how to create a eVC program running on WinPAC 5000 with the eVC development tool which including the following topics 1 Create a new Forms Based project 2 Configure the platform 3 Specify the path of the WinPAC 5000 reference 4 Add the control to the form 5 Add the event handling for the control 6 Upload the application to WinPAC 5000 7 Execute the application on WinPAC 5000 In this tutorial we will assume that you have installed WinPAC 5000 SDK on PC and used the eMbedded Visual C 4 0 for application development 4 5 1 Creating a Forms Based Project The eVC project template is a composite control that you use in this example creates a new project with this user control Step 1 Start eMbedded Visual C eMbedded Visual C Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 75 Step 2 On the File menu and then click New File Edit View Insert Project Build Tools Window Help 0 c gt Open Cho Step 3 Click the Projects tab and then select WCE Close Application Open Workspace S Step 4 Select the CPUs that WinPAC 5000 is e RIT supported on from the CPUs list box Files
90. that you turn off all other applications before starting to upgrade the OS Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 106 Step 5 Click OK After completing the above mentioned tasks the Warning dialog box will appear as follow before clicking OK button you must first turn the rotary switch to the 0 position Reboot this device right nov Please turn the rotary swithec to 0 normal mode Step 6 Check the OS version of WinPAC 5000 Start the WinPAC Utility and then select the System Information tab to check the current OS version Seenennen e gt Check the OS version RERAN NER Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 107 6 1 2 OS Updates Using Eshell via Ethernet By default the OS updates via LAN1 Therefore to update the OS image make sure LAN1 is connected to the PC PAC WP 5441 L Upgrade LANI o oe ani Step 1 Get the latest version of the WinPAC 5000 OS image The latest version of the WinPAC OS image can be obtained from CD Napdos wp 5000_ce50 OS_Image update_from_eshell http fto icodas com pub cd winpac napdos wp 5000 ce50 os imaqge upda te from eshell Step 2 Run the Eshell a Ee HELL The Eshell can be obtai
91. tions 7 8 9 of rotary switch are reserved for user s applications When WinPAC 5000 is boot with one of these positions it is boot at normal mode User s application can check the rotary switch position to run at different mode Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 25 2 3 Changing the Language of the User Interface The WinPAC 5000 is a Windows CE based operating system which provides multilingual user interface and the user interface can be set to one of multi languages Step 1 Open the Control Panel Progams gt e Favorites gt Documents B Settings E Control Panel Network and Dial up Connections el Taskbar and Start Menu 9 V virtual ce Ea Step 2 Run the Regional Settings Regional Settings ey Regional and Language Se Language User Interface Language i The option will determine the Step 3 Choose the display language used for the menus dialogs language and then and alerts click OK English United States English United States German Germany Russian Copyright 2010 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 1 Page 26 F i o Za eer ms a a Help Configuration Save lt Pe ere eaa Save and Reboot solution 320 Eod ae Reboot Without Save P R

Download Pdf Manuals

image

Related Search

Related Contents

User's Guide [Print Operations]  Taille-Haie  maintaining your steam master® iron  5 Wifi local à proximité  GW-us54Mini2  LS651 Laser Fat System    Littérature et ORL au Cycle III : compétences, activités  Manual del usuario de vívofit®  Condiciones De Garantía  

Copyright © All rights reserved.
Failed to retrieve file