Home

VP-23W1/VP-25W1 User Manual

image

Contents

1. 98 5 APIs and Demo References 99 D lie 100 5 1 1 Demo program for WinPAC Standard 1 100 5 12 Demo program Tor PAG tio eee poeseos Poen oe etae oe Eee she 102 5 1 3 C Demo program for ViewPAC Particular 105 5 2 Demo Programs with eMbedded Visual 106 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 4 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 1 Demo program for WinPAC Standard API 106 5 2 2 Demo program for 108 5 2 3 eVC Demo program for ViewPAC Particular 111 VIeWPAC Updates csucnuxe kae x SEKESKEN SKK M 112 SNNEO INO 113 6 1 1 Updating the Boot Loader and the ViewPAC OS image from files 115 6 1 2 Updating the ViewPAC OS image from eshell 121 02 eB CR 9 NN ITE 126 6 2 1 WinPAC SDK updates for C or 127 6 2 2 WinPAC SDK updat
2. dll OxO0037 acd IELMETD D11 Punnincgq OxOO0Se3e0 subserver dll Bunning HTF timezvcoc dll Bunning VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 172 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings For more information about using services tool you just type services help File Edit Help help print this text List lists loaded services load service name gt activates service that is 1 stop Service instance stops pauses a service doe ztart zerwvice instance zstartz resumes a Service refresh lt instance causes service to refr unload zervice instance gt causes service to be ur register cservice name gt service will be automatic ebonot unregister lt service will not be aut ext reboot command service name gt argl send servi service help zzervice name gt get information on what serv are supported service name gt service s name in the registry 3 service instance particular instantiation ii file name gt 3 silent d output to debugger VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 173 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix D Revision History Revision Date Des
3. 162 C 3 2 Modify vcp file to upgrade the old WinCon project 166 HOW TO USS PIME asia 167 C 4 1 How to use network printer 168 C 4 2 How to use printer via 05 170 Go FONW OUSE 100 PE T T 171 Appendix D Revision History 174 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 6 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 INTRODUCTION ViewPAC Family Multiple Developments Y I S Sa ce me o T LES gt f gt Mee E gt Visual Studio net All in one Colorful 1265 Waterproof Touch Screen Communications 31 0 Slots WM T More than 60 types of I O are supported ViewPAC combines WinPAC graphic display and keypad in one unit It equips a PXA270 CPU 520 MHz running Windows CE NET 5 0 operating system various connectivity USB Ethernet RS 232 485 slots to expand I O modules 3 5 5 7 TFT LCD and a rubber keypad Its operating system Windows CE NET 5 0 has many advantages includes hard real time capability small core size fast boot speed interrupt handling at a deeper level achievable deterministic control and low cost Running Windows CE NET 5 0 in the ViewPAC gives it the abilit
4. Edt Favorites Tools Ld Res E Address ftp J Ftp icpdas compub cd winpac napdos wp 8x 4x Go VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 115 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Get the latest version of the installation package and download it to ViewPAC then execute it For VP23W1 The latest version of the installation package can be obtained from CD ANapdosWwp 2000 50 image Wp 23w1 Nupdate from file http ftp icodas com pub cd winpac napdos vp 2000 ce50 os image vp 23w1 updat e from file VP23xx YYYYMMDD Ver X X X X XX exe 2 3 Release Date Language YYYY Year Software en English MM Month Major version tc Traditional Chinese DD Day Minor version sc Simplified Chinese Build number Reversion For VP25W1 The latest version of the installation package can be obtained from CD Napdos vp 2000_ce50 os_image vp 25w1 update_from_file http ftp icodas com pub cd winpac napdos vp 2000 ce50 os image vp 25w1 updat from VP25xx_YYYYMMDD_Ver X X X X_XX exe eb 3 Release Date e Language YYYY Year Software en English MM Month Major version Traditional Chinese DD Day Minor version sc Simplified Chinese Build number Reversion VP 23W1 VP 25W1 User Manual version 1 0
5. Release e Base address Entry point symbol 0 0001 0000 wWinMainCRTStartup Stack allocations Heserve Commit 0 1 0000 01000 Version information Major Minor Project Options UARTCE lib fnologo fhbase 0x00010000 fstack 0x10000 0 1000 wVVinMainCRTStartup lincremental no pdb ARMVABel Demo pdb x cw VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 164 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 After performing above mentioned steps build the project your project should build success If not it will Show error message as follow Please continue with the following steps Error executing link exe Demo exe 1error s 0 warning 5 Build Debug FindinFiles1 Find in Files 2 al Ln11 Col17 REC COL OVR READ Z Step 9 On the Project menu click Settings command m File Edit View Insert Eroject Build Tools Window Help met Active Project k Add To Project d Dependencies Export Makefile Insert Project into Workspace Step 10 On the Project Settings dialog select the Link tab and change the value of the Project Options field ARM to THUMB and then built the project Project Settings f Settings For General Debug C C Link Resources M no Win32
6. 14 ipe Q 16 1 5 Companion OD 18 SANO a EEE G 19 2 ONW O eee EEEE 19 2 2 Connecting Power and I O 23 2 3 Inserting nennen nnne nnns 24 20 Ie Valet DEOOD 27 2 5 Contigutng the BOoPIVIOGG zur rad rt eod 29 2 6 Testing the 33 2 7 Using ViewPAC Utility to manage the 35 2 8 Using Utility to Configure the I O 36 9 5 CM 38 MEE 41 39 2 NAP ORG CEG 42 LOG 43 3 4 44 comu 45 99 E E E UNES 46 ORNA 568 gt gh AM T T UU E 51 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 3 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 Your First ViewPAC Program 60 4 1 Preparing the Development 60 Ae VICWE AC 60 4 3 Understanding the ViewPAC 5 61 4 3 1 VIEWPAG SDK OVerVIOW uice euo en ena
7. Folder Demo Explanation This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the DO values to DO module 7k87k_do This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI and the DO values of the DIO module This demo program is used by 7K or 87K series Al modules which connected through a COM port 7k87k dio For C application these demo programs can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC DotNET C NET PAC_IO fto fto icodas com pub cd winpac napdos wp 8x4x ce50 demo winpac dotnet c 23 net pac io VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 104 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 3 Demo program for ViewPAC Particular API The table below describes the ViewPAC demos that have been designed to demonstrate the particular features of the ViewPAC Backlight Buzzer LED Folder Demo Explanation Shows how to make a simple buzzer KeyPad 00 KeyPad Shows how the KeyPad operates Shows how to control the LCD LCDBackLight LCDBackLight backlight Shows how to control the LEDs Shows how to control the PlaySound PlaySound microphone in and earphone out For C application these demo programs can be obtained from CD Napdos vp 2000_ce50 Demo ViewPAC
8. Siening Authenticode S1gnmg Sign the project output with this certificate Devices select Certificate VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 154 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 On the Tools menu click Options command File Edit View Project Bvid Debug Data Format Tool Window Community Help E Attach to Process al Connect to Device Tu Connect to Databas Connect to Server LA Code Snippets Manager Ctrl B Choose Toolbox Items Add m Manager Macros Create GUID Dottuacator Community Edition External Tools Device Emulator Manager Impor and Export settings Customize Step 6 On the Options dialog select PAC 270 from the Show devices platform list and then click the Properties button Environment show devices for platform Projects and Solutions snurce Control el v Text Edito omnes 2 em Pocket PC 2003 enmartphone 2003 Windows CE 50 n J HTML Designer H Windows Forme Designer Default device CAYMAN AEMVA Release wv VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 155 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 the CAYMAN ARMVAI Release Properties
9. Battervl Batteryz Change HTTP document root directory XwindowsVvww wwwsub to Sena VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 45 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 5 1 Menu Bar The ViewPAC Utility includes the following function menu All function menus will be explained later v File Menu Help Configuration Save Save and Reboot Reboot Without Save Restore Default Settings Exit Y Help Menu File LS Configuration Reset System to Default Release Notes About v Configuration Menu File Help Configuration Import Registry key Export Regsitry key Store All Registry Setting Dump All Registry Setting VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 46 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com File Menu sis Help Configuration Save Save and Reboot Reboot Without Save Restore Default Settings Exit The menu commands Use to save Saves the settings into Flash The new settings don t take effect until the ViewPAC restart Save and Reboot saves the settings into Flash and restart the ViewPAC The new settings will take effect after the ViewPAC restart Reboot Without Save Restarts the ViewPAC without save the settings into Flash Restore Default Settings Restarts the setting
10. soure Browser sume Browser Pile fi Error Lookup Remote Call Profiler WICESOO Remote File Viewer 500 Remote Heap Walker WICESQU ft Remote Kernel Tracker OW CESOO Pa Remote Performance Monitor f Remote Process Viewer MCESO0 Remote Registry Editor WICESUD Remote Spy WICESDU Ah Remote System Information CWiCESDD Ah Remote Zoomin WICES500 select Remote Tools k Customize ptons Record Qvick Macro tirs huft E Play Quick Macro Ltl Shitt P configure Platform Manager VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 90 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 In the Option dialog select the Directories tab and do the following in this order to specify the header file include path Platform e cin 270 STANI 32 WCE ARMVAI G Include files Directories TOR CAProgram Files Windows CE Toolstwce500 S TANDARDSDE 500 Include 4 CAProgram Files Windows CE Toolsiwcen 05 TANDARDSDE 500 mfictinclu Program indo u rre AMDABHDEDE Click this button specify the header file include path The Viewpacsdk h file can be obtained from CD Napdos vp 2000_ce50 SDK ViewpacSDk http ftp icpdas com pub cd winpac napdos vp 2000 ce50 sdk viewpacsdk VP 23W1 VP 25W1 User Manual ve
11. Add to current workspace Dependency of Win32 WCE ARMV4 MWin32 WCE ARMVAI OWin32 WCE ARMVAT OW in32 WCE MIPS15 MWin32 WCE MIPSII MWin32 WCE MIPSII FP Tips amp Warnings The selected CPU type must have Win32 WCE 4 Step 4 Click the button to start the wizard VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 85 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 On the first page of the wizard select Dialog based option and then click the Next button to the next step WCE App Wizard exe Step 1 of 4 What type of application would you like to create Single document Document View architecture support What language would you like your resources in Finish Step 6 On the next page of the wizard leave all the options as they are and then click the Next button to the next step Step 2 of 4 What features would you like to include Windows Help Active Controls Please enter a title for your dialog SDKinfo Help contents file SDKinfo htp Finish Cancel VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 86 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 On the next page of the wizard leave all the options as they then click the Next
12. Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 UNDERSTANDING THE VIEWPAC APIs The ViewPAC SDKs includes several application programming interfaces APIs that allows you perform various supporting tasks when developing ViewPAC gt Requirements The ViewPAC SDK only supports NET Framework 2 0 or above gt Installation Path After installing the ViewPAC SDKs a number of functions can be installed on the Host PC and this installation puts the header files libraries into the following public places so they are easily changed by update the ViewPAC SDKs Header files C Program Files Windows CE Toolswce500 PAC270McpdasMnclude ARMVAT Libraries C Program Files Windows CE Tools wce500 PAC270 Icpdas Lib ARMV41 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 61 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 1 ViewPAC SDK Overview 4 3 1 1 WinPAC Standard API System Information Watchdog Backplane Access UART J J Interrupt Registry Memory Access Micro SD System Operation X PAC IO Remote Local L X m m a mum Bul pom x E i 1 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 62 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail
13. Device connect physical device launch an emulator image select a platform then choose a device below Step 14 On the Tools menu click Connect to Device command To CAYMAN ARMVAI Eelease succeeded Step 15 Connection established Then you can debug on line VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 159 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com If the connection fails shown as follow return to step 11 to do the action below connecting PACSO ARMY4 AEMVAI Release Connection failed Activesync is not installed Open the command prompt run the CommanClient2 exe transport tcpconnectiona dll property port 5000 id Con at System_Disk ICPDAS System and then run the CMAccept exe File Edit Help system disk icpdass system gt Conmanclientz exe transport tcpconnectiona dll pro pertyiport S5000 id Con system disk icpdas system Use fixed port number 5000 Device IP address Obtain an IP address automatically using ActiveSync 9 Use specific IP address 10 0 9 10 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 160 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com How RECOMPILE WINCON PROGRAMS To recompile Wincon programs to run on Vi
14. For more information about expansion module that are compatible with the ViewPAC please refer to htto www icodas com products PAC winpac io support list htm Tips amp Warnings It is recommended that the power to the ViewPAC is switched off when wring the I O module which are plugging in the ViewPAC slots VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 24 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 1 Read the relevant documentation Manual The documentation for I 8K series modules is located at CD Napdos io_ module htto www icodas com products PAC winpac io support list htm The documentation for l 87K series modules is located at CD Napdos io_ module http www icpdas com products PAC winpac io support list htm VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 25 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Wiring Connections All documents include the module specifications pin assignments and wiring connections For example Pin Assignments and Wiring connections for the I 87054W module are as follows Pin Assignments DI COMO DIO DI 012 013 014 015 016 017 000 001 002 003 004 005 AS caa 8 007 OS Di DO GND Wire Connection SS Se Se ae Se S VP 23W1 VP 25W1 User Manual version 1 0 4 Last Re
15. Long operation life up to 500 cycles 3 Mark of function keys are customizable Y Audio with MIC In and Line Out Y 64 bit Hardware Serial Number for Software Protection The 64 bit hardware serial number is unique and individual Every serial number of ViewPAC is different Users add a checking mechanism to their AP to prevent software from pirating Y Slots for High Profile I O Modules The I O slots support parallel bus type high profile 8K series and serial bus type high profile 1 87 series I O modules There are more than 60 kinds of module for Al AO DI AO counter input frequency input PWM output motion control memory communication etc Y Rich Expansion Ability There 7 kinds of communication interfaces Ethernet RS 232 485 USB ports CAN bus FRnet GSM GPRS ZigBee to expand I O modules and connect external devices Y One Ethernet Port Y 2 Serial Ports RS 232 RS 485 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 10 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Y Dual Battery Backup SRAM 512 KB To maintain important data while power off non volatile memory is the ideal design ViewPAC equips a 512 KB SRAM with two Li batteries to maintain data while power off The two Li batteries can continually supply power to the 512 KB SRAM to retain the data for 5 years and the dual battery design can avoid data lost wh
16. Program Files Windows CE Tools wce500 PAC270Mnclude The libraries are located at C Program Files Windows CE Tools wce500 PAC270 Lib Step 3 Copy the latest version of DLL files to WinPAC The DLL files are located at System_Disk ICPDAS System VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April2010 Page 128 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 ViEWPAC DOWNLOAD CENTER This chapter introduces the WinPAC 8000 Download Center Visit the ViewPAC Download Center http www icpdas com products PAC viewpac download viewpac download os images h tm ViewPAC Download Center Note When you downlosd the software programs you should notice if the programs conform to your machine The published date and indicated requirement of program cen helo user to determine the comcaticility for your ViewPAC Before you downlosd any program read the notes of each online program first tc avoid the confused situstion Plesse consider the suitability over your soplicstion If you get any problems caused by updating the ViewPAC Utility software clesse feeddsc amp to your local seller and as essentis helo amp sevices NM Em Lastupdate 2 0 0 8 Jun 2009 Tools to save view the system information registry and setup the HTTP path and update non volatile internal memory within ViewPAC The following update categorie
17. VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 64 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 2 ViewPAC SDK Reference For full usage information regarding the description prototype and the arguments of the functions please refer to the WinPAC Standard API Manual and ViewPAC Particular Manual located at CD Napdos vp 2000_ce50 Document SDK_Document fto ftp icodas com pub cd winpac napdos vp 2000 ce50 document sdk document Y WinPAC Standard API Manual WinPAC Standard manual V1 9 1 pdf Adobe Acrobat Pro BRD CEQ HAO LD HRO SNR i Table af Contents Preface Overview of the WinPacsDk 1 System Information Functions 1 1 pac_GetModuleName 1 2 pac_Getotaryib 1 3 pac EnableLED 1 4 pac_GetSerialNumber 1 5 pac Get PL ersioan 1 6 pac Get oSVversion 1 7 pac GetEbontversion 1 8 pac_GetsDk version 1 9 pac_GetMacAddress 1 10 pac_ChangeSlot 1 11 pac_Reboot 1 12 pac BackwardCampatible Table af Contents Preface Overview of the vwinPacSDk E 1 System Information Functions 1 1 pac_GetModuleName E 1 2 pac GetRotarvID 1 3 pac EnableLED 1 4 pac GetSerialMumber 1 5 pac GetbPLVversion 1 6 pac_Getosersion 1 7 pac GetEbootversion 1 8 pac_GetsDk ersion 1 9 pac_GetMacAddress E 1 10 pa
18. device Would you like to reboot right now or later Step 7 Check the ViewPAC OS version Start the WinPAC Utility and then select the System Information tab to check the current OS version ViewPAG Utility 2 0 0 8 System Setting Ethernet Setting FTP Setting Slot 0 Module Type VP 25xx 96M8 Slot 1 Serial Number Slot 2 0 0 6 2009 01 03 11 44 44 Eboot Version 0 0 2 2009 02 11 13 19 39 spine Version Slot 4 rmm CPU Version Slot 5 m WinPacSOK Version WinPacNet Version mum Framework Version Slot 7 Sa EI Last Save Date 5 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 125 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 2 SDKs UPDATES The updates files of SDK image are located on CD Napdos vp 2000_ce50 SDK CD Napdos vp 2000 50 viewpacnet viewpacsdk By eVC and donet development tools the ViewPAC SDK installation is divided into the following two parts By eVC and donet development tools the WinPAC SDK installation is divided into the following two parts i WinPAC SDK updates for dotnet li WinPAC SDK updates for eMbedded Visual C VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 126 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 2 1 W
19. service icpdas com e Functions Provides reference information for the system status e Backplane Access API Provides reference information for the backplane access APIs including Hot Plug and backplane information e Interrupt Provides reference information for the Interrupt APIs e Memory Access API Provides reference information for the memory R W APIs including EEPROM and SRAM e Watchdog Functions Provides reference information for the watchdog APIs including hardware watchdog and OS watchdog e UART API Provides reference information for the UART APIs e Registry API Provides reference information for the registry e microSD Management API Provides reference information for the microSD Manager e PAC IO API Provides reference information for IO APIs including local and remote In additions no matter 8K or 87K modules use the same e Error Handling API Provides reference information for error handling VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 63 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 1 2 ViewPAC Particular Backlight Buzzer LED e Backlight Functions Provides reference information for the backlight e Buzzer Beep Functions Provides reference information for the buzzer e LED Functions Provides reference information for the LED
20. the normal mode you can boot in safe mode to solve the problem VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 29 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings In normal mode if the new settings not saved when you change and save the settings using the ViewPAC Utility to solve this problem perform the following steps Step 1 Restart the ViewPAC in safe mode Turn the rotary switch to 1 and then restart the ViewPAC Position 1 Step 2 Start the ViewPAC Utility to restore the default settings Start the ViewPAC Utility and then click the Restore Default Settings command and Save command from the File menu Step 3 Restart the ViewPAC in normal mode Turn the rotary switch to 0 and then restart the ViewPAC Double Click J Position 0 zm the ViewPAC Utility Help Configuration Save 5 Save and Reboot m Reboot Without Save esalution 220 240 ww sre Default Settings fo Settin ca Always On Change HTTP document root directory to windows AAA AAA LIE me Setting VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 30 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Debug mode Debug mode is a special environment in which program debug functions can be
21. ua c Cn E Co Mam Last Save Date June 04 2009 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 56 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Auto Execution Tab The Auto Execute tab provides functions to configure programs running at ViewPAC 8000 startup it allows users to configure ten execute files at most The allowed file types are exe and bat and they are executed in order of program 1 program 2 etc ViewPAC Utility 2 0 0 8 File Help Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Mlulti serial pori 4 e moyan3 At most 10 programs can be 3 ED pedo ammatralyat system startup The tab use to How to use Configure programs Press the Browse button to select the execute file running at startup which you want and then press the Setting button VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 57 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Multi Serial Port Wizard Tab The Multi serial port provides functions for installation of the RS 232 RS 422 RS 485 communication module driver The table below shows the expansion RS 232 RS 422 RS 485 communication modules that are compatible with the ViewPAC ltem RS 232 RS 422 RS 485 I
22. 0 4 Last Revised April 2010 Page 66 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 YOUR FIRST PROGRAM IN CZ To create demo program with development tool includes the following main steps 1 Create a new project 2 Add project reference for an application 3 Design and Build an application program 4 Execute the application on the ViewPAC All main steps will be described in the following subsection 4 4 1 Create a new project Step 1 Start the Visual Studio 2005 Step 2 On the File menu select the New command and then click the Project command File Edit View Tools Window Community Help Bok CSN gt Web Site 1 Project From Existing Code Ctrl Shift S Recent Files Recent Projects Exit VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 67 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the New Project dialog box do the following in this order Hew Project Search Templates 20 forms application for Windows CE 50 and later CiDoctinent and Settings Windows CE TookiC Create new Solution H Create directory for solution Step 4 Click OK to start creating SDKinfo pr
23. 2 Xi Ei GDKinfo ViewPacMet Step 4 On the ViewPAC execute the uploaded file VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 75 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 YOUR FIRST PROGRAM IN VB NET To create demo program with development tool includes the following main steps 1 Create a new project 2 Add project reference for an application 3 Design and Build an application program 4 Execute the application on the ViewPAC All main steps will be described in the following subsection 4 5 1 Create a new project Step 1 Start the Visual Studio 2005 Step 2 On the File menu select the New command and then click the Project command File Edit View Tools Window Community Help Bok CSN gt Web Site 1 Project From Existing Code Ctrl Shift S Recent Files Recent Projects Exit VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 76 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the New Project dialog box do the following in this order New Project men and SetingAWindows CE ToC Create new Solution v V Create directory for solution SDKinio Step 4 Click OK to start creating SDKinfo project VP 23W1 VP 25W1 User
24. 2010 Page 20 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Insert the panel mounting clips into the upper and lower ventilation holes VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 21 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Screw the panel mounting clips to the panel Mounting screw M4 x 35L VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 22 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 2 CONNECTING POWER AND I O DEVICES The ViewPAC enables a power with input range of 10 V 30 V The ViewPAC equipped with a USB port that allows you connect a USB keyboard or USB mouse The diagram below shows the connections of the power and 1 0 devices set Power Supply 10 30 GND Mouse or Host PC VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 23 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 3 INSERTING MODULES The I O slots support parallel bus type high profile 8 series and serial bus type high profile 87 series modules There are more than 60 kinds of module for Al AO DI AC counter input frequency input PWM output motion control memory communication etc
25. DotNE T C NET fto fto icodas com pub cd winpac napdos vp 2000 ce50 demo viewpac dotnet c 2 3 net VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 105 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 DEMO PROGRAMS WITH EMBEDDED VISUAL C Examples are good way to understand the ViewPAC SDK The table below describes ViewPAC demos and covers most of the common usages of each ViewPAC API for using eMbedded Visual 5 2 1 eVC Demo program for WinPAC Standard API The table below describes the ViewPAC demos that have been designed to demonstrate the standard operation features of the ViewPAC System Information Watchdog Backplane Access UART Interrupt Registry Memory Access Micro SD System Operation VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 106 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation Retrieves information about the OS system systeminfo version CPU version SDK version etc Retrieves information about the DIP backplane backplaneinfo switch backplane ID and slot count Shows how to read write date values memory from to EEPROM memoryaccess Shows how to read or write to the battery backup watchdog watchdog Displays how the watchdog operate Shows how to enables disables Micr
26. FTP Setting Slot 0 Module Type 25 96M8 Slot 1 un Serial Number sez OS Version 10 0 6 2009 01 03 11 44 44 menu 0 0 2 2009 02 11 13 19 39 Sb T apune versn Slot 4 CPU Version Slot 5 mmm WinPacSOK Version WinPacNet Version ind Framework Version Slot 7 m uetus Last Save Date VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 120 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 1 2 Updating the ViewPAC OS image from eshell There are two different ways of ViewPAC OS image update i ViewPAC OS updates from files Please refer to this section We recommend that you use this method for quick and easy to update the ViewPAC OS image ii ViewPAC OS updates from eshell tool Please refer to section 6 1 2 Updating the ViewPAC OS image from eshell By default the OS update from Host PC to ViewPAC via Ethernet Therefore to update the OS image make sure Ethernet is connected to the PC VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 121 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 1 Get the latest version of the ViewPAC OS image For VP23W1 The latest version of the installation package can be obtained from CD Napdos vp 2000_ce50 os_image vp 23w1 update_from_Eshell http f
27. Manual version 1 0 4 Last Revised April 2010 Page 77 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 2 Add project reference for an application Step 1 On the Class View window right click the Reference and then click the Reference command Class Yiew Step 2 In the Add Reference dialog box Add Reference select the Browse tab and then _ Add Web Reference specify the directory of the ViewPACNet dll file in the File sort Bv Object name field sort Bv Object Access Group By Object g L ma View eung The Winpacnet dll file can be obtained from CD Napdos vp 2000_ce50 SDK ViewPACNet http ftp icodas com pub cd winpac napdos vp 2000 ce50 sdk ViewPACnet Add Reference ViewPacHet dll Component Files dll tlb olb acx exe VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 78 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 3 Design and Build application program Step 1 Add a Button button object in the From1 dialog box Step 2 Right click the button object and click the Properties command Formi vb Design Start VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 79 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail serv
28. Microsoft Explorer tcpipc dl 0 10 0 9 52 5000 4 Documents Step 9 Return to the Host PC side on the Manual Server Action dialog click the button Manual Server Action Please make sure the following files are on the device WIN DOW S Stepipe dii WINDOWS exe WINDOWS cetlstub dll And launch CEMBRC EXE with the following cmd line CEMGRC EXE 5 T TCPRIPC DLL 20 10 0 3 52 5000 Cancel VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 147 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 10 On the Testing Device Connection dialog click the OK button Testing Device Connection Device Name Are TO Device Connection to device established Transport for Windows CE Step 11 On the Device Properties dialog click the OK button Device Properties Device Name 270 Device select a transport and a startup server Choose Test to verify that ou can establish a connection to your target device with the selected transport and startup server Transport Transport for Windows Configure startup server Manual Confienre Cancel Test VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 148 Copyright 2009 ICP DAS Co Ltd All Ri
29. None 57 115200 Disable Parallel bus module or None VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 37 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 TOOLS AND TASKS This chapter briefly describes the functions of the ViewPAC software toolkits Following tools has been installed on the ViewPAC 0 vp 2000 ce50 oystem Disk Tools _ ISQLW35 Modbus CE5 Registry Viewer Remote TaskMgr VCEP ViewPAC_ Utility VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 38 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com e DCON CE With Host PC running the DCON Utility on the ViewPAC the DCON CE program allows user to view and monitor the status of the DCON Utility e ISQLW35 The ISQLW35 implements SQL server compact 3 5 Query Analyzer e Modbus The Modbus provides various applications of Modbus protocol for configuring the ViewPAC e 5 CES5 is an integrated omnibus software package it allows user to quickly establish a DCS control system For more information about the please refer to 3 2 NAPOPC e RegistryViewer The Registry Viewer allows user to view the registry value of Windows CE Operating system e R
30. Solution Deploy Solution Clean Solution 1 Build systemifo Shift F6 Rebuild systeminfo Deploy systeminfo Clean systeminfo Batch Build Configuration Manager Step 2 Open the web browser and type the IP address to connect the FTP server of ViewPAC Step 3 Upload the SDKinfo exe application and the corresponding ViewPacNet dll file to the ViewPAC via the ViewPAC FTP server VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 82 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings N For applications programming in C and VB net with net framework when executing these application on the ViewPAC controller the corresponding ViewPACnet dll file must be in the same directory as the exe file File Edit View Go xig SDKinfo ViewPacNet Step 4 On the ViewPAC execute the uploaded file VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 83 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 YOUR FIRST PROGRAM IN EMBEDDED VISUAL C To create a demo program with eMbedded Visual development tool includes the following main steps 1 Create a new Forms Based project 2 Configure compiler options 3 Design and Build an application program 4 Execute the application on the ViewPAC All main steps will be described in the
31. Wr L Rasa PW a a E LCD Backlight Options The slider is used to check the LCD Backlight VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 34 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 7 USING VIEWPAC UTILITY MANAGE THE VIEWPAC The ViewPAC Utility is a toolkit used to quickly control and manage the ViewPAC For more detailed information on ViewPAC Utility applications please refer to 3 5 ViewPAC Utility Step 1 Run the ViewPAC Utility located on desktop Step 2 Configure IP address DHCP FTP Server Auto Execution files etc Double Click the ViewPAC Utility tt le Step 3 Save and Reboot the ViewPAC sis Help Configuration Save FTE Setting System 4 Save and Reboot Reboot Without Save ESOIUtION 320 240 Restore Default Settings Exit Y 1 Settim Always on E Change document root directory to WAS Setting VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 35 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 8 UsiNG DCON UriLiTY TO CONFIGURE THE MODULES DCON Utility is a tool kit used to quickly control and manage expansion modules with DCON protocol Step 1 Run the DCON firmware on the ViewPAC controller DCON firmware is located at System_Disk
32. button to the next step WCE AppWizard exe Step 3 of 4 File Edit iew Insert Build Help Would you like to generate source file comments ff TODO No thank you ff TODO How would you like to use the MFC library As a shared DLL As a statically linked library lt Back Next gt Finish Step 8 On the next page of the wizard leave all the options as they are and then click the Finish button to complete the wizard WCE MFC exe Step 4 of 4 AppWizard creates the following classes for CSDKinfoApp CSDKinfoDlg Class name Header file CSDKinfoApp SDKinfoApp h Base class Implementation file cwinapp SDKinfoApp cpp Cancel VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 87 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 9 The final summary appears click the button to exit the wizard Hew Project Information VICE MFC App izard exe will create a new skeleton project with the following specifications Application type of SDKinfo Dialog Based Application targeting Win32 CE ARMY AI Win32 CE Win32 CE MIPSII FP Win32 CE MIPSIV Win32 CE MIPSIV Win32 CE SHA Win32 CE emulator Win32 WCE x86 Classes be created Application CSDKinfoApp SDKinfo h and SDKinfo cpp Dialog CSDKinfoDIg SDKinfoDlg h and SDKinfaDlIg
33. by Export Registry Key 2 It will not save automatically after import a reg file Export Registry Key Makes a back up of a registry sub key How to use Step 1 Select the Export Registry Key then the Export Registry box will appear Step 2 Select a specific root key otep 3 Input a specific path of sub key otep 4 Push the OK button then the Save As dialog box will appear prompting you to select a location where you want to save this exported file Warning The export operation will export all the sub keys of the specific key which you input Store All Registry stores all registry setting to flash from das file which setting is saved by Dump All Registry Setting How to use VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 49 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com menu commands Use to Step 1 Select the Store All Registry Setting then the Open dialog box will appear Step 2 On the Open dialog box select specific das file to store Warning 1 The das file which should be saved by Dump Registry Setting 2 It will save automatically after store das file Dump Registry Dump all registries setting to das file Settings How to use Select the Dump All Registry Setting then the Save As dialog box will appear prompting you to select a location where you want to save this e
34. dialog click the Configure button Release Properties Default output location on device Program Files Folder v Transport Bontstrapper Actreeswnc Startup Provider 27 Step 8 On the Configure TCP IP Transport dialog select the Use specific IP address option and type the IP address of ViewPAC and then click the OK button Optons c Environment show devices for platform Projects and solutions Sure Contral tl Text Editor Database Tools Debugging Use fixed port number Device IP address C2 Obtain IP address automatically using Use specific IP address 10 0 9 43 V VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 156 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 9 On the CAYMAN ARMVAI Release Properties dialog click the OK button Release Properties Bootstrap per Actyveswmne Startup Provider bal configure Detect when device is disconnected Step 10 On the Options dialog click the OK button Options 8 2 show devices for platform Projects 0 180105 H Source Contral Text Editor Devices E Database Tools Delete I W Windows Forms Designer Default device CAYMAN ARMVAI Release VP 23W1 VP 25W1 User Manual versio
35. display Move the slider left to release more memory running programs or move the slider right to release more storage room and then press the Setting button VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 59 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 YOUR FIRST VIEWPAC PROGRAM This chapter describes the components of the ViewPAC SDK and provides step by step tutorial for developer that will teach you how to create your first ViewPAC program Before writing your first program ensure that you have the necessary development tools and the corresponding ViewPAC SDKs are installed on your system 4 1 PREPARING THE DEVELOPMENT TOOLS There are several programming tools available for application developers targeting Windows CE based ViewPAC One of the following tools must be installed on the Host PC Y Microsoft eMbedded Visual C Visual Basic net Y Visual C 4 2 INSTALLING VIEWPAC SDKs The ViewPAC SDK is a Software Development Kit SDK that contains C header files C libraries and documents Below is a step by step procedure for installing the ViewPAC SDKs Step 1 Insert the CD into your CD ROM drive Step 2 Execute the 270 SDK_YYYYMMDD msi which is located in CD Napdos wp 8x4x_ce50 SDK Step 3 Follow the prompts until the installation is complete VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 60
36. following subsection 4 6 1 Create a new Forms Based project Step 1 Start the Microsoft Embedded Visual Step 2 From the File menu click the command Bile Edit View Insert Project Build Tools Window Help Open CthhO Open Workst Save Worksp Project name WCE ATL COM AppWizard 2422 222 WCE Dynamic Link Library T WCE MFC ActiveX Control izard re Location Save WCE AppWizard dll AppWizard exe CAWINDOWS CE TOOLSACI E amp WCE Static Library Create new workspace Add to current workspace Dependency of 4 gt n PI Recent Files Recent Work iv Win32 WCE ARMY4 iv Win32 WCE ARMVAI Win32 WCE Exit OWin3 WCE MIPS16 iz Win32 WCE 32 WCE MIPSII x VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 84 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the New dialog select the Projects tab and do the following in this order Files Projects Workspaces Application amp ATL COM AppMWizard WCE Dynamic Link Library filz WCE ActiveX ControlWizard ww T App yy TZ ard qu C AppWizard exe CADOCUMENTS AND SETTINGS ES atic Libra Create new workspace
37. m_ADB GetWindowText temp 28 i Loat westod temp amp stopstring VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 162 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 On the Configurations dialog click the button Confizurations Projects and Demo Add Hemove Step 5 On the Add Project Configuration dialog choose one of the CPU type and then click the OK button Add Project Confizurathon CPU Win32 vv CE Cancel settings fram Default Debug Configuration Contiguration Release The new configuration will be called Demo s vin32 CE ARMVAI Release VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 163 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 On the Project menu click Settings command File Edit View Insert Project Build Tools Window Help set Active Project k Add To Project k Dependencies Export Makefile Insert Project Workspace Step 7 On the Project Settings dialog select the Link tab and change the value of the Entry point symbol field WinMainCRTStarup to wWinMainCRTStartup Project Settings Settings For General Debug CiC Link Resources M Winse WCE
38. module dio This demo program is used by 8K series DIO modules Shows how to send receive a command response 8 k basic application This demo program is used by 87K series modules mm Shows how use UART API and the IO modules 8 K demo located as slots This demo program is used by 87K series modules This demo program is used by 87K series Al modules Shows how to write the AO values to AO module 87 ao This demo program is used by 87K series AO modules This demo program is used by 87K series DI modules Shows how to write the DO values to DO module 87k_do This demo program is used by 87K series DO modules Shows how to read the and the DO values of the DIO module 87k dio This demo program is used by 87K series DIO modules Shows how to send receive a command response application This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the values of Al module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the AO values to AO module 7 87 ao This demo program is used by 7K or 87K series Al modules which connected through a COM port 7k87k di Shows how to read the DI values of DI module VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 103 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
39. only supports I O modules in local slots but also supports remote I O modules with the following protocols via the RS 232 485 or Ethernet 1 Modbus RTU 2 Modbus ASCII 3 Modbus TCP 4 DCON VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 8 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Y Rich Software Solutions On the ViewPAC ICP DAS provides the following software solutions to fit in different applications 1 Visual Studio Net 2003 2005 2008 and eVC solution SDK as well as demo programs for C VB Net and eVC are provided 2 SoftPLC solution A ISaGRAF supports IEC61131 3 languages Ladder Diagram LD Structured Text ST Function Block Diagram FBD Sequential Function Chart SFC Instruction List IL and Flow Chart FC B KW software supports IEC61131 3 languages and HMI features 3 SCADA solution Indusoft provides simple drag and drop point and click developing environment for HMI and SCADA applications VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 9 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com zs Hardware Features v PXA 270 CPU 32 bit amp 520 MHz Y IP65 Compliant Front Panel Y 3 5 5 7 TFT LCD 5 7 LCD is with Touch Panel v Rubber Keypad with 24 6 Keys The rubber keypad has following benefits 1 Easy to dial 2
40. service icpdas com Step 4 Select the device which you want to update the OS image After starting the ESHELL software the Select Device dialog will appear then select the device which you want Select Device Enter Device M ame 44488 Select From the List Cancel Reset devices to automatically put names on the list Step 5 Select the latest version of the OS image E a Look inc Ej en 4 Qd ceg PH 20090506 Fer 1 0 0 5 en bin 20000603 1 0 0 5 Microsoft Windows CE Debug Shell 44408 WRdfsicd 2VWinPACiWnapdosWwp 2000 ce50108 23 1 File Edit Tools Options View Help UP 44498 Bootloader Version 1 8 IP 18 1 8 58 0900017019002 Downloading XXRdfsXcd 2XWinPRCXnapdosXup 2888 ce58X0S 23 1 from EshellXen XUl Jumping to image on UP_44498 Connecting to UP 44498 using Ethernet Ready 2 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 124 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Once the procedure is completed the Warning dialog box will Appear on ViewPAC screen as below shown before clicking the Yes button you must first turn the rotary switch to the 0 position Position 0 Please turn the rotary switch to 0 normal mode and reboot the device
41. to send receive a command response application 8k dio 87k basic This demo program is used by 87K series modules Shows how use UART API and the IO modules located as slots This demo program is used by 87K series modules 87k ai Shows how to read the Al values of Al module E This demo program is used by 87K series Al modules 87K demo Shows how to write the AO values to AO module 87 ao This demo program is used by 87K series AO modules i This demo program is used by 87K series DI modules Shows how to write the DO values to DO module This demo program is used by 87K series DO modules Shows how to read the DI and the DO values of the DIO module This demo program is used by 87K series DIO modules Shows how to send receive a command response application This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the Al values of Al module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the AO values to AO module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI values of DI module This demo program is used by 7K or 87K series Al modules which connected through a COM port 87k do 87k dio 7k87k basic 7k87k ai Tk87k 7 di VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 20
42. to use Configure the network Obtaining an IP address automatically from settings DHCP select the Use DHCP to get IP address option Manually assign an address Select the Assign IP address option Monitor the MAC address see the MAC Address 1 and MAC Address 2 fields that display the physical address of LAN1 and LAN2 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 53 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com FTP Setting Tab The FTP Setting tab provides functions to enable disable the FTP access enable disable anonymous FTP access and configure the FTP directory path ViewPAG Utility 2 0 0 8 File Help Configuration FTP Allow Anonymous Allow Anonymous Upload i System Information Auto Execution Multi serial gt Enable Enable Enable Disable Disable Disable Change FTF default download directory Temp to Enable or disable the FTP access Enable or disable anonymous FTP access Enable or disable anonymous FTP upload VP 23W1 VP 25W1 User Copyright 2009 ICP DAS Enable Select the Enable check box in the FTP field Disable Select the Disable check box in the FTP field Enable Select the Enable check box in the Allow Anonymous field Disable Select the Disable check box in the Allow Anonymous f
43. tools DCON_CE Run the DCON firmware Step 2 Run the DCON Utility on the host PC The DCON Utility can be obtained from CD Napdos vp 2000_ce50 PC_Tools DCON_ Utility Double Click the DCON Utility Click the WIN CE button Searching Status COM Port COM 1 Address 00 dec 0 Bau audrate 9500 None Data Bit 8 Stop Bit 1 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 36 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 the WINCE device connection enter the IP address of the ViewPAC to search the I 87K series expansion I O modules on WinPAC 8000 WinCon 8000 V20X WinCon 8000 CE V21X C COM 3 RS232IRS 485 10 1 0 50 Connect frer to Step 5 It will display a list of 87 series expansion modules then select the module name that you want to configure module Description winConB000 115200 Disable N 81 WinPAC8000 System D CON 50 115200 Disable Parallel bus module or None 51 115200 Disable Parallel bus module or None RRHH 52 115200 Disable Parallel bus module or None 63 115200 Disable Parallel bus module or None HHHH 54 115200 Disable Parallel bus module or None HHHH 55 115200 Disable Parallel bus module or None 56 115200 Disable Parallel bus module or
44. used in addition to normal system functions Debug mode is unsupported OS Update mode OS update mode is a way used to update OS To update the ViewPAC OS image please refer to 6 1 OS updates DCON CE mode This mode is the same as Normal mode Besides will be run automatically after booting Tips amp Warnings must be placed on the V System Disk Tools DCON or else cannot be run automatically after booting VCEP mode This mode is the same as Normal mode Besides VCEP exe will be run automatically after booting Tips amp Warnings A VCEP exe must be placed on the System_Disk Tools VCEP or else VCEP exe cannot be run automatically after booting VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 31 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com User mode Rotary switch position 7 8 9 are reserved for user s applications When ViewPAC is boot with one of these rotary switch positions it is boot at normal mode User s application can check the rotary switch position to run at different mode VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 32 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 6 TESTING THE VIEWPAC VP 23W1 ViewPAC combines WinPAC graphic display and keypad dial in one unit The View
45. version 1 0 4 Last Revised April 2010 Page 136 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 485 Repeater 7510 Series 485 Repeater 7 510 Series Slave Mode VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 137 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com B 5 2 ViewPAC as Slave For most of application only one 7520 series module is used as RS 232 485 converter and its pull high pull low resistors are set to be enabled Then the ViewPAC and all the other devices on this network must be in their slave mode the pull high pull low resistors must be disabled Please refer to the following figure to set the jumpers to the slave mode The jumpers are located at the power board of ViewPAC I _ RS485 Slave Master VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 138 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 232 485 Converter 7520 Series oe E Slave Mode If there are repeaters on the RS 485 network you can see that there are pull high pull low resistors on both sides of the repeaters i 7510 1 2 Km 1 2 Km 232 485 Converter 485 Repeater 485 Repeater 7520 Series fe 7510 Series imme 7510 Series Slave Mode VP 23W1 VP 25W1 User
46. 10 Page 109 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation Shows how to write the DO values to DO module 7 87 do This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the and the DO values of the DIO module This demo program is used by 7K or 87K series Al modules which connected through a COM port 7 dio For application these demo programs can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC DotNE IO fto fto icodas com pub cd winpac napdos wp 8x4x ce50 demo winpac dotnet c 23 net pac io VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 110 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 3 eVC Demo program for ViewPAC Particular The table below describes the ViewPAC demos that have been designed to demonstrate the particular features of the ViewPAC Backlight Buzzer LED Folder Demo Explanation Shows how to make a simple buzzer KeyPad 00 KeyPad Shows how the KeyPad operate Shows how to control the LCD LCDBackLight LCDBackLight backlight Shows how to control the LEDs Shows how to control the PlaySound PlaySound microphone in earphone out For C application these demo programs can be obtained from CD Napdos vp
47. 2000_ce50 Demo ViewPAC DotNE T C NET fto fto icodas com pub cd winpac napdos vp 2000 ce50 demo viewpac dotnet c 2 3 net VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 111 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 VIEWPAC UPDATES This chapter provides instructions on how to upgrade ViewPAC OS and SDK ICP DAS will continue to add additional features to ViewPAC SDK and OS in the future so we advise you to periodically check the ICP DAS web site for the latest updates ViewPAC updates services can be divided into the following two main categories CD Napdos vp 2000 ce50 os image n 1 OS updates vp 23w1 vp 25w1 SDK lt 2 SDK updates viewpacnet viewpacsdk VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 112 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 1 OS UPDATES The updates files of OS image are located on VP 23W1 CDANapdosWp 2000 ce50 VOS image Wp 23w1 VP 25W1 CDANapdosWp 2000 ce50 NOS image Wwp 25w1 CD Napdos vp 2000 ce50 5 vp 23w1 eboot update from eshell vp 25w1 eboot update_from_eshell update_from_file VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 113 Copyright 2009 ICP DAS Co Ltd
48. 4 Last Revised April 2010 Page 116 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com There several ways to download the installation package to ViewPAC On the ViewPAC you can download the installation package via an Ethernet connection On the host PC you can download the installation package to ViewPAC via a USB storage device the removable Micro SD card or FTP server The latest version of the ViewPAC OS image file can be obtained from CD Napdos wp 8x4x_ce50 OS_image update_from_file htto www icodas com products PAC ViewPAC download ViewPAC 8000 download os images htm Step 3 After execute the installation package the Warning dialog will display then click the button to start the update instructions Warning WP 8x4x Ver 1 2 1 0 WinPAC 8000 Update Step 1 Install Boot Loader file Step 2 Erase flash disk Step 3 Install OS image Step 4 Set and save registry m QUIT VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 117 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 On the Warning dialog click the Yes button WP 6x4x Ver 1 2 1 0 Tips amp Warnings Please never turn the ViewPAC off during OS load Besides we recommend you turn off all other application before updating VP 23W1 VP 25W1 User Manual vers
49. ARMV4I Release Category General 7 Beset Genera T NESE Project Option ct inadefaultlibz S CEMoDefaultLib laut ARMVAIBellDemn exe Isubsystem 5 CESubsystem j kACHIME THUMB T cancel VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 165 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 3 2 Modify vcp file to upgrade the old WinCon project Step 1 Open a text editor to modify the vcp file Step 2 In the vcp file replace 301 with 501 Step 3 In the vcp file replace ARMV4 with ARMVAI Step 4 In the vcp file replace MACHINE ARM with MACHINE THUMB Step 5 Save the vcp file just edited Step 6 Open the old WinCon project and recompile it VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 166 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 HOW USE THE PRINTER ViewPAC have ability to access the printer you can connect to the printer via Ethernet network or USB Tips amp Warnings ViewPAC only supports HP Laser Jet Printers which support PCL6 driver VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 167 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 4 1 How to use network printer To use a shared network printer
50. All Rights Reserved E mail service icpdas com There are two different ways ViewPAC OS image updates i OS updates from file We recommend that you use this method for quick and easy to update ViewPAC OS image ii ViewPAC OS updates from eshell VP 23w1 vp 25w1 Update from files Update from eshell Upgrade The ViewPAC OS supports multi language en English sc Simplified Chinese tc Traditional Chinese os image vp 23w1 vp 25w1 update from file update from eshell VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 114 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 1 1 Updating the Boot Loader and the ViewPAC OS image from files There are two different ways of ViewPAC OS image update i ViewPAC OS updates from files Please refer to this section We recommend that you use this method for quick and easy to update the ViewPAC OS image ii ViewPAC OS updates from eshell tool Please refer to section 6 1 2 Updating the ViewPAC OS image from eshell vp 23w1 vp 25w1 Update from files Update from eshell Step 1 Get the latest version of the execute file and the corresponding autoinit bat file and run it on the ViewPAC side Each folder contains an execute file and a corresponding autoinit bat file ftp ftp icpdas com pub cd winpac napdos wp Bx4x ce50 os image en EE
51. CD which provides the resource tool kit software and documentation related to the ViewPAC CD Napdos L vp 2000_ce50 backup Demo Document ment OS image OS image ENTM ENTM ELS M _ ICPDAS VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 18 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 GETTING STARTED This chapter describes installation basic configuration and fundamental operating principle needed to install and set up the ViewPAC 2 1 MOUNTING THE HARDWARE The ViewPAC can be mounted on a panel of maximum thickness 12 mm Adequate access space can be available at the rear of the instrument panel for wiring and servicing purposes The layout dimensions are shown below Panel thickness up to l2Zmm 50 mm 1 97 inches Tips amp Warnings To ensure proper ventilation for your ViewPAC leave a minimum of 50mm space between the top and bottom edges of the ViewPAC and the enclosure panels VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 19 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 1 Prepare the panel and cut the hole to the specified size 4 1 153 0 0 136 Step 2 Attach the ViewPAC to the cut out hole VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April
52. Color Right 1 25 Bottom 1 Paper Size 4 lt Advanced VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 170 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 5 HOW USE SERVICES TOOL The services tool can help you turn on turn off and monitor the WinCE services Step 1 Open a MS DOS command prompt Type the name of a program folder VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 171 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 List all services Syntax services list File Edit Help Pocket CHD x 5 0 0 00030110 NOTIFY D11 Punnincd 0 000315 70 HTTPD DLL Punningq 000370 0 411 Punnincg 01 OxO00se 730 HSH D Dll Off OBEXSrir dll Off x dgg3s37770 FTPD DlIlI Bunning x dd s37acu TELMETD DlIlI Punning smbzerver cdll Punnirncdgq TPO timezwvo dll Punni Step 3 Type the commands to configure service Syntax services stop lt services name gt For example turn on the FTP service services stop F TPO File Edit Help Pocket CMD x 5 0 services list NFYU x nno301ll0 NOTIFY Dll Bunning OxO0031L570 HITPD DLL Bunning x no3z credzswvc dll Bunning OxO0036730 HSH D Dll off DEA Dx d gsebzu u
53. E mail service icpdas com 1 3 DIMENSIONS This section provides the mounting dimensions and cut out dimensions for the current installation of panel mounting All dimensions in millimeter 1 153 1 Th d n T rA VENE Recommended Panel Cut Out Rear View a Front View E 4 l BENI zl E u B Recommended Panel Cut Out NUM kear View VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 15 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 4 OVERVIEW This section provides basic overview of what the term named in the unit microSD 3 Shift Escape Enter Keys 4 Arrow Keys 6 Programmable Keys 11 Alphanumeric Symbol Keys Rotary SW Expansion Slots Power In amp Frame Ground Ethernet Port COM2 RS 485 Microphone Line Out USB COM3 RS232 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 16 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com microSD Rotary SW Expansion Slots Power In amp Frame Ground Ethernet Port COM2 RS 485 Microphone Line Out USB COM3 RS232 1 5 This section describes the content of the companion
54. GO Alien Top Edges EF Check Mnemonics ClassWizard Events Properties Step 4 Type the Check the SDK version in the Caption edit box and then click the close button Push Button Properties General Styles Extended Styles ID IIDC BUTTONI Caption check the SDK version Disabled Tab stop VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 95 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 In the SDKinfo dialog box double Click the button object qd unxit Check Ehe SOK version TODO Place dialog controls here Step 6 Type the OnBtnCheckSDK in the Member function name edit box and then click the OK button Add Member Function Member function name OnBtnCheckS DK Cancel Message CLICKED Object ID IDC BUTTONT VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 96 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 Insert the following code into the Editor Window char SDK 32 TCHAR buf 32 GetVIEWSDKVersion SDK pac AnsiToWideString SDK buf MessageBox buf NULL MB OK void CSDKinfaDlg nBtnChecksDk 4 TODO Add your control notification h Step 8 Insert the include Viewpacsdk h and include winpacsdk h into the header area ff SDKinfoDl
55. Manual version 1 0 4 Last Revised April 2010 Page 139 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix Tips How to VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 140 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 1 How ESTABLISH A NEW TELNET AND FTP ACCOUNT To establish a new telnet and FTP account please perform the following steps Step 1 Open a MS DOS command prompt Type the name of a program er or document and Windows will open it for you Open End v Browse VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 141 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Establish a new account Syntax usrmgr a username password File Edit Help Pocket CMD v 5 0 usrmgr a quest 1234 Tips amp Warnings For more information about managing accounts you just type usrmgr command to get a complete list of supported commands The setting may not save That is after rebooted the setting will disappear and you should set the account again Pocket CMD v 5 0 gt usrmgr sage usrmgr al d l lt user name lt password gt a lt user name gt lt password gt Add or update a user d lt user name gt Remove a user 1 List all u
56. PAC Quick Test is a toolkit used to check out the ViewPAC particular function compared with WinPAC Audio Options Play Audio Play Audio button is used to check the audio output Buzzer Options Play Buzzer Double Click the Play Buzzer button is used to check the ViewPAC Quick Test buzzer Quick Test ViewPACSDK 1 2 LED Options These buttons are used to check LEDs sign N KeyPAD Option r2 Checkboxes used to check 11 12 13 the KeyPAD r 457 47 Pip Text field is used to check the input format By eene Quick v B 727 or characters The shift key is a modifier key used to enter alternate upper letters VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 33 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com VP 25W1 ViewPAC combines WinPAC graphic display and keypad dial in one unit The ViewPAC Quick Test is a toolkit used to check out the ViewPAC particular function compared with WinPAC Audio Options Play Audio button is used to check the audio output Buzzer Options Play Buzzer Play Buzzer button is used to check the buzzer Double Click the ViewPAC Quick Test LED Options These buttons are used to check LEDs sign KeyPAD Option Checkboxes are used to check the KeyPAD re Ore Crs re a
57. RS 485 network is over 4000 ft or 1 2Km the RS 485 repeater must be added to extend the RS 485 network B 1 BAsic RS 485 NETWORK The basic component of the RS 485 network consist of a Master Controller or using PC as a host controller and some RS 485 devices 232 485 Converter 7520 Series VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 131 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com B 2 DAISY CHAIN RS 485 NETWORK All RS 485 devices are wired directly to the main network If the network is up to 1 2 km it will need a repeater 7510 series to extend the network length 485 Repeater 485 Repeater 7510 Series A 7510 Series 32 485 Converter 7520 Series VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 132 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com STAR RS 485 NETWORK There are branches along the main network In this case it is better to have a repeater to isolate or filter the noise that is made by devices 232 485 Converter 7520 Series 485 Repeater 7510 Series 485 Repeater 7510 Series 485 Repeater 7510 Series VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 133 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com There is a bette
58. Reserved E mail service icpdas com Step 3 On the Properties window type Check the SDK version in the Text edit box Properties buttonl System Windows Forms Button BackColor Font Tahoma FoveColor mH ContralText Check the SDK version E Behavior Text The text contained m the control Step 4 Right click the Form1 dialog box and click the View Code command to open the editor window View Cade ic ren Properties VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 71 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Insert the using ViewPACNet into the header area after using System Windows Forms O USL eys el using System Ling using System Collections Generic using System ComponentHodel using System Data using System Drawing using System Text using System Windous Forms using UiewPRCHet namespace SDKinfo i public partial class Formi Form i public Formi i InitializeComponent f f Step 6 In the Form1 dialog box double click the button object to open the editor window VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 72 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 Insert the following code in the Editor Window MessageBox Show pac GetVIE
59. TU Master and DCON three kind Master communication protocols It also provides one advanced function Rule Script for use in the integration and transformation and some conditional Logic operation Any version before 2 1 0 of the NAPOPC CE5 was named Quicker VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 42 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 3 SendToCOM uses the serial port to communicate with expansion module To use the SendToCOM you can send data to expansion module through the serial port and receive data from other device through the serial port For more information about these commands for communicating with expansion module please refer to CD ANapdosNo module 87k high profile modules htm ICPDAS Send to COM v2 00 Connection Status Do PR coms 115200 8 J mm None v m v E Close End string with None ER CRIF CRC Commande Res String Send Polling Current Packet Size bytes b Current Packet Size bytes 0 Auto send Internal ms so Total Packet Bytes Total Packet Bytes Start Stop Packet Quantity send o Packet Quantity received VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 43 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 4 ICPDAS VCEP is desig
60. VP 23W1 VP 25W1 User Manual Version 1 0 4 April 2010 service and usage information for VP 23W1 VP 25W1 Written by Mac Cho 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 2009 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 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 2 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Table of Contents T SR T 7 INN cl ioe EN re ee ee ee ee 8 SCG 8 rasa 12 re WITS E
61. WSDKVersion E namespace s3Dkinft i public partial class Formi Form 4 public Formi 4 Initializetomponent private void buttoni Click object sender EventArgs e ia 1 P 510n VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 73 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 4 Execute the application on the ViewPAC Step 1 On the Build menu click the Build Solution command File Edit View Refactor Project Build Debug Data Tools Window Community Help Rebuild Solution Deploy Solution Clean Solution 1 Build systemifo Shift F6 Rebuild systeminfo Deploy systeminfo Clean systeminfo Batch Build Configuration Manager Step 2 Open the web browser and type the IP address to connect the FTP server of ViewPAC Step 3 Upload the SDKinfo exe application and the corresponding ViewPacNet dll file to the ViewPAC via the ViewPAC FTP server VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 74 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings N For applications programming in C and VB net with net framework when executing these application on the ViewPAC controller the corresponding ViewPACnet dll file must be in the same directory as the exe file File Edit View Go
62. available Yes for high profile 87K modules only _ VP 23WI VP 25W1 Dimension W x D x H 182 mm x 158 mm x 114 mm Ingress Protection Front panel IP65 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 12 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Communication Interface VP 23W1 VP 25W1 Ethernet Port RJ45 1 10 100 Base TX Auto negotiating Auto MDI MDIX LED indicators USB 1 1 host 1 Internal communication with the high profile 7 series modules in slots 2 RS 485 02 D2 self tuner ASIC inside 2500 Vpc isolated COM3 RS 232 TxD RxD CTS RTS DSR DTR CD RI and GND Non isolated Machine Interface VP 23W1 VP 25W1 LCD 3 5 57 IFI Resolution 320 x 240 Resolution 640 x 480 Touch Panel Yes Rubber Keypad 24 Keys 6 Keys Audio Microphone In and Earphone Out LED Indicators Dual Color LEDs PWR RUN LAN1 L1 L2 L3 L1 L3 for user programmable VP 23W1 VP 25W1 Operating Temperature 20 70 Storage Temperature 30 80 C Ambient Relative Humidity 10 90 RH non condensing Power VP 28Wi vost Input Range 10 V 30 V Isolation 1 kV Capacity 2 5 A 5 V supply to expansion slots Consumption 7 2 W 0 3 A 24 V VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 13 Copyright 2009 ICP DAS Co Ltd All Rights Reserved
63. bgTL dll TcoConnectionA dll 4 clientshutdown exe 5 CMAccept exe 6 ConmanClient2 exe Step 2 If the version matches correctly and the entire file are there copy the following files to ViewPAC 2 System Disk CPDAS System folder v Clientshutdown exe v ConmanClient2 exe v CMaccept exe v eDbgTL dll v TcpConnectionA dll VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 153 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 On the Project menu click Project Name Properties command Fie Edit View Lata Format Took Window Community Help Add Windows Form Add User Control Add Component Add Class shift Alt Add Mew Item Add Existing Tem Shaft AltA Exclude From Project show All Files Add Reference Web Reference set az tert p Change Target SwstemInfo Properties Step 4 On the Systemlnfo tab unselect Deploy the latest version of the NET compact Framework includeing Service Packs check box SystemInfo Form ce Forml cs Design Object Browser Application Configuration N Platform Build Deployment Options Build Events Target device Debug CAYMAN ARMYAI Release file folder a SCSIDL PROGRAM FILESS8ystemlufo Reference Paths Deploy the latest version of the NET Compact Framework including service Packs
64. c Changeslnt 1 11 pac_Reboot 1 12 BackwardcCompatible E 1 13 pac_GetlomMapping 2 Backplane Access 3 Interrupt 4 Memory Access API 194 19 uem uam um 194 19 19 19 um 1 15 pac_GetlomMapping 5 watchdog Functions 2 Backplane Access 6 MicroSD Management nee d 3 Interrupt 8 UART API 4 Memory Access d 9 IO API EM E X ap m 5 watchdog Functions MicroSD Management 7 Registry API K UART API FAC IO API 10 zr Handling VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 65 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Y ViewPAC Particular Manual Es ViewPAC Particular API manual V1 1 pdf Adobe Acrobat Professional BEES germ COR UC ue 5 oa E Table of Contents Table of Contents Preface 1 pac GetVIEWSDK Version i ic Preface 2 SetBackLight pitas 1 pac GetvIEWSDK version pac BuzzerBeep 4 pac Stop uzzer 2 pac SetBackLight 5 pac SetBuzzerFreqDuty 6 GetBuzzerFreqputy 3 pac BuezerBeep 3 7 pac EnablevPLed 4 pac StoapBuzzer pac SetBuzzerFredgbuty pac tsetBuzzerFredgrputy 7 pac EnablevPLed VP 23W1 VP 25W1 User Manual version 1
65. cpp View CChildView in ChildView h and ChildView cpp Features Uses shared DLL implementation Localizable text in Hes 22 8 Project Directory CADOCUMENTS AND SETTINGS WINDOWS CE TOOLSAEVCYSDKinfo Cancel VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 88 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 2 Configure compiler options On the WCE configuration toolbar select the Win32 WCE ARMV4 Release BH SDEinfo Microsoft eMbedded Visual C Eik Edit View Insert Project Bvid Tools Window Help mela c mms EIE 8 All class members CSDKEinfoApp dE N T Wind WCE ARMV4I Debug Win32 YCE ARMY AN Release CEE SDKinfo classes in32 emulator Debug in32 WCE emulator Release in32 WCE MIPSII Debug Inge WCE MIPSII Release in32 MIPSIL FP Debug in32 MIPSIL Release in32 MIPSIV Debug Inge MCE MIPSIV Release 132 MIPSIV FP Debug in32 MIPSIV Release in32 SHA Debug inj WCE SH4 Release VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 89 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 3 Specify the path for project reference Step 1 Click the Options command from the Tools menu File Edit View Insert Project Build Tool Window Help
66. cription 1 0 1 August 2009 Initial issue 1 0 2 September 2009 Added information about the support of the printer driver in section C 4 1 0 3 December 2009 1 Modified the operating modes in section 2 5 2 Added the requirements of the ViewPAC SDK in section 4 3 1 0 4 February 2010 1 Modified the specification of the Dual Battery Backup SRAM features in section 1 1 2 Modified information about Operating Environment in section 1 2 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 174 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
67. de Always On Top Change HTTP document root directory vwwindowsNwww wwwsub to Ses The tab use to How to use Adjust the size of the desktop select a display resolution from the Resolution list Lock or Auto Hide the taskbar Auto Hide Select the Auto Hide check box Lock select the Always On Top check box Check the status of the battery See the Battery1 and Battery2 field that displays the battery status Change the HTTP directory path Enter a new path in the Change HTTP document root directory windows www wwwsub to field and then press the Setting button VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 52 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Ethernet Setting Tab The Ethernet Setting tab provides functions to configure either DHCP Roaming or manually configured Static network settings and to monitor the MAC address Generally DHCP is the default settings but if you don t have a DHCP server you must configure the network settings by using manual configuration ViewPAC Utility 2 0 0 8 File Help Configuration FTP Setting System Information Auto Execution Multi serial Address 1 00 00 7 01 7 05 LAN 1IP Address Setting Use DHCP tn get IP address Assign IP address IP Address 10 1 1 Mask 255 255 0 0 Gateway 10 1 0 2354 DNS Server 10 0 0 25 The tab use to How
68. ded Y 1 nal C CA does not contain debugging information Press to continue Do not prompt in the future Cancel Step 19 Connection established Then you can debug on line Tips amp Warnings If you want to quit the debugger and return to editing you can click the Stop Debugging button from Debug menu Edit View Insert Project Debug Layout Tools Window Help F5 Restart Ctr S hifi F5 E Sto p Debugging En Break Step Into Fil step Over P Step Out 4 Eun to Cursor Ctr FI EIS Exceptions 5 Threads Modules s show Next Statement Altum Quick Watch VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 152 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 2 2 Debug ViewPAC programs in Visual Studio 2005 2008 Debugging in Visual Studio 2005 2008 are provided by ViewPAC OS image V 1 3 0 4 or later Step 1 Make sure the following file are listed with the matching version numbers C Program Files Common Files Microsoft 1 ActiveSyncBootstrap dll 1 2 2 ConManPS dll 4 DesktopDMA all 5 eDbgIL all 6 TcoConnectionC dll Shared X CoreConM 0 1 033 C Program Files Common Files Microsoft 1 DeviceDMA dll Shared CoreCon 1 0 Target wce400 armv4i 2 eD
69. emote display application The remote display application allows user to view the display remotely of the ViewPAC on a Host PC e SendToCOM The SendToCOM allows user to send receive data to from the expansion module via serial port VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 39 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com e TaskMgr The TaskMgr provides details about programs and processes running on the ViewPAC e VCEP The VCEP allows user to manage the ViewPAC remotely on a Host PC For more information about the VCEP please refer to 3 4 VCEP Virtual CE Pro e ViewPAC Utility The ViewPAC Utility provides various useful functions such as configuring Ethernet settings monitoring system settings and FTP services etc for easy and quick management For more information about the ViewPAC Utility please refer to 3 5 ViewPAC Utility VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 40 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 DCON UTILITY DCON Utility Protocol ASCII Command ai SAIL 7188E 800 4am SAS AN e age 87 Series 1 7000 Series 1 8000 Series The DCON Utility is a tool kit that help user search the network easily to Configure the modules and test the I O status via the serial port RS 232 485
70. es for eMbedded Visual 128 7 ViewPAC Download Center 129 Appendix A and 1 87 Modules 130 Appendix B Application of RS 485 Network 131 B 1 Basic RS 485 nn 131 B 2 Daisy Chain RS 485 132 Star RS 485 enne 133 4 Random RS 485 Network nnne nne nnne nnne nns 135 Bo Gla VES SOT CREE UM MM II M MM iP 136 B 5 1 ViewPAC as a Master 136 5 2 ViewPAC as a 138 Appendix C Tips How to 140 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 5 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 1 How to establish a new telnet and FTP account 141 C 2 How to online debug 143 C 2 1 Debug ViewPAC programs in 143 C 2 2 Debug ViewPAC programs in Visual Studio 2005 2008 153 How to recompile WinCon 161 C 3 1 Compiler old programs which ran on Wincon 8x3x and 8x4x
71. ewPAC certain components of the programs require adjustments that divides into two parts 1 Compiler old programs which ran on Wincon 8x3x and 8x4x 2 Modify vcp file to upgrade the old WinCon project Tips amp Warnings In general you only need to do part 1 after this if the program still can t be compiled to an application the part 2 just need to do VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 161 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 3 1 Compiler old programs which ran Wincon 8x3x 8x4x Step 1 Open project which programmed in WinCon using eMbedded Visual Step 2 On the Build menu click Configurations command Edit View Insert Project Build Layout Tools Window Help Compile Build HELLO exe Fi Rebuild All Batch Build Clean start Debug b Update Remote Output File s Execute HELLO exe 5 set Active Confienratian Confievrations pet Active Step 3 Make sure the CPU type is STANDARDSDK EM Demo Microsoft eMbedded Visual DemoDlg cpp Sle B File Edit View Insert Project Build Tools Window Help l sels c leasa 1 CDemoDig class members eOnButon o Demo Win32 WCE ARMV4 Release _ TCHAR temp 28 stopstring Float AO 4 Demo resources int i
72. g cpp implementation fiic ff Hinclude stdafzx h Hinclude SDHinfo h include SDRinfoDlg h ifdef _DEBUG fidefine new DEBUG HEU THIS FILE static char THIS FILE FILE VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 97 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 5 Execute the application program on ViewPAC Step 1 On the Build menu click the Build systeminfo exe command Edit View Insert Project Build Tools Window Help Y m Compile SDEinfoDlecpp Build DEKinfo exe Rebuild All Batch Build lean start Debyg k Update Remote Output File is Execute SDE into exe tr ES set Active Configuration Configurations set Active Platform Step 2 Open the web browser and type the IP address to connect the FTP server of ViewPAC Step 3 Upload the SDKinfo exe application to the ViewPAC via the ViewPAC FTP server File Edit View Go Step 4 On the ViewPAC execute the 2 xi C uploaded file 52 5 4 4 48 4 254 44 Check the SDK version TODO Place dialog controls here VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 98 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 APIS AND DEMO REFERENCES This chapter introduces demo programs that ha
73. ghts Reserved E mail service icpdas com Step 12 On the Windows platform or device to configure dialog click the button Windows CE Platform Manager Configuration select a platform or device to configure 270 Add Device Sg PAC27U Device DE Delete 6 STANDARDSDE_420 5 6 Windows CE Default Platform _ About Step 13 On the Build menu select the Start Debug command and then click the command Edit View Insert Project Build Tools Window Help Compile systeminfodlecpp Build SvstemInfo exe Rebuild Batch Build lean Start Debug in Update Remote Output Filets m Step Into 8 Execute ZustemInfo exe tf RuntoCuror Set Active Configuration Attach to WCE Process Configurations set Active Platform VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 149 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 14 The Manual Server Action dialog will appear displaying a command line before click the OK button to close dialog turn to the ViewPAC controller side to do the next two steps Manual Server Action Please make sure the following are an the device WIND DV S tepipc dll S Seemgrc vwWINDLDWS eetlstub dil And launch ERE with the fo
74. ice icpdas com Step 3 On the Properties window type Check the SDK version in the Text edit box BackCalor Control Font Tahoma 10 FareColor Control Text Check the SDK version Behavior Text The text contamed im the control Step 4 In the Form1 dialog box double click the button object to open the editor window Formi VP 23W1 VP 25W1 User Manual version 1 0 4 Copyright 2009 ICP DAS Co Ltd All Rights Reserved Last Revised April 2010 Page 80 E mail service icpdas com Step 5 Insert the following code in the Editor Window 1 Imports ViewPacNet 2 MessageBox ViewPACNet pac GetOSVersion Ur E ag REB Imports UieuPacHet 3 Public Class Formi Private Sub Buttoni_Click ByUal sender As System Object LN g rm Li n mn LE F 55ageBox Sshou cUieuPRC pac GetUIEUSDEUersiont bo moe ee End Sub Class VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 81 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 4 Execute the application on the ViewPAC Step 1 On the Build menu click the Build Solution command File Edit View Refactor Project Build Debug Data Tools Window Community Help Rebuild
75. ield Enable select the Enable check box in the Allow Anonymous Upload field Disable Select the Disable check box in the Allow Anonymous Manual version 1 0 4 Last Revised April 2010 Co Ltd All Rights Reserved Page 54 E mail service icpdas com The tab use to How to use Upload field Change the Enter a new path in the Change default download directory path directory field and then press the Setting button VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 55 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com System Information Tab The System Information tab provides functions to monitor necessary system information of the ViewPAC 8000 The system information is the most important note of version control for upgrading system ViewPAC Utility 2 0 0 8 File Help Configuration System Setting Ethernet Setting FTP Setting System Information Auto Execution Multi serial por Slat D Module Slot 1 Serial Number 01 8 05 81 12 00 00 34 OS version 1 0 0 6 2009 01 03 11 44 44 Slot 2 Eboot Version 1 0 0 2 2009 02 11 13 19 39 SS Backplane Version Slat 4 CPU Version Slot 5 WinPacsDKk Version Slot 6 WinPachet version WET Framework Version Slot 7 SOL CE Version Mad Fl P i glass Ab ch on E e fet
76. ile replacing a new battery Y Operating Temperature 20 70 ViewPAC is housed in a plastic based box with column like ventilator that can help to cool the working environment inside the box and allow it operate between 20 70 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 11 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 2 SPECIFICATIONS This section details the specifications and supplemental characteristics of the ViewPAC System Software VP 23W1 VP 25W1 OS Windows CE NET 5 0 Net Compact Framework 2 0 Embedded Service FTP server Web server supports VB script JAVA script Embedded SQL server SDK Provided DII for eVC DII for Visual Studio Net 2005 2008 CPU PXA270 or compatible 32 bit and 520 MHz SDRAM 128 MB Dual Battery Backup SRAM 512 KB for 5 years data retention Flash 96 MB 64 MB for OS image 31 MB for built in Flash disk 1 MB for registry EEPROM 16 KB data retention 40 years 1 000 000 erase write cycles Expansion Flash Memory microSD socket with one 1 GB microSD card support up to 16 GB microSDHC card Real Time Clock Provide seconds minutes hours date of week month month and year valid from 1980 to 2079 64 bit Hardware Serial Yes Number Dual Watchdog Timer Yes Rotary Switch Yes 0 9 Slot Number for high profile I 8K and 1 87 modules only Hot Swap Will be
77. inPAC SDK updates for C or VB net To determine the SDK version that is compatibly running on the WinPAC you can read the Release Note which is located under each SDK folder these files provides important updated information for what we fixed and added Step 1 Get the latest version of the C or VB net components The latest version of the Cz or VB net components can be obtained from ftp ftp icpdas com pub cd WinPAC napdos wp 8x4x ce50 sdk WinPACNet Step 2 Copy the latest version of DLL to Host PC and WinPAC The DLL files on Host PC are located at anywhere only the solution can reference it The DLL files on WinPAC are located at the same directory as the exe file VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 127 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 2 2 WinPAC SDK updates for eMbedded Visual To determine the SDK version that is compatibly running on the WinPAC you can read the Release Note which is located under each SDK folder these files provides important updated information for what we fixed and added Step 1 Get the latest version of the eMbedded Visual components The latest version of the eMbedded Visual components can be obtained from ftp ftp icpdas com pub cd WinPAC napdos wp 8x4x ce50 sdk WinPACSDK Step 2 Copy the latest version of header files and libraries to Host PC The header files are located at C
78. ion 1 0 4 Last Revised April 2010 Page 118 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The installation will perform the following tasks WP 8x4x Ver 1 2 1 0 WinPAC 8000 Update Step 1 Installed Boot Loader successful Step 2 Erase finished Step 3 Finished the installation Step 4 Finished the registry setting i Install Boot Loader file Important Warning Be careful if the boot loader broken off in this step and cannot restart in safe mode you have to send it back to us Erase flash disk iii Install OS image iv Set registry settings to default Tips amp Warnings AN This step will reset the registry settings to default all of your before settings will lost VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 119 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 After completing the above mentioned tasks the Warning dialog will appear as follow after clicking button to finish updating OS image be sure the ViewPAC at normal mode D Position 0 Reboot this device right now Please turn the rotary swithc to 0 normal mode Step 8 Check the View PAC OS version Start the WinPAC Utility and then select the System Information tab to check the current OS version ViewPAG Utility 2 0 0 8 System Setting Ethernet Setting
79. llowing cmd line FEMGRCEXE AT TTCPIPC BLL 0 20 10 0 9 52 2008 Cancel Step 15 On the ViewPAC controller side select the Start menu and then click the Run command VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 150 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 16 On the Run dialog type the command which displays in step 5 and then click the OK button 2 WINPAC E TT Pd ndi Re fa een yu iae i faccus My Device the name a program folder document and Windows will open or ac a it for you 4 29 UP E gt Microsoft Internet Explorer WordPad my Documents Step 17 Return to the Host PC side on the Manual Server Action dialog click the OK button Manual Server Action Please make sure the following files are an the device WINDOWS Steppe dii YIN DO S cemar ese WINDEV SScetlstub dll And launch CEMGRC EXE with the following cmd line CEMGRC EXE 5 T TCPIPC OLL 24 20 10 0 9 52 5000 Cancel Last Revised April2010 151 VP 23W1 VP 25W1 User Manual version 1 0 4 E mail service icpdas com Copyright 2009 ICP DAS Co Ltd All Rights Reserved Step 18 On the Manual Server Action dialog click the button Microsoft eMbed
80. n 1 0 4 Last Revised April 2010 Page 157 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 11 On the ViewPAC controller side run the CommanClient2 and the CMAccept exe applications which is located at System_Disk ICPDAS System i Address Gyster Disk ICPDAS Svstem MI lis TepConne eDbgTL Command ConManz CMAccept clientshut Autolnit Autoloader WinpacsDK 7 WinconsDkK WTINPAC 172 PACSOS0 FAC BD24 1 gt WAR TCE TOOOCE Wincor DOMCE dlece400d omfctce400d MFCCE400 B 2 c I Step 12 On the Tools menu click Connect to Device command Edit View Project Debug Tools Window Community Help Gk Attach to Process al Connect to Device Tu Connect to Database Connect to Server Code Snippets Manager Choose Toolbox Items Add in Manager Macros Create GUID Diotfuscator Community Edition External Tools Device Emulator Manager Import and Export Settings customize Options VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 158 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 13 On the to Device dialog select 270 from Platform list and then click the Connect button Connect
81. ned WC Ir managing your ViewPAC anywhere No matter where you ICPDAS VCEP provides a al convenient environment on met the Desktop PC and allows you control your ViewPAC remotely ICPDAS VCEP is composed of two main components The Server which runs on ViewPAC 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 http www icpdas com products PAC wincon 8000 wincon VirtualCE htm VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 44 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 5 VIEWPAC UriLiTY The ViewPAC Utility is a tool which is designed to quickly control and management the ViewPAC ViewPAC Utility 2 0 0 8 File Help Configuration Welcome to use ViewPAC Utility This tool will help you to set ViewPAC Display Resolution 640 480 ViewPAC v Industrial Control Products be Data Acquisition System Setting OK Task Bar Setting Auto Hide Always On Top
82. nfo Ignore all default libraries Generate mapfile Project Options ViewPACSDK lib nalaga fbase 0x00010000 0 1 0000 01 000 wSSVinMainCRTStartup lincremental no pdb ARMVAIBel SDKinfo pdb cancel VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 93 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 4 Design and Build an application program Step 1 On the Workspace window select the ResourceView tab and expand the dialog folder and then double click the 10 DEMO DIALOG to open the dialog box al xl 4 SDKinfo resources ma ClassView Hesourcevyiew FileView Step 2 Add the button object in the SDKinfo dialog box ES SDKinfo re IDD SDEINFO DIALOG German Germany Dial 6 E Aa abl B EE mu ge 5 Buttoni ZU ERLED DialagfFeld Steuerelem Last Revised April 2010 Page 94 VP 23W1 VP 25W1 User Manual version 1 0 4 E mail service icpdas com Copyright 2009 ICP DAS Co Ltd All Rights Reserved Step 3 In the SDKinfo dialog box right click the button object and then click the Properties command Ex SDEinfo rc IDD SDEINFO DIALOG German Germany Dial 5 FL ERLED Dialagfeld Steuer Paste Insert ActiveX Control size to Content bf Alien Left Edges
83. o SD shows how to read write date values registry registry from to registry UART Shows how to local modules via UART For C application these demo programs can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC DotNE I C NET Standard battery backup sram microsd microsd management fto fto icodas com pub cd winpac napdos wp 8x4x ce50 demo winpac dotnet c 23 net standard VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 107 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 2 eVC Demo program for PAC IO The table below describes the ViewPAC demos that have been designed to demonstrate the expansion module features of the ViewPAC Local PCI SLL Lit 4 1 m a pu EE s ENE Folder Demo Explanation which plugged in the ViewPAC TM Shows how to read the DI values of DI module E This demo program is used by 8K series DI modules Shows how to write the DO values to DO module This demo program is used by 8K series DO modules VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 108 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation Shows how to read the DI and the DO values of the DIO module This demo program is used by 8K series DIO modules Shows how
84. oject VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 68 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 2 Add project reference for an application Step 1 On the Solution Explorer window right click the Reference and then click the Reference command Solution Explorer Solution SDKinfo 1 pr X Lew solution SDEmto 1 project 39 SDEinfo Step 2 In the Reference H Properties dialog box select the Browse tab and then specify the directory of the ViewPacNet dll file in the File name field The ViewPACnet dll file can be obtained from CD Napdos vp 2000_ce50 SDK ViewPACNet http ftp icodas com pub cd winpac napdos vp 2000 ce50 sdk ViewPACnet Add Reference ViewFacNetdl Component Files dll tlb olb acx exe VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 69 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 3 Design and Build application program Step 1 Add a Button button object in the From1 dialog box Step 2 Right click the button object and click the Properties command Formi cs Design Start Page Object Browser X Form VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 70 Copyright 2009 ICP DAS Co Ltd All Rights
85. or Ethernet port using virtual com port It supports not only the DCON Protocol I O modules but also the M Series Modules Modbus M 7K M 87K and will support Modbus ASCII M 87K now For more detailed information on ViewPAC Utility applications please refer to 2 9 Using Utility to configure the I O modules VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 41 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 2 NAPOPC CE5 ji _ DA Server is a free DA Server The stands for OLE for Process Control and the DA stands for Data NAPOPC Access working WinPAC ViewPAC amp WinCon controllers provided by ICP DAS Ltd The first standard originally called simply the OPC Specification and now called the Data Access Specification resulted from the collaboration of a number of leading worldwide automation suppliers working in cooperation with Microsoft Originally based on Microsoft s OLE COM component object model and DCOM distributed component object model technologies the specification defined a standard set of objects interfaces and methods for use in process control and manufacturing automation applications to facilitate interoperability NAPOPC_CE5 DA Server integrates OPC Modbus TCP Slave and Modbus RTU Slave three kind Slave services as well as integrates Modbus TCP Master Modbus R
86. or write to the battery backup watchdog watchdog Displays how the watchdog operate Shows how to enables disables Micro SD Shows how to read write date values registry registry from to registry UART Shows how to local modules via UART For C application these demo programs can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC DotNE I C NET Standard battery backup sram microsd microsd management fto fto icodas com pub cd winpac napdos wp 8x4x ce50 demo winpac dotnet c 23 net standard VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 101 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 2 Demo program for IO The table below describes the ViewPAC demos that have been designed to demonstrate the expansion module features of the ViewPAC Folder Demo Explanation S Shows how to retrieve the module names and types find 10 l l nm which plugged in the ViewPAC SE Shows how to read the DI values of DI module l BH This demo program is used by 8K series DI modules VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 102 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation This demo program is used by 8K series DO modules Shows how to read the DI and the DO values of the DIO
87. ows CE Platform Manager Configuration select a platfarm or device to configure PACZ70 Add Device 9 270 Device STANDARDSDE 420 Windows CE Default Platform Step 3 On the Device Properties dialog click the Configure button Device Properties Device Name PACZTO Device select a transport and a startup server Choose Test to verify that you can establish connection to your target device with the selected transport and starhip server Transport Transport for Windows CE startup server Manual Server OE Cancel Test VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 144 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 On the TCP IP Transport Configuration dialog select the Fixed port check box and then click the button ICP IP Transport Configuration Configuration Far device 270 Device Check connection status Interval msec 60000 Port number 5000 Use address 10 0 9 52 C Configure automatically over serial Cancel Step 5 On the Windows CE Platform Manager Configuration dialog click the Test button Device Properties Device Name 270 Device select a transport and a startup server Choose Test to verify that vou can establish a connection to your target device with the selected t
88. please perform the following steps Step 1 On the Host PC check the name of the Host PC and the shared printer System Properties Remote Advanced Windows Uses the following information to identify your computer on the network For example Kitchen Computer ar Mary s Computer Full computer name Serer ame Workgroup ILPOAS Auto HP LaserJet 2200 iRD1 on WINPAC Properties EJE3 General Sharing Ports Advanced Color Management E You can share this printer with other users on your network enable sharing For this printer click Share this printer CO Do nat share this printer Drivers IF this printer shared with users running different versions of Windows vou may want to install additional drivers so that the users do nat have to find the print diver when they connect to the shared printer Additional Drivers VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 168 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 On the open WordPad format file Step 3 On the ViewPAC open a WordPad format file Edt view Format ew 4 Step 2 Set up the printer Open Save Ctrl 5 Save As Password 1 Printer PCL Laser 2 Port Ne
89. r choice to use 7513 as RS 485 hub on start type network a E 232 485 Converter 7520 Series 485 Hub 513 Series Ps e um Enc a e E VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 134 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com B 4 RANDOM RS 485 NETWORK There are branches along the main wire In this case it is better to have a repeater to isolate or filter the noise that is made by devices LIRIRIRIZLIEI 232 485 Converter 485 Repeater 7520 Series 7510 Series 485 Repeater 7510 Series VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 135 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com B 5 MASTER SLAVES SETTINGS There must exist one master to have a pull high pull low resistor in the same network In a master slave applications Master is the default configuration of ViewPAC B 5 1 ViewPAC as a Master default When one of ViewPAC is set to the master mode then all the other devices on the same network must be set to the slave mode oet an ViewPAC to the master mode by adjusting the jumpers on the power board of ViewPAC the pull high pull low resistors are adjusted to be enabled Refer to the following figure VP 23W1 VP 25W1 User Manual
90. r eno err yer enc euet en 62 2 95 2 VIEWPAG ODRA IG Eu 65 dE UU UU 67 4 4 1 Create new 67 4 4 2 Add project reference for an application 69 4 4 3 Design and Build an application program 70 4 4 4 Execute the application on the 74 2 5 VOUN FISE Progiam IN VB TIO 76 4 5 1 Create a new 76 4 5 2 Add project reference for an application 78 4 5 3 Design and Build an application program 79 4 5 4 Execute the application on the 82 4 6 Your First Program in eMbedded Visual 84 4 6 1 Create a new Forms Based 84 4 6 2 Configure compiler 89 4 6 3 Specify the path for project reference 90 4 6 4 Design and Build an application program 94 4 6 5 Execute the application program on
91. ransport and startup server Transport Transport for Windows configure startup server Manual DEIVEI Cancel VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 145 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 The Manual Server Action dialog will appear displaying a command line before click the OK button to close dialog turn to the ViewPAC controller side to do the next two steps Manual Server Action Please make sure the following are on the device SWAN DOMES Stepipe dii WAY TN DO S WIND LUWwS eetlstub dll And launch CEMGRAC ESE with the following cmd line CEMGRC EXE S T TCPIPC OLL 4 20 10 0 3 5 5000 Cancel Step 7 On the ViewPAC controller side select the Start menu and then click the command VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 146 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 On the Run dialog type the command which displays step 5 and then click the OK button i g My Device WINPAC Po nm tho nme RE remr sm jT EE the name of a Ji OL aiii Jai vum i EV iv us TM or document and Windows will open D it for you 2 Z Open Internet
92. rsion 1 0 4 Last Revised April 2010 Page 91 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the Option dialog select the Directories tab and do the following in this order to specify the library file path Options Platform PAC270 STANI Directories CAProgram Filest indows CE Toolstwce5ou s TANDAHDSDK 5U0DVIbVABR MV CAProgram FilesWVindaws CE Toolstwce500 5TANDARDSDE 500UmfecMibVAE Dun ram uem lll BA OHS LIE Ih AE Click this button specify the library file path The ViewPACSDK lib file can be obtained from CD Napdos vp 2000_ce50 SDK ViewpacSDk htto fto icodas com pub cd winpac napdos vp 2000 ce50 sdk viewpacsdk VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 92 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Click the Settings command from the Project menu File Edit View Insert Project Build Tool Window Help set Active Propect Add To Project I Dependenties Export Makefile Insert Project Workspace Step 5 In the Project Settings dialog box do the following in this order Project Settings Settings Win3 CE ARMV4IJ Release Category General Heset Output file name ARMV4IRel SDKinfo exe ViewPACSDK lib Generate debug i
93. s are available from the ViewPAC Download Center Y OS images Includes updates and the latest version of ViewPAC OS Y ViewPAC SDK Includes updates and the latest version of each ViewPAC component SDK such as ViewPAC SDK NAPOPC CE5 SDK Modbus SDK etc Y Utility amp Tools Includes updates and the latest version for ViewPAC toolkits Y Demo Includes all related ViewPAC demos Y Documents Includes updates and the latest version for related ViewPAC documents Y System Disk Includes updates and the latest version for ViewPAC toolkits VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 129 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix A 1 8 and 1 87 Modules There are 3 slot options to expand local I O And the modules can be parallel bus type high profile I 8K series and serial bus type high profile I 87K series The difference between them is Item I 8K Series 87 Series CON ves Counter input for digital input module Yes 1002 Powronwle 0 0 Ys 00 0 Ys __ Programmable slew rate for AO module Yes VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 130 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix B Application of RS 485 Network The RS 485 length can be up to 4000 ft or 1 2 km over a single set of twisted pair cables if the
94. s of ViewPAC to its factory default values The settings include configuration setting network setting auto execution etc Exits the ViewPAC Utility VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 47 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Help Menu File LJ Configuration Reset System to Default Release Notes About The menu commands Use to Reset System to Default Resets the system interrupt status to default The operation used in the situation when the interrupt crash You can select this operation to reset the interrupt status without rebooting the device About Displays a dialog box with information about ViewPAC Utility including the current version and copyright information VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 48 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Configuration Menu File Help Configuration Import Registry key Export Regsitry Key Store All Registry Setting Dump All Registry Setting The menu commands Use to Import Registry Key Backs up sub key of registry by using a registration entry reg file How to use Step 1 Select the Import Registry Key then the Open dialog box will appear Step 2 On the Open dialog box select specific reg file to import Warning 1 The reg file which should be saved
95. sers qn Create a new group gd Delete a group gl List all groups List members in a group gat Add a user to a group qrf Remove a user from a group VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 142 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 2 ONLINE DEBUG VIEWPAC Debugging is a process that you use to find and resolve errors or bugs in a program C 2 1 Debug ViewPAC programs in EVC Step 1 On the Tools menu click Configure Platform Manager command Edit View Insert Project Build Tools Window Help Enor Lookup Remote Call Profiler WCE500 Remote File Viewer WCE500 7 Remote Heap Walker WCE500 Remote Tracker WCE500 Remote Performance Monitor WCE500 Remote Process Viewer WCE500 Remote Registry Editor WCE500 Remote WCESOQ P Remote System Information WCE500 Remote Zoomin WCE500 select Remote Tools gt Customize Options S Macro Record Quick Macro Ctrl Shift R Play Quick Macro Ctrl Shift P Configure Platform Manager VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 143 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 On the Windows CE Platform Manager Configuration dialog click the Properties button Wind
96. solation Connector 2 2500 5 DB9x2 FBMAW 40 00 00 BX 2 oz 2 Terminator biockx con Terminator block x1 The ViewPAC can be expanded to support up to 16 I O modules For more detailed information about these support modules please refer to http www icpdas com products Remote lO i 8ke selection rs232 i8k htm ViewPAG Utility 2 0 0 8 File Help Configuration Ethernet Seting FTP setina system Information aut Execution Mutrseral port wierd oystor Slot enabled Slot 1 69 Driver disabled Slot2 8144 Install driver Stepi Set Step2 Go to File gt Save and Reboot to enable driver Slot scan Refresh VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 58 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com System Memory Tab The SRAM Setting tab provides functions to adjust and monitor the unused RAM ViewPAG Utility 2 0 0 8 File Help Configuration FTP Setting System Information Auto Execution Multi serial port wizard System Memory Setting nD Move slider to the left for more memory to run programs Move slider to the right for more storage room Only unused RAM can be adjusted Storage Program Memory Memory Allocated 45432KB Allocated 454386KB In Use KB In Use 13420 tab use How to use Adjust
97. tp icpdas com pub cd winpac napdos vp 2000 ce50 os image vp 23w1 updat e from Eshell VP23xx YYYYMMDD Ver X X X X XX bin e 2 Release Date e Language Year Software en English MM Month Major version Traditional Chinese DD Day Minor version sc Simplified Chinese Build number Reversion For VP25W1 The latest version of the installation package can be obtained from CD ANapdosWp 2000 ce50 os image Wwp 25w1 update from Eshell http ftp icodas com pub cd winpac napdos vp 2000 ce50 os image vp 25w1 updat e from Eshell VP25xx YYYYMMDD Ver X X X X XX bin e Oma o Release Date e Language YYYY Year Software en English MM Month Major version Traditional Chinese DD Day Minor version sc Simplified Chinese Build number Reversion VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 122 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Run the ESHELL software on the Host PC ESHELL ESHELL you can be obtained at CD Napdos wp 8x4x_ce50 PC_Tools Eshell fto ftp icodas com pub cd ViewPAC napdos wp 8x4x cebO pc tools eshell Step 3 Reboot the ViewPAC at update OS mode Turn the rotary switch to 3 and then reboot the ViewPAC Position T VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 123 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail
98. twork 3 Net Path ServerName PrinterName Print Ctri P The ServerName is your PC s name or IP The PrinterName is your printer s shared name of your PC Paper Size Select the paper size Recent Files Close Ctrl File Edit View Format Tools Gelb amp Test Printer Pct Laser Print Range Orientation Port Network v al 9 Portrait Selection Landscane Met Path RD1 User2 anna o H Ad Margins inches Left 1 25 Tap fi Oe Advanced Right f1 25 Bottom 11 Paper Size VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 169 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 2 How to use printer via USB To use a shared network printer via USB please perform the following steps Step 1 On the ViewPAC open a WordPad format file Edit View Format Tools ew Open Save Ctrl 5 Step 2 Set up the printer Save Password 1 Printer Hewlett Packard LaserJet 2 Port LPT1 Print Ctrl P 3 Paper Size Select the paper size Recent Files Close Ctrl File Edit View Format Tools 7 KD Tahom Test Printer Hewlett Packard Laser Print Range Orientation Part al 3 Portrait Selection Landscape Met Path O 4 Margins inches Draft Mode LER a5 B
99. ve been designed for the ViewPAC You can examine the demo source code which includes numerous comments to familiarize yourself with the ViewPAC This will allow developing your own applications quickly by modifying these demo programs The following details the contents of the ViewPAC demo programs VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 99 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 DEMO PROGRAMS WITH C The table below describes the ViewPAC demos that have been designed to demonstrate the standard operation features of the ViewPAC 5 1 1 C Demo program for WinPAC Standard API The table below describes the ViewPAC demos that have been designed to demonstrate the standard operation features of the ViewPAC System Information Watchdog Backplane Access UART Interrupt Registry Memory Access Micro SD System Operation VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 100 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation Retrieves information about the OS system systeminfo version CPU version SDK version etc Retrieves information about the DIP backplane backplaneinfo switch backplane ID and slot count Shows how to read write date values memory from to EEPROM memoryaccess Shows how to read
100. vised April 2010 Page 26 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 4 MOUNTING THE WATERPROOF The ViewPAC provides an IP67 waterproof connector which consists of the following components plugged in RJ 45 cable Step 1 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 27 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 15 step 16 VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 28 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 5 CONFIGURING THE BOOT MODE The ViewPAC has five operating modes that can be determined through a rotary switch The table below lists the operation mode selection Rotary switch position Modes of operation Normal mode Default Safe mode Debug mode OS update mode Development mode DCON CE VCEP For user Normal mode Default Normal mode is the default mode of operation and the one you will use most of the time Use this mode for more tasks and configurations Programs also are executed in this mode Safe mode oafe mode is a trouble shooting The mode loads the minimum required device drivers and system services to boot the ViewPAC If you have malicious software or a program caused the ViewPAC cannot be boot or run
101. xported file VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised 2010 Page 50 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 5 2 Property Tabs The ViewPAC Utility includes the following property tabs all property tabs will be explained later ViewPAG Utility 2 0 0 8 File Help Configuration Welcome to use ViewPAC Utility This tool will help you to set ViewPAC Display Resolution 640 480 ViewPAC ACT Industrial Control Products S Data Acquisition System Setting Batteryl OK Task Bar Setting Battery2 OK Auto Hide Always On Change HTTP document root directory xwindowsVvww wwwsub toe Y System Setting Y Ethernet Setting v FTP Setting Y System Information Y Auto Execution Y Multi serial port wizard v System Memory Setting v Backplane Compatibility VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 51 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com System Setting Tab The System tab provides functions to configure the task bar HTTP directory path ViewPAC Utility 2 0 0 8 File Help Configuration Welcome to use ViewPAC Utility This tool will help you to set ViewPAC Display Resolution 640 480 Industrial Control Products S Data Acquisition System Setting Batteryl OK Task Bar Setting Battery2 OK Auto Hi
102. y to run PC based control software such as Visual Basic NET Visual C Embedded Visual SCADA software Soft PLC etc Compared with traditional IPC PLC solutions ViewPAC reduces overall system cost space and gives you all the best features of IPC and PLC VP 23W1 VP 25W1 User Manual version 1 0 4 Last Revised April 2010 Page 7 Copyright 2009 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 1 5 This section provides a brief overview of all the major features of ViewPAC poire Software Features Windows CE Net 5 0 Inside Most of the popular features in MS software are included such as 1 FTP Server 2 HTTP Server 3 ASP Java script VB script 4 SQL Server Compact Edition 3 5 5 Compact Net Framework 2 0 Y Remote Maintenance via FTP Server and VCEP Software The FTP server is used for uploading applications or downloading data And VCEP is designed for managing the ViewPAC VCEP can synchronize every movement screen keyboard and mouse actions between the PC and the ViewPAC via the Ethernet By using the FTP server and VCEP you can update and manage the ViewPAC remotely via the Ethernet Y Built In OPC Server NAPOPC 5 CE5 is an OPC server and SCADA software can easily integrate modules through it Furthermore it also provides a library which users can use to develop their AP by eVC C or VB Net not

Download Pdf Manuals

image

Related Search

Related Contents

R&S FSH-Z114 Precision Frequency Reference User Manual  Kenmore 790.7936 User's Manual  Département - Actucommunes  User Manual    apostila que fizemos para uso de TDR  VC 159-1 - manuel VEC  リスクアセスメント担当者養成 のための研修  Specific Product Documentation    

Copyright © All rights reserved.
Failed to retrieve file