Home

WinPAC-5000 User Manual (WinCE Based, eVC & .net)

image

Contents

1. create_database Forml cs Forml cs Design Object Browser mo Configuration Nia Flatfomm Nya Build ployment Options Build Events Target device Debug PACSO ARMYV4 ARMYV4 Release Jvtput file folder Resources W elDL PROGRAM FILES icreate_databas Reference Paths Deploy the latest version of the NET Compact Framework inchiding Service Packs Sioning thenticode Signing Sien the project output with this certificate Devices Step 5 On the Tools menu click Options Fie Edit View Project Buld Debug Data Tools Test Window Help GS ee A OK 25 Sy Attach to Process Colt Alt k PACSO ARMY4 ARMY4 Release aL fal ja Device Security Manager E _ create_database Formi cole Formal cs Desi aL Connect to Device Ii Gp Device Emulator Manager Oo Si Application a a T Connect to Databas m Configuration MiA Build a Connect to Server ien p ior L Code Snippets Manager CtltK Ctrl B Build Event Target device Choose Toolbox Items Debug PACSO ARMY4 ARMY AT Add in Manager Jvtput file folder Macros Resources fA SIDL PROGRAM FILE aaa vate eae Ref Paths eference Pa _ Deploy
2. Frequency field Step3 Automatically synchronize with an internet time server Step 4 Check the Update Now Automatically Step 4 G0 to File gt Save and Reboot to enable synchronize with an driver internet time server Auto Update stopped check box Step 5 On the File menu click Save and Reboot Save o ns i i FTF Setting Syste no Save and Reboot Bn shit iat esalution 20 od oy Restore Default Settings Exit Step 6 The WinPAC will automatically l LJ Setting synchronize with an internet Always On Top z Change HTTP document rook directory to time server regularly windows Wa ep m Setting Step 7 Press Update Now to Internet Time 1 0 0 1 synchronize WinPAC Step1 Server Jpoolntporg M clock immediately Step2 Autoupdate Frequency minute Step3 Automatically synchronize with an internet time server Update Now n Step 4 60 to File gt Save and Reboot to enable driver Auto update running Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 171 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 Model Isolation XW107 Pe
3. AN For applications programming in C and VB net with net compact framework when executing these application on the WinPAC 5000 controller the corresponding PACNET dll file must be in the same directory as the exe file Fille Edit View GO gt 2 xal E systeminfo PACNET Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 76 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 1 4 1 2 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 77 4 4 Your First Program in VB net Here we will demonstrate how to create a VB net program 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 2008 for application development Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 78 4 4 1
4. Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 21 gt WP 5141 WP 5151 with XW board p ra Ra A AN S Pi E G ee E E ee l ip D NW i bee ies Fa Ka Baii Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 22 gt WP 5141 OD WP 5151 OD iial LN WSS Il E ni oa NM D Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 23 gt WP 5141 OD WP 5151 OD with XW board ew MS Ty Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 24 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 L Backup files related to the documents OS images SDKs etc Demo L Demos related to WinPAC Document L Document related to WinPAC L Tools and drivers related to manage the microSD L OS_Image related to WinPAC PC_Tools L Tools related to management WinPAC that install on PC SDK L SDKs related to
5. Printer Hewlett Packard Laser ka Print Range Orientation ae TT q al Portrait Selection Landscape Met Fath O O Margins finches F Draft Mod Left 1 25 Top fi rd Oe Advanced ane Right 1 25 Bottom fi Paper Size 44 lt Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 159 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 fn Programs i Favorites G Documents RF Settings amp Help i RUN Type the name of a program folder or document and Windows will open it for you Open E md Type cmd Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 160 Step 2 List all services Syntax services list File Edit Help Pocket CHD w 5 0 FY OxOOO0301L10 TPO OxOOOSLS7o OxOOOSZ070 gl OxOO03S6790 OxOOUOSe6hbeO OxOOOs 7 7o OxOUO sack OxOUOsese0 TPO OxOOOSELCO Step 3 Type the commands to configure service WOTIFY D11 HTTFL CLL credsvce dll MSHOD D111 ORESSrvr 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 Pocker
6. WinPAC 5000 User Manual WinCE Based eVC amp net Version 1 0 8 January 2014 Service and usage information for ww w _ E WP 5141 WP 5141 OD APA WP 5141 WinPA WP 5141 0D WP 5151 ZPA WP 5151 WP 5151 0D re TTT 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 2014 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 2 Table of Contents 1 IEP OGQUCHION erenn EEEE 6 Tie VIP AG 5000 Family sctets teeter ri ones E
7. 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 gt System Information gt UART gt Interrupt gt Registry gt Memory Access gt Micro SD gt Watchdog System Operation a r r 7 aN SS AD mere n Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 106 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 WinPAC5000 DOTNET C NET Standard C 23 net standard Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 107 5 1 2
8. Step 5 Choose the folder that you want Network System _Disk to save backup file and click the Ok Micro SO button Recycled Application Data My Documents Program Files profiles Backup Utility Backup Restore Help Compressing the OS and eboot file need 2 mint Compressing System_Disk need 1 minutes Compressing the backup file WSB _Disk Backupi2010 04 06 1 1 06 zip Compression is finish Backuping is finish Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 41 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 42 3 3 Napopc ced eae NAPOPC_CES DA Server 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
9. Text The text associated with the control Gg Class View Ay solution Explorer op Properties Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 83 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 Check the OS version i The Code Editor opens with the cursor positioned in the event handler Step 2 Inserting the following code 1 Imports PACNET 2 MessageBox Show PACNET Sys GetOSVersion MessageBox Show Sys GetOSVersion Fublic Class Formi Private sub Buttonl Clicktly al sender As System Object By la gpl Pd y P I p1 pe nm m y Pa Le LE IWI eve ete erslgni l J m m l t Pt Pt l r e M e ee m e mil 1 m a _ S Ek wai il sk a Fa a ele He ha lI End Sub End Class Tips amp Warnings AN The PACNET of using PACNET is case sensitive Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 84 4 4 5 Upload the Application to WinPAC 5000 WinPAC 5000 provide FIP server service you can upload files to WinPAC 5000 or download files from a public FTP server Step 1 On the Build men
10. Timer Counter and various communication interface such as RS 232 422 485 CAN FRnet etc Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 9 gt 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 With the built in RS 485 and Ethernet port the 5000 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 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 CellPhone PC want Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 10 gt Multi Communication Int
11. 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 64 4 2 Installing WinPAC 5000 SDK The PACSDK is a Software Development 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 ftp icodas com pub cd winpac napdos wp 5000_ced50 sdk The installation program for the latest version of the WinPAC Platform SDKs can be obtained from htto fto icodas com pub cd winpac napdos wp 8x4x ce50 sdk File name pac270_sdk_yyyymmdd msi yyyymmdd Platform SDK released date Tips amp Warnings The released date of the installation program SDK install
12. 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 right click the control and select Properties 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 All Device Control A lp Pointer 227 BindingSource Step 2 Right click the Button control and then click Properties Check ox ComboBox El Contexten oJ DataGrid DataSet _ Formi cs Design Start Page ObjectBrowser X Date TimePicker A 3 Doman pDown 4 gt HscrolBar j ImaseList rerpesseereereri Lerreeeeteeeers Label View Code A LinkLabel lt 3 Bring to Front 222 ListView 44 Send to Back Maimhenu HM Mese Lock Controls eae mane Toolbox G iat age Toolbox select Forml H Cut a Copy Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 82 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
13. oh Taskbar and Start Meno Regional Settings Regional and Language Se Region Language Input Step 3 Choose the display language and then click OK User Interface Language The option will determine the language used for the menus dialogs and alerts English United States English United States German Germany Russian Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 32 Step 4 Run the WinPAC Utility J i i we tet f tep ce oor ee rere H Dagse ran vi e F tower 1 S A apa wwe ee ee ne a 7 gt rl d E le Ag Step 5 On the File menu click Save and Reboot Reboot Without Save Restore Default Settings Exit E E Always On Top Change HTTP document root directory to windowsw AMABILE ocd Setting Setting Step 6 Click Yes to reboot the WinPAC 5000 Warning Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 33 2 4 Using WinPAC Utility to Configure WinPAC Basic Functionality WinPAC Utility is a tool that provides ability to configure the WinPAC 5000 services For more information on how to use the WinPAC Utility please refer to section 3 6 WinPAC Utility Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail s
14. 0 8 Page 66 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 2008 for application development Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 67 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 2008 G visual Studio 2005 2008 Step 2 On the File menu point to New and then click Project Edit Yaiew Project Bvid Debug Data Tools Test Window Help New gt 55 Project ChiShittn Open d I Web Site ShiftAlnN Add Ct lose Project From Existing Code Close solution rave ll Ctltstuftes Export Template Recent Files Recent Projects Exit Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 68 Step 3 In the P
15. 10 Click Sync to synchronize the information 8 Microsoft ActiveSync File View Tools Help ooje R stor Details Explore Options WindowsCE Connected Synchronized Information Type Status Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 167 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 E Microsoft Actives yuc l Eg Ss stop Detaile Explore Options WindowsCE Connected Synchronized Information Tape atahis 4 Files Ssmnuchwonized Step 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 comesponding files on this computer F synchronization folder Cancel Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 168 Step 3 Check the synchronization status After clicking OK the synchronization will be performed The synchronization folder on PC 9 CADocuments and Settings WindowsMy Documents Windows lE My Documents as E Microsoft A
16. 2 My Documents T Program Files z profiles Step 5 Choose the folder that you want to save backup file and click the Ok button Backup Utility Backup Restore Help Compressing the OS and eboot file need 2 min Compressing System_Disk need 1 minutes Compressing the backup file WSB_DiskiBackup 2010 04 06 11 06 zip Compression is finish Backuping is finish Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 36 3 Tools and Tasks Following tools has been installed on WinPAC 5000 CD Napdos wp 5000_ces0 system_Disk Tools Backup_Utility Dcomcnfg DCON_CE DCON_Utility_CE5 ISQLW35 Modbus modbus_master_tool NAPOPC_CE5 Quicker RegistryEditor RegistryViewer Remote_display_application SendToCOM TaskMgr VCEP WinPAC_ Utility Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 37 gt Backup_Utility The Backup_ Utility is a system backup restore tool used to backup restore all the data OS settings and files from to the WinPAC ViewPAC device gt Dcomcnfg 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 Win
17. 60 gt Multi Serial Port Wizard Tab The Multi serial port provides functions for installation of the XW board driver WinPAC Utility 2 0 2 0 E m Fie Help Configuration Ehret Seting FTP Setng Systm Irforrmaton Auto Becuton Mu seral por Weare syen e xVWBoard Driver enabled Driver disabled Install driver Apply to wW 5xx modules USE MSA MSBx Sees USE come Step2 Go to File gt Save and Reboot to enable driwer Slot scan Refresh The table below shows the expansion communication modules that are compatible with the WinPAC 5000 a gt 7 SAAT ys RS 232 422 485 DI DO Boards Serial Port a Model DI D Isolation Type Ch Wire xwso RS232 6 3wre xws0s RS 232 8 awie gt xws09 RS 232 2 5wie 4 4 gt xwsni Rs4ss 4 2wre 2500vms xwsi4 RS 485 8 2wie gt For more detailed information about these support modules please refer to htto www icodas com root product solutions poac upac xw board selection html Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 61 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 Compatibi
18. CAProgram Files Windows CE Tools wce5O00 5TANDARDSDE SO0imic inclu HPronra m F Ainda Ifi reh Do Whathir I Click this button to specify the path of the header file Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 95 Step 4 In the Show directories for list select Library files Step 5 Under Directories type the path of the library file The specified include path of the header file is default located at C Program Files Windows CE Tools wce500 PAC270 Icpdas Lib ARMV41 Options F x Download B A Directories D Platform A PAC270 STANI Win32 WCE ARMV4 pate e na Directories kspace hdacros Format no C Program Files Windows CE Tools wceS00 STANDARDSDK 500 mfc lib AF HPronra m P indo nu Ce Soil HS LL IihLAF Click this button to specify the path of the Library files Step 6 On the Project menu and then click Settings The Project Settings dialog box appears E File Edit Wiew n rt Project Build Tools Window Help set Aotve Froject Add To Froject Dependencies AlE Export Makefile n r Project into Workspace Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 96 Step 7 On the Link tab type the PACSDK lib in the Object library module field
19. CMD wv 5 0 gt Y gt Services list FY OxOOOsS0OLLoO TPO OxOOOslS7o OxOOOs2070 11l OxO0036 730 OxO0036h20 Ox000s7acd WOTIFY D11 HTTPD DLL credsve_dll HMHSMOD D11 OBEXMSrVr dll TELHWETD D11 Ruming Purnnilnc Purnnincg Off Off Purnnincy Punrni ric Puriri Lricy Purriit Bunning Bunning Bunning Off Punnincg humming Bunning Ox000sese0 TFPU OxOOOosftf f 0 snhbserver dll timesve dll Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 161 Tips amp Warnings For more information about using services tool you just type 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
20. Cancel Test Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 143 Step 12 On the Windows CE platform or device to configure dialog click OK Windows CE Platform Manager Confizuraton select a platform or device to configure PACTO Add Device fy PACZTO Device Sa JA Delete STANDARDSDE 420 G Windows CE Default Platform Properties A bout 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 Build Syestenistio exe F Rebuild All Batch Build Clean stat Debug Update Remote Output File s ria Stet Into Fil Execute System nfio exe ColF5 th Run to Cursor Chi F10 Set Active Configuration Attach to WCE Process Confienratons pet Active Platform Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 144 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 SAYIN W S Stcpipec dll WADA S cerngre exe WV IN DOW S cetletub dll And launch CEMGARCLEXE with the following cmd line CEMGAC EXE AT TCPIPC
21. 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 2008 visual Studio 2005 2008 Step 2 On the File menu point to New and then click Project Edit View Project Build Debug Data Tools Test Window Help Ltltelutt H Web suite ett Alt File Cold Project From Emistine Code Close solution save dll Ltltslaftes Export Template Recent Files Recent Projects Exit Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 79 Step 3 In the Project types pane expand Visual Basic and then click Window CE5 0 Step 4 In the Templates pane click Device Applications 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 f Ed Project topes Templates El E Visual C i Talin i m Windows 3 Smart Device Pa Clas Library s Database _ We Console Application je Empty Project Hy Templates emat Device os Pocket PL 2003 Location eE Sst C i S CS Solution Z Create directory for solution Solution Hame Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Win
22. DLL Q 0100009 52 2008 Cancel Step 15 On the Microsoft eMbedded Visual C dialog click OK Microsoft eMbedded Yisual C Ci ARMY 4lHelthemory exe does not contain debugging Information Press OK to continue l Do not prompt in the future Cancel Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 145 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 B File Edit View Insert Project Debug Layout Tools Window Help Go F5 E Festart Ctl Shitt F5 Eal otop Debugeine lott Fo Break H Step Into Fil P step Over FIO Step Out Shitt Fl1 H F Eun to Cursor Ctl Fi0 Eb Exceptions fal Threads Modules show Nextstatement Alt Num ga Quick Watch Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 146 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
23. Device IP addres O Obtain an IP address automatically using Activefme Ce Use specific IF addres 10 0 9 43 w C Step 9 On the PAC50 ARMV4 ARMV4l_Release Properties dialog click OK PAC SOU ARMY4 ARMY4I Release Properties Default output location on device Program Files Folder we Transport Bootstrapper Actveswne btarup Provider w Confienre Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 151 Step 10 On the Options dialog click OK Options show devices for platform s Find and Replace PACT Fonts and Colors mrima Help Import and Export Settings Intemational Settougs PACSU ARMY4 SRMY 4 Release Web Browser E 5 5 5 Projects and Solutions soure Control Text Editor Database Tools Debugging E Default device PACSO ARMY 4 ORMV4 Release ro Step 11 On the WinPAC run the CommanClient2 and the CMAccept exe applications which is located at System_Disk ICPDAS System Address System_Disk ICPDAS System IMs ihe Tepconne eDbgTL Conmancl ConMan CMAccept clientshut Autoliit Autoloader WinpacSDk Sleep D WinconSDEK WINPAC PACS172 PACSOS0 PACSO24 pace0l H WAR TCE TfOO0CE Wincor DLONCE dlece400d OLECE400 mfcce400d MFCCE400 Co Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series
24. User Manual Version 1 0 8 Page 152 Step 12 On the Tools menu click Connect to Device File Edit View Project Build Debug Data Tools Window Commumuty Help Sh Attach to Process Ct Alt gl Connect to Device tE Connect to Database a Connect to Server L Code Snippets Manager Ct K Ctrl B Choose Toolbox Items Add in Manager Macros Create GUID Dotacator Community Edition Extemal Tools Device Emulator Manager Import and Export kettings Lustonuze 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 platform then choose a device below Devices PACSO ARMY4 AREMYV4 Release Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 153 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 FAQ If the connection fails shown as follow return to step 11 to do the action below To PACSO ARMY4 ARMS Release Connection faded Activesync is not inetalled Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 154 Open the command prompt run the C
25. WinPAC System_Disk L Tools and drivers related to System_Disk that install on WinPAC Update L Installation packages related to WinPAC updates Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 25 2 Getting Started lf you are a new user begin with this chapter it includes a guided tour for 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 F PAC a E 4 i WP 5141 0D 4 a 4 2 3 4 miso 268 Adapter WinPAC Module AmicroSD Card and_ Software Utility CD Screw Driver WP 5141 a microSD SD Adapter 10016 WP 5141 OD 2 4mm WP 5151 WP 5151 OD Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 26 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 3 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 modu
26. XW 107 3750 Vrms XW 110i 3750 Vrms Al AO DI DO Expansion WM Cote l DI DO Range ww a a T RS 232 422 485 DI DO Boards Serial Port a Model DI D Isolation Type Wire Pwes O mse e omre C xwso rs222 8 ewe C0 2 swe Jaja O xwsni Rs4es 4 2wre 250vms xwsta Rs485 8 2wie o o For more detailed information about these support modules please refer to http www icpdas com tw product solutions pac upac xw board _selection html Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 172 Appendix C Revision History Revision Date Description 101 August 2010 December 2010 Added information about using backup utility to back up the settings and files in section 2 5 Added information about a caution about using System_Disk in section 2 6 Added information on how to add a user account in section A 1 January 2012 Modified information about XW board supported in section 3 6 2 and appendix B Modified information about the OS updates in section 6 1 1 and section 6 1 2 August 2012 WP 5441 changed the Model number to WP 5141 OD Added information about COM1 COM2 and COM3 in section 1 4 Added information about how to use the printer in appendix A 3 October 2012 Modified information about WinPAC Platform SDKs in chapter 4 September 2013 Upda
27. 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 the WinPAC The Backup Utility is located at System_Disk tools Backup_utility Step 2 Click the Backup menu i 2 oe Sor Won d Backup Restore Help Backup Eboot and OS EEPROM Registry SRAM S12K System_Disk all Backup information BackupTime 9 2010 12 09 28 PM Lanquage English 64 bit Searial Wunber 01 40 65 04 11 00 00 71 Step 3 Select the options that you U2 ersion 1 3 0 lt CPJ Version 1 0 1 0 want to backup enter text EF Version 1 0 1 0 s MACI address 00 00 3F 01 45 64 annotations and then click iwac2 address 00 00 EF 10 71 00 the Start backup button Annotation Backup by ICP DAS Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 40 Warning 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 Confirm the backup options and then click Yes button Browse for Folder My Device A
28. 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 43 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 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 open COM Port Eada Bit mem End string with None JER OR ORF JF ESBS a Binary
29. dialog select Fixed port check box and then click the OK TEEME Transport Confipzuraton Configuration for device Pace o Device Check connection status Interval msech 50000 Port number 5000 Use fixed address 10 0 9 542 Configure automatically over serial Cancel Step 5 On the Windows CE Platform Manager Configuration dialog click Test Device Properties Device Name PACZTO Device Select a transport and a startup server Choose Test to verify that you can establish a commection to your target device with the selected tansport and startup server Transport TCPAE Transport for Windows CE Confisure tactp werver Manual DEIVEI Confisnre IE Cancel Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 140 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 Manual Server Action Please make sure the following files are on the device WIN OO W S Stepipe dll WA TAOS cermin exe WIN OOS cetlstub dll And launch CEMGARCLEXE with the following cmd line CEMGRC EXE 5 T TCPIPC DLL 0 0 10 0 9 52 5000 Cancel F Programs 4 Favorites 3 Documents GF Settings Help Run Copyright 2014 ICP DAS Co Ltd All Rights Reserved
30. 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 It gives 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 which users can choose one of them to expand hardware features Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 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 5141 OD with Audio port WP 5151 without Audio port WP 5151 OD with Audio port 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
31. 0 7 Remote Heap Walker WCE500 7 Remote Kemel Tracker WCE500 A Remote Performance Monitor WCE500 P gt Remote Process Viewer WCE500 P gt Remote Registry Editor WCE500 P gt Remote Spy WCE500 Zr Remote System Information WCE500 A Remote Zoomin WCE500 select Remote Tools gt Customize Options a a Macro Record Quick Macro Ctrl Shift R Play Quick Macro Ctrl Shift P Configure Platform Manager Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 138 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 o g PAC270 Device w SA_TA H STANDARDSDE 420 Windows CE Default Platform Step 3 On the Device Properties dialog click Configure 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 TCPAP Transport for Windows CE otartup werver Manual BLY EL OK Cancel Test Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 139 Step 4 On the TCP IP Transport Configuration
32. 0 Series User Manual Version 1 0 8 Page 16 Bottom Panel The bottom panel includes a microphone an earphone a USB host a connector and two Ethernet ports Microphone in and Earphone out for WP 5141 OD and WP 5151 OD only LAN for WP 5141 and WP 5141 OD COM1 COM2 p COM DC oaks Dn oie oats Taos ea a 2 e oq SfFGaa amp amp f E cL USB Host for WP 5151 and WP 5151 OD peog peoa rea Fabo oe 634 i i amp 5 da oa 6 amp LAN2 o a cL gt Microphone in and Earphone out for WP 5141 OD WP 5151 OD only The microphone and an earphone jack to allow the input and the output of the audio system gt Ethernet Port LAN1 and LAN2 The Ethernet ports are the opening on WinPAC 5000 network equipment that Ethernet cables plug into Ethernet ports accept cables with RJ 45 connectors Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 17 gt USB Host A USB host controller is a machine with a root hub which allows several i input devices to be connected to it such as mice and keyboards gt Connector The pin assignments of the connector are as follows WP 5141 WP 5141 OD a f re FrameGround 2 eno PWR Power Input COMS RS 232 COM2 RS 485 1 re rae ound Power Input COMS RS 485 COM2 RS 485 roo Copyright 2014 ICP DAS Co Lt
33. 0_ce50 Demo WinPAC5000 eVC PAC_IO XWBoard fto fto icodas com pub cd winpac napdos wp 5000 ce50 demo winpac5000 evc pa c io xwboard Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 113 6 I O Modules and SDK Selection This chapter describes how to select a suitable I O expansion module and the corresponding SDK library to be used for developing programs on WinPAC 5000 series devices Choosing a SDK Library for an I O Module RS 485 WHS KE 1 a 2 ai ITT W Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 114 RS 485 I 7K series and M 7K series l 7000 M 7000 RU 87Pn and high profile 87K series modules connect to ViewPAC series devices via a twisted pair multi drop 2 wire RS 485 network gt I 7K series I O modules Native SDK NET CF SDK 7K series PACSDK dll PACNET dlI I 7K series 7088 D PACSDK_PWMdll PACNET dll For full details regarding I 7K series I O modules and its demos please refer to bled demo for 7k module pdf gt M 7K series I O modules Module Native SDK NET CF SDK M 7K series 3 Modbus Demo 3 Modbus Demo For more detailed information about M 7K series modules using Modbus protocol and its demos please refer to http ttp icodas com pub cd winpac napdos wp 8x4x_c
34. 30 Vpc to PWR and GND terminals v Connect the monitor to the VGA port u poet ste ee sees se ss sss sss AAAA AAA AA AAA AAH HAH HH A AAA A AAAA onitol pi i 1 Mouse or Microphone Keyboard amp Earphone For WP 5141 OD Only an Ks Mon en am Wan Mn hn Kt Mu Elo Eon Mn Can i it WE Mn Cn en ot ttn ln Be fa 10 30 Voc oa eae el a n ss en en en an es Ws Hoe oe oe a i i i i oe a Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 29 2 2 Configuring the Boot Mode The WinPAC 5000 has the following seven main operating modes which can be selected by a rotary switch Rotary switch position Modes of operation Normal mode Default Debug mode OS update mode Development mode DCON_CE 79 The following is an overview of the seven 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 lf 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas c
35. 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 Step 2 If the version matches correctly and the entire file are there copy the Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 147 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 Bvid Debug Data Format Took Window Commouuty Help Add Windows Form E Add User Control i Add Component va Add Clas Shift AHC Add New Item Ctl shaitta Add Existing Item shift Altti Exclude From Project show All Files Add Reference Add Web Reference met as stat p Project Change Target Platform Systemlnto Properties Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 148 Step 4 On the SystemIinfo tab unselect Deploy the latest version of the NET compact Framework including Service Packs check box
36. 4 Send to Back Maimhenu HM Mese Lock Controls eae mane Toolbox G iat age Toolbox select Forml H Cut a Copy Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 71 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 op Properties Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 72 4 3 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 E The Code Editor opens with the cursor Check the OS version positioned in the event handler _ Step 2 Inserting the following code into the header area using PACNET Fusing System using System Collections Generic using System ComponentModel using System lata using System Drawing using eystem Text Using W Windows Forme a E arahi TT us PACNET Tips amp Warnings AN The PACNE
37. 5000 Series User Manual Version 1 0 8 Page 157 Step 2 On the WinPAC open a WordPad format file si Edit View Format Tools Mey Open Ctr 2 Step 3 Set up the printer Save Ctrl 5 Save As Password 1 Printer PCL Laser 2 Port Network 3 Net Path ServerName PrinterName Ctrl P Iri at m 1 Print The ServerName is your PC s name or Recent Files IP The PrinterName is your printer s shared name of your PC Close Ctrl yy 4 Paper Size Select the paper size wW ooe a Tahom v fis Pct Laser v Print Range Orientation Network 7 al Portrait Selection Landsca Net Path RARD 1 User2 Anna O pe Paper Size a4 _ Margins inches T Draft Mode Left 1 25 Top ji Advanced Coie Right 11 25 Bottom la Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 158 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 sii Edit View Format Tools Mey Open Ctr 2 Save Ctrl S Step 2 Set up the printer Save As Password 1 Printer Hewlett Packard LaserJet 2 Port LPT1 Print Ctrl F 3 Paper Size Select the paper size Recent Files Close Ctrl Fie Edit View Format Tools ERM fA Tahom Mji M Test
38. 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 a gt I f _ e io _ Ee b t Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 108 Folder Demo Explanation Shows how to connect and control the XW board series modules XW509 XW509_ demo XW5111 XW5111_ demo XW304 XW304 demo XW310 XW310 demo XW310C XW310C_demo For C application these demo programs can be obtained from CD Napdos wp 5000_ce50 Demo WinPAC5000 DOTNET C NET PAC_IO XW Board C 23 net pac_io xwboard Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 109 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 gt System Information gt UART gt Interrupt gt Registry gt Memory Access gt Micro SD gt Watchdog te he Eee Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
39. E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 141 Step 8 On the Run dialog type the command which displays in step 6 and then click OK A My Device WINPAC_ or docume ent a ond Wi etd are lN ey it for you tJ tJ Internet Microsoft Open Explorer WordPad MicrosE 10 0 9 ar Browse ox Z My Documents Step 9 Return to the Host PC side and click OK on the Manual Server Action dialog Manual Server Action Please make sure the following files are on the device VWAN DOW S tepipe dll WANTS cennigre exe WINDOWS cetlstub dll And launch CEMGACL EXE with the following cmd line CEMGAC EXE S T TOPRIPC OLL 0 0 10 0 9 54 5000 Cancel Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 142 Step 10 On the Testing Device Connection dialog click OK Testing Device Connection Device Name ACS TO Device Connection to device established TLPAP Transport for Windows CE Step 11 On the Device Properties dialog click OK Device Properties Device Hame PACZTO 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 TCRAP Transport for Windows CE Confis STP Server Manual ELV EL Confienre
40. E5 WinconSDK WinPacNet WinpacSDK Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 117 7 1 OS Updates The updates files of OS image are located on CD Napdos wp 5000_ce50 0S_Image CD Napdos wp 5000_ce50 os _ image 510700 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 one for more quicker and easier to update 2 Update trom Eshell Please refer to section 6 1 2 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 118 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 119 7 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 ZPA WP 5141 0D Step 1 Get the latest version of the installation package file and the corresponding Autolnit bat file upl
41. EEE 7 1 1 1 WinPAC 5000 Naming Convention c cccccsseeeesseeeeseeeeeseeeeseaeeeees 7 1 1 2 WIRPAG 5000 COMPAlISON sess scsercuivscewenncssiennusvaeesaverosleeemwasenceavereneercs 8 De eS SS a 9 Tiss DO CSIC AH ONS soe cede ssssccedaxsigovadexesavadovasexesaxeoss E 12 1A OVENVICW een ee ee ce eee eee eee eee eee 14 Fa DIMEN ON aecteiesieaecieeecicendicennicenteciadenarsncecienedieeeeneadeeseentecacnamsecemenedeanenesdegaceanteaaies 21 EO COMON O O aa 25 2 CACTI G an OG onan a a 26 2 1 Mounting the Hardware ccccccseccceecceeeeseeeceeeeeeeseeeceeeseeeseeeseeeeneeeseeeeaes 27 2 2 CONUN IME IS OOK NOO rsr ee E EE 30 2 3 Changing the Language of the User Interface ccccececeeeecseeeseeeeeeeees 32 2 4 Using WinPAC Utility to Configure WinPAC Basic Functionality 34 2 5 Using Backup Utility to Back up the Settings and Files ceeeeeeeees 35 3 Tools and TASKS cccccccceeseeeeeeesenseenseenseenseeseonseonesenseeees 37 Bole GC MUO T aer E E E 40 3 2 LI ONG J exrzsaes cearserin ae gmarain eta EENE EESPERE nates EEES PENERE EERS REE ENE EENAA NEERA E ENE RRRS EEES PEERS 42 oaa NADOP CO aE E EEE EEEE EE 43 A CRTC ON a E E E A E E E E 44 S NOEP EEE 45 20 VI UU eese 46 O MONU DAT resper r NEEN E N NEEN EEEE 47 3o 2 POPE LA S a EE 52 Ms VOUP FISE P OOTAN aieeaa EEEE RIER 63 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com W
42. Execute sD E into exe Ctrlt FS set Active Configuration Configurations set Active Platform Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 102 Step 2 Open the browser and type the IP address of WinPAC 5000 Step 3 Upload the systeminfo exe application iel eB x E Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 103 4 5 7 Executing the Application on WinPAC 5000 After uploading the application to WinPAC 5000 then you can just double click it on WinPAC 5000 to execute it i IESENE systeminfo OK x 01040102 ZU ERLED Otaloofeld Steuerelem hior 4 l Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 104 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 105 5 1
43. IALOG German Germany Dial SEE i Co mito Is Ed Th Ge ay abl fo xX EB EA m le meohenm Buttoni IPRS ZU ERLEC Dialogeld Steuerelem Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 98 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 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 99 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 form The Add Member Function dialog box appears her FU ERLED Dialogteld Steuerelem hier Step 2 Type the onBtnCheckOS in the Member function name field and then
44. Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 52 gt System Settings Tab The System Settings tab provides functions to configure the task bar WinPAG Utility 2 1 0 4 File Help Configuration 1 Welcome to use WinPAC Utility This tool will help you to set up the WinPAC 8000 l Display Resolution S00 goo w Frequency 55 5 cob Intveatrial Gorirol Projyniy Dola Apmasilign Dyshe Settings Task Bar Settings auto Hide Always On Top Blank Desktop Configure synchronization with a time server _ Enable Autorun when connecting a USB Disk _ Enable Autorun when connecting a Micro SD 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 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 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 The battery initial voltage should be around 2 8 3 0V when below 2 1V the WinPAC ViewPAC Utility will show the low power warning When below 1 5V the data in the RTC real time clock an
45. P document root directory Windowsia wwoub to Windows ye Wy LB ad The tab use to How to use Add a user Fill in the User name and Password field of your user account account press the Add button and then press the Setting button Delete a user Choose a user name from the user account list the user account account that you select will display in the User name and Password filed press the Delete button and then press the Setting button The maximum number of the user accounts Is 5 The maximum of the string length of the user name and password fields must be less than 20 charachters Please refer the document w2 022 how_to configure the File SMB Server to use the File Server Settings tab Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 58 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 WINPAC Utility 2 1 0 4 E System Settings System Settings2 Ethernet Settings Network Settings System Information Auto 14 gt xuVBoard fd Module Type WWP 5141 64MB Flash Type System_disk MXIC MX29GL256F 1 Flash Type s MxIC MX2EGL256F 1 64 bit Serial Number 01 C7 90 Ec 15 00 00 B4 OS Version 1 3 1 0 2013 09 03 13 30 01 Eboot V
46. PAC 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 Registry Editor The Registry Editor allows user to editor the registry value of Windows CE Operating system Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 38 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 TaskMor The TaskMogr 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 functions such as configuring Ethernet settings monitoring system settings and FTP services for easy and quick management Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 39 3 1 Backup Utility Backup Utility is an
47. PAC 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 Toole Window Help pourre Browser AltFl 2 ft Error Lookup As Remote Call Profiler WICESOO A5 Remote File Viewer MCESO0 f Remote Heap Walker WICESON vt Remote Kemel Tracker ESO Pa Remote Performance Monitor WW CESOO A5 Remote Process Viewer ONCESOD As Remote Register Editor MICESOO Ah Remote Spyt CMCESON fii Remote System Information WCE SO ft Remote Zoomin WCE5O0 select Remote Tools Customize ptons Record Quick Macro Ltt hift E Flay Quick Macro tlt shitt P Confieure Plationn Manager Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 94 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 ARMV4I Options Download B porkspace Macros Format Platform PAC270 STANI EEE MYCE ARMY 4 A Include files Directories C Program Files Windows CE Tools wee500 5 TANDARDSDE in
48. PAC 5000 Series User Manual Version 1 0 8 Page 80 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 Class View Add Reference Add Web Reference sort Alphabetically Step 1 In Solution Explorer right click Sort By Object Type the References node and click Add Reference on the shortcut menu sort By Object Access Group By Object Type The Add Reference dialog box appears Add Reference NET Projects Browse Recent Step 2 Click the Browse tab panao O f E m and then select PACNET dIl eeu RAT Component Files A1 t1b olb ocx exe gt The PACNET dIl file can be obtained from CD Napdos wp 5000_ce50 SDK ftp ttp icodas com pub cd winpac napdos wp 5000_ ce50 sdk or CD Napdos wp 8x4x_ce50 sdk winpacnet pacnet ftp ftp icodas com pub cd winpac napdos wp 8x4x_ce50 sdk winpacnet p acnet Step 3 Click OK to close the Add Reference dialog box Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 81 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
49. RUN PWR for status indications L1 L2 LED Indicator for user programmable Rotary Switch Yes 0 9 VGA amp Communication Ports VGA 640 x 480 or 800 x 600 Ethernet RJ 45 x 2 10 100 Base TX Auto negotiating Auto MDI MDI X LED indicators USB 1 1 client 1 USB 1 1 host 1 Audio Port Yes Yes Microphone in and Earphone Out COM1 RS 232 RxD TxD and GND Non isolated COM2 RS 485 D2 D2 2500 Vpc isolated COM3 RS 232 RxD TxD and GND RS 485 D3 D3 2500 VDC Non isolated isolated Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 12 Operating Temperature 25 75 C Storage Temperature 30 80 C Ambient Relative Humidity 10 90 non condensing Input Range 10 30 Voc Consumption 4 8 W 0 2A 6W 0 25A 4 8 W 0 2A 6 W 0 25 A 24 Voc 24 Voc 24 Voco 24 Voc Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 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 rey LLULL Programmable LED Indicators wN gt LED Indicators LED indicators provide a very convenient way of status indications for faster easier diagn
50. String Send Polling ommands Responses Current Packet Size bytes fp Current Packet Size bytes g Auto send Internal ms soo Total Packet Bytes o Total Packet Bytes oC Start J stop M set Packet Quantity send o Packet Quantity received o start Time Stop Time Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 44 3 5 VCEP Manage Your WinCon From Anywhere a a ICPDAS VCEP is composed of two main components The Server which runs on WinPAC The Client which runs on a Desktop PC ICPDAS VCEFP is designed for managing your WinPAC anywhere No matter where you are ICPDAS VCEP provides a convenient environment on the Desktop PC and allows you control your WinPAC remotely 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 intra 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 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 45 3 6 WinPAC
51. T of using PACNET is case sensitive Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 73 Step 3 Inserting the following code MessageBox Show PACNET Sys GetOSVersion MessageBox Show Sys GetOSVersion J nanespace systeminfo public partial class Form Form public Forml Ini tializeComponent private void button _Click object sender Event4res e Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 74 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 public FTP server Step 1 On the Build menu click Build Solution File Edit View Project Debug Data Format Tools Test Window Help EA Build Solution CtlshittE 7 Rebuild Solution i Deploy Solution Clean solution Build systenuinto Rebuild systenunto Deploy syrstemunto Clean syetenunto Batch Build Configuration Manager Step 2 Open the browser and type the IP address of WinPAC 5000 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 75 Step 3 Upload the systeminfo exe application and the corresponding PACNET dIl file to the WinPAC 5000 Tips amp Warnings
52. WinPAC 5000 Series User Manual Version 1 0 8 Page 110 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 eVC application these demo programs can be obtained from CD Napdos wp 5000_ce50 Demo WinPAC5000 eVC Standard andard Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 111 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 Pa P o iD Py E 5 a y k Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 112 Folder Demo Explanation Shows how to connect and control the XW board series modules For eVC application these demo programs can be obtained from CD Napdos wp 500
53. _ Utility The WinPAC Utility is a tool which is designed to quickly control and manage the WinPAC WinPAC Utility 2 0 2 6 E l Welcome to use WinPAC Utility This tool will help you to set WinPAC 8000 Display Resolution B00 S00 ka M Winkel t cuou yoro con Indusal Gentine Products Data Acmasilign Syslerm Setting Task Bar Setting Auto Hide Always On Top Empty Desktop Configure the synchronization with a time server _ Enable Autorun in plugging USB Disk _ Enable Autorun in plugging Micro SD Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 46 3 6 1 Menu Bar The WinPAC Utility includes the following function menu All functions menu will be explained later File Menu Si Help Configuration Save Save and Reboot Reboot Without Save Restore Default Settings Exit Help 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 47 gt File Menu aA Help Configuration Save Save and Reboot Reboot Without Save Restore Default Settings Exit The menu commands U
54. and then click OK Project Sethings Settings For General Debug Go Link Resa Win32 MCE ARMY4 Helease Category General r Output file name ARMY 4lRelf syste minfo_exe Objpect library modules PACSDE I ib 2 Ignore all default Hbrarles Generate mapfile Project Options nologo fhase Te D001 0000 fstack O gt 1 0000 0 1000 fentry wWinMainCATStartup fincremental no ipdb ARMY 4lRel systeminto pdb cance Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 97 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 Resource View 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_DIALOG The resource editor appears in the right pane Step 3 From the Toolbox SDKinfo resources Aaga Bunn a SURINFO DIALOG English U S pba nglish U S control onto the linha TEELEN bl Icon form 1 ersion E DEKinfo re IDD_SDEINFO_D
55. ation AN package that provides the PACSDK library must be later than or equal to 2012 10 15 such as PAC270_SDK_20121015 msi Step 3 Follow the prompts until the installation is complete Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 65 Understanding the PACSDK The PACSDK includes several application programming interfaces APIs that allows you perform various supporting tasks when developing WinPAC gt Requirements The PACSDK only supports NET Compact Framework 2 0 or above gt Installation Path After installing the PACSDK a number of functions can be installed on the Host PC and this installation puts the header files libraries into the following public places so they are easily changed by update the PACSDK Header files C Program Files Windows CE Tools wce500 PAC270 Icpdas Include ARMV4 Libraries C Program Files Windows CE Tools wce500 PAC270 Icpdas Lib ARMV41 PACSDK Reference For full usage information regarding the description prototype and the arguments of the functions please refer to the PAC Standard API Manual located at gt For WP 5000 series CD Napdos wp 5000_ce50 Document SDK_Document fto ftp icodas com pub cd winpac napdos wp 5000 ce50 document sdk docum Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1
56. cceceeeeeeeeeeeeees 87 4 5 Your First Program in eMbedded Visual C ccccecccsececeeeseseeeeeeeeeeaes 88 4 5 1 Creating a Forms Based Project cccccccssceceeeceseeeeesseeeesseeeeseaes 89 4 5 2 Configuring the Platform cccecccesseceeceeeeeceeeeeseeeeseeseeseeeeeseeeeesaees 93 4 5 3 Specifying the Path of the WinPAC 5000 Reference 06 94 4 5 4 Adding the Control to the FOrm cccceccccceeeeeeeeeeceeeesseeeesaeeeesaees 98 4 5 5 Adding the Event Handling to the Control ceceeeeeeeeeeeeeeeeees 100 4 5 6 Upload the Application to WiINPAC 5000 ccccccseeeeeeeeeeeeeeeees 102 4 5 7 Executing the Application on WinNPAC 5000 cccesseeeeeseeeeees 104 5 APIS and Demo Programs csccceeseeeeeeeeeenseeenenenseeneeneees 105 De Vs DEMO PR Oran S WING xc scdccsenssteecese ee pstsencdectecasdcosenenecatexosicaresasecasenecteusex 106 5 1 1 C Demo Programs for WinPAC Standard API ccccceeseeeeees 106 5 1 2 C Demo Programs for PAC I O API ccccceeeeeeeeeeeeeeseeeeseeeesees 108 5 2 DEMO Programs With CV Ge errereen a E A ENER E SEE 110 5 2 1 eVC Demo Programs for WinPAC Standard API 00068 110 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 4 5 2 2 eVC Demo Programs for PAC I O API cc ceeccceecceeeeeeeeeee
57. click OK Add Member Function Member function name OK E Bi OnBtnCheckos Cancel Message GN CLICKED Object ID IDC BUTTON The Code Editor opens with the cursor positioned in the event handler Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 100 Step 3 Insert the following code char OS 32 TCHAR buf 82 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 Insert the following code into the header area include PACSDK h Hinclude stdafx h Hinclude SuSteminFo h Hinclude susteminFoblg h fifdefF DEBUG HdefFine new DEBUG_NEW Hundeft THIS_FILE static char THIS FILE FILE Hendif PRPEEPLEELEPPPEEPPEPLEPELE EE gf Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 101 4 5 6 Upload the Application to WinPAC 5000 WinPAC 5000 provide FIP 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 Bait View Insert Project Build Tools Window Help Compil SDEmfoDlecpp Ctlt F re Build SDE into exe FI Rebuild All Batch Build Clean stat Debug Update Remote Output File s
58. ctives yuc t ar iang mame Stop Details Explore Options WindowsCE AN Connected Synchronized Tnformation Type Status Files Sewc heozed The synchronization folder on WinPAC 5000 Kh x AE Oe ai ee a Address My Documents Ms Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 169 A 6 How to automatically synchronize the WinPAC clock with an Internet Time Server Step 1 Run the WinPAC Utility WINPAG Utility 2 1 0 4 mim Fie Help Configuration System Settings2 Ethernet Settings Network Settings System Information Auto ne Welcome to use WinPAC Utility This tool will help you to setup the WinPAC 8000 Display Resolution 00 600 ka 7 Winkel Cosouu Frequency 55 2 v Indvetrial Gorin Products Data Apmasilion Sysas Task Bar Settings Auto Hide Always On Top Blank Desktop Configure synchronization with a time server Enable Autorun when connecting a USB Disk Enable Autorun when connecting a Micro SD Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 170 Step 3 Select the domain name in the Server drop down Internet Time 1 0 0 1 list and then enter a Stepi Server pool ntp org e value in the Autoupdate P Step2 Autoupdate Frequency minute
59. d All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 18 COM1 3 Pins RS 232 Note CPU internal UART Baud Rate 15200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 7 8 Parity None Even Odd Stop Bits 1 FIFO 1 byte COM2 2 Pins RS 485 Note 16C550 compatible Baud Rate 15200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 7 8 Parity None Even Odd Mark Always 1 Space Always 0 Stop Bits 1 2 FIFO 16 bytes COMS 3 Pins RS 232 for WP 5141 WP 5141 OD Note 16C550 compatible Baud Rate 15200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 7 8 Parity None Even Odd Mark Always 1 Space Always 0 Stop Bits 1 2 FIFO 16 bytes Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 19 COMS 3 Pins RS 485 for WP 5151 WP 5151 OD Note 16C550 compatible Baud Rate 15200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 7 8 Parity None Even Odd Mark Always 1 Space Always 0 Stop Bits 1 2 FIFO 16 bytes Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 20 1 5 Dimension All dimensions are in millimeters gt WP 5141 WP 5151 iial LAN WSS NY IN J i a
60. d 512KB SDRAM will be lost Proceed to replace the PCs battery The battery type BR1225 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 53 gt System Settings2 Tab The System tab provides functions to set the name of the MicroSD card and the USB hard disk ViewPAC Utility 2 1 0 4 File Help Configuration System Settngs ViewPAC Utility Naming the MicroSD Card and USB Hard Disk USB Hard Disk WISB Disk Set The tab use to How to use Set the name of the MicroSD card Enter the name of the MicroSD card and ant the USB hard disk the USB hard disk in the relevant fields and then press the Set button Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 54 gt Ethernet Settings Tab The Ethernet Settings 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 WinPAG Unlity 2 1 0 4 E Fie Help Configuration System Settings System Settings2 Ethernet Settings Network Settings System Information Auto 14 gt LANL MAC Address 1 OU O0 Ce O1 3C 30 LAN LIP Address Setting U
61. ded Visual C Here we will demonstrate how to create an 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 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 88 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 Step 2 On the File menu and then click New Eile Edit View Insert Project Build Tools Window Help B iee cn E Open CthO Step 3 Click the Projects tab Llos and then select WCE Open Workspace Application Step 4 Select the CPUs that bed Save a WinPAC 5000 is supported on from the CPUs list box Files Projects Workspaces Recent Files E Project name ka WCE ATL COM AppWizard Recent Workspace WCE Dynamic Link Library gi WCE MFC Activex Controlizard Location Exi
62. disable Enable the FTP access Select the Enable check box in the FTP field Disable select the Disable check box in the FTP field Enable or disable Enable anonymous FTP Select the Enable check box in the Allow Anonymous access field Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 56 The tab use to How to use Disable select the Disable check box in the Allow Anonymous field Enable or disable Enable anonymous FTP Select the Enable check box in the Allow Anonymous upload Upload field Disable select the Disable check box in the Allow Anonymous Upload field Change the FTP Enter a new path in the Change FTP default download directory path directory field and then press the Setting button FTP Telnet Refer to the Appendix A 1 authentication Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 57 Users and Passwords tab WInPAG Utility 2 1 0 4 Fie Help Configuration System Settings System Settings2 Ethernet Settings Network Settings System Information Auto neo FTP Settings Users and Passwords File Server Settings User name Password Username Password Nove admin P The accounts is used to login the servers search as Telnet FTF wwebServer etc on WinPAc Change the HTT
63. e 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 Step 7 Run the WinPAC Utility a Help Configuration FIP Setting Syste Save and Reboot Reboot Without Save eSolution 20 240 we Restore Default Settings Exit E Gz Always On Top Change HTTP document root directory to WAIN oW Ss aA pb e Setting Step 8 On the File menu click Save and Reboot Setting Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 127 Step 9 Click Yes to reboot the WinPAC 5000 Warning 2 Would you like to save the setting and reboot the device 7 Step 10 Check the WinPAC OS version Start the WinPAC Utility and then select the System Information tab to check the current OS version e Dawe Get Otercet tetany FTF Geir an Pte ne feet ere gert_ aart ee Aa te Dea see y t s 4 ee te Pat oein ot a re A ww bless w uer FU wer afeti ww Check the TRENT OS version REI L t Lew Cee Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 128 7 2 SDK Updates The updates files of SDKs are located on CD Napdos wp 5000_ce50 SDK CDRA FE leleloys wp 5000_ce50 SDK lO Modul
64. e50 demo nmodbus gt RU 87Pn I 87K series I O modules Module Native SDK NET CF SDK RU 87Pn l 87K Refer to local I O Refer to local I O gt Other specified I O modules Module Native SDK NET CF SDK Others PACSDK dll PACNET dII Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 115 Ethernet ET 7K series The Ethernet I O devices available include ET 7000 I 8KE4 8 and I 8KE4 8 MTCP and support either the DCON or the Modbus TCP communication protocol Module Native SDK NET CF SDK Modbus Demo Modbus Demo For more detailed information about ET 7K series modules using Modbus protocol and its demos please refer to http ttp icodas com pub cd winpac napdos wp 8x4x_ce50 demo nmodbus Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 116 7 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 ssss22222 1 0S updates 2101010 update_from_Eshell update_from_file SDK TITEETTD 2 SDK updates IO_Modules Modbus NAPOPC_C
65. erface 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 gt Highly Reliable Under Harsh Environment Our WinPACs operate in a wide range of temperature and humidity oo gt ee w ee e m gt V z F P J B e Operating Temperature 25 75 C e Storage Temperature 30 80 C e Humidity 10 90 RH non condensing z a 58 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 11 1 3 Specifications System Software Windows CE 5 0 2 0 3 5 09 Net Compact Framework Embedded Service FTP server Web server supports VB script JAVA script Embedded SQL server DII for eVC DII for Visual Studio Net 2003 2005 2008 SDK provided CPU Module CPU PXA270 or compatible 32 bit and 520 MHz SDRAM 128 MB 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 a microSD card support up to 16 GB microSD card RTC Real Time Clock Provide second minute hour date day of week month year 64 bit Hardware Serial Yes Number Dual Watchdog Timers Yes 3 LEDs RUN PWR L1 L2
66. ersion 12 0 0 2012 06 28 14 32 17 Backplane Version 1 0 0 0 CPU Version 1 0 2 0 WinPacsbDk Version WHNPachet Version WET Framework version 35 7339 00 SOL CE Version a5 5906 9 no fe H Pa o i PI l Last Save Date Monday September 11 2113 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 59 gt Auto Execution Tab The Auto Execute tab provides functions to configure programs running at WinPAC 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 Auto Execution Multi serial port End a CCC At most 10 programs can be d SEVES Bxecute seas i system startup a 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page
67. ervice icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 34 2 5 Using Backup Utility to Back up the Settings and Files After saving the configuration settings for a WinPAC device following the first use It is recommended to use the Backup utility to back up all the data settings and files Step 1 Run the Backup Utility on the WinPAC The Backup Utility is located at System_Disk tools Backup_utility Step 2 Click the Backup menu i oseeua Soar Wore d Backup Restore Help Eboot and os EEPROM Registry SRAM S12K System_Disk Jall i f Backup information Step 3 Select the options that you BackupTime 7 9 2010 12 09 28 PM want to backup enter text Language English annotations and then click le n Nunber 01 40 65 04 11 00 00 71 ersion 1 5 0 2 the Start backup button CPU Version 1 0 1 0 BP Yersion 1 0 1 0 MACI address 00 00 3F 01 45 64 MACS address 00 00 EF 10 71 00 Annokation Backup by ICP DAS Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 35 Step 4 Confirm the backup Warning x options and then click G Total number of backup items 3 Yes button Are you sure you want to backup there items Eboot and OS Need 32M6 of space Registry SRAM Browse for Folder My Device Network System _Disk Micro_SD Recycled gt Application Data
68. es Modbus n NAPOPC_CE5 7 WinconSDK WinPacNet WinpacSDK By eVC and dotnet 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 li WinPAC SDK updates for eMbedded Visual C Please refer to section 6 2 2 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 129 7 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 ftp 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 130 7 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 i
69. es 112 6 I O Modules and SDK Selection cccccseseesseseeeseneeeees 114 7 WinPAC 5000 Updates nsssssunnnnnsunnnnnsennnnnsennunnnnnnnnnnnnnnn 117 7 1 DY OOS Sirs area cxicranesseerea sour examen orang man ananmeansnanentnannanemexnenasaaneynantauscagmaeeneuanen 118 7 1 1 OS Updates Using Installation Package File cccseseesseeeeees 120 7 1 2 OS Updates Using Eshell via Ethernet ccccecceseseesseeeeeaeeees 125 Te DE UDO e Oa en eee eee ee 129 7 2 1 WinPAC SDK updates for C or VB net cccceeeeeeeeeeeeeeeeeeaeeeees 130 7 2 2 WinPAC SDK updates for eVCO 0 0 ccccceeeeeeeeeeeeeeeeeeeeeeeeaeeeeeeaeees 131 Appendix A Tips HOW CO oases so ceri Saeee eee re eects 132 Pig FAOW 10 a0G a SCF ACCOM eE E 133 A 1 1 How to Use telnet to remote login the WinPAC from PC 135 A 1 2 How to remove the user from the login list ccceeeecseeeeeeeeeeeees 137 A 2 How to online debug WINPAC ccccecccseeeeseeeeseeeeseeeeseeeeseeeseeeeaeeeenees 138 A 2 1 Debug WinPAC programs in EVO 4 cccccseceeeseeeeeeeeeeseeeeeseeeenes 138 A 2 2 Debug WinPAC programs in Visual Studio 2005 2008 147 AS WIOM TOUSE TIC OMIN Cl isetceectaenenencuerdsenduayddendemevendaendsaiducrismadueussendaawiuendense 156 Ao TOW 10 USE NGTWOMK DAMMIG sccscscccnsesserscexcassseseesencetnaataansvaxesesasucscess 157 A32 HOW to USE printer Vid USB nesrecna vers u
70. figure below shows how the module naming conventions work for each WinPAC 5000 model we 5 x x xl YY CPU RS 232 R5 485 Software Options Language l PXA270 4 RS 292 2 RS 485 1 1 Standard OD Audio EN English 2 AMS335X S RS 23271 RS 485 2 7 SaGRAF GPS GPS TC Traditional Chinese 9 InduSoft 36 WCDMA SC Simplified Chinese Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 7 1 1 2 WinPAC 5000 Comparison The following table shows the comparison in all the features of WinPAC 5000 family RS 232 Resolution RS 485 Model Flash SDRAM Ethernet I O Expansion Bus Audio Port WP 5141 OD Yes PXA270 Yes 64 MB 128 MB 800 x 600 520 MHz for XW board only wess 5151 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 8 1 2 Features The key features of WinPAC 5000 include gt Windows CE Net 5 0 Microsoft 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
71. g Dump All Registry Setting The menu commands Use to 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 backup 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 dialog box will appear prompting you to Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 50 The menu commands Use 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 f
72. he WinPAC 5000 in normal mode the Warning dialog box will appear as follow click OK button to reboot the WinPAC 5000 System Registry has been restored Click OK button to reboot the device Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 123 Step 5 Check the OS version of WinPAC 5000 Start the WinPAC Utility and then select the System Information tab to check the current OS version Guan Searg Gout tomrg ow tome trem bares ams tana o 1 att em Ae Te arl see me hpenn a ee gt s Fet Seek Remy i Yrs J J ot ot Sorter iO gt owe Ta sonetoa _ A vere 5668 ADATA 100 I bless wuse FU wr Check the NI rt ete rer OS version i wo eer pana EEREREER Mf v Let iss Oe Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 124 7 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 r PAC a4 a POT Ps fe t i ai 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 fto ftp ic
73. ice icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 156 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 system Restore Automatic Updates i Computer Mame Remote Advanced General Hardware Windows uses the following information to identity your computer on the network Stchen Computer or Mary s omputer Full computer name Server ame Workgroup To use the Network Identification Wizard to join a Network ID domain and create a local user account click Network ID General Sharing Ports Advanced Color Management m 1d ou can share this printer with other users on your network To i enable sharing for this printer click Share this printer Do not share this printer Share this Drivers IF this printer is shared with users running different versions of Windows You may want bo install additional drivers so that the users do not have to find the print diver when they connect to the shared printer Additional Drivers Help Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC
74. ight 1985 2001 Microsoft Corp C Documents and Settings Windows gt telnet 18 1 8 976 WinPAC 5000 Series User Manual Version 1 0 8 Page 135 Step 3 The connection has been set up and then type the name and password Welcome to the Windows CE Debug Service on WindowstE 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 8 Page 136 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 ig File Help Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Multi serial por KO sername Password my Anna RRR q 2 Step 2 The user will display in the field and then press Delete to delete the user from the login list Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 137 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 Debug WinPAC programs in EVC Step 1 On the Tools menu click Configure Platform Manager Bile Edit View Insert Project Build Tools Window Help A Eror Lookup 7 Remote Call Profiler WCE500 7 Remote File Viewer WCE50
75. ile 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 51 3 6 2 Property Tabs The WinPAC Utility includes the following property tabs all property tabs will be explained later WINPAC Utility 2 1 0 4 E m Fie Help Configuration Ethernet Settings Network Settings Syster Information autoga gt Welcome to use WinPAC Utility This tool will help you to set up the WinPAc 8000 Display Resolution e00 600 ka Winks C coud Frequency 55 2 yera Dh Inivetrial Geeies Producti Dola Agquesilion Dyshe Task Bar Settings auto Hide Always On Top Blank Desktop Configure synchronization with a time server Enable Autorun when connecting a USB Disk Enable Autorun when connecting a Micro SD v System Settings v System Settings2 v Ethernet Settings v Network Settings v System Information v Auto Execution v Multi serial port wizard v System Memory Setting Copyright 2014 ICP DAS Co
76. inPAC 5000 Series User Manual Version 1 0 8 Page 3 4 1 Preparing the Development TOOIS ccccceeccseeeceeeeeeeeeeeseeeseeeeneeeseeeeaes 64 4 2 Installing WinPAC 5000 SDK cccccccceeesceeeceeeesoeeesceeescseesceeesoeeesoees 65 4 3 Your First Program in C ccccccccccccsscceceeeeeseeeeeseeeeseeeesseeeesseeeeseeeeesaeeeeas 67 4 o1 272 1108 a NeW a 0 21 eee ee een eee ee eee ee eee eee een 68 4 3 2 Adding the WinPAC 5000 Reference ccccseeeeeeeeeeseeeesaeeeesaees 70 4 3 3 Adding the Control to the FOr cccccccccceeeeeeeeeeeeeeeeseeeeesaeeesaees 71 4 3 4 Adding the Event Handling to the Control ccccceeeecseeeeeeeeeeeeees 73 4 3 5 Upload the Application to WiINPAC 5000 ccceccseeeeeseeeeeeeeeeees 75 4 3 6 Executing the Application on WinPAC 5000 cccceeceeeeeeeeeees 17 4 4 Your First Program in VB Net cccccccseeeceeeceeeeeeeeseeeseueeseeeseeesueeneeeseeeeaes 78 AA realli aAa NEWN VO OCT eana EE 79 4 4 2 Adding the WinPAC 5000 Reference ccccseeeecseeeeeeeeeesaeeeesaees 81 4 4 3 Adding the Control to the FOrm cccceccccseeceseeeeeeseeeesaeeeesaeeesaees 82 4 4 4 Adding the Event Handling to the Control cccsesceeseeeeeeeeeeeeees 84 4 4 5 Upload the Application to WiINPAC 5000 cccccceeceeeeeeeeeeeseeees 85 4 4 6 Executing the Application on WiInNPAC 5000 c
77. izard 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 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 91 Step 9 On the next page of the wizard Click Finish as shown in the following illustration WCE MFC AppWizard exe Step 4 of 4 App izard creates the following classes for YOu Iji CSDKintoDig Class name Header file CSDKinfoApp E Base class Implementation file Step10 When the summary appears click OK to complete the wizard as shown in the following illustration Hew Project Information VICE MFC AppWiizard exe will create a new skeleton project with the following specifications Application type of SDKinto Dialog Based Application targeting Wind2 WCE ARMY 4I Win32 WCE MIPSII Wing2 WCE MIPSIL FP Win32 WCE MIPSIV Wins2 WCE MIPSI _FP Win32 WCE SH4 Win3z WCE emulator Win32 WCE x86 Classes to be created Application CSDKinfoApp in DKinfo h and SDKinfo cpp Dialog CSDKinfoDlg in SDKinfoDlg h and SDKinfoDlg cpp View CChildYiew in ChildYiew h and ChildView cpp Features Uses shared DLL implementation Localizable text in B32 SSE Project Direct
78. le that are compatible with the unit please refer to http www icodas com tw product solutions pac upac xw board selection html Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 27 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 Relative Humidity 10 to 90 non condensing Mounting on DIN rail Removing from DIN rail A M W S DAAH MLA 7 WU 1 WU S AM NLA oa A gt DIN rail mounting The WinPAC 5000 has simple rail clips for mounting reliably on a standard 35 mm DIN rail A nena TT D gt Piggyback mounting The WinPAC 5000 has two holes on both sides for piggyback mounting Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 28 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 ii Connect the microphone and earphone to the microphone in and earphone out for WP 5141 OD WP 5151 OD only iii Connect PC to the Ethernet port through a hub iv Connect the power supply 10
79. lity Lae 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 Program Memory Memory Allocated 491298KB 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 62 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 Before writing your first program ensure that you have the necessary development tools and the corresponding WinPAC 5000 SDKs are installed on your system Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 63 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
80. nual Version 1 0 8 Page 121 This installation procedure will perform the following tasks i Backup System_Disk 2 Are you sure to backup System Disk 7 Important Warnings A 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 that you turn off all other applications before starting to upgrade the OS Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 122 Step 4 Configure the boot mode in normal mode and then 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 swithc to 0 normal mode Tips amp Warnings If you have selected the Retain the correct registry at next reboot AN check box after the installation has been completed and then rebooting t
81. oading to WinPAC 5000 gt 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 fto ftp icodas com pub cd winpac napdos wp 5000 ce50 os image update fr om 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 Micro SD card or FTP server Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 120 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 Select or clear the Retain the correct registry at next reboot check box to keep or remove the current registry settings at next reboot and then click Update Now to start updating the WinPAC 5000 WP5S000 Ver 1 0 0 0_16 bit English Step 2 Install Boot Loader file Step 3 Erase flash disk Step 4 Install OS image Step 5 Set and save registry Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Ma
82. obtained from CD Napdos wp 5000_ce50 SDkK ftp ttp icodas com pub cd winpac napdos wp 5000_ce50 sdk or CD Napdos wp 8x4x_ce50 sdk winpacnet pacnet ftp ftp icodas com pub cd winpac napdos wp 8x4x_ce50 sdk winpacnet p acnet Step 3 Click OK to close the Add Reference dialog box Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 70 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 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 All Device Control A lp Pointer 227 BindingSource Step 2 Right click the Button control and then click Properties Check ox ComboBox El Contexten oJ DataGrid DataSet _ Formi cs Design Start Page ObjectBrowser X Date TimePicker A 3 Doman pDown 4 gt HscrolBar j ImaseList rerpesseereereri Lerreeeeteeeers Label View Code A LinkLabel lt 3 Bring to Front 222 ListView 4
83. odas com pub cd winpac napdos wp 5000 ce50 os image updat e from eshell Step 2 Run the registry clear exe The registry clear exe can be obtained from CD Napdos wp 5000_ce50 PC_Tools Pow fto ftp icodas com pub cd winpac napdos w Run the 5000 ce50 pc_tools registry clear exe Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 125 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 the device name which you want to update the OS image from the list Step 5 Select the downloaded OS image file and then click Open Look jc Een Otem Unie ial Pilati a dows CE Debug Shell P_44498 iRdfs cd_2 WimPAC napdos yp 2000 _ce50 0S_imagep 23witn E BX Downloading Rdfs cd_2 WinPAC napdos up 2666_ce56 0S_image up 23w1 update_from_Eshell en ul Jumping to image on UP_44498 Connecting to UP_44498 using Ethernet WIMPACT O_20080520_Verl 040 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 126 Step 6 Configure the boot mode in normal mode and then click OK After completing the abov
84. om WinPAC 5000 Series User Manual Version 1 0 8 Page 30 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 DCON_CE 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 5 VCEP User Mode The positions 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 31 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 Step 2 Run the Regional Settings
85. ommanClient2 exe transport tcpconnectiona dll property port 5000 id Con at System_Disk ICPDAS System and then run the CMAccept exe File Edit Help system diski icpdas system gt Conmanclient2 exe transportitcpoonnectiona dll pro perty port S5000 id Con system disk icpdas system gt Ronee Rise educa eGoTt Use fixed port number SOOO Device IP address Obtain an IP address automatically using ActiveSync Use specific IP address 16 0 9 10 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 155 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 AN WinPAC only supports HP Laser Jet Printers which support PCL6 driver The following printer support is released by HP e HP LaserJet 4000 series HP LaserJet 4100 series e HP LaserJet 2100 series HP LaserJet 2200 series e HP LaserJet 1200 e HP LaserJet 3200 HP LaserJet 3300 e HP LaserJet 4200 series HP LaserJet 4300 series e HP LaserJet 5000 series HP LaserJet 5100 series e HP LaserJet 8000 series e HP LaserJet 9000 series printers lf you need the latest support of HP PCL6 printer you can refer to following link http n20000 wwwe hp com bizsupport T echSupport Document isp objectID bpl04568 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail serv
86. on on device when connected to the desktop Help OK Cancel Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 164 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 your device IF your device is not automatically detected click Next IF pou are using infrared IA or Bluetooth click Help Step 6 Wait a while until the connection is established After the connection is established the color of the ActiveSync icon will change to green Get Connected Checking COM Ports Disconnected Black amp Please wait while Setup locates your mobils device Write Connected Green Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 165 Step 7 Click Yes and then click Next to set up a partnership Hew Farmership Set Up a Partnership Before you can synchronize information between your mobile device and this computer you must setup a partnership between them Would you like to set up a partnership Ores Set up a partnership so that can synchronize Information between my device and this computer No don t want to synchronize info
87. ory CADOCUMENTS AND SETTINGS YINDOWS CE TOOLS EYC SDKinfo Cancel Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 92 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 Eik Edit View n rt Project Build Toole Window Help PS oe ngj eel Q e par Sal a a0 All class members CSDKEinfoApp ee Wind YCE ARMY4I Release CEE SDKinfo classes in32 CE emulator Debug inj WCE emulator Release in3g2 WCE MIPSII Debug Inge MCE MIPSII Release in32 VCE MIPSIL FP Debug in32 YCE MIPSIL FP Release indg2 WCE MIPSI Debug Inge MCE MIPSIY Release in32 WCE MIPSI FP Debug indg2 YCE MIPSI _ FP Release in32 YCE SHA Debug inj WCE SH4 Release inj WCE x86 Debug Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 93 4 5 3 Specifying the Path of the WinPAC 5000 Reference The WinPAC 5000 SDKs provides a complete solution to integrate with Win
88. ostics LED tee Color ON State Meaning RUN PWR Power on and OS is running User programmable control LED User programmable control LED Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 14 Tips amp Warnings i The LED indicators can be programmed with WinPAC API If 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 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 2 Configuring the Boot Mode Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 500
89. p Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Multi serial part_ lt gt Access Login _ User name Password Jaxx J Add Uses e Passworg i 1 Type the User name and Password Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 133 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 digiee G Ulellic ge pepe eee a File Help Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Multi serial por KRO Step 4 Press OK to store the settings FTP login Login succeeds The users of FTP have been enabled right now Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 134 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 S Windows Catalog document or Windows Updatel p 2 Type cmd open it For you Programs Documents Settings Browse Pe Search Help an port 7 7 2 EL a 5 m FS Step 2 At the command prompt type telnet IP address Microsoft Windows XP Version 5 1 2600 LG Copyr
90. rmation Set up my device as 4 quest so that can copy or move Information between my device and this computer lt Back Cancel 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 snehronize To synchronize a particular type of information select tts check bos To stop sbnichronization of that information clear its check box Mobile Device Desktop Computer O Ld Calendar icrosott Outlook Lontacts Microsoft Outlook Synchronized Files k 5 Tasks Microzott Outlook To find out more about and to customize what gets synchronized click Settings on that information type in the list and then click Settings lt Back _ Cancel _ Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Page 166 WinPAC 5000 Series User Manual Version 1 0 8 Step 9 Click Finish to complete the setup Hew Parmership Setup Complete Ou are now ready to start eschanging information between your mobile device and thi computer Upon exiting this wizard Microsoft ActiveSync wil open and IF your device is 4 guest click Explore on the toolbar and start exploring your device IF your device has a partnership synchronization starts Please wait until synchronization i complete before using pour device Click Finish to exit this wizard on Ce Step
91. roject types pane expand Visual C and then click Window CE5 0 Step 4 In the Templates pane click Device Applications 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 Templates B Visual C T iem E is FE Empty Project l Hy Templates Other Project Types A project for creatine at TRDA amework 2 0 forme application for Windows CE 5 0 and later Name Location ee Name Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 69 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 application you must first add a reference to tt Class Tiew Add Reference Add Web Reference sort Alphabetically sort By Object Type Step 1 In Solution Explorer right click the References node and click Add Reference on the shortcut menu sort By Object Access Group By Object Type The Add Reference dialog box appears Add Reference Step 2 Click the Browse tab and then select PACNET dIl o CO Component Files d tb olb ocx t ene gt The PACNET dIl file can be
92. s 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 ftp icodas com pub cd winpac napdos wp 8x4x_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 ARMV4I Step 3 Copy the latest version of DLL files to WinPAC The DLL files are located at System_Disk ICPDAS System Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 131 Appendix A Tips How to Here we will guide you through some very useful tips to customize your WinPAC 5000 There are more FAQ documents on index htm Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 132 A 1 How to add a User Account To establish a new telnet and FTP account please perform the following steps Step 1 Run the WinPAC Utility Step 2 On the Login tab of the FTP Setting tab type the user name and password and then press Add button WinPAG Utility 2 0 1 3 File Hel
93. se DHCP to get IP address Assign IF address IF Address 10 1 0 43 Mask 255 255 0 0 Gateway 10 1 0 254 DNS Server 110 0 0 3 The tab use to How to use Configure the network Obtaining an IP address automatically from DHCP settings Select the Use DHCP 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 55 gt Network Settings Tab The Network Settings tab includes three tabs FTP Setting HTTP directory path Users and Password and File Server Settings The FTP settings tab provides functions to enable disable the FTP access enable disable anonymous FTP access and configure the FTP directory path FTP Settings tab WINPAC Utility 2 0 2 6 E Fie Help Configuration system Setting Ethernet setting System Information Auto Execution Multi serial gt FTP Setting Users and Password File Server Settings FTP Enable Disable Allow Anonymous Enable Disable Allow Anonymous 8 Enable Disable Upload Change FTP default download directory Temp to Change HTTP document root directory windows wwiwiwwwpuUb to fwdbwswwnwnemsby ET The tab use to How to use Enable or
94. se to Save Save the settings into Flash The new settings don t take effect until the WinPAC restart Save and Reboot save 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 PAO ithe Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 48 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 operation 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 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 49 gt Configuration Menu File Help Configuration Import Registry key Export Regsitry Key Store All Registry Settin
95. silent d output to debugger Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 162 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 O Microsoft Achyesynt b 4 Li Schedule K_V Explore Microsoft ActiveSync i No partnerships r Hot connected Hide Details Information Type Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 163 Step 3 On the File menu click Connection Settings Microsoft ActiveSync f uaj Ed ie iew Tools Help eye Pao e obie Device ete Mobile Device Connection Settings Hide Details Information Type Status Step 4 Make sure the Allow USB connections are selected and then click Connect cS Connechon Settings Waiting for device to connect fw Show status icon in taskbar i Allow USE connections Allow connections to ane of the following com This computer is connected to Automatic M Open Activesync when my device connects F alow wireless connecti
96. ssanenseanaeaedss 159 A 4 HOW to USE services TOOL ccceecccececeeeceeecceeeceeeceeeeeeecseeseueesaeeseessegeens 160 A 5 How to use ActiveSync through USB Polt ccecseeeeeseeeeeeeeeeseeeeeeaaeees 163 A 6 How to automatically synchronize the WinPAC clock with an Internet Time SS oraaa cn es aes vests sini ates E EANA EEE 170 Appendix B XW board MOdulles cccccceeceeeeeeeeeeeeeeeeeees 172 Appendix C Revision HIStory cccssesssseesseseseeeeseees 173 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 5 1 Introduction Rich Development Tools amp ISaGRAF s SS a i A reer ae E i WP 514 1 OD l C amp Windows CE net gt y Visual Studio net Audio In Out d i E V 3 lt microSD Various SS ET s Communications css Expansion Board _ LB _ we WinPAC 5000 Family icro Ethernet ie nad BS ey RS 232 485 r USB host More than 10 I O XW board are supported WinPAC 5000 Series is the new generation PAC Programmable Automation Controller It is equipped with 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 and fast boot speed interrupt
97. t Ea CE MFC App yizard dll i BAWCE MFC AppWizard exe CAWINDOWS CE TOOLS C WCE Static Library Create new workspace Add to current workspace Dependency of wIWin32 WCE MIPSIL FP Leet Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 89 Tips amp Warnings Ensure that Win32 WCE ARMV4 l is selected in the CPUs list AN box and click OK DOWin32 WCE MIPSII_FP I lt 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 AppWizard exe Step 1 of 4 hat type of application would you like to create C Single document M DocumentView architecture support What language would you like your resources in z lt Back Finish Cancel Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 90 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 App Wizard fexe Step 2 of 4 What features would you like to include Windows Help Active Controls Please enter a title for your dialog SDKinfo Help contents file SDKinfo htp Finish Cancel Step 8 On the next page of the w
98. te WinPAC utility information in section 3 6 Added Understanding the PACSDK and PACSDK reference in section 4 2 Added I O Modules and SDK Selection in section 6 January 2014 Added information about battery Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 173 Revision Date Description June 2018 _ Added information about WP 5151 WP 5151 OD in section 1 1 1 1 2 1 3 1 4 1 5 2 and 2 1 Deleted a caution about using system_Disk in section Added information about the location of the PACNET dll file in section 4 3 2 and 4 3 3 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 174
99. the latest version Create GUID Signing thenticode siening Dotfuscator Community Edition _ Sign the project output Ep WCF Service Configuration Editor Extemal Tools elect Cer Devices Import and Export Settee Customize Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 149 Step 6 On the Options dialog select PAC 270 from the Show devices platform list and then click Properties 2 x Find and Replace Fonts and Colors fl Help impor and Export Settings Tron Stings Web Browser Delete Projects and Solutions Source Control Properties Text Editor Database Tools Debugeme a aes Default device i PFACSO ARMY4 ARMYV41 Relea w Step 7 On the PAC50 ARMV4 ARMV4l_Release Properties dialog click Configure PAC SOU ARMY4 ARMY4I Release Properties Default output location on device Program Files Folder wt Transport Bootstrapper Actveswne Startap Provider w Confienre Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 150 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 ICFP Transport Use fixed port number
100. u click Build Solution File Edit View Project Debug Data Format Tools Test Window Help EA Build Solution CtlshittE 7 Rebuild Solution i Deploy Solution Clean solution Build systenuinto Rebuild systenunto Deploy syrstemunto Clean syetenunto Batch Build Configuration Manager Step 2 Open the browser and type the IP address of WinPAC 5000 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 85 Step 3 Upload the systeminfo exe application and the corresponding PACNET dIl file to the WinPAC 5000 Tips amp Warnings A For applications programming in C and VB net with net framework when executing these application on the WinPAC 5000 controller the corresponding PACNET dll file must be in the same directory as the exe file Fille Edit View Go E xala cysteminto FACHET Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 86 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 execute it wee Cy y e ma a Pe ee Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 5000 Series User Manual Version 1 0 8 Page 87 4 5 Your First Program in eMbed

Download Pdf Manuals

image

Related Search

Related Contents

637KB - シャープ  Manual here  デジタルサイネージソフトウェア デジタルサイネージソフトウェア  Protector St-01® - Brandschutz Stinglhammer  Installation Manual  Manual do aparelho Módulo de comunicação  Manual de arranque de la estación de soldadura por aire caliente  Xerox Phaser 6600 User's Manual  Worldwide Lighting W83109C20-AM Instructions / Assembly  Sunbeam SR6200 Waffle Iron User Manual  

Copyright © All rights reserved.
Failed to retrieve file