Home
WP-5231 Series User Manual
Contents
1. WP 5231 Series User Manual WEC7 Based WinPAC Version 1 0 0 January 2015 Service and usage information for WP 5231 WP 5231M 3GWA vm J i ihi diiibh PNE i f A UL iP i A eh Bet ee a E E pen mR E Pr d ee aoe if pa Written by Sean Edited by Anna Huang 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 2015 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 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 2 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Contents CONICS saci ee Ra a a ee 3 ga Laie ele 001 0 g eee mer tee
2. Rich Development Tools EEI oN EOR e ey My wi Windowsa VETE iO MaE bedded ian oem Compact 7 A f aS microSD Various i j Local 1 0 _ S Communications swor Expansion Board ws a u Ethernet RS 232 485 USB host More than 10 I O XV Board are supported The WP 5231 series is equipped an AM3352 CPU 720 MHz and running a Windows Embedded Compact 7 0 operating system Instead of external wireless module the WP 5231 can add an internal 3G wireless module provides high protection I O Using the built in micro SD the WP 5231 series can save application program image file and data various connectivity VGA USB Ethernet RS 232 485 and I O expansion bus WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 6 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 1 Features The WP 5231 series modules offer the most comprehensive configuration and remote system upgrade solutions to meet specific application requirements The following list shows the hardware and software features designed to simplify installation configuration and application gt Windows Embedded Compact 7 0 Mag Windows Ag Embedded Compact 7 e Support PC based software Visual Studio NET e Web server FTP server Telnet server gt Local l O and Communication Expansion Board WP 5231 series equip an I O expansion bus to Support one optional expansion board called
3. 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
4. CProeram Files Windows CE TooksDEAaMss5e WINCE SDE nclode a Detsbass 00l amp CInstallDirice athnfetinelude Debugeing SV SlnstalDiriSmeartDevices SDE SOL ServertMobilew3 0 Device Tools H HTML Designer Office Tools Test Tools lt A pi ata Include Directories It pa eee Fath to use when searching for inclode files while building a VC project E Workflow Designer Corresponds to environment variable INCLUDE Step 7 Add the path VCInstallDir ce7 include and VClinstallDir ce7 atimfc include and then click the OK button FATO mow QIVECTOTLES TOT AMS35x_ WINCET SDE ARM 3 Include files ae Ler x 4 FV CInstellDirice include SV CInstlDirice Mathis include V CInstallDirice include Program Files Windows CE TooltsDEsah335u WINLE sDE elidel Program Files Windows CE ToolksDEsaM335u WINLE sDEmelude SV CInstelDirice athntcinchide SV SlnstalDiritmertDevices DE SOL ServertMobilew3 0 Tips amp Warnings A The path VClnstallDir ce7 include and VClnstallDir ce7 atImfc include must be on the top of box WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 58 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 First WinPAC Program in VB NET The best way to learn programming with WinPAC is to actually create a WinPAC program The example below demonstrates how to create a demo program running on WinPAC with VB NET
5. Username Password ICP DAS l Ea Step 2 On the File menu click Save and Reboot for changes to take effect WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 137 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com B XV Board Modules The XV board series are for LP 5000 WP 5231 One PAC can only plug only one XV board The XV board series have following common specification e DI channel is dry contact sink type e DO channel is open collector sink type DIO Expansion DI DO Channel Type mm Channel Sink Source Source Sink XV110 oa l eee Relay Output Expansion Model DI Relay Output Channel Type Sink Source Channel Type XV116 5 Wet Sink Source Power Relay Model Multi Function Expansion Al AO DI DO Model Channel Type e Channel Sink Source xvas e oroo om For more detailed information about these support modules please refer to htto www icodas com root product solutions hmi touch monitor touchpad xv board sele ction html WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 138 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C Revision History This chapter provides revision history information to this document The table below shows the revision history Revision Date Description WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 139 Copyright
6. A D 5 k Step 1 On the PC open a MS DOS command prompt Gl a p 2 Type cmd Se Help and Support Windows XP Professional q Shut Down cx CAWIKDOWSSyste Cancel Browse Step 2 At the command prompt type telnet IP address cy CAWINDO WSteystem32 cmd exe CisDocuments and Settings Windows gt telnet 16 1 6 31 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 135 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 The connection has been set up and then type the name and password Welcome to the Windows CE Telnet Service on Compact login ICPDAS Password Step 4 The remote login has been completed Welcome to the Windows CE Telnet Service on Compact login ICPDAS Password WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 136 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com A 3 3 How to Remove a User Account from the Login List Here are step by step instructions on how to remote the user from the login list Step 1 Click a user from the list which you want to remove and the user will display in the field and then press Delete to delete the user from the login list PAC Utility 1 2 2 0 File Help General General2 Display IP Config Network Device Information Auto Execution Rotary Exe gt User Name Password
7. Installing the XV Board What s in the package B2 Connector A Screws A1 A2 A3 TEN C Pin assigment label 7 T 7 B1 XV board KpE for VPD 133 132 not for WP 5231 series epi WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 22 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 3 Configuring the Boot Mode The WP 5231 has several operating modes which can be selected by a rotary switch The table below lists the operation modes available with the WP 5231 Position Operating Mode The following is a brief introduction of these 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 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 23 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Safe Mode safe mode is a trouble shooting The mode loads the minimum required device drivers and system services to boot the WP 5231 lf you have malicious software or a program caused the WP 5231 cannot be boot or run the normal mode you can boot in safe mode to solve the problem 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
8. OS Update Mode OS update mode is a way used to update OS For more information on updating the WP 5231 OS image please refer to section 6 1 OS updates Reserve gt OS Development Mode The positions 4 6 of rotary switch are reserved for OS development User Mode The positions 7 8 9 of rotary switch are reserved for user s applications When WP 5231 is boot with one of these positions it is boot at normal mode User s application can check the position of the rotary switch position to run at different mode WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 24 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 4 Using PAC Utility to Manage WinPAC The PAC Utility is a collection of the WinPAC system tool that allows user quickly and easily manage and configure the WinPAC For more detailed information on PAC Utility applications please refer to 3 1 PAC Utility Step 1 Double click the PAC Utility on the desktop Step 2 Configure IP address DHCP FTP Server M Auto Execution files etc Double click the 1 PAC Utility shortcut f General General2 Display IP Config Network Device Information Auto Execution Rotary Exe Access Login HIR Enable Disable Allow Anonymous Enable O Disable Set FTP default download directory to Jaer Browse for Folder My Device Network Set HTTP do Sy
9. a jA a Check the SDK Version amp E a v lt gt mainMenul WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 82 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Inserting the following code byte data new byte 30 PACNET Sys GetSDKVersion data MessageBox Show PACNET MISC WideString data a namespace SlK nformation i public partial class Forml Form public Formi l Initialiszelomponentt I private void buttonl Clicktobject sender Eventdres ej l byte data new byte 30 PACHET tvs Getalkversion data Hessagebox show PACNET MISC Widestring idata dd I i i WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 83 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 5 Upload the Application to WinPAC WinPAC supports FTP server service You can upload files to WinPAC or download files from a public FTP server A l iiidid D 0 CADA i 2 3 Step 1 On the Build menu click Build SDKInformation 5 Build Solution Ctrl ShiftB Rebuild Solution Deploy Solution File Edit View Project Build Debug Tools Test Window Help Clean Solution Build SDKInformation Rebuild SDKInformation Deploy SDKInformation Clean SDKInformation Project Only gt Batch Build Configuration Manager Compile Ctrl F WP 5231 Series WEC7 based PAC User Manual versi
10. 0 Page 88 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the Project types pane expand Visual C and then click Smart Device Step 4 In the Templates pane click MFC Smart Device Application Step 5 Type a name in the Name field and then click OK Here we will enter the name SDKInformation and a different location for the project if you wish New Project Project types Templates NET Framework 3 5 Visual C Visual Studio installed templates saw GE ATL Smart Device Project HA MFC Smart Device ActiveX Control ae JA MFC Smart Device Application aig MFC Smart Device DLL MFC gal Win32 Smart Device Project Smart Device My Templates Test H Search Online Templates Win32 Other Languages Other Project Types Test Projects An application for Windows Mobile and other Windows CE based devices that uses the Microsoft Foundation Class Library Name SDKInformation Solution Name SDkKInformation WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 89 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 On the first page of the wizard click Next MFC Smart Device Application W Welcome to the MFC Smart Device Application Wizard Overview These are the current project settings Platforms Windows Mobile 5 0 Pocket PC SDK Platform Single document interface Application Type Document Template Strings Click Finish fr
11. 4 Reboot the WP 5231 Step 5 Wait a few minutes for the following desktop to be displayed mode Step 7 Reboot the WP 5231 Step 8 Check the OS version Double click the PAC Utility shortcut Start the PAC Utility and then select the Device Information tab to check the current OS version General Display X iig Network Device Information 4uto Execution Rotary Execution A H f otz Serial Number 01 A8 2C 1F 16 00 00 20 Slot 4 CPU Version M A WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 123 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 SDK Updates SDK updates are part of the WP 5231 updates services to provide additional and more efficient features and functionality for WP 5231 operating system The updates files of SDK files can be found separately on the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD wp 5231 SDK http ftp icodas com pub cd winpac_am335x wp 5231 sdk SANGIN oll PACSDK PlatformSDK WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 124 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 1 SDK Updates for VB NET or C You can just change the old one with a new one Step 1 Get the latest version of the ViewPAC SDK components The latest version of the ViewPAC SDK can be obtained from
12. Account Control in WinPAC A 3 1 How to Create an User Account Here are step by step instructions on how to add a user account Step 1 Double click the PAC Utility on the desktop Step 2 On the Login tab of the Network tab click Login tab type the User Name and Password and then click Add button PAC Utility 1 2 2 0 E File Help General General2 Display IP Config Network Device Information Auto Execution Rotary Exe 4 gt Access Lagin User Name Password Username Password WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 133 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 The user has been added to the allowed under the remote login and included in the following list PAC Utility 1 2 2 0 File Help General General Display IP Config Network Device Information Auto Execution Rotary Exe_4 gt User Name Password Username Password ICP DAG Step 4 On the File menu click Save and Reboot for changes to take effect WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 134 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com A 3 2 How to Use Telnet to remote login the WinPAC from PC Here are step by step instructions on how to use telnet to remote login the WinPAC from PC t 4 b NOS gt Windows Catalog to Windows Update mA Programs gt
13. General The General tab provides functions to configure the task bar check the status of the battery etc PAC Utility 1 2 0 6 _io General Display IP Contig Device Information Auto Execution Rotary Execution Welcome to use PAC Ltility This tool will help you easy to Use PAC CE series PAC Unity a Auto Hide Always On Top HIVE Registry Backplane Battery Enable Autorun in plugging USB Disk Battery Enable Autorun in plugging Micro SD Configure the synchronization with a time server The tab use to Howtouse Lock or Auto Hide the Auto Hide taskbar Select the Auto Hide check box Lock select the Always On Top check box Auto save or manual save to By default these options are unavailable flash Auto save to flash This option is checked by default Any changes made to the WP 5231 will be saved and only take effect after the WP 5231 reboots Manual save to flash This option is useless WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 36 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The tab use to How to use Check the status of the see the Battery1 field that displays the display batter resolution Automatic synchronization of Refer to the Appendix A 2 How to configure the system time service for automatically synchronizing with the internet time server WP 5231 Series WEC7 based PAC User Man
14. ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Execute any VS2008 C project include the AM335x_WINCE7_SDK ARMv4l platform and the click the Tools gt Options Ja m mm z Test Window Help Attach to Process Ctelt AlteP gr Ls Device Security Manager Connect to Device Device Emulator Manager Connect to Database Connect to Server Lode Snippets Manager CthHE Ctl B fl it BY Choose Toolbox Items Add in Manager Macros H Find More Extensions Create GUID Dottuscator Community Edition Error Lookup ATLIMFC Trace Tool Se Visual Stadio 2005 Command Prompt EB WCF Service Configuration Editor Extemal Tools Impor and Export settings WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 57 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Click the Projects and Solutions gt VC Directories and then select the AM335x_WINCE7_ SDK ARMv4l gt Include files at Platform and Show directories for item Pik attor show directories for Environment Project and Slaton Creneral Puai Ru a YVE Default a VC Directories V CInstallDitceTinhde VC Project Settings V ClastalDirice T athntc ine lade Source Control V ClnstallDirjcetinclude H Text Editor CWProgram Files Windows CE TooksDEsaMs3ox_WINCE SDE wneludet
15. ICP DAS web site http ttp icodas com pub cd winpac _am335x wp 5231 sdk pacnet Step 2 Copy the latest version of DLL to PC and ViewPAC The DLL files on PC are located at anywhere only the solution can reference it The DLL files on ViewPAC are located at the same directory as the exe file WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 125 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 2 SDK Updates for Visual C You can just change the old one with a new one Step 1 Get the latest version of the VC components The latest version of the VC components can be obtained from http ftp icodas com pub cd winpac _am335x wp 5231 sdk pacsdk 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 SDKs AM335x_WINCE7_SDK Include Armv4i The libraries are located at C Program Files Windows CE Tools SDKs AM335x_WINCE7_SDK Lib ARMv41 Step 3 Copy the latest version of DLL files to WinPAC The DLL files are located at System_Disk ICPDAS System WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 126 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com A Tips How to This chapter provides tips and a guided tour on using and maintaining the WinPAC A 1 How to use the Printer WinPAC have ability to access the printer you can connec
16. P 2 1 11 Pac_GetCPUVersion P 2 1 12 Pac_EnableLED P 2 1 6 pac_CheckSDK Version P 2 1 13 Pac_EnableLEDs P 2 1 14 pac_BackwardCompatible LP aL pac_ModuleExists LP 2 1 15 pac_GetEbootVersion LP z ILS pac_GetoSVersion P 2 1 16 pac_GetComMapping P 2 1 17 pac_GetModuleType LP 2 1 9 pac_GetMacAddress P 2 1 18 pac_GetPacNetVersion oo P 2 1 20 pac Rett P 2 1 11 Pac GetCPuVersion LP 2 1 12 Pac_EnableLEC P 2 1 13 Pac_EnableLEDs LP 2 1 14 pac_BackwardCompatible LP 2 1 15 pac_GetEbootyersion LP 2 1 16 pac_betlomMapping P2117 pac_GetMioduleType a 2 1 18 pac_betPacNetversion LP 2 1 19 pac_BuezerBeep Wi WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 105 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 PAC Standard APIs The diagram below shows the set of each system operation API provided in the PACSDK gt System Information gt Watchdog gt Backplane Access gt UART gt Backlight gt Registry gt Interrupt gt Buzzer gt Memory Access gt LED System Operation A eee gt WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 106 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 1 VB NET Samples for PAC Standard APIs The PAC SDK includes the following samples that demonstrate the use of the PAC Standard APIs ina VB NET language enviro
17. PAC Utility shortcut ro a wiih a CPU Type WPD Serial Number 0i A8 C 1F i6 00 00 20 Backplane wersion MA a CPU Version is O E C iin Slot 5 DS Version Slot 6 ET CF Version Slot 7 SOL CE Version E PACSDK version WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 121 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 1 2 OS Updates using micro_SD The microSD card can be used to reinstall the WP 5231 OS image to factory default settings in the event of the WP 5231 failure Step 1 Get the latest version of the installation package file then unzip the file and then copy them to microSD card The latest version of the installation package file can be found from ICP DAS web site htto fto icodas com pub cd winopac am335x wp 5231 os image update from es hell or micro sd f WP523x_20140821_Yer100 4 ml File Edit View Favorites Tools Help Q Back QJ wi S Search Key Folders Address C update_from_Eshell_or_Micro_SD WP523x_2014082 EBOOTND nbd EBOOTSD nb0 i ae 3 NBO Ms MLO NK bin ni 3 CS 3709 KB XLDRNAND nbd n Step 2 Plug the microSD card into microSD slot Step 3 Turn the rotary switch in position 5 OS update mode WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 122 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step
18. To create a demo program with VB NET that includes the following main steps 1 Create a new project 2 Specify the path of the PAC reference 3 Add the control to the form 4 Add the event handling for the control 5 Upload the application to WP 5231 6 Execute the application on WP 5231 All main steps will be described in the following subsection In this tutorial we will assume that you have installed WP 5231 SDK on PC and used the Visual Studio 2008 for application development WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 59 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 1 Create a New Project The Visual VB net project template is a composite control that you use in this example creates a new project with this user control Step 1 Run the Visual Studio 2008 Visual Studio 2008 Step 2 On the File menu point to New and then click Project Edit View Tools Test Window Help _ New gt 3 Project Ctl Shift N Open gt Web Site Shift Alt N Close O Fie Chin Project From Existing Code m S S E D S a S A Fy g Save All CttShift s Recent Files Recent Projects ee ee el WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 60 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the Project types pane expand Visual Basic and then click Smart Devic
19. click the Apply button WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 45 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 2 DCON Utility Pro DCON Utility Pro enables users easily to configure and manage the I O modules via Ethernet or serial ports RS 232 RS 485 For more detailed information on how to use DCON Utility Pro to configure I O modules please refer to 2 5 Using DCON Utility Pro to Configure I O Modules DCON Utility Pro 2 0 0 0 for CE arm WP5231 JAE L T A b i Start Address oo End Address Description WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 46 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 3 TaskMgr The TaskMogr is a Windows CE application which provides real time info on all processes and threads including System threads similar in appearance to the Windows Task Manager Windows CE Task Manager Fabiana LOU Windows CE Task Manager Appian TP Windows CE Task Manager w remote exe SeTyICesd exe y explorer exe a Gwel serere device exe WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 47 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 4 VCEP ICPDAS VCEP is designed for managing your WinPAC anywhere No matter where you are ICPDAS VCEP provides a convenient environment on the Deskt
20. eet enone ne nee te earn ane eee ne ee ee ee nee ee ee ee ee nee ee 6 TeV CAUINCS xeanctasztcvatneatcentacnssnatarateentecxedensiaaedeataaxsdeatauntoatosatoeatacuianatmsaisenteixeseacainsdents 7 1 225 DOC CIIGA IONS ANE EE AEAEE 10 18 OW CIVIGW anna aE A AA ack amend neacuneeswarananeauanaadecas 12 T4 DIMENSION ec oe ee se deen See sedetanade dosent dhoeaecedtansactstarsedsataxcecsalascedsdiarceceal sessed 17 Lo OMDAINOUN SD verses leech top ata orate a suede E aa E aE adie anacen ste 18 Zs GUNG LAO eegen E e E A E A A 19 2 13 WIOURTING ING FATOW ANC aaa deine etimetietinetiivaentsi 20 22 MASTAMMNAG AC AN BONO secs a alee saree cancer vena ale RAE E EROE ROEE 22 2 37 GOMIGUMNG ING BOOEMOGE 2 2 25 0052 5 085 cd ciett aah wn ale ee kate 23 2 4 Using PAC Utility to Manage WINPAC ccccccseececseeeeceeeeeeeeeeaeeeessaneesaneeesaaes 25 2 5 Using DCON Utility Pro to Configure I O MOdules ccccecceeeeeeeeeeeeeeeteeeees 26 2 6 Changing the User Interface LAnQuage ccceccecssseeecesseeeesenseeeseaeeeensaeeeensaaes 29 Bs WOOS ING AGS aa a a accae sate coleiee a a A 31 SRAC GUD aaa E 33 2 1 Menu Bar FE ysgin NAAA EANA iSi 34 SLE MENU al e ROD corries EE 35 Sal Os Propenty lab General e A 36 3 14 Propeny labo DIS play inesse eae 38 Iko Popery abl GONG aie rena ene a A A OER E tee 39 3 LO Fron I abe NGIWONG sciscstetciotstetaset tetecet ot etatat tetatec tee ttatat attain ets 40 3 1 7 Proper
21. file server and enables clients to store and retrieve files and makes use of the Internet for communication between client devices and other shared equipment Share Files System Settings E Device Name Each device need setting a different device name Compact The path to the folder to be shared ww O Configure the file server to use LANs as the network adapter CPS ats 1 Enable all authentication on the file server The file server will not be accessible to all users on the network and the admin as the user to be allowed access to the file server Set Help The tab use to How to use Set the SMB server Click the Settings button to set the SMB server path WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 42 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 7 Property Tab Device Information The Device Information tab provides functions to monitor necessary system information of the WinPAC The information is the most important note of version control for upgrading system PAC Utility 1 2 0 6 io CPU Type Serial Number 01 48 2C 1F 16 00 00 20 A mn 7 Li hi Di Backplane version MN CPU Version MA OS version 1005 Eboot version WET CF Version 2 5 7220 00 SOL CE Version 35 0154 0 PACSDE Version m on bJ ha BJ un MI g WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 43 Copyright 2014 IC
22. if you wish Hew Project Project types Templates NET Framework 3 5 wt E Visual Basic Fisual Studio installed templates Visual C Se aaa Windows gelema Device Froject Web j smart Device My Templates H Office Database Sieearch Online Templates Reporting 7 Test WCF Workflow isual C Other Project Types Test Projects A project for Smart Device applications Choos target platform Framework version template in the next dialog box Name SUE Information Location CADocuments and Settings WindowsihMy Document WM Windowsd My Documents we solution Mame aDEInformaton Create directory for solution WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 75 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 In the Target platform item choose Windows CE Step 7 in the _NET Compact Formwork version item choose NET Compact Framework Version 3 5 Step 8 in the Templates pane choose Device Application and then click Next Add Hew Smart Device Project SDEInfonmaton Target platform Windows CE w NET Compact Framework verion WET Compact Framework Version 3 5 v Templates Class Library Console Control Empty Project Application Application Lien A project for creating a NET Compact Framework 3 5 forms application for Windows CE Platform Download additonal emulator imases and smart device SDEs Tips amp Warnings AN The WCE
23. includes the following samples that demonstrate the use of the PAC standard APIs in a C language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For C applications these demo programs can be obtained from CD wp 5231 Demo PAC CA Standard http ftp icodas com pub cd winpac _am335x wp 5231 demo pac c 23 standard Shows how to make a simple buzzer beep 3 Retrieves information about the OS Devicelnformation Devicelnformation _ version CPU version SDK version etc Retrieves information about the GetRotarylD GetRotary D i Status of the rotary switch Shows how to read write data values from to the EEPROM or the backplane of the SRAM MicroSD_Managem MicroSD p Shows how to manage the microSD Writes the managed cod for the rich CSharp Ul call_VC graphical user interface that does not Realtime require true real time RealTimeTest 7 performance Shows how to use the function of JIT CSharpOnl A compiler and garbage collector 3 Shows how to read write data Registry Registry values from to the registry Shows how to read the name of a local I O modules via a UART Displays information about how to WatchDog WatchDog operate the watchdog WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 108 Copyright 2014 ICP DAS Co Ltd
24. of PAC Reference ccccccccceeecceeeeceeeeceeeeceeeeeeeeenees 63 4 35 59 Add Ne Conto to ING FOUN sasis 66 4 3 4 Add the Event Handling for the Control ssssssesessssennsnsnrresrrrnernrresrnresnnne 68 4 3 5 Upload the Application to WinPAC cccccccseececeeeeseeeeseeeseeeeseeeesaeeesees 70 4 3 6 Execute the Application on WinPAC ccccecccseececeeeeseeeeseeeeseeeeseeeenees 72 4 4 First WinPAC Program in Visual Cf ccccccccccseececeeeeeseeceeseeesaeeesseeeesaaeeesaaes 73 A A 1 Greate a NEW PIO CCl iteieseesieosdn acto nes ieee eae eerie 74 4 4 2 Specify the Path of PAC Reference ccccccccseecceeeeceeeeceeeeceeeseeeenees 77 4 4 3 Add the Control to the FOr ccccccccccseceeceeeeeceeceeeeesesseeseseaeeessseessaeees 80 4 4 4 Add the Event Handling for the Control ccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeaes 82 4 4 5 Upload the Application to WINPAC ccccccccseeceseeeeseeeeseeeeseeeeseeeeseeeesees 84 4 4 6 Execute the Application On WINPAC cccceccceeceseeeeseeeeseeeeseeeeseeeenees 86 4 5 First WinPAC Program in Visual C ccccccccceececececeeeeseeeeseeeeseeeeseeesaeeesaeeeeas 87 AD Nc Gleale a NEW FTO CC renee ceca cate dcr ette cect iectc tenet cue nettaet eats 88 4 5 2 COMMOUPE ING PAO ssassn 93 4 5 3 Specify the Path of the PAC Reference ccccccceeceseeeeeseeeeeseeeeeeaeees 94 4 5 4 Add the Con
25. remote I O modules and its demos I 7000 or I 87K please refer to modules in RU 87Pn http ftp icodas com pub cd winpac_am335x wp 5231 demo pa I O unit clapplicabled demo for 7k module pdf WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 113 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 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 series devices Selecting an SDK Library for I O Expansion Ethernet RS 232 RS 485 RU 87Pn M 7000 l 7000 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 114 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Local 1 0 Module XV Board There are more than 8 XV Board available for expanding the function of the WP 5231 The following table shows the appropriate SDK library to be used for I O modules XV Board Modbus Demo Modbus Demo For more detailed information about these support modules please refer to http www icpdas com root product solutions nmi_touch_monitor touchpad xv board_ sele ction htm Rs 485 I 7000 series and M 7000 series l 7000 M 7000 RU 87Pn and high profile 87K series modules connect to WP 5231 series devices via a twisted pair multi drop 2 wire RS 485 network gt 1 7000 series I O modules 700
26. 0 series PACSDK dl 3 PACNET dII l 7000 series with 1 7088 D PACSDK PWMdll PACNET dll For full details regarding I 7000 series I O modules and its demos please refer to http ttp icodas com pub cd winpac _am335x wp 5231 demo pac applicabled demo for 7 kK _module pdf WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 115 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com gt M 7000 series I O modules M 7000 series Modbus Demo Modbus Demo For more detailed information about M 7000 series modules using Modbus protocol and its demos please refer to http ftp icodas com pub cd winpac am335x wp 5231 demo nmodbus gt RU 87Pn l 87K series I O modules RU 87Pn 87K PACSDK dll PACNET dlII gt Other specified I O 7088W PACSDK_PWM dl PACNET dl Ethernet ET 7000 series and I 8KE4 8 MTCP The Ethernet I O devices available include ET 7000 and I 8KE4 8 MTCP and support the Modbus TCP communication protocol ET 7000 Modbus Demo Modbus Demo I 8KE4 8 MTCP Modbus Demo Modbus Demo For more detailed information about ET 7000 and I 8KE4 8 MTCP series modules using Modbus protocol and its demos please refer to http ttp icodas com pub cd winpac _am335x wp 5231 demo nmodbus WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 116 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7
27. 7 only support NET Compact Framework Version 3 5 if your application uses NET Compact Framework Version 2 0 there is no guarantee that the program will function correctly WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 76 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 2 Specify the Path of PAC Reference The PAC SDK provides a complete solution to integrate with WP 5231 and it s 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 Step1 Get the PACNET dll and copy it to the project folder The PACNET dIl can be obtained from the link below that has been provided on the CD or by downloading the latest version from ICP DAS web site CD wp 5231 SDK PACNET http ftp icodas com pub cd winpac _am335x wp 5231 sdk pacnet PACHET ll 20 2449 PACNET TPP OTOP Orrin WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 77 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 In Solution Explorer right click the References node and then click Add Reference Solution Explorer SDK Information A Solution SDKInformation 1 project Po SDKInfongiiti Add Reference Add Web Reference View Class Diagram Set as StartUp Project Debug Cut Remove Rename Unload Project J Open Folder in Windows Explorer Change Ta
28. 7_ SDK ARMV4 configuration toolbar select AM335x_WINCE7 SDK ARMV4 as shown in the following illustration p Release ANIS35x_VWINCE SDK A WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 93 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 3 Specify the Path of the PAC Reference The PAC SDK provides a complete solution to integrate with WP 5231 and it s 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 Right click the project name and then click Properties Solution Explorer SDKInfommation of Solution SDKInformation 1 project od SEI SDKInformation w C res ReadMe txt ih Resoure h ih Resourceppe h Deploy ih SDKInformatio l Sy SDKInfomatio Project Only c SDKInformatio Custom Build Rules h SDKInformatio E SDK Informatio Tool Build Onder c stlafx cpp h stdafx h References Rebuild View Class Diagram set as StartUp Project Debug Cut Remove Rename Unload Project Open Folder in Windows Explorer Properties WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 94 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 In left pane expand Configuration Properties and then click Link Step 3 In the right pane choose the PACSDK_CE lib in the Additional Dependencies item
29. All Rights Reserved E mail service icpdas com 5 1 3 Visual C Samples for PAC Standard APIs The PAC SDK includes the following samples that demonstrate the use of the PAC standard APIs in a Visual C language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For Visual C applications these demo programs can be obtained from CD wp 5231 Demo PAC Vc2008 Standara http tp icodas com pub cd winpac _am335x wp 5231 demo pac vc2008 standard Shows how to make a simple buzzer buzzer buzzer beep Retrieves information about the OS Devicelnformation Devicelnformation version CPU version SDK version etc Retrieves information about the GetRotary ID GetRotary ID Status of the rotary switch Shows how to read write data values from to the EEPROM or the backplane of the SRAM MultiRT MultiRT Shows how to manage the microSD _ Writes the managed cod for the rich graphical user interface that does not RealTimeTest RealTimeTest require true real time performance Shows how to read write data Registry Registry values from to the registry _ Shows how to read the name of a local I O modules via a UART Displays information about how to WatchDog WatchDog 3 operate the watchdog WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 109 Copyrigh
30. Antenna 1C016 ANT 421 02 2 4mm for WP 5231M 3GWA series only WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 19 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 Mounting the Hardware Step 1 Mounting WP 5231 Mounting on DIN rail Removing from DIN rail R a A T WAI S DUM ima A WI N DIN rail mounting The WP 5231 has simple rail clips for mounting reliably on a standard 35 mm DIN rail ah paa p Tite v 3 N i mm iijiiiiiiiiiiiii calf So i 4 l 4 4 N m i 3 b ee 6 8 Oe Pe ee N Da i i D aeee L EIE i Gm 9107 01018100 ETE WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 20 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Connecting to a PC the USB device and the power supply i Connect the mouse or keyboard to the USB port li Connect PC to the Ethernet port through an Ethernet switch iii Connect the power supply 12 to 48 VDC to PWR and P GND terminals iv Connect the monitor to the VGA port Power Supply 12 to 48 Voc fra PGND Monitor F gt LAN Port eee ee a ee p USB Mouse or USB Keyboard Ethemet Switch PC or Laptop WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 21 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 2
31. ENTER to set the Text property Properties IDC_BUTTON1 Button Control CeButtonEditor alg E Appe arance Check the SDK version Client Ed ge False Horizontal Ahenment Default Modal Frame False Multiline False Notify False static Ed ge False Caption o Specifies the text displayed by the control WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 99 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 5 Add the Event Handling for 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 SDKInformation re 3 32E9 Dialog x x a m Checkthe SDE verion m a B TODO Place dialog contwols hex WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 100 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Inserting the following code char sdk_version 32 TCHAR buf 32 pac_GetSDKVersion sdk_version pac_AnsiToWideString sdk_version buf MessageBox buf 0 MB_Ok avoid CsUK nformationD le OnbotlickedButtonl f j i f TODO Add your control notification handler code here char sdk yversion 3e TCHAR buf 32 pac GetslkKVersion sdk version pac AnsiloWidestringlsdk version buf HessaceBoxt buf O MB OR 4 Step 3 Inserting the follo
32. P DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 8 Property Tab Auto Execution The Auto Execution tab provides functions to configure programs running at WinPAC startup it allows users to configure ten execute files at most Tips amp Warnings The specific extensions are exe and bat and they are executed in order of program 1 program 2 etc PAC Utility 1 2 0 6 o File Help General Display JP Config Network Device Information Auto Execution Rotary Execution LJ At most 10 programs Program s Po crecute automaticaly FEFAME TT Se eee O The tab use to How to use Configure programs Click the Browse button to select the execute file which you running at startup want and then click the Apply button WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 44 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 9 Property Tab Rotary Execution The Rotary Execution tab provides functions to configure programs running at WinPAC startup in one of the user defined mode it allows users to configure ten execute files at most PAC Utility 1 2 0 6 File Help Rotary Switch O Rotary Switch 1 Rotary Switch 3 Rotary Switch 5 Rotary Switch 6 Ip The tab use to How to use Configure programs running at startup in one of the user defined mode Click the Browse button to select the execute file which you want and then
33. SDE Information Property Pages Configuration Active Debug v Platiorm Active fas DE_CE ii ka E Common Properties Additional Dependencies PACSDE lib Configuration Properties Ignore All Default Libraries No cee Tenore Specie Lib Debuzei enore specific Library Deployment Module Definition File E C Add Module to Assembly E Linker General Embed Managed Resource File Input Force Symbol References Manifest File Delay Loaded DLLs Debugging sembly Link Resource Sete Optimization Embedded IDL Advanced Command Line E Resources H EML Document Generator H Browse Information H Bvid Events Custom Build Step Authenticode Signe Additonal Dependencies epecities additional iteme to add to the link line iex kemea ib configuration specific BLA WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 95 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 In the right pane choose the following path in the Additional Include Directories item C Program Files Windows CE Tools SDKs AM335x_WINCE7_SDK Include Armv4i C Program Files Microsoft Visual Studio 9 0 VC ce7 atlmfc include testEm Property Pages Configuration Active Debug H Common Properties Configuration Properties General Debugging Deployment CAC General Optimization Preprocessor Code Generation L anguage Precompiled Headers Output Files Browse Information Ad
34. WP 5231 Updates This chapter provides information of the ViewPAC OS and SDKs and a guided tour that demonstrates the steps needed to update the ViewPAC OS and SDKs ICP DAS will continue to add additional features to WinPAC 5231 SDK and OS in the future so we advise you to periodically check the ICP DAS web site for the latest updates Both the files of OS updates and SDK updates can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD wp 5231 http ftp icodas com pub cd winpac_am335x wp 5231 OS_Image update _from_Micro_SD update_from_file SDK Modbus nModbus PACNET PACSDK mcUeldtteBiG u WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 117 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 1 OS Updates OS updates are part of the WP 5231 updates services to provide additional and more efficient features and functionality for WP 5231 operating system The updates files of OS image can be found separately on the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD wp 5231 0S_Image http ftp icodas com pub cd winpac_am335x wp 5231 os_image update_from_Eshell_or Micro_SD update_from_file There are two ways to update the OS Lm 1 Update from eshell Please refer to section 7 1 1 We recommend that
35. WinPAC you can just double click it on WinPAC to execute it WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 104 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 APIs and Samples This chapter provides a brief overview of PAC APIs and samples that have been designed for ViewPAC ICP DAS provides a set of samples in different programming languages You can examine the sample codes which includes numerous comments to familiarize yourself with the PAC APIs This will allow developing your own applications quickly by modifying these demo programs For full usage information regarding the description prototype and the arguments of the functions please refer to the PAC Standard API Manual P PAC_Standard_API_Manual_1 1 1 pdf Adobe Acrobat Pro SEE aa ASHE RAV REN MAH ai Rer PASRBe e ePVRBasBse t y N o G 745 l e a2 2 PAC API Functions m 6 w e EHP 2 1 System Information API 2 LP 2 1 1 pac_GetModuleName P pac_GetRotaryID LP 2 1 3 pac_GetSerialNumber P 2 1 4 pac_GetSDKVersion P 2 1 5 pac_ChangeSlot P 2 1 6 pac_CheckSDkYersion LP 2 1 7 pac_ModuleExists P 2 1 8 pac_GetOSYersion LP 2 1 9 pac_GetMacAddress eR EHP 2 1 System Information API A LP 2 1 1 pac_GeModuleName LP pac_Getrotaryip LP 2 1 3 pac_GetSerialNumber LP 2 1 4 pac_GetsDe Version P 2 1 10 pac_ReBoot LP 2 1 5 pac_ChangeSlat
36. XV board It can be used to implement various I O functions such as DI DO A D D A Timer Counter a hoa WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 7 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com gt gt gt Various Memory Expansions WP 5231 series modules provides various memory storage options such as FRAM and microSD Customers can choose the memory based on their characteristics e 64 KB FRAM no limit on the number of write erase cycles e microSD microSDHC to implement portable data logging applications supports up to 32 GB Unique 64 bit Hardware Serial Number to Protect Your Program ES A unique 64 bit serial number is assigned to each hardware PEN device to protect your software against piracy N Remote I O Module and Expansion Unit With the built in RS 485 and Ethernet port the WP 5231 series modules can connect RS 485 Ethernet remote I O units RU 87Pn ET 87Pn or modules I 7000 M 7000 ET 7000 Remote I O RU 8 Pn l 7000 M 000 ET 87Pn ET 7000 9 E F pi Oy mS SE M I l WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 8 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com gt Plastic and Metal Housing The default case is plastic material Metal casing is also offered to provide extra securi
37. an be integrated with external systems Here is an overview of the components and its descriptions The details of these items are as follows Front View itt a E i Pal a m LED Indicators LED Indicators Description The WP 5231 series modules has User Programmable LED Indicators one system LED indicators and two user programmable LED Indicators System LED Indicator RUN A system LED indicator display the status of the WP 5231 series modules The details are shown as below LED Indicator Color On state Meaning Power on and OS is running WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 12 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Top View VGA Port microSD Slot Description microSD Slot The microSD slot can be used to restore the WinPAC system and expand the memory up to 32 GB VGA port A VGA connector is a 3 row 15 pin connector that can be used 3 with a variety of supported VGA resolutions and the output 3 resolution covers 640x480 800x480 800x600 1024x768 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 13 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Bottom View Rotary Switch LAN Port Description AABABAAS u Sa m Switch mode selector switch which Rotary Rotary Switch is an operating provides seven funct
38. atforms ae u Menus and buttons Application Type Document Template Strings User Interface Features o bel TUS Dialog title SDKInformation Advanced Features Generated Classes WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 91 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 10 On the next page of the wizard click next MFC Smart Device Applicatic Overview Advanced features Platforms __ Windows Help Application Type Printing and print preview Document Template Strings C Activex controls User Interface Features al Windows sockets Advanced Features era Er EN Generated Classes Step 11 On the next page of the wizard click Finish Overview Platforms CSDKInformationApp CSDKInformationDlg Application Type Document Template Strings User Interface Features f Class name h file CSDKInformationApp SDKInformation h Advanced Features Generated Classes SDKInformation cpp WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 92 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 2 Configure the Platform When developing applications by using 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 Debug configuration toolbar select Release and then on the AM335x_WINCE
39. cd winpac am335x wp 5231 pc tool s eshell Step 5 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 Select Device Enter Device Name ae WINPAC2 70_ 535 Cancel Or Select From the List Reset devices to automatically put names on the hist Step 6 Select the latest version of the OS image file Monsunnunnnnnnnnnnn WP ded Se Cap TO a aap a a ET Wel elaj af a OF Sa Beetle erie 1 Pg 81 iSi ee ee eri ee lane Ad ed Pere ees ep ee ee dee yep ee apar ran oe de Maple te daig ot OF BAe LL mating be CF biati acing Diheret My Documents hy Computer File name biy MHetvack Files of type WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 120 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 Once the procedure is completed the Warning dialog box will appear as below shown then turn the rotary switch in position 0 normal mode Warning A Reboot this device right now Please turn the rotary switch to 0 normal Step 8 Click the OK button Warning A Reboot this device right now Please turn the rotary switch to 0 normal Step 9 Check the OS version D Start the PAC Utility and then select the Device Double click the Information tab to check the current OS version
40. cpdas com The tab use to How to use Enable Select the Enable check box in the Allow Anonymous field and then click the Apply button Disable Select the Disable check box in the Allow Anonymous field and then click the Apply button set the FTP Enter a new path in the Set FTP default download directory directory path to field and then click the Apply button Set the HTTP Enter a new path in the Set HTTP document root directory to directory path field and then click the Apply button Enable or disable anonymous FTP access Login The Login tab provides functions to maintain the FTP accounts PAC Utility 1 2 0 6 o General Display IP Config Network Device Information Auto Execution Rotary Execution access Login File Server Settings User Name Password Username Password ICPDAS eae The tab use to How to use Maintain the FTP Refer to the Appendix C 1 How to add a user account to accounts remote login the WinPAC from PC WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 41 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com FTP Server Settings The FTP Server Settings tab provides functions to set the SMB server SS el Eg PAC Utility 1 2 0 6 File Help General Display IP Config Network Device Information Auto Execution Rotary Execution Access Login File Server Settings fou can create a networked
41. d SDKInformation Deploy SDKInformation Clean SDKInformation Project Only gt Batch Build Configuration Manager Compile Ctrl F version 1 0 0 Page 70 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Open the browser and type the IP address of WinPAC Step 3 Upload the SDKInformation exe application and the corresponding PACSDK dll and PACNET dIl files to WinPAC Tips amp Warnings For applications programming in C and VB net with net compact framework when executing these application on WinPAC the corresponding PACSDK dll and PACNET dll must be in the same directory as the exe file WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 71 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 6 Execute the Application on WinPAC After uploading the application to WinPAC you can just double click it on WinPAC to execute it WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 72 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 First WinPAC Program in Visual C The best way to learn programming with WinPAC is to actually create a WinPAC program The example below demonstrates how to create a demo program running on WinPAC with C H To create a demo program with C that includes the following main steps 1 Create a new project 2 Specify the path of the PAC refer
42. device through the serial port For more information about these commands for communicating with expansion module please refer to htto www icodas com root oproduct solutions remote_ io rs 485 i 8k_i 87k i 8k i 87k selec tion html b ICPDAS Send to COM 1 0 4 2011f 2 f23 Connection Status COM Pork Baudrate Data Bik Parity Stop Bik Slot come 11s200 fe 0 Mone Parity f F ose End string with g None LFR OR CRLF LF string tc Binar Strin send Polling Polling Commands Responses j a Current Packet Size bytes beo Current Packet Size bytes bo Auto send Internal ims sog Total Packet Bytes bo Total Packet Bytes bo stare stop set Facket Quantity send b Facket Quantity received b Start Te em o o Time cear Stop Time _ Time WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 50 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 7 RegEdit The RegEdit provides a hierarchical representation of the registry on a target computer similar in appearance to the Windows Registry Editor The standard registry roots are represented you can add keys beneath a root to point to existing registry keys or you can add your own keys Values can be changed for existing keys or added for new keys and default keys can be specified For more information see Registry Settings Management in Deployment Registry Editor Versi
43. e Step 4 In the Templates pane click Smart Device Step 5 Type a name in the Name field and then click OK Here we will enter the name SDKInformation and a different location for the project if you wish Hew Project Project types Templates NET Framework 3 5 we E E Visual Basic Fisual Studio installed templates Windows Web je Smect Device Project simart Device Office 5 Hy Template Tistahass Biss Mabie fo Reporting So seacch Online Templates Test WCF Workflow Vimal C Visual C Other Project Types Test Projects A project for Smart Device applications Choose target platform Framework version and template in the next dialog box Name SUE Information Location C Documents and Settings indowstkty Documenta WM Windowst My Document we solution Hame SDE Tnfonmnation Create directory for solution ee Comat Tips amp Warnings AN The WCE7 only support NET Compact Framework Version 3 5 if your application uses NET Compact Framework Version 2 0 there is no guarantee that the program will function correctly WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 61 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 In the Target platform item choose Windows CE Step 7 in the _NET Compact Formwork version item choose NET Compact Framework Version 3 5 Step 8 in the Templates pane choose Device Application and t
44. ecccesccceeeeceeeeceeeeceusecsusecsueessueesseees 122 TZ ODK IDOE S espren EPa Aa Aara r 124 7 2 1 SDK Updates for VB NET Or CF sige cttectdvcdducosentdncdductdnsidosidextdenidastdavedasice 125 7 2 2 OD K UDGaleS TOP VISUQN OF ecrire 126 As TDS rOW Ocera IEE e Rede 127 Px MEOW TOUS UNC Ui Cll C ie Gare cancctnetnn R RENE RERE 127 A 1 1 How to use the network printer ccccceccceeececccseeceeeceueecseeseeseeaeenaees 128 A 1 2 How touse the USB PINTEN waceaacieneaneareaaaiea eee ee 130 A 2 How to Automatically Synchronize WinPAC Clock with an Internet Time Server ia A EE AE A A aise AE aD dese A E A ce yee pete wet EE E A E E E A E 131 A 3 How to use User Account Control in WINPAC cccccceececeeeeeeeeeeeeeeeeeseeeeeas 133 A391 HOW to Create an User ACCOUNT eesin AAA 133 A 3 2 How to Use Telnet to remote login the WinPAC from PC 005 135 A 3 3 How to Remove a User Account from the Login List ccceseeeee 137 me 41812 Om Module cen eer nee ee ee re O eee ee ee eee eee 138 Ga REVISION ISTO copor ape a caviar E Oaa 139 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 5 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 Introduction This chapter provides an overview of the WP 5231 series modules and its components and introduces the fundamental concepts for user familiar with the WP 5231 series modules WinPAC 5231 Series
45. ence 3 Add the control to the form 4 Add the event handling for the control 5 Upload the application to WinPAC 6 Execute the application on WinPAC All main steps will be described in the following subsection WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 73 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 1 Create a New Project The C project template is a composite control that you use in this example creates a new project with this user control Step 1 Run the Visual Studio 2008 Visual Studio 2008 Step 2 On the File menu point to New and then click Project Edit View Tools Test Window Help _ New gt a Project Ctl Shift N Open gt Web Site Shiftt Alt N Close BE ES Chin Project From Existing Code lt sy Gl Save All Ctl Shift s j f a a a fa a a a a a a a eee eee ee i r a a a r a f a F a a r a r a a werererereee f ee p a Exit ey oy WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 74 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the Project types pane expand Visual C and then click Smart Device Step 4 In the Templates pane click Smart Device Step 5 Type a name in the Name field and then click OK Here we will enter the name SDKInformation and a different location for the project
46. er 3 DomainUpDown gt HScrollBar ImageList Vv v 7 El ap Toolbox z a CIEI CXDIOTET ay a P pea i mamMenul WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 80 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Right click the Button control and then click Properties Formi cs Design Start Page Object Browser v x sneeeeeeeeeere dM Bessecnstentees rr BB a View Code Bring to Front 7h Send to Back Lock Controls select Forml amp Cut a Copy X Delete Properties mainMenul Step 3 In the Properties window type Check the SDK version and press ENTER to set the Text property Properties Buttoni System Windows Forms Button jA ANE E Appearance BackColor Control Font Tahoma 10pt ForeColor BB Control Text Check the SDK ersion w E Behavior ContextMenu none Text The text contained in the control mza Class ew F ies ay Class i eget oportis WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 81 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 4 Add the Event Handling for 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 Formi cs Design Start Page e xX
47. ference View Clase Diagram Setas StartUp Project Debug Cut Remove Rename Unload Project Open Folder i Windows Explorer Change Target Platform Properties Resource View ie solution Explorer ay chs Taw WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 64 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Select Browse tab and add the PACNET dIl Add Reference NET Projects Browse Recent Location LO SDEInformation bin C My Project obi PACNET d Name PACNET all File types Component Files d thb olb gt ocx exe WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 65 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 3 Add 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 Controls hm Pointer i Bindi
48. g the top level folder Step 2 Open the Dialog folder and then double click the dialog resource name IDD SDKINFORMATION_ DIALOG Resource Yiew SDKInformation a SDKInformation _ 9 SDEInformaton xrc gy Dialog Ef IDD_SDKINFORMATION DIALOG Icon Version SDKInformatonppe xc Bic View Ay solution Explorer a Properties The resource editor appears in the right pane WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 97 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 From the Toolbox drag a Button control onto the form Toolbox Dialog Editor h amp Pointer 7 x X Check Box al ab Edit Control al Combo Box H List Box E 7 Group Box Radio Button 3 Ha Static Text Picture Control 4 EP Horizontal Scroll Bar a ete ee E Fertical Scroll Bar d Slider Control v Ta Server Explorer 3 Toolbox H al Step 4 Right click the Button control and then click Properties SDKInformation re gt H Dialog Object Browser X l ES l i Copy a sai j Add Event Handler Insert ActiveX Control Add Class Add Variable Size to Content Check Mnemonics Properties WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 98 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 In the Properties window type Check the SDK version and press
49. he WP 5231 remotely on a PC The following tools are pre installed on WP 5231 and can work directly on WP 5231 that can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD wp 5231 System_Disk Tools http ftp icodas com pub cd winpac_am335x wp 5231 system_disk tools WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 31 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The following tools are supporting tools for remote managing the WP 5231 used on PC that can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD wp 5231 PC_Tools http ftp icodas com pub cd winpac_am335x wp 5231 pc_tools Eshell Remote_display_application TI Tools WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 32 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 PAC Utility PAC Utility is a collection of software applications that enable management and configuration of WinPAC system and features PAC Utility 1 2 0 5 Je Welcome to use PAC Ltility This tool will help you easy to use PAC CE series Task Bar setting Auto Hide Always On Top HIVE Registry Auto Save To Flash Default O Maunal Save To Flash S Backplane Battery Enable Autorun in plugging USB Disk Battery Battery2 Configure the s
50. he pin assignments in section 1 3 Overview WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 27 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Click the button DCON UtilityeDro 2 0 0 0 for CE7 arm WP5231 none Seg z o End Address ID Addr Baud Rate Checks Format Status Description Step 5 Click the module name to configure the I O module DCON Utility Pro 2 0 0 0 for CE AO Start Address o Tt End Address Description 115700 Disable MSi Modbus RTUJ8 DI 8 Dd XY 107 Firmware 0100 Configuration DO Host woT DI Latch DI Counter About DO Status O0 O01 02 02 04 O5 0s O7 Set Power On Power On Set Power On Read DO 4 O Fead Power OM Value Set 5 Set Safe Value Val Set Safe value O Read Safe value E WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 28 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 6 Changing the User Interface Language The Windows CE operating system on the WinPAC comes with several built in functions Step 1 Click Start menu point to Settings click Control Panel and then click Regional Settings Options Programs oie Favorites d Documents E Settings Network and Dial up Connections ef Taskbar and Start Menu Regional Settings Regional and Language Settings OK Regional Settings User Interface Lang
51. hen click Next Add Hew Smart Device Project SDEInformation Target platform Windows CE NET Compact Framework version WET Compact Framework Version 3 5 k Templates HE _ Description Fecal arc Loe Empty Project project for creating a NET ie pplication Compact Framework 3 5 forme application for Windows CE Plato Download additonal emulator images and smart device SOEs WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 62 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 2 Specify the Path of PAC Reference The PAC SDK provides a complete solution to integrate with WP 5231 and it s 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 Step1 Get the PACNET dll and copy it to the project folder The PACNET dll can be obtained from the link below that has been provided on the CD or by downloading the latest version from ICP DAS web site CD wp 5231 SDK PACNET http ftp icodas com pub cd winpac _am335x wp 5231 sdk pacnet PACHET dll 20 7 24491 PACNET WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 63 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 In Solution Explorer right click the References node and then click Add Reference SOlotion Explorer MyPorject Add Reference Add Web Re
52. ions related i to the selection of the operating mode for WinPAC Description LAN Port The WP 5231 has an Ethernet port that can be Link Act 100M 1G connected to a computer or device via an Ethernet cable The Link Act and 100M 1G LED indicators display the status of the WP 5231 LAN series modules The details are shown as below LED Indicator State Color Meaning ON Orange Network Speed 1 G 100M 1G OFF Network Speed 10 100 M ON Green The Link is active Link Act OFF The Link is inactive Blinking Green Network activity USB 2 0 Port The WinPAC has an USB ports that allow support for the USB 3 devices such as mouse keyboard or an external USB hard drive WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 14 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Description Pin Assignment The pin assignments of the connector are as follows Pin Signal Description COM 1 RS 232 6 GND 8 RXD___ COM 2 RS 232 9 GND__ COM 4 RS 485 14 D COM1 3 wire RS 232 Note 16C550 compatible Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 5 6 7 8 Parity None Even Odd Mark Always 1 Space Always 0 Stop Bits 1 2 FIFO 64 bytes COM2 3 wire RS 232 Note 16C550 compatible Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 5 6 7 8 Parity None Even Odd Mark Alwa
53. isual Studio 2008 Service Pack 1 http www microsoft com en us download details aspx id 10986 3 Visual Studio 2008 update for Windows Embedded Compact 7 http www microsoft com en us download confirmation aspx id 11935 4 Windows Embedded Compact 7 ATL Update for Visual Studio 2008 SP1 http support microsoft com kb 24681 83 en us WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 55 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 2 Installing WP 5231 SDK The WinPAC SDK 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 AM335x_WINCE7_SDK_YYYYMMDD msi The AM335x_WinCE7_ SDK YYMMDD msi can be obtained from CD wp 5231 SDK PlatformSDK The installation program for the latest version of the WinPAC Platform SDKs can be obtained from http ftp icodas com pub cd winpac _am335x wp 5231 sdk platformsdk File name am335x_wince _sdk_yyyymmdd msi yyyymmdd platform sdk released date Step 3 Follow the prompts until the installation is complete Step 4 Execute the VisualStudioDeviceWindowsEmbeddedCompact7 msi The VisualStudioDeviceWindowsEmbeddedCompact7 msi can be obtained from CD wp 5231 SDK PlatformSDK http ftp icodas com pub cd winpac _am335x wp 5231 sdk platformsdk WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 56 Copyright 2014
54. l help you easy to use PAC CE series Task Bar setting Auto Hide Always On Top HIVE Registry eu aa Backplane Battery Enable Autorun in plugging USB Disk Battery 1 Enable Autorun in plugging Micro SD Configure the synchronization with a time server WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 131 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Select the domain name from the Server drop down list and then enter a value in the Autoupdate Frequency field Internet Time 1 0 0 1 Stepi Server tock usno navy mil Step2 Autoupdate Frequency minute Steps Step 4 Check the Automatically synchronize with an internet time server Automatically synchronize with an internet time serwer check box Step 5 On the File menu click Save and Reboot Save and Reboot Reboot Restore Utility Default Settings Exit Step 6 The WinPAC will automatically synchronize with an internet time server regularly Step 7 Click the Update Now button to synchronize WinPAC clock immediately Internet Time 1 0 0 1 Stepi Server tock usno navy mil Step2 Autoupdate Frequency minute Steps Automatically synchronize with an internet time server WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 132 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com A 3 How to use User
55. ng samples that demonstrate the use of the PAC IO APIs in a C language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For C applications these demo programs can be obtained from CD wp 5231 Demo PAC CA IO http ftp icodas com pub cd winpac _am335x wp 5231 demo pac c 23 io ModbusRTU Master Co Shows how to use the XV107 nole 7 7 module of the XV board in console XVBoard XV107 mode XV107_ Modbus RTU M Shows how to use the XV107 aster_demo module of the XV board Remote For full details regarding the remote I O modules and its l 7000 or 87K demos please refer to modules in RU 87Pn http ftp icpdas com pub cd winpac_am335x wp 5231 demo p I O unit _ac applicabled_demo_for 7k module paf WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 112 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 3 Visual C Samples for PAC Standard APIs The PAC SDK includes the following samples that demonstrate the use of the PAC Standard APIs in a Visual C language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For Visual C applications these demo programs can be obtained from CD wp 5231 Demo PAC Vc2008 I0 Remote For full details regarding the
56. ngSource CheckBox ion Formi vb izn x ComboBox SDK Information omml vb Design Start Page fe ContextMenu S DataGrid ai DataSet TA Date TimePicker 3 DomainUpDown gt HScrollBar ImageList y Ta Server Explorer ap Toolbox v a rver y 30 j R mainMenul WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 66 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Right click the Button control and then click Properties DKInformation Forml vb Design Start Page 7 xX Aeeeeeeeeeeeeeeeeeereel Leeeseeeeeeeeeeeeeneres rrr es Oe LALLI View Code Bring to Front send to Back Lock Controls select Form Cut Copy Delete Menul Properties Step 3 In the Properties window type Check the SDK version and press ENTER to set the Text property Properties Buttoni System Windows Forms Button 24 AE E Appearance BackColor Control Font Tahoma 10pt ForeColor BB Control Text Check the SDK Version y E Behavior ContextMenu none Text The text contained in the control RR Class mar ap Properties WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 67 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 4 Add the Event Handling for the Control You have finished the design stage of your application and are at the point when you can start adding some code
57. nment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For VB NET applications these demo programs can be obtained from CD wp 5231 Demo PAC Vb net Standard http tp icodas com pub cd winpac_am335x wp 5231 demo pac vb net standard Shows how to make a simple buzzer buzzer buzzer beep Retrieves information about the OS Devicelnformation Devicelnformation version CPU version SDK version etc Retrieves information about the GetRotary ID GetRotaryID Status of the rotary switch Shows how to read write data values from to the EEPROM or 3 the backplane of the SRAM MicroSD_Managem MicroSD sai Shows how to manage the microSD Writes the managed cod for the rich VB_UI Call_VC Re graphical user interface that does not altime require true real time RealTimeTest performance _ Shows how to use the function of JIT compiler and garbage collector l Shows how to read write data Registry Registry _ values from to the registry Shows how to read the name of a local I O modules via a UART Displays information about how to WatchDog WatchDog operate the watchdog WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 107 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 2 C Samples for PAC Standard APIs The PAC SDK
58. ok WP Execute the application on WinPAC All main steps will be described in the following subsection Tips amp Warnings AN Before beginning a new project the Embedded Compact 7 ATL Update must be installed If this update is not installed the error message atlconv h error C2039 IstrlenW will be displayed after the program is compiled The update can be found on the CD that was provided with the package or by downloading the latest version from Microsoft CD wp 5231 SDK VisualStudioDeviceWindowsEmbeddedCompact7 msi http download microsoft com download 9 D D 9DDBD3EC A43C 4BCE A7A9 AEE9B1007BCE VisualStudioDeviceWindowsEmbeddedCompact msi WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 87 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 1 Create 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 Run the Visual Studio 2008 Visual Studio 2008 Step 2 On the File menu point to New and then click Project Edit View Tools Test Window Help _ New gt 3 Project Ctl Shift N Open gt Web Site Shift Alt N Close O Fie Chin Project From Existing Code m S S E D S a S A Fy g Save All CttShift s Recent Files Recent Projects ee ee el WP 5231 Series WEC7 based PAC User Manual version 1 0
59. om any window to accept the current settings User Interface Features After you create the project see the project s readme txt file for information about Ahaa Roane the project features and files that are generated Generated Classes Step 7 On the next page of the wizard select AM335x_WINCE7_SDK to be added to the project and then click Next Overview Select platform SDKs to be added to the current project Platforms Application Type Installed SDKs Selected SDKs Pocket PC 2003 AM335x WINCE SDK User Interface Features Smartphone 2003 Windows Mobile 5 0 Pocket PC SC Advanced Features Windows Mobile 5 0 Smartphone S Generated Classes Document Template Strings M AM335x_WINCE SDK Instruction sets ARMy4I WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 90 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 On the next page of the wizard select Dialog based and then click next Overview Application type Use of MFC Platforms O Single document O Use MFC in a shared DLL Application Type Dialog based Use MFC in a static library Document Template Strings Single document with DocList User Interface Features Document View architecture support Advanced Features Resource language Generated Classes ay 25 Step 9 On the next page of the wizard click next User Interface Features Overview Command bar e Menus only Pl
60. on 1 0 0 Page 84 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Open the browser and type the IP address of WinPAC Step 3 Upload the SDKInformation exe application and the corresponding PACSDK dll and PACNET dIl files to WinPAC Tips amp Warnings For applications programming in C and VB net with net compact framework when executing these application on WinPAC the corresponding PACSDK dll and PACNET dll must be in the same directory as the exe file WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 85 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 6 Execute the Application on WinPAC After uploading the application to WinPAC you can just double click it on WinPAC to execute it WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 86 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 First WinPAC Program in Visual C The best way to learn programming with WinPAC is to actually create a WinPAC program The example below demonstrates how to create a demo program running on WinPAC with Visual C To create a demo program with Visual C that includes the following main steps Create a new project Configure the platform Specify the path of the PAC reference Add the control to the form Add the event handling for the control Upload the application to WinPAC No
61. on 1 2 2 File Help BRHKEY CLASSES ROOT H HKEY_CURRENT_LISER E HKEY_LOCAL_MACHINE HKEY USERS WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 51 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 8 ISQLW35 The ISQLW35 is a Windows Embedded Compact 7 functionality that implements SQL server Compact 3 5 Query Tools soL amp omy x WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 52 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 9 INotepad The INotepad is a common text only editor The resulting files have no format tags or styles making the program suitable for editing system files that are to be used ina DOS environment INotepad File Edit Format Help WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 53 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 Your First WinPAC Program This chapter provides a guided tour that describes the steps needed to set up a development environment download install configure for user programming with the WP 5231 series modules Before writing your first program ensure that you have the necessary development tool and the corresponding WinPAC SDKs are installed on your system Development Tools WP 5231 series modules are Windows CE based units Windows CE is a mature embedded operating system which suppo
62. op PC and lets you control your WinPAC remotely ICPDAS VCEP is composed of two main components The Server which runs on WinPAC and the Client which runs on a Desktop PC Once a connection is established between the client and server initiated by the client the client will periodically send requests for screen updates and send mouse key click information to the server to simulate Each video frame is inter compressed against the previous frame and then 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 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 48 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 5 Remote_Display The Remote Display allows WinPAC to be controlled and monitored from a remote location This tool is composed of two parts a client and a server The server is a program named cerdisp exe running on WinPAC The client is a PC based program named cerhost exe running on the PC WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 49 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 6 SendToCOM The SendToCOM uses the serial port to communicate with expansion module To use the sendloCOM you can send data to expansion module through the serial port and receive data from other
63. pdas com A 1 2 How to use the USB printer Here are step by step instructions on how to use a shared printer Step 1 Run the Notepad and then open a WordPad format file si Edit View Format Tools Mey Open Ctr 2 Save Ctrl 5 Save AS Password Step 2 Set up the printer 1 Printer Hewlett Packard LaserJet 2 Port LPT 1 3 Paper Size Select the paper size Ctri P Print Recent Files Close Ctrl File Edit View Forma Tools ama 0 Tahom wi fit w Test Printer Hewlett Packard Laser ha Print Range Orientation Port LTP a All Portrait Selection Landscape Met Path O Q Margins inches Paper Size 144 s C Draft Mod Left 1 25 Top fi Advanced ORERE ee i M alse Right 1 25 Bottom F WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 130 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com A 2 How to Automatically Synchronize WinPAC Clock with an Internet Time Server You can synchronize your WinPAC clock with an Internet time server If synchronization is enabled the WinPAC clock is synchronized with an Internet time server Step 1 Double click the PAC Utility on the desktop Double click the PAC Utility shortcut f Step 2 On the General tab press Configure button PAC Utility 1 2 0 6 BN m e I Ci Tn mie Welcome to use PAC Utility This tool wil
64. re listed below CD wp 5231 Backup The files package for each release demo The demo programs for examples of use in the application Document The technical support documents for installation operation maintenance development and application Micro _ SD The files stored on micro_SD card that can be used to boot and recover the system from micro SD card OS_image The files and related information for OS releases and technology KOMORE The tools and utilies for operation with PC SDK The sources for development and application in your application System_Disk The tools and drivers related to System_Disk that install on WP 5231 Update The installation packages related to WP 5231 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 18 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Getting Started This chapter provides a guided tour of the WinPAC installation and configuration that describes the steps needed to download install configure and run the basic procedures for user working with the WinPAC for the first time Before starting any task please check the package contents If any of the following package contents are missing or damaged contact your dealer distributor Fuocx MSS Adapter o i 2 L i WP 5231 A microSD card and a micro SD SD adapter f Software Utility CD Screw Driver GSM GPRS
65. re this printer with other users on your network To enable sharing for this printer click Share this printer Drivers IF this printer it shared with users running different versions of Windows You may want to install additional drivers so that the users do not have to find the print driver when they connect to the shared printer Additional Drivers WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 128 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 On WinPAC Run the Notepad and then open a WordPad format file ME Open Ctr 2 Save Ctrl 5 Save As Password Print Ctri P Recent Files Close rly Si Edit View Format Tools Step 3 Set up the printer 1 Printer PCL Laser 2 Port Network 3 Net Path ServerName PrinterName The ServerName is the name or IP of the PC The PrinterName is the name of share printer of the PC 4 Paper Size Select the paper size File Edit View Format Tools Ga Ea Ky Tahom 14 Test Printer PLL Laser Print Range Orientation Port Network y All Portrait Met Path RD1 User2 anna C selection CO Landscape Margins finches Left 1 25 Top fi ae Right ji 25 Bottom 14 Paper Size A4 Advanced Graft Mode WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 129 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service ic
66. rget Platform i Properties Resource Vew a Solution Explorer B Class View WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 78 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Select Browse tab and add the PACNET dIl Add Reference NET Projects Browse Recent Location LO SDEInformation bin C My Project obi PACNET d Name PACNET all File types Component Files d thb olb gt ocx exe WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 79 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 3 Add 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 Controls hm Pointer i BindingSource CheckBox z8 ComboBox Formi cs Design Start Page Object Browser vx fe ContextMenu S DataGrid a DataSet TA Date TimePick
67. rts rapid development The table below lists the supported development tools and development languages to develop WP 5231 applications Languages Visual Development Tools Basic Net Any versions except Visual Studio Professional 2005 or earlier Professions Visual C Visual C Any versions except Visual Studio Professional 2008 Any versions except Visual Studio Professional 2012 or later O Peresso o WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 54 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 1 Preparing the Development Tools WP 5231 is a Windows CE based unit Windows CE is a mature embedded operating system which supports rapid develooment The standard development tool is list as follows which is highly integrated with comprehensive support for developing applications of Windows CE based WP 5231 gt Visual Studio 2008 Microsoft Visual Studio 2008 WP 5231 has NET Compact Framework 3 5 installed Visual Studio 2008 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 Visual C and Visual Basic NET Installation Steps 1 Visual Studio 2008 Professional Purchase from MSDN subscription Microsoft DreamSpark https www dreamspark com Product Product aspx productid 1 2 V
68. stem_disk Recycled Application Data My Recent Documents My Documents Program Files Temp Windows a O ee Fs OO iii dh ae aiii Step 3 Reboot the WinPAC Css al qd Y ar Save and Reboot Reboot Restore Utility Default Settings Exit WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 25 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 5 Using DCON Utility Pro to Configure I O Modules DCON Utility Pro enables users easily to configure and manage the I O modules via Ethernet or serial ports RS 232 RS 485 Step 1 Double click the DCON_Utility_Pro on the desktop L Double click the DCON Utility _Pro shortcut button rh d stare Address o End Address JD Addr Baud Rate Checks Format Status Description p aves A aa TT 5 Se TF nitiit i WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 26 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Configure the communication settings COM Port Option COM Port Timeout COMO Backplane 200 OE 8 1 O g 85 1 Cancel Tips amp Warnings A The COM port settings for expansion I O modules are listed below COMO Backplane lt amp COMIDA Se For more information on these COM port selections please refer to the specification of t
69. t 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 PAC IO APIs The diagram below shows the types of the PAC IO APIs provided in the PACSDK or the specified SDK For more information about the APIs and samples provided by the expansion O modules please refer to chapter 6 I O Modules and SDK Selection WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 110 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 1 VB NET Samples for PAC Standard APIs The PAC SDK includes the following samples that demonstrate the use of the PAC IO APIs ina VB NET language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For VB NET applications these demo programs can be obtained from CD wp 5231 Demo PAC Vb net lO eae XV107_Modbus_RTU_Ma Shows how to use the XV107 3 ster_VB_ demo 3 module of the XV board Remote 3 For full details regarding the remote I O modules and its demos I 7000 or I 87K please refer to modules in RU 87Pn 3 http ftp icodas com pub cd winpac_am335x wp 5231 demo pa I O unit c applicabled demo for 7k module pdf WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 111 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 2 C Samples for PAC Standard APIs The PAC SDK includes the followi
70. t 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 HP LaserJet 4000 series HP LaserJet 4100 series HP LaserJet 2100 series HP LaserJet 2200 series HP LaserJet 1200 HP LaserJet 3200 HP LaserJet 3300 HP LaserJet 4200 series HP LaserJet 4300 series HP LaserJet 5000 series HP LaserJet 5100 series HP LaserJet 8000 series HP LaserJet 9000 series printers If you need the latest support of HP PCL6 printer you can refer to following link htto n20000 www2 hp com bizsupport T echSupport Document sp object D bpl04568 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 127 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com A 1 1 How to use the network printer Here are step by step instructions on how to use a shared printer Step 1 On PC side check the name of the PC and the shared printer System Properties f Ed Remote Computer Hame Hardware Advanced Windows Uses the following information to identify your computer on the network For example Kitchen Computer or Mary s Computer Server ame Auto HP LaserJet 2200 RD1 on KEVIM_WINPAC Properties Full computer name General sharing Ports Advanced Color Management m fou can sha
71. to provide the program s functionality Step 1 Double click the button on the form SDKInformation Fonnl vb Design 7 x Check the SDK Version mainMenul WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 68 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Inserting the following code Dim data 30 As Byte PACNET Sys GetSDKVersion data MessageBox Show PACNET MISC WideString data Public Class Forml Private sub Buttonl Click Byl al sender 4s System Object ByVal e 4s System EventArgs Handles Buttonl Click Dim dataf30 As Byte FACHET System Get lEersionidata j WessageBox howl PACNET MISC Widestringidata 4 End sub End Clase Tips amp Warnings AN The PACNET of using PACNET is case sensitive WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 69 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 5 Upload the Application to WinPAC WinPAC supports FTP server service You can upload files to WinPAC or download files from a public FTP server Ma ____ iiidid D 0 ADA el 1 3s Fe Step 1 On the Build menu click Build SDKInformation File Edit WP 5231 Series WEC7 based PAC User Manual View Project Build cS 2 Debug Tools Test Window Help Build Solution Ctrl Shift B Rebuild Solution Deploy Solution Clean Solution Build SDKInformation Rebuil
72. trol to the FOr cccccccccsececceeeeeceeseeseesesseesesseeesaseesaaeees 97 4 5 5 Add the Event Handling for the Control ccccccccseeeeeeeeseeeeeseeesaeeeens 100 SAPS and oamp oc ene er eee ener a ee ee eee ee eee 105 5 TRAC Standard APIS pte stares ter cp E E R 106 5 1 1 VB NET Samples for PAC Standard APIS cccccseeeeeseeeeeeeeeeseeeeeees 107 5 1 2 C Samples for PAC Standard APIS cccccccseeeeeeeeeeeeeeeeseeeeeseeeeeens 108 5 1 3 Visual C Samples for PAC Standard APIS ccecceeeeeeeeeeeeeeeeeeees 109 Sa ay Oi IOAP cee ee eee ee ee ee ee ee ee eRe 110 5 2 1 VB NET Samples for PAC Standard APIS ccccccseseeeseeeeeeeeeeeeeeeenes 111 5 2 2 C Samples for PAC Standard APIS ccccecseeeeeeeeeeeeeeeeeeeeeeseeeeens 112 5 2 3 Visual C Samples for PAC Standard APIS ccccceeeeeeeeeeeeeeeeeeees 113 6 I O Modules and SDK Selection cccccccccccseececeeeeeceeeeeseeeeeseeesseeesseeeesseeeesseeeesseees 114 TENNIP OZ BNW DOCS ages sagasecssrdasasegedusudsgedasasegadusesssedased E dedasusbadusiesueaeaesiee 117 EIRE DEAE o 2 ener ee nee er AE IE RR RC Rene ern Se CEPR ree AAI nS oe 118 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 4 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com FAALOS Updates USING IE SION esseere aE N 119 7 1 2 OS Updates using MICrO_SD ccccce
73. ty gt Small and Easy Installation The WP 5231 series modules have a slender shape 91 mm x 132 mm x 52 mm to be installing in a narrow space with DIN Rail j hy f p et aa a eet DR A A E aanl id vith om gt Highly Reliable Under Harsh Environment Our WinPACs operate in a wide range of temperature and humidity e Operating Temperature 25 75 C e Storage Temperature 40 80 C e Humidity 10 90 RH non condensing WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 9 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 2 Specifications The table below summarizes the specifications of the WP 5231 series modules Models 7 WP 5231 WP 5231M 3GWA English German French Spanish Russian Italian Korean Multilanguage Support Simplified Chinese Traditional Chinese FRAM 64 KB 3 microSD socket with one 4 GB microSD card Expansion Flash Memory l support up to 32 GB microSDHC card RTC Real Time Clock Provide second minute hour date day of week month year 64 bit Hardware Serial Number Yes for software copy protection Dual Watchdog Timers i Yes Rotary Switch Yes 0 9 LED Indicators 1 LED for Power and Running 2 LEDs for user defined VGA amp Communication Ports Resolution 640 x 480 800 x 480 800 x 600 1024 x 768 RJ 45 x 1 10 100 1000 Base TX Auto negotiating A
74. ty Tab Device Information ccccceceececeeeeceeeeceeeeneeeeseeeeseeenees 43 32 10 F FODCNY Tab AUTO EXC CUUOM esos ectreeti E ce sreettesbenedacuiaateereees 44 3 1 9 Property Tab Rotary EX Cution secina 45 2 IN UUV PIO aces eee eh a a kee shel ase e sade de saheinarenaheancenedenaevediiadecese 46 9 9 ASKIVIGE ayain Gaede ace rane siege eae idee atiaeeh aie gasses 47 SANV ca ge ne Pee ree he een en ee ee oe PCE eee eee me ee meee ee eee eee eee Peer eo reee 48 JAROM WISDIAY rein e e E A 49 320 DONO LOGON aona RAS 50 SA ROE Ee a i hahaa pad epee tte eto hapa da arta dae pha TT 51 SE o AN E EE E AE A EA A A EE E E E E 52 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 3 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com FINOP A tes sete catoecaiecou asa nails ee tana tp tareta ee tanea tect anae Sendecuecuatocendaatecanteataccudeciunnatereaioas 53 A TOU IST VINA Gl LOGI AIM ice 3 ere codes tcaasdadenedsdeccetedanscadacedanetadeessadsdadspedsteeieeneceateedadtos 54 4 1 Preparing the Development Tools cccccceccceecceeeeneeeceeeeueeneeseeeeaneeneeeseeesees 55 Ai 2 NASTAMMMIG VV 2023 VO LK cepidavotostdartdneddavadantdosidertdecddanidapbienidentdectdenidentlonigaudacoess 56 ASS First WIN AG Programin MB IN epoca cceyesee ceeceenccasatanceweseancsesctaxeserstanccarctences 59 4 3 1 Create a NCW PIoleCl senecceneseeeieene anaes 60 4 3 2 Specify the Path
75. uage Input Language Your locale The locale option affects how some programs format numbers currency time and dates Customize WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 29 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Click User Interface Language tab choose to your local language and then click OK Regional and Language Settings OK User Interface Language Input Language ial User Interface Language Regional Settings The option will determine the language used for the menus dialogs and alerts English United States Engish United States French France German Germany Italian Italy Portuguese Brazil Spanish Spain International Sort Step 3 Run the PAC Utility and then reboot the WinPAC for changes to take effect File Save Save and Reboot ea Reboot k 4 Restore Utility Default Settings AFAC Utilit Exit WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 30 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Tools and Tasks This chapter provides a brief introduction of the WP 5231 service tools and its benefits There are several tools and utilities built in and designed for use with WP 5231 Some of these are pre installed on WP 5231 and can work directly on WP 5231 and some of these are supporting tools and can help you to manage t
76. ual version 1 0 0 Page 37 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 4 Property Tab Display The Display tab provides functions to configure the monitor settings PAC Utility 1 2 0 6 _io General Display IP Contig Network Device Information Auto Execution Rotary Execution Screen resolution 800 x 600 Screen refresh rate Less J More 7o 800 by 600 pixels The tab use to How to use Move the slider to the left to decrease the resolution or move the slider to the right to increase the resolution and then click the Apply button Change the screen Select the desired refresh rate from the Screen refresh rate refresh rate drop down list and then click the Apply button Adjust the screen resolution WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 38 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 5 Property Tab IP Config The IP Config 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 PAC Utility 1 2 0 6 _io LAN 1 MAC Address 8 05 E5 88 96 8C Use DHCP to get IF address Assign IF address IP Address 10 1 0 86 Mask 255 255 0 0 Gate
77. uto MDI MDI X LED indicators USB 2 0 RS 232 RxD TxD and GND Non isolated Ethernet RS 232 RxD TxD and GND Non isolated RS 485 Data Data Non isolated WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 10 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com RS 485 Data Data 2500 Vpc isolated Wireless Port Wireless Port I O Expansion I O Expansion Bus Yes one optional XV board Dimensions W x H x D 94 mm x 132 mm x 52 mm 117 mm x 126 mm x 62 mm Housing Plastic Installation DIN rail mounting Wall mounting Environmental Operating Temperature 25 C 75 C Storage Temperature 30 C 80 C Ambient Relative Humidity 10 90 RH non condensing Input Range 2 Voc 48 Voc Consumption 4 8W 0 2 A 24 Voc Modem Specification of WP 5231M 3GWA 3G WCDMA Band UMTS 2100 1900 850 MHz UMTS HSDPA HSUPA Data Transfer 3 Upload Max 5 76 Mbps 3 Download Max 7 2 Mbps Compliant to GSM phase 2 2 Class 4 2 W 850 900 MHz Class 1 1W 1800 1900 MHz Coding Schemes cs 1 CS 2 CS 3 CS 4 Text and PDU mode WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 11 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 3 Overview The WP 5231 Series modules are equipped with several interfaces and peripherals that c
78. vanced Command Line z Linker General Input Manifest File Debugging System Optimization Embedded IDL Advanced Command Line Resources XML Document Generator Browse Information Build Events Custom Build Step Authenticode Signing OM Blationm Active 2000_WINCE _SDK 86 vi C Program Files Windows CE Tools SDKs N 2009 Resolve using References Debug Information Format Program Database fZ1 Suppress Startup Banner Yes nologo Waming Level Level 3 W3 Detect 64 bit Portability Issues No Treat Wamings As Errors No Additional Include Directories Theat one or more directories to add to the include path use semi colon delimited list if more than one a Bui WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 96 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 4 Add 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 In Resource View expand the resources tree by openin
79. way 10 1 0 254 DNS Serveri 10 0 0 3 Reboot for changes to take effective Apply The tab useto How touse Use DHCP to get IP address Select the Use DHCP to get IP address option and then click Set the network the Apply button settings Assign an IP address Select the Assign IP address option and then click the Apply button WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 39 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 6 Property Tab Network The Network tab comprises two tabs Access and Login Access The Access tab provides functions to enable disable the FTP access enable disable anonymous FTP access and configure the FTP and HTTP directory path PAC Utility 1 2 0 6 E m General Display IP Config Network Device Information Auto Execution Rotary Execution FTF Enable Disable Allow Anonymous Enable 7 Disable Set FTF default download directory to breme ty Set HTTF document root directory to raone O Jeli aeh The tab use to How to use Enable 3 Select the Enable check box in the FTP field and then click Enable or disable the Apply button the FTP access 3 Disable Select the Disable check box in the FTP field and then click the Apply button WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 40 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service i
80. wing code into the header area include PACSDK h finclude stdafx h include SDKInformation h include SIKI nformationD lg h include PACSDK H WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 101 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 5 1 Upload the Application to WinPAC WinPAC supports FTP server service You can upload files to WinPAC or download files from a public FTP server T of BO a O Ke a LLL LA LE AT IE i Ss 2 iS Step 1 On the Build menu click Build SDKInformation File Edit View Project Build Debug Tools Test Window Help E Build Solution Ctrl Shift B Rebuild Solution Deploy Solution Clean Solution Build SDKInformation Rebuild SDKInformation Deploy SDKInformation Clean SDKInformation Project Only a Batch Build Configuration Manager Compile Ctrl F WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 102 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Open the browser and type the IP address of WinPAC Step 3 Upload the SDKInformation exe application to WinPAC gt 2 xX Br on WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 103 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 5 2 Execute the Application on WinPAC After uploading the application to
81. ynchronization with a time server The PAC Utility includes the following menu bars and property tabs All of these functions will be explained later Menu bar Property Tab General General2 Display IP Config Network Device Information Auto Execution gt gt Rotary Execution WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 33 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 1 Menu Bar File GE Save Save and Reboot Reboot Restore Utility Default Settings Exit The menus use to How to use Reboot Restarts the WinPAC Restore Default Settings Restore the settings of WinPAC to its default Exits the PAC Utility WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 34 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 2 Menu Bar Help About PAC Utility About gt PAC Utility version 1 2 0 5 Copy Right c 2005 ICPDAS Co LTD All Rights Reserved PAC Utility and the PAC Utility logos are trademarks of TCPDAS PAC Windows CE en US The menus use to How to use Displays a dialog box with information about PAC Utility including the current version and copyright information WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 35 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 3 Property Tab
82. you use this one for more quicker and easier to update 2 Update from micro_SD Please refer to section 7 1 2 WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 118 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 1 1 OS Updates using Eshell By default the OS updates via LAN Therefore to update the OS image make sure LAN is connected to the PC Step 1 Get the latest version of the installation package file and then unzip it The latest version of the installation package file can be found from ICP DAS web site http ftp icodas com pub cd winpac_am335x wp 5231 os ima ge update from eshell or micro sd Step 2 Run the registry clear exe The registry exe can be found on the CD that was provided with the package or by downloading the dadi latest version from ICP DAS web site Run the CD wp 5231 PC_Tools Eshell _ sero http ftp icodas com pub cd winpac _am335x wp 5231 pc_ tool s eshell Step 3 Place the rotary switch in position 3 OS update mode WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 119 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Run the ESHELL exe and then restart the WP 5231 The ESHELL exe can be found on the CD that was provided with E the package or by downloading the latest version from ICP DAS web site ESHELL CD wp 5231 PC_Tools Eshell htto fto icodas com pub
83. ys 1 Space Always 0 Stop Bits 1 2 FIFO 64 bytes WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 15 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com COMS3 2 wire RS 485 Note 16C550 compatible Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 5 6 7 8 Parity None Even Odd Mark Always 1 Space Always 0 Stop Bits 1 2 FIFO 64 bytes COM4 2 wire RS 485 Note 16C550 compatible Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 5 6 7 8 Parity None Even Odd Mark Always 1 Space Always 0 Stop Bits 1 2 FIFO 64 bytes WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 16 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 4 Dimensions WP 5231 91 0 1 E EEF pr D H a 1T C a P i ll a l g hg H i Left Side View Front View WP 5231M 3GWA 71 0 J 113 0 fl ad 126 0 14 0 Left Side View Front View WP 5231 Series WEC7 based PAC User Manual version 1 0 0 Page 17 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 5 Companion CD This package comes with a CD that provides a collection of the software utility documentation drivers demo program and application The CD contains several subdirectories located in wp 5231 directory All of them a
Download Pdf Manuals
Related Search
Related Contents
Installation and Operation Manual Sony VGN-Z698Y Marketing Specifications 表示:PDF (1MB) メディカルフィットネス シリーズカタログ Avisos y garantía BRIO - Application note - BRIO Extension & Ethernet User Manual - Thomas Kunz Guida all`installazione di Solaris 9 OP Series Installation Manual Version 7 Emerson CC1000DM Network Card User Manual Copyright © All rights reserved.
Failed to retrieve file