Home

WinPAC-8000 User Manual

image

Contents

1. 109 4 5 2 Dohlgure Gofmbilel ODIOS 114 4 6 3 Specify the path for project reference 115 4 6 4 Design and Build an application program 120 4 6 5 Execute the application program on 124 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 4 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 APIs and Demo References e esee 126 5 1 Demo programs with 127 5 1 1 C Demo programs for WinPAC Standard 128 5 1 2 C Demo programs for PAC IO 130 5 2 Demo Programs with eMbedded Visual C 199 5 2 1 Demo programs for WinPAC Standard 134 5 2 2 Demo programs for PAC 10 136 6 WinPAC Updates 139 Me DO I NEED 143 6 1 1 WinPAC OS updates using installation package file on WinPAC 146 6 1 2 WinPAC OS updates using Eshell via Ethernet 151 0 016 2 E
2. Y 157 6 2 1 WinPAC SDK updates for C or 159 6 2 2 WinPAC SDK updates for eMbedded Visual 161 7 WinPAC Download Center 163 Appendix A Frame Ground 164 Appendix B Redundant Power 166 Appendix C I 8K and 1 87 Modules 168 Appendix D Application of RS 485 Network 172 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 5 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com D 1 Basic RS 485 Network cccccececcccececccccccccacececeacuceceacuceneaesceneccsteaeacsneceaeeneatas 173 D 2 Daisy Chain RS 485 icem iet bnt 175 Star Type RS 485 Network ccccccccccccseececeseeeceeeeeseeceeseeesseseesseesesseeesseeeesaaes 177 D4 Random RS 485 NCI RTT TT DIT 180 D 5 Master SIA SS CNG 182 5 1 WinPAC as a Master default 184 D92 dS a SAVO e tose 186 Appendix E Tips How to 189 E 1 How to set up a telnet and FTP account to login WinPAC
3. VOU Tu dl y kaJ iT CAM k I U Copyright 2014 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 Build Debug Data Tools Test Window 0X9 5 Atach to Process Ctrl Alt PACSOU ARMY4 ARMVAI Release al pa j BA Device Security Manager x create database Formi cs Fomles Desg S7 Connect to Device zy Device Emulator Manager E n S Application Loe pe Connect to Database ES Configuration M A Eni E Connect to Server ployment Options 1 Code Manager ChlrE Ct B Build Event Target device Choose Toolbox Items Debug SO ARMY 4 Add in Manager Autpnt file folder Macros Resources G4 SIDL PROGRAM FILE Reference Paths Deploy the latest version Create GUID Dotfuscator Community Edition Signthe projectoutputw EX WCF Service Configuration Editor External Tools select Cer Signing thenticode Signing Devices Import and Export ettings Customize Options s E Step 6 On the Options dialog select PAC 270 from the Show devices platform list and then click the Properties button Documents Find and Replace Fonts and Colors Help Import and Export Settings ere Intecnationa
4. gt Ej uploaded file svsterninftoa X 01040102 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 124 Check the O5 version AJ ERLED Dialagteld Steuerelem hier Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 125 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 APIs and Demo References This chapter introduces demo programs that have been designed for the WinPAC You can examine the demo source code which includes numerous comments to familiarize yourself with the WinPAC API This will allow developing your own applications quickly by modifying these demo programs The following details the contents of the WinPAC demo programs WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 126 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 Demo programs with CZ The following C demos have been designed to demonstrate the various features of the WinPAC WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 127 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 1 CZ Demo programs for WinPAC Standard API The table below describes the WinPAC demos that have been designed to demonstrate
5. 227 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 4 1 How to use network printer To use a shared network printer please perform the following steps Step 1 On the Host PC check the name of the Host PC and the shared printer System Properties System Restore Automatic Updates Remote Computer Name Advanced General Hardware Windows uses the following information to identity your computer on the network For example Kitchen Computer or Mary s Full computer name Serer ame To use the RD1 on KEYIN WINPAC Properties domain and cre To rename this TOP ou can share this printer with other users on your network enable sharing for this printer click Share this printer Drivers IF this printer i shared with users running different versions Windows may want to install additional drivers so that the users do not have to find the print driver when they connect to the shared printer Additional Drivers Help WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 228 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 On the WinPAC open a WordPad format file si Edit View Format Tools ew Step 3 Set
6. VW l O Expansion Slot WP 8441 4 Slots J Ethernet Port WP 8841 8 Slots 6 9 Connector PWRI GND Redundant Power iuis 10 30 Voc GND R COM LT Relay Output R NO D a COM2 L Frame Ground FG WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 26 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 LED Indicators The WinPAC has two LED indicators that are located near the rotary switch and show the operation status LED Indicator State Color Meaning RUN ON Red The OS is ON Blinking The System_disk formatted or defragmented PWR ON Green The Power is ON OFF The Power is OFF The Rotary Switch is an operating mode selector switch which provides seven functions related to the selection of the operating mode and authorization control for the WinPAC For more information about the operating mode please refer to section 2 3 Configuring the Boot Mode 3 Micro SD Socket There is a Micro SD expansion slot which is used to increase memory capacity just in case 16 GB S 4 VGA Connector EA The VGA connector is a 3 row 15 pin connector that can be used to connect a monitor at a variety of supported VGA resolutions These resolutions range from 640 x 400 to 1280 x 1024 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 27 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
7. 5 I O Expansion Slot The WinPAC includes some additional 1 0 slots that can be used for expansion purposes The number of expansion I O slots for each model is as follows WP 8141 WP 8131 1 I O slot WP 8441 WP 8341 4 I O slots WP 8841 WP 8831 8 I O slots 6 Connector The connector has 10 pins and the pin assignments are as follows WP 8131 WP 8141 WP 8431 WP 8441 WP 8831 WP 8841 Signal Description Signal Description 2 Power input 1 gt RS 485 PWR2 Power input 2 Relay output 2 RS 485 COM1 RS 232 R NO Relay Output RECOM Power Input 2 Power Input 1 FWRI E gt Frame Ground Gh Gh XJ e P eC WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 28 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Pins RS 232 for WP 8131 WP 8141 only Note CPU internal UART Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 7 8 Parity None Even Odd Stop Bits 1 FIFO 1 byte COM 2 Pins RS 485 WP 8431 WP 8441 WP 8831 WP 8841 only Note 166550 compatible Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 7 8 Parity None Even Odd Mark Always 1 Space Always 0 Stop Bits 1 2 FIFO 16 bytes WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page
8. the printer Seu 1 Printer PCL Laser 2 Port Network 3 Net Path ServerName PrinterName Print Ctri P The ServerName is your PC s name or Recent Files Ss The PrinterName is your printer s Close Ctr vy shared name of your PC Size Select the paper size Eyl Tahom v 4 Print Range Orientation Reo 9 Portrait RD1 UserziAnna Q Selection Landscape see Margins inches Paper Size v _ Left 1 25 fi _ Draft Made T Advanced aht GN af Coler Right 1 25 Bottom 11 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 229 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 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 WinPAC open a WordPad format file sii Edit View Format Tools ew k Open Ctr 2 Save Ctrl 5 Step 2 Set up the printer Dave AS Password 1 Printer Hewlett Packard LaserJet 2 Port LPT1 Print Ctrl F 3 Paper Size Select the paper size Recent Files Close Ctrl File Edit View Format Tools gt E Tahom m 14 m Test Print E Printer Hewlett Packard Laser Print Range Orientation DTE E All 3 Portrait Selection Landscape Met Fath O zZ Margins inches Paper Size ad v
9. Left 1 25 fi Draft Mode Color Right 1 25 Bottom fi Advanced WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 230 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 231 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 5 How to use services tool The services tool can help you turn on turn off and monitor the WinCE services Step 1 Open a MS DOS command prompt fe Programs ql Favorites d iE Documents Settings d Type the name of a program folder or document and Windows will open WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 232 Copyright 2014 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 OxOO0O03011L0 TPO x cgosl5 7 OxOO0O0 32070 01 OxO0036730 OxUOO axags7770 x dgs7actu x gdgscecset TPO ax ndD03tf rftr HITPD DLL credzswvc dll MSHM D Dll BERZXSrVr dll FTPD Dl11l TELHETID Dll smbzerwver dll timezsvcoc dll Bunning Punnincg Puri ric Off Uff Punnincg Bunning Bunning Punnir Step 3 Type the commands to configure service Syntax services stop services name
10. After starting the ESHELL software the Select Device dialog will appear and then select the device which you want Select Device Enter Device wINPAC270 535 Or Select Fram the List WINPACS7O 535 Reset devices to automatically put names the list WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 152 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Select the latest version of the OS image file Microsoft Windows CE Debug Shell WINPAC270 636 E IB File Edit Tools Options View Help save Cunment Log Colts E 5 atat Logemge To File otop Logeme To File Ctrl F select Image pen select Image Ey Microsoft Windows CE Debug Shell VP 444952 File Edit Tools Options View Help falar al al a 7 e n UP 44498 Bootloader Version 1 8 IP 16 1 6 56 MAC 66661F 61ADD2 1 Downloading Rdfs cd_2 WinPAC napdos vup 2666_ceS6 0S_image yvp 23w1 update_from_Eshell en ul Jumping to image on UP_44498 Connecting to UP 44498 using Ethernet WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 153 Copyright 2014 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 WinPAC screen as below shown click No to finish the proc
11. Non condensing WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 20 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 3 Dimensions There are several series of WinPAC modules whose overviews depended on the quantity of the slot All dimensions in millimeter Top View Front View EE IBS 122 0 132 0 L 111 Left Side View WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 21 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Top View 122 0 1320 Front View WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 22 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E E E E o 122 0 132 0 E q EE E E bh t et hee tee eh WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 23 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 4 Overview The WinPAC contains several interfaces and peripherals that can be integrated with external systems Here is an overview of the components and its descriptions The details of these items are as follows LED Indicators Rotary Switch 1 5 n T Mi
12. None Even Odd Mark Always 1 Space Always 0 Oy Stop Bits 1 2 FIFO 16 bytes Tips amp Warnings N COMG be configured as either RS 232 or RS 485 that only can select one at a time and Its WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 18 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com VGA Communication Ports configuration depends on the pin connections as follows RS 232 RXD TXD CTS RTS and GND RS 485 Data and Data There is no software configuration or hardware jumper needed COM4 RS 232 for WP 8431 WP 8441 WP 8831 and WP 8841 only Note 166550 compatible Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 5 6 7 8 Parity None Even Odd Mark Always 1 Space Always 0 otop Bits 1 2 FIFO 16 bytes I O Expansion Slot Number Supports high profile I 8K and 1 87 modules only WP 8131 WP 8141 1 Slot WP 8431 WP 8441 4 Slots WP8831 WP 8841 8 Slots Dimensions 0 WP 8131 WP 8141 95 x 132x 111 mm WP 8431 WP 8441 230 x 132 x 111 mm WP 8831 WP 8841 355 x 132 x 111 mm WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 19 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Operating Environment Operating Temperature 25 C 75 C otorage Temperature 30 C 80 C Humidity 10 90
13. kj Build Solution CtlShite Rebuild Solution Deploy Solution lean Solution Build zysteminto Rebuild zwsteminto Deploy systemunto Clean gvsteminto Batch Build Confizuration Manager Step 2 Open the web browser and type the IP address to connect the FTP server of WinPAC Step 3 Upload the systeminfo exe application and the corresponding PACNET dIl file to the WinPAC via the WinPAC FTP server WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 107 Copyright 2014 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 WinPAC controller the corresponding PACNET dll file must be in the same directory as the exe file Fille Edit View Go e 2 XH E Ll systeminfo PACHET Step 4 On the WinPAC execute the uploaded file WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 108 Copyright 2014 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 C 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 E
14. 189 1 1 Add a telnet and FTP 192 1 2 Remove a telnet SOCOUETE VIE DRE USE UE RUEDAS ODE AREA 194 E 1 3 Use a Telnet to login WINPAC from PC 196 2 How to online debug WinPAC 198 E 2 1 Debug WinPAC programs in EVO 44 cccccccseeeceeecseeeeseeeseeeeeseeeeseeeenaes 199 E 2 2 Debug WinPAC programs in Visual Studio 2005 2008 209 E 3 How to recompile WinCon Eod alli eere ces EDU 218 E 3 1 Compiler old programs which ran on Wincon 8x3x and 8x4x 220 E 3 2 Modify vcp file to upgrade the old WinCon project 224 E 4 How to use the 226 ELT How to use TIE IO FPO i ossia ibt rd b ra aee 228 4 2 How t use printer via USB ocupan unu pU t ce ire I Uem 230 E MOW 10 USO SIC SS 00 anale indic 232 Appendix F Revision History 236 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 6 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 Introduction Experience new PAC technology SA I1 Maximize business WinPAC 6000 X benefit with 1 tt ht the most powerful control systema I s Windows ce t
15. Build menu click the Build Solution command File Edit View Project Debug Data Format Tools Test Window kj Build Solution CtlShite Rebuild Solution Deploy Solution lean Solution Build zysteminto Rebuild zwsteminto Deploy systemunto Clean gvsteminto Batch Build Confizuration Manager Step 2 Open the web browser and type the IP address to connect the FTP server of WinPAC Step 3 Upload the systeminfo exe application and the corresponding PACNET dIl file to the WinPAC via the WinPAC FTP server WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 99 Copyright 2014 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 compact framework when executing these application on the WinPAC controller the corresponding PACNET dll file must be in the same directory as the exe file Fille Edit View Go xi E systeminio PACHET Step 4 On the WinPAC execute the uploaded file WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 100 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 Your First Program in VB net To create a demo program with C development tool includes the following main steps 1 Create a new project 2 Add projec
16. Workspace Step 5 In the Project Settings dialog box do the following in this order Project Settings Settings For General Debug C C Link Resources Win32 ACE ARMY4l Release i Category General Heset Output file name ARMV4IRellsysteminfo exe Generate debug info Ignore all default libraries Generate mapfile Project Options nologo base 0x00010000 stack 0x 10000 0000 lenr w rinMainCRT Startup incremental no pdb ARMY 4IBelisystemintfo pdb Came WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 118 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 119 Copyright 2014 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 IDD DEMO DIALOG to open the dialog box al 1 E 432 ClassView aes HesnurceView FileView Step 2 Add the button object in the systeminfo dialog box Ez SDKinfo rc IDD SDEINFO DIALOG German Germany Dial k HE Aa abl EE m Buttoni Eis ZU ERLED Dialogfeld Steuerelem hier WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 12
17. e dll fS oe E E E A E HD MUR RUND RR RU 8 UTOR RR nn 16 UU Ut 21 o 24 COMPANION CE 34 1 6 Comparison of WinPAC VIG OM easiest eee en 35 2 Getting 41 21 DOMOEM 41 ais siae 43 2 3 Configuring the Boot Mode 46 2 4 Using WinPAC Utility to manage the WinPAC 50 2 5 Using Utility to Configure I O Modules sees 52 2 6 Changing the User Interface 54 2 MNstalling mie louch Panel DIVET 56 2 8 Using Backup Utility to back up the settings and files 57 2 9 caution about using SV SECU 59 5 5 TASK CREER M 60 DCON M 64 OPEM nUO ORCI 65 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com CII OG OM 66 A 6 H 67 COMI eS c 68 IIR 69 OS
18. version 2 0 9 Last Revised January 2014 Page 238 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
19. 2014 Page 50 E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 51 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 5 Using DCON Utility to Configure I O Modules DCON Utility is a tool kit used to quickly control and manage I 87K series expansion I O modules Step 1 Run the DCON firmware on the WinPAC The DCON firmware is located at System_Disk tools DCON_CE Step 2 Run the Utility on the host Run the firmware The DCON Utility can be obtained from http fto icodas com ub cd wing ac na doc 8 4 ce50 pc tools dcon utility Run the DCON Utility Run the WINCE button Aer 00 dec s Pen Nose _ Daa Bit a Sip Bit WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 52 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Enter the IP address of the WinPAC to search the I 87K series expansion I O modules WINCE device Connection COM 3 RS232IRS 485 IP 10 1 0 50 Connect x i cec ralraer to Step 5 Select the module name that you want to configure E DCON UTILITY 500 The Found Cut I O module File COM Por Search Ron Terminal Language Help WinCon8000 1 1 4 MEMME SO 115200
20. 29 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 Ethernet Port LAN1 LAN2 The WinPAC contains two Ethernet ports for use with network devices and are denoted as LAN1 and LAN2 WP 8441AWP 8841 WP 8431 ANP 8831 Each Ethernet port has two LED indicators which are used to indicate the network speed and Link Acting as described below LED Indicator State Color 10 100M ON Orange Network Speed 100 MB OFF Network Speed 10 MB Link Act ON Green The Link is active OFF The Link is inactive Blinking Green Network activity WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 30 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 8 USB Port The WinPAC contains 1 2 USB port s that allow support for USB devices such as mouse keyboard or an external USB hard drive WP 844 1 WP 884 1 WP 8431 AWP 8831 9 COM1 WP 8431 WP 8441 WP 8831 WP 8841 only Port Type Female Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 7 8 Parity None Even Odd Stop Bits 1 FIFO 1 byte WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 31 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 10 COM3 RS 232 RS 485 Port Type Male Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 5 6 7 8 Parit
21. 5 1 2 Cit Demo programs for PAC IO API The table below describes the WinPAC demos that have been designed to demonstrate the expansion 1 0 module features of the WinPAC Remote I O Local I O WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 130 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com PAC IO API Folder Demo Explanation Shows how to retrieve the module names and types which plugged in the WinPAC Shows how to read the DI values of DI module Hu 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 Shows how to read the DI the DO values of the DIO module dio This demo program is used by 8K series DIO modules p Shows how to send receive a command response 87k basic application This demo program is used by 87K series modules mm Shows how use uart API and the IO modules located 8 K demo 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 This demo program is used by 87K series 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 DI and the DO values of t
22. Acquisition System Batevl OK Task Bar Settings d Auto Hide Always On Top Battery2 OK Blank Desktop Configure synchronization with a time server Enable Autorun when connecting a USB Disk Enable Autorun when connecting a Micro SD Y System Setting Y System Settings2 Y Ethernet Setting Y Network Setting Y System Information Y Auto Execution Y Multi serial port wizard Y System Memory Setting Y Backplane Compatibility WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 74 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com System Setting Tab The System Setting tab provides functions to configure the task bar HTTP directory path WinPAG Utility 2 1 0 4 Mim Fie Help Configuration System Settings2 Ethernet Settings Network Settings System Information Auto t 4 gt Welcome to use WinPAC Utility This tool will help you to set up the wvinPAC 8000 Display Resolution 1024 768 Brp 16 WinPAC um Industrial Control Products Data Acquisition System Batevl OK Task Bar Settings d Auto Hide Always Gn Top Frequency 70 v 2 OK Blank Desktop Configure synchronization with a time server Enable Autorun when connecting a USB Disk Enable Autorun when connecting Micro SD The tab use to How to use Adjust the size of the desktop select a display resolution from the Resolution list
23. Co Ltd All Rights Reserved E mail service icpdas com 8 WinPAC Download Center This chapter introduces the WinPAC Download Center Visit the WinPAC Download Center http www icpdas com products PAC winpac download winpac 8000 download os ima ges htm WinPAC 8000 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 a program can help user to determine the compatibility for your WinPAC BDDD Before you download any program please read the notes of each online program first to avoid the confused situation Hote User should consider the suitability over his application If you get any problems caused by updating the WinPAC Utility software please feedback to your local seller and ask essential help amp n WinPAC Utili HTTP 2 0 1 1 WP 8x x WP Bx3x Tools to save view the system information registry and setup the HTTP FTP path and update non volatile internal memory within WinPAC 8000 The following update categories are available from the WinPAC Download Center Y OS images Includes updates and the latest version of WinPAC OS Y WinPAC SDK Includes updates and the latest version of each WinPAC component SDK such as WinPAC SDK NAPOPC CE5 SDK Modbus SDK etc Y Utility amp Tools Includes updates and the latest version for WinPAC toolkits Y Demo Includes all related WinPAC
24. Delete button and then press the Setting button The maximum number of the user accounts is 5 The maximum of the string length of the user name and password fields must be less than 20 charachters For more information on how to use a user account to login WinPAC please refer to E 1 How to set up a telnet and FTP account to login WinPAC WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 79 Copyright 2014 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 WinPAC The system information is the most important note of version control for upgrading system Fie Helo Configuration System Settings System Settings2 Ethernet Settings Network Settings System Information Auto Module Type WP BE3x 128MB Flash TypetSystem disk J3 105ns X 2 Flash Tvpe os Intel 13 105ns X 2 64 bit Serial Number 01 06 FE D3 15 00 00 6E OS Version 1 6 0 0 2013 01 22 11 58 55 Eboot Version 1 3 0 0 2011 12 02 16 41 43 Backplane Version 1 0 11 0 CPU Version 1 0 185 0 WinPacsDk version WinPachet Version Framework Version 3 5 7339 00 SOL CE Version 35 5306 0 Last Save Date 201347 8238 ha Em E ha Auto Execution Tab The Auto Execute tab provides functions to configure programs running at WinPAC Startup it allows use
25. Demo fin32 MYCE ARMVAI Release WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 221 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 On the Project menu click Settings command E Ede Edit View Insert Project Build Tools Window Help set Actrve Project k Add To Project k Dependenties Alt Export Makefile Insert Project into 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 Win32 MYCE ARMY4 Release Mv EE 21 cago A Base address Entry point symbol 0 1 0000 wWinMainCRTStartup Stack allocations Heserve 75 0000 Version information Major Project Options UARTCE lib I7 DUCE lib fnologo fbase 0x00010000 fstack 0x10000 0 1000 entry vw MvinMainCRTStartup lincremental no pdb ARMVAHRel Demo pdb E WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 222 Copyright 2014 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 int slot go ee ee
26. For example turn on the FTP service services stop FTPO File Edit Help Pocket CHD x 5 0 gt gt services list FY OxOO00301L1L0 NOTIFY D11 Bunning TPO x g0315 7 0 HTTPD DLL Bunning x no3z u credzswvc dll Bunning 01 OxO00se730 HSH D Dll Dx dgsebzu DUBERSrVr dll TELNETD D11 zmbserwver dll timezswvcoe dll ax d s3s 7act Ox000sese0 TPO x nn3tftrftr Bunning Bunning Bunning WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 233 Copyright 2014 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 Packet CMD x 5 0 services help Commands help print this text list lists loaded services load Service name gt activates a service that is i stop zervice instance gt zstops pauses a service doe start zervice instance gt ztartz rezumes a Service refresh Service instance gt Causes service to reir unload service instance gt causes service to be ur register Service name gt service will be automatic eboot unregister zervice name gt service will not be auc ext reboot Command Service name gt send servi Service help service name gt get information on what servi are supported service name gt servic
27. Information Auto Execution Multi serial FT Betting Users and Password Disable Allow Anonymous C Enable 9 Disable Upload Change FTP default download directory Temp to Temp WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 197 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 2 How to online debug WinPAC Debugging is a process that you use to find and resolve errors or bugs in a program WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 198 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 2 1 Debug WinPAC programs in EVC Step 1 On the Tools menu click Configure Platform Manager command File Edit View Insert Project Build Tools Window Help Eror Lookup Remote Call Profiler WCE500 Remote File Viewer WCE500 Remote Heap Walker WICE500 Remote Kemel Tracker WCE500 Remote Process Viewer WCE500 Remote Registry Editor WCE500 Remote Spy WCE500 Ph Remote System Information WCE500 Pk Remote Zoomin WCE500 select Remote Tools gt Customize Options Record Quick Macro ChlrShift R Play Quick Macro Ctra Shift Configure Platform Manager WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 199 Copyright 2014 ICP DAS C
28. PACZT 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 transport and startup server Transport Transport for Windows CE configure startup server Manual Server configure UE Cancel WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 201 Copyright 2014 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 WinPAC controller side to do the next two steps Manual Server Acton Please make sure the following files are on the device WIND UV S tepipc dil WIND WS Seemgrc exe WIND Ww S Seetlstub dii And launch CEMGACLEXE with the following cmd line FEMGRCEXE fS ITTCFIPCDLL 7 0 10 0 9 54 5000 Cancel Step 7 On the WinPAC select the d Start menu and then click the Run command F Programs Tr Favorites d iE Documents X Settings RUN WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 202 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 On the Run dialog type the command which displays in step 6 and then click the OK button i g My Device WINPAC av Internet Microsoft Ex
29. Page 182 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 183 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E 5 1 WinPAC as a Master default When one of WinPAC is set to master then all the other devices on the same network must be slave mode If the network is up to 1 2 KM it will need a repeater 7510 series to extend the network length Master Mode 485 Repeater 7510 Series 485 Repeater 7510 Series Slave Mode WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 184 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com When WinPAC as a master using COM2 communication interface the pull high pull low resistor located on the power board must adjust to enable as shown below Pullen JPZ Polish When WinPAC as a master using COM3 communication interface the pull high pull low resistor located on the power board must adjust to enable as shown below WinPAC 8000 User Manual version 2 3 185 Copyright 2014 ICP DAS Co Ltd All Rights heserved E mail service icpdas com E 5 2 WinPAC as a Slave For most of application when using one 7520 series as RS 232 485 converter its pull high pull low resistors are set to enabled Then the WinPAC 8000 and all
30. SDK are located on gt For WP 8x3x and WP 8x4x series CD Napdos wp 8x4x_ce50 SDK wp 8x4x_ce50 SDK IO Modules Modbus NAPOPC_CES WinconSDK WinPacNet WinpacSDK By eVC and donet development tools the WinPAC SDK installation is divided into the following two parts i WinPAC SDK updates for dotnet ii WinPAC SDK updates for eMbedded Visual C WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 157 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 158 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 1 WinPAC SDK updates for C or VB net To determine the SDK version that is compatibly running on the WinPAC you can read the Release Note which is located under each SDK folder these files provides important updated information for what we fixed and added Step 1 Get the latest version of the C or VB net components The latest version of the C or VB net components can be obtained from gt For WP 8x3x and WP 8x4x series 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 WinPAC 8000 User Manual version 2 0 9 Last Revised Januar
31. Slow Counter input for digital input module Yes 100 Hz Power on value N Yes Programmable slew rate for AO module WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 170 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 171 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix E 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 RS 485 network is over 4000 ft or 1 2Km the RS 485 repeater must be added to extend the RS 485 network WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 172 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E 1 Basic RS 485 Network The basic component of the RS 485 network consist of a Master Controller or using a PC as a host controller and some RS 485 devices 232 485 Converter 7520 Series WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 173 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 174 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E 2 Daisy Chain RS 485 Network All RS 485 dev
32. The user account that you select will display in the User name and Password field Step 3 Press Delete button the user E Will be deleted from the user account list WinPAC Utility 2 0 2 1 System Setting Ethernet Setting Network Setting Auto Execution Execution Multi serial ETP Setting Users and Password WinPAG Utility 2 0 2 7 9 ile Help Configuration User name Password 2 a i ma I AE s System Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial gt ser name Password Esther ne accounts is used to the servers search as Te FTP WebServer etc on FTP Setting Users and Password The accounts is used to login the servers search as Telnet RIP A a a IND AC the User name and Password file will display the selected account Select a user account from the user account list Step 4 Press Setting button FTP login If the login succeeds the dialog Will display when the user Login succeeds The users of FTP have been enabled right now account has been removed WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 194 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 195 Copyright 2014 ICP DAS Co Ltd Al
33. User Manual version 2 0 9 Last Revised January 2014 Page 11 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Dual Battery Backup SRAM 512 KB To maintain important data while power off non volatile memory is the ideal design The WinPAC 8000 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 while replacing a new battery Dual Ethernet Ports WinPAC 8000 provides two Ethernet ports The two Ethernet ports can be used to implement redundant Ethernet communication and separate Ethernet communication one for global Internet one for private Ethernet Redundant Power Input To prevent the WinPAC 8000 from failing by the power loss the power module is designed with two input connectors Once a power input fails the power module switches to the other power input And there is a relay output for informing the power failure Ventilated Housing Design Allows Operation Between 25 75 C Each WinPAC 8000 is housed in a plastic based box with a column like ventilator that can help to cool the working environment inside the box and allow the WinPAC 8000 operating between 25 C and 75 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 12 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E m
34. bool timer n false int 0 number 8 DI number B8 3 ClassView E HesourceView Z FileView UARTCE lib UARTCE dll fatal error LNK1112 module machine type THUMB conflicts with target machine type ARM Error executing link exe Demo exe 1 warning s Debug 3 Findin Files Findin Files Step 9 On the Project menu click Settings command Ede Edit Yiew Insert Project Build Tools Window Help set Active Project Add To Project Dependencies Alt 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 Settings For General Debug C C Link Resources M nn win32 ACE ARMYAIJ Release Category Genera eset enera ese eis fsubsystem 5 CESubsystem MACHINE THUMB WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 223 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 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 0xa301 with Oxa501 Step 3 In the vcp file replace ARMV4 with ARMVAI Step 4 In the vcp file replace MACHINE ARM wit
35. cab For more information on how to make setting of touch panel driver please refer to http www icpdas com products PAC winpac download winpac 8000 download os im ages htm WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 56 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 8 Using Backup Utility to back up the settings and files After saving the configuration settings for a WinPAC device following the first use it is recommended to use the Backup utility to back up all the data settings and files Step 1 Run the Backup Utility on the WinPAC The DCON firmware is located at System_Disk tools Backup_utility backup Run the Backup Utility Backup Utility m eee NNNM Step 2 Click the Backup menu am ackup Eboot and OS EEPROM Registry SRAM S12K System Disk Backup information BackupTime 7 9 2010 12 08 28 PM Language English Step 3 Select the options that 64 bit Searial Nunber 01 40 65 04 11 00 00 71 you want to backup OS Version 1 5 D 2 CPU Yersion 1 0 1 0 enter text annotations BP Version 1 0 1 0 and then click the Start MAC address 00 00 3F 01 45 64 MAC address 00 00 EF 10 71 00 backup button es nnokation Backup by ICP DAS WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 57 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas
36. changes in section 2 6 4 Added information about installing the touch panel driver in section 2 7 5 Added information about the Multi serial port wizard function of the WinPAC Utility in section 3 5 6 Added additional information about the revision history in Appendix F Added a section about the module selection in 1 2 Added information about the support of the printer driver in Appendix E 4 Modified the specification of the flash disk in leo August 2008 1 4 oeptember 2008 1 7 0 september 2009 NO 1 8 0 October 2009 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 236 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 9 0 2 0 0 2 0 1 2 0 2 2 0 3 2 0 4 2 0 5 2 0 6 2 0 7 October 2009 November 2009 December 2009 April 2010 July 2010 November 2010 February 2011 February 2011 October 2012 section 1 1 and 1 2 2 Deleted auto mdi mdi x or auto mdix to Ethernet port specification 3 Added additional information about the support of the Micro SD socket in section 1 2 4 Modified the printer configuration in Appendix E 4 1 Added information about two new OS mode DCON CE and VCEP mode in section 2 3 2 Replaced Quicker with NAPOPC CE5 Added information about WP 8x3x series modules 1 Modified the WinPAC installation in section 2 1 2 Added information about the requirements of the Wi
37. click the OK button PACSOU ARMY4 ARMY4I Release Properties Default output location on device Program Files Folder v Transport Bootstrap per Actiees vc Startup Provider Configure Step 10 On the Options dialog click the OK button show devices for platform Find and Replace Fonts and Colors Pacari k Help Devices Import and Export settings Web Browser Delete Projects and Solutions enurce Control Text Editor Database Tools Debugging Device Tools Default device PACSOU ARMY4 amp EMVAI Release v WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 213 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 11 On the WinPAC run the CommanClient2 and the CMAccept exe applications which is located at System Disk CPDAS System Address amp yster DiskICPDAS System Ms ls TcepConne eDbaTL ConmanCl ConManz CMAccept cdientshut i amp utolniti Autoloader WinpacsDK Sleep D WinconsDk WINPAC PACSI 2 PACSOS0 PACSO24 pace0l H WAR TCE 00 Wincan DCONCE dlece400d OLECE400 mfcced nd MFCCE4UD gu 1 cl Step 12 On the Tools menu click Connect to Device command File Edit View Project Build Debug Data Tools Window Communitv Help Attach to Process Ctrl Alt P al Connect to Device Connect
38. demos Y Documents Includes updates and the latest version for related WinPAC documents Y System Disk Includes updates and the latest version for WinPAC toolkits WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 163 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix A Frame Ground Electronic circuits are constantly vulnerable to Electro Static Discharge ESD which become worse in a continental climate area Some l 7000 M 7000 and l 8000 series modules feature a new design for the frame ground which provides a path for bypassing ESD allowing enhanced static protection ESD capability and ensures that the module is more reliable The following options will provide a better protection for the module The l 8000 controller has a metallic board attached to the back of the plastic basket as shown in the Figure 2 1 below When mounted to the DIN rail connect the DIN rail to the earth ground because the DIN rail is in contact with the upper frame ground as shown in the Figure 2 2 below loc M S amp D H P D M n e TD Lb 1 T q ESO IL Ll p x EE m EE Connect to the Earth Ground WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 164 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail ser
39. ee ae a a ihe WinPAC please refer to htto www icodas com products PAC winpac io support list htm Tips amp Warnings It is recommended that the power the WINPAC 8000 is switched off 4 when wring the I O module which are plugging in the WINPAC 8000 slots Step 1 Read the relevant documentation WinPAC 8000 U f sion 2 0 9 Last Revised January 2014 Page 43 Copyright 2014 d All Rights Reserved E mail service icpdas com anua The documentation for l 8K series modules is located at CD module http www icpdas com products PAC winpac io support list htm The documentation for l 87K series modules is located at CD module http www icpdas com products PAC winpac io support list htm Step 2 Wiring Connections All documents include the I O module specifications pin assignments and wiring connections For example Pin Assignments and Wiring connections for the I 87054W module are as follows WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 44 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Pin Assignments DI COMO Wire Connection DIO Dit DI2 DI3 sj es 59 5 Won Bed fees ed fed WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 45 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 3
40. ensure that you have the necessary development tools and the corresponding WinPAC 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 WinPAC One of the following tools must be installed on the Host PC Y Microsoft eMbedded Visual C Y Visual Basic net Y Visual C Notes 1 There is no support for development of both managed and unmanaged code on WinPAC series platform in VS2010 VS2012 2 WinCE based platform development is only supported in Visual studio Professional edition or better no Express or Standard edition WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 85 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 2 Installing WinPAC Platform SDKs The WinPAC Platform 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 WinPAC Platform SDKs Step 1 Insert the CD into your CD ROM drive Step 2 Execute the PAC270 SDK YYYYMMDD msi which is located in CD Napdos wp 8x4x_ce50 SDK PlatformSDK for WP 8x3x and WP 8x4x series The installation program for the latest version of the WinPAC Platform SDKs can be obtained from http ftp icodas com pub cd winpac napdos wp 8x4x_ce50 sdk platformsdk File name pac270 sdk yyyymmad msi yyyymmdd plat
41. status without rebooting the device About Displays a dialog box with information about WinPAC Utility including the current version and copyright information WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 71 Copyright 2014 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 a sub key of registry by using a registration entry reg file How to use Step 1 Select the Import Registry Key then the Open dialog box will appear otep 2 On the Open dialog box select a specific reg file to import Warning 1 The reg file should be saved by Export Registry Key 2 It will not save automatically after import a reg file Export Registry Key Makes a backup of a registry sub key How to use Step 1 Select the Export Registry Key then the Export Registry box will appear otep 2 Select a specific root key otep 3 Input a specific path of sub key Step 4 Push the OK button then the Save As dialog box will appear prompting you to 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 fro
42. the bottom right hand of the pc screen Tips amp Warnings w Don not power off or restart the WinPAC while the defragment Running Mode 5 is being performed e 7 G ICPDAS Took F 58 dete EE TCPServer watrhdeg T of Cony EL R nat Copy 2 of PDAS A e System Disk 25 58 Show the icons WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 59 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Tools and Tasks This chapter briefly describes the functions of the WinPAC software toolkits Following tools has been installed on the WinPAC CD Napdos Wp 8x3x_cedO0 wp 8x4x_ces0 oystem_Disk Tools Backup Utility Dcomcnfg weied ez ISQLW35 Modbus NAPOPC CE5 Registry Editor RegistryViewer Remote display application sendloCOM TaskMgr VCEP WinPAC_ Utility WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 60 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com e Backup Utility The Backup Utility is a system backup restore tool used to backup restore all the data OS settings and files from to the WinPAC ViewPAC device For more information about the Backup Utility please refer to 3 6 Bacup Utility eDcomocenfg dcomcnfg exe for Windows CE to configure your DCOM settings NTLMUser exe for Windows CE to create local NTLM
43. to Database vll Connect to server Lg Code Snippets Manager CB Choose Toolbox Items Add in Manager Macros Create GUID Liatfuscator Community Edition Extemal Tools Device Emulator Manager Import and Export kettings Customize WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 214 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 13 On the Connect to Device dialog select PAC 270 from Platform list and then click the Connect button Connect to Device To connect to physical device or launch an emulator image select a SS platform then choos a device below Step 14 On the Tools menu click Connect to Device command To PACSO ARMY4 ARMVAI Release Connection succeeded Step 15 Connection established Then you can debug on line WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 215 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com FAQ If the connection fails shown as follow return to step 11 to do the action below PACSO ARMY4 AEMVAI Release Connection failed Activesync is not mstalled Open the command prompt run the CommanClient2 exe transport tcpconnectiona dll property portz5000 id Con at System Disk CPDAS System and then run the CMAccept exe File Edit Help system disk icpdasisystem
44. 0 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the systeminfo dialog box right click the button object and then click the Properties command ES SDEinfo IDD SDEINFO DIALOG German Germany Dial BEES Copy ZU ERLED Dialogfeld Steuen Paste Insert Active Control size to Content oe Align Left Edges Align Top Ed ges TF Check Mnemonics AN ChsWizard Events Properties Step 4 Type the Check the OS version in the Caption edit box and then click the close button Fush Button Properties 40 General Styles Extended Styles ID IIDC BUTTONI Caption Check the OS version iv Visible Group Disabled iv Tab stop WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 121 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 In the systeminfo dialog box double Click the button object a Check Ehe O5 version zu ERLED Dialogfeld Steuverelerr Double click 3 the button Step 6 Type the OnBtnCheckOS in the Member function name edit box and then click the OK button Add Member Function function name OnBtnCheckOs Cancel Message CLICKED Object ID IDC BUTTONT WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 122 Copyright 2014 ICP DAS Co Ltd All Rights Res
45. 2 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 Demo Programs with eMbedded Visual C The following eVC demos have been designed to demonstrate the various features of the WinPAC WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 133 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 1 eVC Demo programs for WinPAC Standard API The table below describes the WinPAC demos that have been designed to demonstrate the standard operation features of the WinPAC system Information Watchdog Backplane Access UART Interrupt Registry Memory Access Micro SD System Operation WinPAC Standard API Folder Demo Explanation Retrieves information about the OS system oysteminfo version CPU version SDK version etc Retrieves information about the DIP switch backplane ID and slot count memorvaccess Shows how to read write date values from to EEPROM WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 134 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com backplane Backplaneinfo Folder Demo Explanation shows how to read or write to the battery backup sram battery backup watchdog watchdog Displays how the watchdog operate Shows how to enables disables microsd microsd management Micro SD Shows how to read write dat
46. 3 63 MB Built In Flash Disk WP 8x3x 31 MB Built In Flash Disk WP 8x4x Built in VGA Port A built in VGA port can be directly connected to a regular LCD display Users can operate the HMI or SCADA software running on the WinPAC 8000 with display keyboard and mouse just as how they usually did on regular PCs 64 bit Hardware Serial Number The 64 bit hardware serial number is unique and individual Every serial number of WinPAC 8000 is different Users can add a checking mechanism to their AP to prevent software from pirating Rich I O Expansion Ability RS 232 485 Ethernet FRnet CAN Beside the local I O slots WinPAC 8000 also equips several RS 232 485 ports two Ethernet ports to connect serial I O and Ethernet I O And with FRnet and CAN communication module in local slot FRnet I O and CAN devices are easy to be integrated Built in Flash Disk 31 63 MB In normal situation users can store their AP or data to the Micro SD card or USB Flash disk But in some vibrational environment for example like driving ships the two storage media would be bad connection Then the built in Flash disk will be the best storage media in such the vibrational environment Dual Watchdog Timer A system could be hanged up when the OS or the AP fails There are two watchdogs OS watchdog and AP watchdog designed to automatically reset the CPU when the situations happen The design will increase the reliability of the system WinPAC 8000
47. 4 5 2 Add project reference for an application Step 1 On the Class View window right click the Reference and then click the Add Reference command Class E Step 2 In the Add Reference dialog duddsBefexenooem i box select the Browse tab and then Add Web Deference Specify the directory of the aoe PACNET dIl file in the File name field sort By Object Type sort By Object Access Group By Object Type The PACNET dIl file for WP 8x3x and WP 8x4x can be obtained from CD Napdos wp 8x4x_ce50 SDK WinPacNet http ftp icodas com pub cd winpac napdos wp 8x4x_ce50 sdk winpacnet Add Reference Projects Browse Recent Ta eee Th Component Files d1L tb o b ocx exe WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 103 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 3 Design and Build an application program Step 1 Button Adda button object in the From1 dialog box Step 2 Right click the button object and click the Properties command Brmg to Front di Send to Back Lock Controls select Fonnl WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 104 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 On the Properties window type Check the OS version in the Text edit box Properties button Sye
48. 51 115200 MEMME Sz 115200 MEMME 53 115200 Dis BEACH 54 115200 Dis RXNMM 55 115200 Dis Digital Output 14 OxE 56 115200 Dis LSB CH 0 57 115200 Dis ug EE Configuration Setting Protocol Modbus Response Delay Time Setting me T Address Baudrate Power On Value of DO Safe Value of DO gt searching Status Checksum Set Value SetValue TCP IP Address 10 1 0 58 Parity Option Read Value Haad ami Enable WDT First Digital Input 0 0x00 LSB CH 0 MSB CH Host Watchdog Setting Timeout 255 0 1 255 sec Send Host OK Latch Counter Enable WDT Setting WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 53 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 6 Changing the User Interface Language The WinPAC is a Windows CE based operating system which provides multilingual user interface and the user interface can be set to one of multi languages Step 1 Open the Control Panel ag Programs d dz Favorites d iE Documents E Settings E Control Panel a Network and Dial up Connections a Taskbar and Start Menu 5 i IV Virtual CE Step 2 Run the Regional Settings 9 Step 3 Choose the display language and then click OK Regional Regional and Language Se
49. 7 3 W 0 3 A 24 V WP 8431 and WP 8441 9 1 W 0 38 A 24 V WP 8831 WP 8841 9 6 W 0 4 A 24 V VGA amp Communication Ports VGA WP 8x3x Yes with one extra GPU resolution 1024 x 768 800 x 600 640 x 480 WP 8x4x Yes 640 x 480 800 x 600 resolution Ethernet Port RJ 45 x 2 10 100 Base TX Auto negotiating LED indicators USB 1 1 host WP 8x3x 2 WP 8x4x 1 COMO Internal RS 485 interface communication with 1 87K I O modules in slots Note CPU internal UART Baud Rate 115200 bps WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 17 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com VGA amp Communication Ports Data Bits 8 Parity None Even Odd Stop Bits 1 FIFO 1 byte COM1 RS 232 used to update firmware Note CPU internal UART Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 7 8 Parity None Even Odd Stop Bits 1 FIFO 1 byte COM2 RS 485 Note 16C550 compatible Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 5 6 7 8 Parity None Even Odd Mark Always 1 Space Always 0 Stop Bits 1 2 FIFO 16 bytes COM3 RS 232 RS 485 for WP 8431 WP 8441 WP 8831 and COM3 WP 8841 only Note 16C550 compatible Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 5 6 7 8 Parity
50. 9 Last Revised January 2014 141 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 WinPAC Updates This chapter provides instructions on how to upgrade WinPAC OS and SDK ICP DAS will continue to add additional features to WinPAC SDK and OS in the future so we advise you to periodically check the ICP DAS web site for the latest updates WinPAC updates services can be divided into the following two main categories 8 50 8 4 os image TELEEED 1 OS updates Jelele i update_from _Eshell update_from_file SDK CCPC EEE lt 2 SDK updates IO Modules WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 142 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com NAPOPC CE5 WinconSDK WinPacNet WinpacSDK 7 1 OS updates The updates files of OS image are located on gt For WP 8x3x series CDANapdosWwp 8x3x ce50 OS Image gt For WP 8x4x series CD Napdos wp 8x4x_ce50 OS_Image CD Napdos wp 8x3x ceb 0 wp 8x4x ceo0 os_image Jeleleli update _from_Eshell update There are two ways to update the OS 1 Update from file Please refer to section 6 1 1 We recommend that you use this one for more quicker and easier to update 2 Update from Eshell Please refer to section 6 1 2 WinPAC 8000 User Manual
51. 9 systeminfo References z solution Explorer The PACNET adIl file for WP 8x3x and WP 8x4x can be obtained from CD Napdos wp 8x4x_ce50 SDK WinPacNet http ftp icpdas com pub cd winpac napdos wp 8x4x ce50 sdk winpacnet Add Reference nl Component Files Md tbz alb ocx exe WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 94 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 3 Design and Build an application program Step 1 Button Adda button object in the From1 dialog box Step 2 Right click the button object and click the Properties command Brmg to Front di Send to Back Lock Controls select Fonnl WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 95 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 On the Properties window type Check the OS version in the Text edit box Properties button Syetem Windows Fome Button RightToLeft Check the OS version w Text lien Midd leenter TextlmageRelation Overlay Text The text associated with the control ag Class View yl Solution Explorer Properties Step 4 In the Form1 dialog box double click the button object to open the editor window mmuunuunuuuuuuuuuumuuunnunuuumuuuuunedd jummununumumunnnuuumumnuunununnumnumnmanss Check the OS version numuuumuuuuuuuuuuan
52. AC 2 1 Mounting the Hardware Step 1 Mounting the WinPAC The WinPAC installation must provide proper ventilation spacing and grounding to ensure the equipment will operate as specified A minimum clearance of 50mm between the WinPAC and the top and bottom side of the enclosure panels must be provided There is a minimum of 50mm clearance between the top and bottom edges of the WinPAC and the enclosure panels WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 41 Copyright O 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Connecting power and I O device The diagram below shows the connections of the 1 slot of the WinPAC A The input range of power supply is 10 30 Voc VS 10 30 Vp The diagram below shows the connections of 4 8 slots module of the WinPAC WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 42 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 2 Inserting I O Modules The I O slots support parallel bus type high profile I 8K series and serial bus type high profile 87K 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 For more information about RR expansion module 8181 i that are compatible with
53. AWINDOWS CE TOOLSAC 4 44s Eg Create new workspace C Add to current workspace Dependency of Hello CPUs wIWin32 WCE ARMV4 MWin32 WCE ARMVAI Win32 WCE ARMVAT Win32 WCE MIPS18 e Win32 WCE MIPSII wWin32 WCE MIPSII FP cancel Tips amp Warnings AN The selected CPU type must have Win32 WCE ARMV4I Win32 WCE MIPSII FP v Step 4 Click the OK button to start the wizard WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 110 Copyright 2014 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 MFC App Wizard exe Step 1 of 4 What type of application would you like to create c Single document M Document View architecture support What language would you like your resources in zl Finish Cancel 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 SDkinto htp Finish Cancel WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 111 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail se
54. C stands for OLE for Process Control and the DA stands for Data NAPOPC Access working on WinPAC ViewPAC amp WinCon controllers provided by ICP DAS Ltd The first standard originally called simply the OPC Specification and now called the Data Access Specification resulted from the collaboration of a number of leading worldwide automation suppliers working in cooperation with Microsoft Originally based on Microsoft s OLE COM component object model and DCOM distributed component object model technologies the specification defined a standard set of objects interfaces and methods for use in process control and manufacturing automation applications to facilitate interoperability NAPOPC CE5 DA Server integrates OPC Modbus TCP Slave and Modbus RTU Slave three kind Slave services as well as integrates Modbus TCP Master Modbus RTU Master and DCON three kind Master communication protocols It also provides one advanced function Rule Script for use in the 1 0 integration and transformation and some conditional Logic operation Any version before 2 1 0 of the NAPOPC CE5 was named Quicker WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 65 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 3 SendToCOM The SendToCOM uses the serial port to communicate with expansion module To use the SendToCOM you can send data to expansion mod
55. CAProgram Files findows CE Toolstwce5O0 STANDARDSDE 5SO0kmic inclu i HII AMIIAHERSEIE Whathin i Click this button to specify the header file include path WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 116 Copyright 2014 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 The specified include path of the library file is default located at C Program Files Windows CE Toolswce500 PAC270McpdasVLibAARMVAM Options Directories Vil Download Bild urkS pace Macros Format Platform C PUs PAC270 STANI Win32 WCE ARMVAI x Library files gt Directories CA Program Files Windows CE Toolstwce5O0iS TAMDARDSDK SOOVWID ARMY CAProgram Files findows CE Tools wce5O0 STANDARDSDE 500VmfeMibVyAF i HI ee ee Click this button to specify the library file path WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 117 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Click the Settings command from the Project menu E Ele Edit View Insert Project Build Tools Window Help set Active Proqect k Add To Project k Dependencies Alt Export Makefile Insert Project mto
56. CE Pro e WinPAC Utility The WinPAC 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 WinPAC Utility please refer to 3 5 WinPAC Utility WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 62 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 63 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 DCON Utility DCON Utility LT l amp 7K Series 1 7000 Series 1 000 Series The DCON Utility is a toolkit that help user search the network easily to Configure the modules and test the I O status via the serial port RS 232 485 or Ethernet port using virtual com port It supports not only the Protocol I O modules but also the M Series I O Modules Modbus RTU M 7K M 87K and will support Modbus ASCII M 87K now For more detailed information on WinPAC Utility applications please refer to 2 5 Using Utility to configure the I O modules WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 64 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 2 NAPOPC 5 puc NAPOPC CES DA Server is a free OPC DA Server The OP
57. CP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 1 2 WinPAC OS updates using Eshell via Ethernet Upgrade By default the OS updates via LAN1 Therefore to update the OS image make sure LAN1 is connected to the PC Below is a step by step procedure for updating the WinPAC OS Step 1 Get the latest version of the WinPAC OS image The latest version of the installation package can be obtained from gt For WP 8x3x series CD Napdos wp 8x38x_ce50 OS_Image update_from_Eshell http fto icodas com pub cd winpac napdos wp 8x3x ce50 os image update from Eshell gt For WP 8x4x series CDANapdosWwp 8x4x ce50VOS Image update from Eshelh http ftp icpdas com pub cd winpac napdos wp 8x4x ce50 os image update from Eshell WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 151 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Run the ESHELL on the PC LEA ESHELL you can be obtained at ESHELL gt For WP 8x3x series CD Napdos wp 8x3x_ce50 PC_Tools http ftp icpdas com pub cd winpac napdos wp 8x3x ce50 pc_ tools gt For WP 8x4x series CD Napdos wp 8x4x_ce50 PC_Tools http ftp icpdas com pub cd winpac napdos wp 8x4x ceb50 pc tools Step 3 Configure the reboot in OS update mode Turn the rotary switch to 3 and then reboot the WinPAC Step 4 Select the device which you want to update the OS image
58. Configuring the Boot Mode The WinPAC 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 WinPAC If you have malicious software or a program caused the WinPAC cannot be boot or run the normal mode you can boot in safe mode to solve the problem WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 46 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings In normal mode if the new settings are not saved when you change and AN save the settings using the WinPAC Utility to solve this problem perform the following steps Step 1 Restart the WinPAC in safe mode Turn the rotary switch to 1 and then restart the WinPAC Step 2 Start the WinPAC Utility to restore the default settings Start the WinPAC Utility and then click the Restore Default Settings command and Save comm
59. Conmanclient2 exe transport tcpconnectiona dll pro perty port S000 id Con system disk icpdas system gt oeae Use fixed port number 3000 Device IP address Obtain an IP address automatically using ActiveSync 9 Use specific IP address 10 0 9 10 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 217 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 3 How to recompile WinCon programs To recompile Wincon programs to run on WinPAC certain components of the programs require an adjustment 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 do part 1 after this if the program still can t be compiled to an application the part 2 just need to do WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 218 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 219 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 3 1 Compiler old programs which ran on Wincon 8x3x and 8x4x Step 1 Open project which programmed in WinCon using eMbedded Visual C Step 2 On t
60. E gg WinPAC 8000 is the second generation PAC of ICPDAS It equips a PXA270 CPU 520 MHz running a Windows CE NET 5 0 operating system various connections VGA USB Ethernet RS 232 485 and 1 4 8 slots for high performance parallel I O modules high profile I 8K series and serial type I O modules high profile I 87K I O modules Its operating system Windows CE 5 0 has many advantages including hard real time capability small core size fast boot speed interrupt handling at a deeper level achievable deterministic control and low cost Using Windows CE Net 5 0 in the WinPAC 8000 gives it the ability to run PC based Control software such as Visual Basic NET Visual Cz Embedded Visual C SCADA software Soft PLC etc Comparing with the first generation WinCon 8000 it not only improves the CPU performance from 206 MHz to 520 MHz and upgrading OS from CE 4 1 to CE 5 0 but also adds many reliability features such as dual LAN redundant power input dual battery backup SRAM etc It gives you all of the best features of both traditional PLCs and Windows capable PCs WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 7 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 1 Features 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
61. IP Switch 8 I O Slots Digital Input Output Motion Timer Counter 10 30 Voc USB Port 2 Ethernet Port 2 Redundant Power x Relay Output a L COM2 RS 485 Frame Ground USB Port 1 Ethernet Port 1 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 35 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com COM3 RS 232 Rs 485 Operating Modes Selector COMA Power Indicator SD socket ge VGA DIP Switch 8 L O Slots Analog Input Out Digital Input Output Motion Timer Counter Redundant Power 10 30 Voc Relay Output COM2 RS 485 Frame Ground i Ethernet Port 2 Port 1 5 TEA g Ethernet Port 1 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 36 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com W 8x3x Phased Out Since 2008 W 8x3x is PAC equipped with PC interface and 3 7 slots for I O modules Its PC like interface includes PS 2 keyboard and mouse VGA port USB port and RS 232 RS 485 communication ports The powerful backplane 3 7 slots can adopts versatile ICPDAS s high performance parallel 1 8 I O modules and serial type I O modules 1 87K I O modules Analog Input Output USB 7 VO Slots Digital Input Output Keyboard Motion TimariCounter Mouse MCU RS 232 Power 10 30VDC RS 48 LED I
62. 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 Note Use the battery type BR1632 part number is 2LB010 for ICP DAS if you need to replace it WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 75 Copyright 2014 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 WinPAC Utility 2 0 2 1 le Help Configuration System Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial gt MAC Address 1 UO OQD ED s0 01 6 LAN 1 IP Address Setting Use DHCP to get IP address Assign IP address IP Address 10 1 0 61 Mask 255 255 0 0 Gateway 10 1 0 254 DNS Server 10 0 0 3 The tab use to How 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 IP address Select the Assign IP address option Monitor the MAC address See the MAC Addres
63. NER 74 4 Your First WinPAC Program esse 85 4 1 Preparing 0 6 Uva pupa DP Us vata Mb Prats 85 4 2 Installing WinPAC Platform SDKS eee 86 4 3 Understanding the WinPAC SDK ccccccccssecessecesseeeseeeesaeeesaeeesaeeesaeeesesensaes 87 4 3 1 WinPAC SDK 88 4 3 2 WinPAC SDK Reference 90 4 4 Your First Program in C 92 4 4 1 Create new project NR TIR TEC 92 4 4 2 Add project reference for an application 94 4 4 3 Design and Build an application program 95 4 4 4 Execute the application on the WINPAC 99 Your First Program iN VB NOl 101 4 5 1 Create a new project NR OTT TT 101 4 5 2 Add project reference for an application 103 4 5 3 Design and Build an application program 104 4 5 4 Execute the application on the WINPAC 107 4 6 Your First Program in eMbedded Visual 109 4 6 1 Create a new Forms Based
64. OM ports For more detailed information about these support modules please refer to http www icpdas com products Remote lO i 8ke selection rs232 i8k htm Fie Help Configuration Ethernet Settings Network Settings System Information 4uto Execution Multi serial port wizard Slot D x Driver enabled Slot 1 xX Driver disabled Sot2 sta Sot4 sos Lo Eo Slot amp Install driver apply to 1 8112 8114 8142 8144 series modules Stepi Port number assigned according to 9 Sequence order Slot order Fixed order Slot 7 Slot scan Refresh Sten USE MSA MSBx USE Com Start Port number e Step3 Go to File gt Save and Reboot to enable driver WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 82 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com System Memory Setting Tab The System Memory Setting tab provides functions to adjust and monitor the unused RAM WinPAC Utility 2 0 2 1 E Auto Execution Multi serial part wizard System Memory Setting Backplane Compatibility no 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 48456KB Allocated 48456KB In Use 4F4KB In Use 14988EB The tab use to How to use Adjust display Move the slider left to release mo
65. SQL Server Compact Edition 3 5 5 Compact Net Framework 3 5 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 WinPAC 8000 VCEP can synchronize every movement screen keyboard and mouse actions between the PC and the WinPAC 8000 via the Ethernet By using the FTP server and VCEP you can update and manage the WinPAC 8000 remotely via the Ethernet Built In OPC Server NAPOPC CE5 is an OPC server and SCADA software can easily integrate I O modules through it Furthermore it also provides a library which users can use to develop their AP by eVC C or VB Net NAPOPC_CE5 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 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 8 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Rich Software Solutions ISaGRAF indusoft WinPAC VS net 2003 2005 2008 On the WinPAC 8000 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 Diag
66. Settings Language User Interface Language The option will determine the language used for the menus dialogs and alerts English United States English United States German Germany Russian WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 54 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Run the WinPAC Utility located on desktop Step 5 Save and Reboot Help Configuration FTF Setting Syste Save and Reboot Reboot Without Save ESOIULION 320 240 Restore Default Settings Setting E zu LES m Always on Top Change HTTP document root directory to WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 55 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Installing the Touch Panel Driver The WinPAC provides the Touch Panel driver for PenMount Egalax and ELO touch panels and which can be obtained from WinPAC Disk External device driven The table below provides a list of supported models and respective device driver names ADP 1080T U penmount usb touch vyyyymmad cab ADP 1080T R penmount serial touch vyyyymmdd cab GA 700Y Y USB egalax usb touch vyyyymmdd cab GA 700YY UOM egalax serial touch vyyyymmdd cab ELO USB touch panel elo usb touch vyyyymmad cab ELO RS 232 touch panel elo serial touch vyyyymmad
67. WinPAC 8000 User Manual For Standard WP 8000 Version 2 0 9 January 2014 service and usage information for Model WP 8131 Model WP 8831 Model WP 8441 Model WP 8841 Written by Sean Hsu 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 2013 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 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 2 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Table of Contents Table of Contents cepe a sees ce cee disi aU tte tives xEE NEED anes 3 T IBIFOOHC UON A 7 Ts T2
68. Wwp 8x4x ce5O VOS Image update from file http ftp icpdas com pub cd winpac napdos wp 8x4x ce50 os image update from file WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 146 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The corresponding Autolnit bat file can be obtained from the same folder There are several ways to download the installation package file and the corresponding file to WinPAC i On the WinPAC you can download these files via Ethernet connection ii On the PC you can download these files via a USB storage device the removable Micro SD card or FTP server Step 2 Run the installation package file and then click OK to make sure you receive the important notice of this procedure will ease flash memory Warning Updating OS image will erase flash memory Please don t turn off the device during updating WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 147 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Click Update Now to start the process WIP Hx4x Ver 1 4 1 0 WinPAC 3000 Update Step 1 Install Boot Loader file Step 2 Erase flash disk Step 3 Install OS image Step 4 Set and save registry This installation procedure will perform the following tasks i Install boot loader file Important Warnings Be careful if the boo
69. accounts on the Windows CE Device e DCON CE With Host PC running the DCON Utility on the WinPAC the DCON CE program allows user to view and monitor the status of the DCON Utility 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 WinPAC e NAPOPC CE5 NAPOPC CES5 is an integrated omnibus software package it allows user to quickly establish a DCS control system For more information about the 5 please refer to 3 2 NAPOPC WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 61 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com e RegistryEditor The RegistryEditor allows user to editor the registry value of Windows CE Operating system e RegistryViewer The Registry Viewer allows user to view the registry value of Windows CE Operating system e Remote display application The remote display application allows user to view the display remotely of the WinPAC on a Host PC e SendToCOM The SendToCOM allows user to send receive data to from the expansion module via serial port e TaskMgr The TaskMgr provides details about programs and processes running on the WinPAC e VCEP The VCEP allows user to manage the WinPAC remotely on a Host PC For more information about the VCEP please refer to 3 4 VCEP Virtual
70. ail service icpdas com T 1 4 Slots WinPAC 8000 provides the following I O expansion bus Local V O Slot There are 1 4 8 slot options to expand local I O And the I O modules can be parallel bus type high profile I 8K series and serial bus type high profile I 87K series The differences between l 8K and 1 87 are listed below Item I 8K Series ES YA Series No Yes 8051 Communication interface Parallel bus Communication speed Fast DI latched function No Counter input for digital input module No Power on value Safe vale No Programmable slew rate for AO module WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 13 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Ethernet The available Ethernet I O devices are ET 6000 ET 7000 I 8KE4 8 and I 8KE4 8 MT CP WinPAC 8000 can access them with Modbus TCP or DCON protocol RS 485 WinPAC 8000 is equipped with two RS485 COM ports which enable the transmission rate up to a maximum of 115 2 Kops The medium for connection is a twisted pair multi drop 2 wire RS 485 network that can link i 7000 M 7000 RU 87Pn and high profile 1 87 modules FRnet FRnet is an innovative industrial field bus that has many special features such as high speed deterministic I O control real I O synchronization capabilities non protocol communication and easy programming Plugging in an FRne
71. al version 2 0 9 Last Revised January 2014 Page 139 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The details of the SDK libraries for a specific I O Module are listed in the table below Native SDK NET CF SDK pac i8017HWNet dl I 8050W pac_i8050W dll pac_i8050WNet dll I 8084W pac_i8084W dll pac i8084WNet all l 8088W oac 18088W All oac 18088WNet all Il 8093W oac 18093W adll oac8093W Net dll I 87088W PACSDK PWM all PACNET dll Other I 8K amp I 87K PACSDK dll PACNET dll modules 2 RS485 I 7K Series amp M 7K series l 7000 M 7000 RU 87Pn and high profile 87K series modules connect to WinPAC series devices via a twisted pair multi drop 2 wire RS 485 network SDK I 7K series l 7K series with M 7K series RU 87Pn PWM functions I 87K DK Native SDK PACSDK dll PACSDK PWM dll Modbus Demo Refer to the I 8K Series amp the 87K Series NET CF Modbus Demo Refer to the S I 8K Series amp the 1 87 Series The detail of the SDK library to be used for a specific I O Module is listed in the table below Native SDK NET CF SDK M7000 series Modbus Demo Modbus Demo Il 088W PACSDK PWM dll PACNET dll Other I 7K modules PACSDK dll PACNET dll WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 140 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Ethernet The E
72. and from the File menu Step 3 Restart the WinPAC in normal mode Turn the rotary switch to 0 and then restart the WinPAC FTP Setting Syste esolution 320 240 Save and Reboot Reboot Without Save Restore Default Settings Exit m m Always On Top Change HTTP document root directory En WATTS enemy ww LI m Setting Setting WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 47 Copyright 2014 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 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 WinPAC OS image please refer to 6 1 OS updates DCON CE mode This mode is the same as Normal mode Besides DCON CE exe will be run automatically after booting Tips amp Warnings DCON must be placed on the System_Disk Tools DCON_CE or else DCON CE exe 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 VCEP exe must be placed on the System Disk Tools VCEP or else VCEP exe cannot be run automatically after booting WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Pag
73. atteries is low it will automatically switch to the other one to ensure continued battery power 2 If both batteries have run out of power the data will be lost even if this method is used to replace the batteries 2 Replacing the battery 2 Back up the SRAM data using a backup utility before replacing the battery Refer to section 2 8 Using the Backup Utility to back up the settings and files to back up and restore the SRAM data 2 1 Run the backup utility to back up the SRAM data 2 2 Power off the WinPAC device 2 3 Remove the cover of the module inserted into the slot 2 4 Remove both batteries from their respective holders 2 5 Insert two new batteries 2 6 Power on the WinPAC device 2 Run the backup utility to restore the SRAM data 2 8 Set the RTC time Ordering information Battery type BR1632 Part number is 2LB010 for ICP DAS For more detailed information contact your local sales office or distributor WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 169 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix D 1 8 and 1 87 Modules There are 1 4 8 slot options to expand local I O And the I O modules can be parallel bus type high profile I 8K series and serial bus type high profile I 87K series The differences between I 8K and 1 87 are listed below Item I 8K Series l 87K Series Yes 8051 Serial bus Communication speed
74. com Step 4 Confirm the backup options and then click Yes button Total number af backup items 3 Are you sure you want to backup there items Eboot and OS Need 32MB of space Registry SRAM Browse for Folder My Device Network System Disk Micro SD Recycled 2 Application Data T My Documents E Program Files z profiles Step 5 Choose the folder that you want to save backup file and click the Ok button Cancel Step 6 Wait for process to finish Compressing the OS and eboot file need 2 Compressing System Disk need 1 minutes Compressing the backup file VJSB Disk Backup 2010 04 06 11 08 zip Compression is finish Backuping is finish WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 58 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 9 A caution about using System Disk The System disk is an authoritative storage device but is not suitable for frequent copying and deleting of files and is only suitable for storing important files that are not changed frequently If files are copied and deleted frequently the system will automatically perform a oystem Disk defragment action which will consume the total resources of the CPU and cause the OS not to function correctly When the OS System Disk defragment action is being performed the run LED will blink and the defragment action icon will show in the system tray in
75. command and then click the Programs d dr Favorites Documents Settings WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 206 Copyright 2014 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 l j My Device WINPAC Internet Microsoft a WEN Explorer WordPad dil q d 10 0 9 52 500d v p CELEREM E CRM 1 P p p Ed Documents Step 17 Return to the Host PC side on the Manual Server Action dialog click the OK button Manual Server Acton Please make sure the following files are on the device WWM DOW S Stepipe dii SIN DOW S Seemgrc exe WIND Ow S caetlstub dii And launch CEMGACLEAE with the following ema line CEMGRCEXE 5 FTCPIPEDLL D 10 0 3 52 5000 Cancel WinPAC 8000 Us Copyright 2014 ICP DAS Lid All Rights Reserved E mail service icpdas com Step 18 On the Manual Server Action dialog click the OK button Microsoft eM bedded isual C CA ARMY 4 HeltMemory exe does not contain debugging Information Press OK to continue Do not prompt in the future Cancel Step 19 Connection established Then you can debug on line Tips amp Warnings If you wan
76. cro SD Socket WP 8131 E 223 VGA Port sy Expansion Slot sy USB Port B Ethernet Port Connector LED Indicators 2 Rotary Switch f ISI Y T 2 Micro SD Socket WP 8141 E gt VGA Port 9 Expansion Slot EB Ethernet Port B Connector WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 24 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WP 8431 WP 8831 P Rotary Switch SD Socket f a LED Indicators Port A cow Ocom D coms as 6 DIP Switch comm wo ee ee e i i ii se I O Expansion Slot WP 8441 4 Slots W Ethernet Port WP 8841 8 Slots E9 USB Port 6 Connector Py RI GND Redundant Power 10 30 GND R COM LT Relay Output R NO D com 0 Frame Ground F G WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 25 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WP 8441 WP 8841 ep Indicators Rotary Switch Micro SD Socket vca Port coms m E pe DIP Switch E Fij TH A B com M E hm m wmm Lace y ILE e 9 USB
77. e 48 Copyright 2014 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 WinPAC 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 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 49 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 4 Using WinPAC Utility to manage the WinPAC The WinPAC Utility is a toolkit used to quickly control and configure the WinPAC For more detailed information on WinPAC Utility applications please refer to 3 5 WinPAC Utility Step 1 Run the WinPAC Utility located on desktop Step 2 Configure IP address DHCP FTP Server Auto se sete ethernet Settng FTP setting system T gt Battery OK Display Resolution 320 240 Batteryz OF Task Bar Setting T Auto Hide eum w Always On Top Change HTTP document root directory bo Step 3 Save and Reboot the WinPAC zi Help Configuration Save V E NENNEN mn Save and Reboot esolution 320 IN Reboot without Save Restore Default Settings Exit dd E Always on Top Change HTTP document root directory En Copyrig O Lid ights Reserved Setting ised January
78. e s name in the registry 1 service instance gt particular instantiation 1 f file name gt s silent d output to debugger WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 234 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 235 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix G Revision History 1 0 July 2008 Initial issue 1 1 August 2008 Added more information about WinPAC Utility functions in section 3 5 1 2 August 2008 1 Added additional information on how to establish a new telnet and FTP in Appendix E 2 Added additional information on how to use services tool in Appendix E Added additional information on how to use network printer in Appendix E 2 Added additional information on how to use printer via USB in Appendix E Added additional information on how to automatically update the WinPAC 8000 SDK in Appendix E 2 Added additional information on how to manually update the WinPAC 8000 SDK in Appendix E 3 Added additional information on how to update the WinPAC 8000 OS image from file 1 5 September 2008 Deleted WP 8041 information 1 6 0 July 2009 1 Changed the name of the version of this manual 2 Moved the OS and SDK updates from the Appendix E to the Chapter 6 3 Added information about the multilingual interface
79. e values registry registry from to registry Dem Shows how to read the name of local I O modules via UART The eVC demo programs of WinPAC standard API for WP 8x3x and XP 8x4x can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC eVC Standard andard WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 135 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 2 eVC Demo programs for PAC IO API The table below describes the WinPAC demos that have been designed to demonstrate the expansion 1 0 module features of the WinPAC Remote I O Local I O WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 136 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com PAC IO API Folder Demo Explanation Shows how to retrieve the module names and types which plugged in the WinPAC Shows how to read the DI values of DI module Hu 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 Shows how to read the DI the DO values of the DIO module dio This demo program is used by 8K series DIO modules p Shows how to send receive a command response 87k basic application This demo program is used by 87K series modules mm Shows how use uart API and the IO modules located 8 K demo as
80. e50 document fag fag in dex htm WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 189 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 190 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 1 How to set up a telnet and FTP account to login WinPAC WinPAC Utility has an account management function that controls the user that has access into the telnet and FTP server WinPAC Utility 2 0 2 1 m File Help Configuration System Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial gt FTP Setting Users and Password FTP JDisable Allow Anonymous Enable 3 Disable Allow Anonymous Enable 3 Disable Upload Change FTP default download directory Temp to A WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 191 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 1 1 Add a telnet and FTP account To establish a new telnet and FTP account please perform the following steps Step 1 Run the WinPAC Ultility located on desktop Step 2 Select the Network Setting tab and then select the Users and Password tab Step 3 Fill a user account in the User name and Password field and then press Add button the user w
81. ead 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 The eVC demo programs of PAC IO API for WP 8x3x and XP 8x4x can be obtained from CD Napdos wp 8x3x_ce50 Demo WinPAC eVC lO WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 138 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 Modules and SDK Selection This chapter describes how to select a suitable I O expansion module and the corresponding SDK library for developing programs on WinPAC series devices Selecting an SDK Library for I O Expansion 1 x NM PC B fi Slots E 10 Slots 901 9075 Santas 1 Local I O I 8K Series amp I 87K Series There are two types of I O modules that can be inserted into local bus of a WinPAC device Parallel and Serial Parallel modules l 8K Series are high speed modules and only support an MCU Main Control Unit Serial modules 1 87K Series can support either an MCU or an I O expansion unit The following table shows the appropriate SDK library to be used for I O modules Modules SDK l 87K series l 87K series with I 8K series Specified 8K PWM functions series Native SDK PACSDK dl PACSDK PWM dll PACSDK dll opecified SDK NET CF PACNET dll PACNET dll PACNET dll specified SDK SDK WinPAC 8000 User Manu
82. ed to the documents OS images SDKs etc Demo Demos related to VVP Sx3x VWP 8Sx4x Document Document related to VWP Sx3xVWP 8Sx4x el ogger Demos and drivers related to eL ogger Micro SD Tools and drivers related to manage the microSD Files related to miscellaneous OS Image OS Imagerelated to WP Sx3xAWP Sx4x PC Tade Tools related to management VWP Sx3xAWVP Sx4xthat install on PC SDKs related to WP Sx3xWP Sxdx avstem Disk Tools and drivers related to System_Disk that install on WP Sx3xAWP 8Sx4x Installation packages related to VVP Sx3x NP Sx4x updates WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 34 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 6 Comparison of WinPAC and WinCon WP 8x3x WP 8x4x WP 8x3x W P 8x4x is the second generation of PAC It is equipped with various connections VGA USB Ethernet RS 232 485 and 1 4 8 slots for high performance parallel I O modules high profile 1 8 series and serial type I O modules high profile Il 87K I O modules Comparing to the first generation WinCon PAC it not only improves the CPU performance from 206 MHz to 520 MHz but also add many reliability features COM3 RS 232 RS 485 Operating Modes Selector Dual Battery Backup SRAM COM4 R5 232 Power Indicator Micor SD socket WP 3831 COM1 VGA 5 232 Analog Input Output D
83. erved E mail service icpdas com Step 7 Insert the following code into the Editor Window char OS 32 TCHAR buf 32 pac GetOSVersion OS pac AnsiToWideString OS buf MessageBox buf 0 MB OK return TRUE return TRUE unless u void CSysteminfaoDl1g nBtnCheck s 1 TODO Add your control notification Step 8 Insert the include PACSDK h into the header area Hinclude stdafx h Hinclude systeminfu h Hinclude systeminfFablg h Fdef DEBUG Hdefine new DEBUG MEM Hundef THIS FILE static char THIS FILE FILE Hendif WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 123 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 5 Execute the application program on WinPAC Step 1 On the Build menu click the Build systeminfo exe command E Bie Edit Yiew Insert Project Build Tools Window Help Ires mi Gil db z Compile sUEimtoble cpp EE Build SDEmfa exe F7 Rebuild All Batch Build Clean start Debyg k Update Remote Output File fs Execute 5 LiEmtao exe tir E5 set Active Cionfieuration Configurations set Active Platon Step 2 Open the web browser and type the IP address to connect the FTP server of WinPAC Step 3 Upload the systeminfo exe application to the WinPAC via the WinPAC FTP server File Edit View Go Step 4 On the WinPAC execute the
84. ess Warning Please turn the rotary switch to 0 normal made and reboot the device Would you like to reboot right now or later Run the WinPAC Utility and then select the Save and Reboot command from the File menu to save the settings and reboot the WinPAC pay a 1 amm EZ lt Dune 47 ee eee r lap 2 Help Configuration Save Save and Reboot FIP Setting System Reboot Without Save Psolution 220 240 Restore Default Settings Exit E Always Top Change HTTP document root directory to windowst yapu Setting L Br RULES ee iz gr fiumi anion orn Setting WinPAC 8000 User Manual version 2 0 9 Last R Copyright 2014 ICP DAS Co Lid All Rights Reserve Step 9 Click Yes to reboot the WinPAC Warning gt Would you like to save the setting and reboot the device Step 10 Check the WinPAC OS version Start the WinPAC Utility and then select the System Information tab to check the current OS version WinPAC Ulity 1 0 2 9 Check the OS version WinPAC 8000 Us Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 156 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 SDKs Updates The updates files of
85. f each battery Refer to Section 3 5 WinPAC utility System Settings Tab for more details If the power level for either of the batteries is low both should be replaced Note which battery has the lowest power level WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 168 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 When programming this call the GetBatteryLevel API function in the PACSDK dll to check whether the battery power is low When the power for either of the batteries is low it s recommended that the battery is replaced immediately otherwise the data on the SRAM may be lost or RTC time will be reset Note The battery initial voltage should be around 2 8 3 0V when below 2 1V the WinPAC ViewPAC Utility will show the low power warning When below 1 5V the data in the RTC real time clock and 512KB SDRAM will be lost 1 Replacing the battery without losing data 1 1 Power off the WinPAC device 1 2 Remove the cover of the module inserted into the slot 1 3 First remove the battery that is running low on power from the battery holder 1 4 Insert a new battery 1 5 Remove the other battery 1 6 Insert a new battery Notes 1 Ifthe battery power for only one of the two batteries is low you can use this method to replace the battery so as to prevent data from being lost In the circuit design for the WinPAC series When the power for one of the b
86. fault 1GB type Il type II Default 1GB Default 1GB Interface USB1 1 x 2 USB1 1 x 1 USB1 1 x 1 USB1 1 x 2 VGA port x 1 VGA port x 1 PS 2 port x 2 VGA port x 1 1024 x 768 640 x 480 800x Keyboard 320 x 240 640 x 480 800 600 Mouse 1024 x 768 x 600 VGA port x 1 320 x 240 1024 x 768 Ethernet Port RJ45 x 2 RJ45 x 2 RJ45 x1 RJ45 x 2 10 100 BaseIX 10 100 BaseTX 10BaseT 10 100 BaseTX COMO For l 87K module For l 87K module in I O slot in I O slot COM1 RS 232 RS 232 For 1 87 module For l 87K module in I O slot in I O slot COM2 RS 485 RS 485 RS 232 RS 232 RS 232 485 RS 232 485 RS 485 RS 485 COM4 RS 232 RS 232 IO Expansion 1 4 8 1 4 8 0 3 7 0 3 7 Slots 64 bit Hardware Yes Yes Yes Yes Serial Number Push button Yes for Reset Yes For Reset WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 39 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 Programmable 1 LED Dual Watchdog Yes Yes Yes Yes Timer Real Time Clock Yes Yes Yes Yes DIP Switch 8 bit Yes Yes Rotary Switch Yes 0 9 Yes 0 9 Yes 0 F WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 40 Copyright 2014 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 WinP
87. foDlg h and SDKinfaDIg cpp View CChildView in ChildView h and ChildView cpp Features Uses shared DLL implementation Localizable text in 20152 22 8 Project Directory CADOCUMENTS AND SETTINGS WYINDOWS CE TOOLSAEVCYSDKinfo Cancel WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 113 Copyright 2014 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 Bil Edit View Insert Project Build Tool Window Help mela c mms al Elke CSDKintoApp l i All class members CSDKinfoApp dE r E LZ nya Win32 ACE AHMVAI Release STANDARDSDK 500 Emulator in32 WCE ARMV 4I Debug Wind Release 88 SDKinfo classe DKinfo classes in32 CE emulator Debug in32 WCE emulator Release in32 WCE MIPSII Debug Inge MCE MIPSII Release in32 MIPSII FP Debug in32 MIPSIL Release in32 WCE MIPSIV Debug Inge WCE MIPSIV Release in32 MIPSIV FP Debug in32 MIPSIV FP Release in32 SHA Debug inj WCE SH4 Release WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 114 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 3 Specify the path for project reference Step 1 C
88. form sdk released date Tips amp Warnings The released date of the installation program SDK installation A package that provides the PACSDK library must be later than or equal to 2012 10 15 such as PAC270_SDK_20121015 msi Step 3 Follow the prompts until the installation is complete WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 86 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 Understanding the WinPAC SDK The WinPAC SDK includes several application programming interfaces APIs that allows you perform various supporting tasks when developing WinPAC gt Requirements The WinPAC SDK only supports NET Compact Framework 2 0 or above gt Installation Path After installing the WinPAC 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 WinPAC SDKs Header files C Program Files Windows CE Tools wce500 PAC270 Icpdas Include ARMV4 Libraries C Program Files Windows CE Tools wce500 PAC270 Icpdas Lib ARMV41 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 87 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 1 WinPAC SDK Overview system Information Watchdog Backplane Access UART Interrupt Registry Memory Access Micro SD Sy
89. ght 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E 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 23 2 48 5 Converter ARS Re p eater 7520 Series ES 7510 Series 485 Repeater 7510 Series WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 180 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 181 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E 5 Master Slaves Settings The RS 485 network based on master slave architecture consists of a single master device and one or more slave devices The WinPAC provides two RS 485 communication interfaces based on the master slave system architecture all of which have a pull high pull low resistor user can set it to master or slave for implementing an RS 485 multi drop network One of the RS 485 communications COM2 its pull high pull low resistor located on power board the other COMS located on the right side and its pull high pull low resistor located on the bottom of the right side as shown below JP1 2 are the jumpers settings of the pull high pull low resistor WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014
90. h MACHINE THUMB Step 5 Save the vcp file just edited Step 6 Open the old WinCon project and recompile it WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 224 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 225 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 4 How to use the printer WinPAC have ability to access the printer you can connect to the printer via Ethernet network or USB Tips amp Warnings VV VV ON ON ON WinPAC only supports HP Laser Jet Printers which support PCL6 driver The following printer support is released by HP HP LaserJet 4000 series HP LaserJet 4100 series HP LaserJet 2100 series HP LaserJet 2200 series HP LaserJet 1200 HP LaserJet 3200 HP LaserJet 3300 HP LaserJet 4200 series HP LaserJet 4300 series HP LaserJet 5000 series HP LaserJet 5100 series HP LaserJet 8000 series HP LaserJet 9000 series printers If you need the latest support of HP PCL6 printer you can refer to following link http n20000 wwwe2 hp com bizsupport T echSupport Document js p objectlD bpl04568 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 226 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014
91. he Build menu click Configurations command Edit View Insert Project Build Layout Tools Window Help de compile EHE Build HELLO exe Fi Rebuild All Batch Build lean start Debug Update Remote Output File s Execute HELLO exe 5 met Active Confieuration Confievrations set Active Flatfonm Step 3 Make sure the CPU type is STANDARDSDK B Demo Microsoft eMbedded Visual C DemoDlg cpp Sele E Ede Edit View Insert Project Build Tools Window Help x mc o xl CDemeDig Al class members OnButtonhO JA gt Deme 12721013 win32 WCE ARMV4 Release STANDARDSDK 420 Emulator al xl TCHAR temp 28 stopstring m float AO 4 int i i Demo resources m_ADGB GetWindowText temp 28 oat westod temp amp stopstring WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 220 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 On the Configurations dialog click the Add button Lontizuratons 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 Configuration CPU Wini WCE ARMY 4l Copy settings from Default Debug Configuration Contiguration Release The new configuration will be called
92. he 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 7k87k_al Shows how to read the Al values of Al module WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 131 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7k87k basic Folder Demo Explanation D e S Al modules which connected through a COM port Shows how to write the AO values to AO module 7k87k_ao 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 7k87k_di 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 The C demo programs of PAC IO API for WP 8x3x and XP 8x4x can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC C IO ftp ftp icodas com pub cd winpac napdos wp 8x4x ce50 demo winpac c 23 I0 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 13
93. ices 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 232 485 Converter 7520 Series 485 Repeater 485 Repeater 7510 Series 7510 Series WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 175 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 176 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com E 3 Star Type 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 485 Repeater 485 Repeater 7510 Series T BM 7510 Series 7510 Series WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 177 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com There is a better choice to use 7513 as a RS 485 hub on start type network 232 485 Converter 7520 Series 485 Hub 7513 Series WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 178 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 179 Copyri
94. ill be added to the user account list WinPAC Utility 2 1 2 m File Help Configuration System Setting Ethernet Setting Network Setting auto Execution The user will be WinPAC Utility 2 0 2 1 rie Configuraticr added to the user t n Setting Ethernet S account list Mate FTP Setting Users and Pas User name Password Esther er The accounts is uf User name Password the servers searc FTP WebServer 4 E Password Esther Toe Ann a md The accounts is used to login the servers search as Telnet FTP WebServer etc on WinPAC Setting Step 4 Press Setting button FTP login If the login succeeds the dialog Login succeeds The users af FTP have been enabled right now will display when the user WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 192 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com account has been created WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 193 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 1 2 Remove a telnet and FTP account To remove a telnet and FTP account please perform the following steps Step 1 Run the WinPAC Ultility located on desktop Step 2 Select the Network Setting tab and then select a user account from the user account list
95. l Rights Reserved E mail service icpdas com F 1 3 Use a Telnet to login WinPAC from PC To use telnet to login WinPAC from PC please perform the following steps Step 1 On the PC side select Run from the start menu Step 2 Type cmd and then press OK button 2 Type cmd Type the nar Internet res o Windows Update Programs Fe Documents 4 Settings pe Search 9 Help aport Windows XP Professional C C Wilf D D WIS Syste Step 3 Type telnet IP address to connect WinPAC C WINDOWS System3 cmd exe AHicrosoft Windows AF Yersion 5 1 26808 C Copyright 1985 26081 Microsoft Corp C Documents and Settings Administrator te lnet 160 1 0 61 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 196 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Type user name and password to login c CEWINDOWSYSystem 37 Wcmd exe Welcome to the Windows CE Debug Service on WindowstE login Anna Password gt Step 5 The connection has been established CWIMDOWSAYS ystem 3 2cmd exe lelceome to the Windows CE Debug Service on WaindowsCE login Anna Pocket CHD v 5 Tips amp Warnings A If you can t login please check that the FTP setting is enabled WinPAC Utility 2 0 2 1 File Help Configuration System Setting Ethernet Setting Network Setting System
96. l Settings PACSO ARM 4 ARM 4 Release Keyboard gs Task List Web Browser Delete Projects and Solutions bource Control Text Editor Database Tools Debugging zd cun Default device Devices PACSO ARMY4 AEMVAI Release v Farm Factors TT mI FT TT WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 211 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 On the PAC50 ARMVA4 ARMMVA4I Release Properties dialog click the Configure button PAC5U A4EHMY A AEMVYAI Release Properties Default output location on device Program Files Folder Transport Bootstrap per Actyessme Startup Provider Configure Step 8 On the Configure TCP IP Transport dialog select the Use specific IP address option and type the IP address of WinPAC and then click the OK button Options kl E Find and Replace Fonts and Colors pg Help Import and Export settings a idle Use fixed port number Device IP address CO Obtain an IP address automatically using ActiveSync x Use specific IP address 10 0 9 43 a WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 212 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 9 On the PAC50 ARMVA4 ARMVAI Release Properties dialog
97. lick the Options command from the Tools menu E File Edit Yiew Insert Project Build Tools Window Help source Browser AltFl 2 Close source Browser File LN Error Lookup Remote Call Profiler WICESO0 Remote File Viewer MICESOO Remote Heap Walker WICESOU Pa Remote Eernel Tracker MCES00 Pa Remote Performance Monitor OW CESOO P 5 Remote Process Viewer WICESOD Remote Registry Editor WiCESUD Remote WICESDU Remote system Information WCESULU Remote Zoomin WCESUD select Remote Tools k Customize Macro Record Quick Macro Cth hift E Play Quick Macro tlt shitt P Configure Plationn Manager WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 115 Copyright 2014 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 The specified include path of the header file is default located at C Program Files Windows CE Toolswce500 PAC270McpdasMncludeARMVATNW Options Download Build Directories Wil kspace Macros Format Platform CPUs mE Showed bocPATRMES 270 STANI Win32 MYCE ARMY 4 Directories CAProgram Files indows CE Toolstwce5O00 S TAMDARDSDEK 5 0VncludeVA
98. m das file which setting is saved by Dump All Registry Setting How to use WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 72 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The 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 a specific das file to store Warning 1 The das file should be saved by Dump All Registry Setting 2 It will save automatically after store das file Dump All Registry Dump all registries setting to das file Settings How to use Select the Dump All Registry Setting then the Save As dialog box will appear prompting you to select a location where you want to save this exported file WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 73 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 5 2 Property Tabs The WinPAC Utility includes the following property tabs all property tabs will be explained later WinPAC Utility 2 1 0 4 Fie Helo Configuration System Settings2 Ethernet Settings Network Settings System Information Auto E Welcome to use WinPAC Utility This tool will help you to set up the WinPAC 8000 Display Resolution in24 768 Prp 16 WinPAC i Industrial Control Products S Data
99. nPAC SDK in section 4 3 1 Modified the specification of Dual Battery Backup SRAM feature in section 1 1 2 Added information about I O Expansion Slots in section 1 2 3 Modified information about Operating Environment in section 1 2 1 Modified information about the companion CD in section 1 5 2 Modified information about using Backup Utility to back up the settings and files in section 2 8 3 Added information about WinPAC tools in chapter 3 1 Added information about a caution about using System_Disk in section 2 9 2 Added information about the FTP setting function of the WinPAC Utility in section 3 5 2 and E 1 1 Modified information about the WinPAC overview in section 1 4 2 Added information about the specification of COM ports in section 1 4 1 Added information about COM1 in section 1 4 2 Added information about how to use the printer in appendix E 4 Modified information about the WinPAC Platform WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 237 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com SDKs in chapter 4 2 0 8 July 2013 1 Removed I O Module Hot Swap Ability in section 1 1 2 Update WinPAC utility information in section 3 5 3 Added limitations for using Visual Studio in section 4 1 4 Added demo programs and SDK library selection in section 5 2 0 9 January 2014 1 Added information about battery WinPAC 8000 User Manual
100. nctions please refer to the PAC Standard API Manual for both WP 8x3x and WP 8x4x series located at CDANapdosWwp 8x4x ce50 Document SDK Document ftp ftp icpdas com pub cd winpac napdos wp 8x4x ce50 document sdk document T WinPAC Standard API manual Y1 9 1 pdf Adobe Acrobat Pro RAE OO xD HRD HBR ie Table of Contents Preface E Overview of the wWinPacsDEk System Information Functions D m kal Table of Contents I Preface Overview of the WinPacsDk E J 1 System Information Functions 1 1 pac_GetModuleName 1 2 pac etRatarvID il 1 3 pac EnableLED 1 4 pac GetSerialNumber Kl 1 5 pac uet PLU ersion KI 1 6 pac_Getos Version Kl 1 7 pac GetEbootVersion Kl 1 8 pac GetsDk Version Kl 1 9 pac_GetMacAddress 1 10 pac Changeslnt Kl 1 11 pac Reboot 1 12 pac_BackwardCompatible 1 13 pac_GetlomMapping 2 Backplane Access API E 3 Interrupt API 4 Memory Access API ls Watchdog Functions 2 Backplane Access AFI E MicroSD Management API 8 UART API E 4 Memory Access API ae 3 E 5 Watchdog Functions 6 MicroSD Management API E 7 Registry 8 UART API FAC Io AFI EHE ID zr Handing gt 1 1 pac_GetModuleName 1 2 pac GetREntarvID 1 3 pac EnableLED 1 4 pac GetSerialNumber 1 5 pac Get Persian 1 6 pac GetoSVersion 1 7 pac GetEbootve
101. ndicator BS L d L 10 Base T Compact Flash VGA WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 37 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com W 8x4x WinCon 8x4x series embedded controllers are derived from existing WinCon 8x3x series This evolution includes dual USB host ports to support more connectivity to USB I O devices dual Ethernet 10 100M ports to provide higher network performance network security and redundancy capability and a rotate switch to configure your system and applications COM IRE __ COM Port LET Compact Flash Diga T Dipta elay Output LED Indicalor Config Rotary SW Open cups Counter OS Windows CE 5 0 Windows CE 5 0 Windows CE 4 1 Windows CE 4 1 CPU 520 MHz 520 MHz 206 MHz 206 MHz SDRAM 128 MB 128 MB 64 MB 64 MB Dual Battery 512 KB 512 KB Backup SRAM WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 38 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Flash 128 MB 64 MB 96 MB 64 MB for 32 MB for OS 32 MB for OS for OS image 63 OS image 31 image only image only MB for built in MB for built in Flash disk 1 MB Flash disk 1 MB for registry for registry EEPROM 16 KB 16 KB 16 KB 16 KB Expansion Micro SD slot Micro SD slot Compact Flash Compact Flash Memory Slot Default 1GB De
102. nfigure dialog click the OK button Windows CE Platform Manager Configuration select platform or device to configure PACIO Add Device 8 PACI70 Device Sa Delete STANDARDSDK_420 i i Windows CE Default Platform _ Properties About Step 13 On the Build menu select the Start Debug command and then click the Go command Ele Edit View Insert Project Build Tools Window Help 2 Compile systeminfodlgcpp Build SwstemInto exe Rebuild Batch Build lean stat Debug Update Remote Output File s m Sr Into IE I Execute SvstemInfa exe tl ES P Run Cursor ChbheFi Set Active Configuration Attach to WCE Process configurations oet Active Platform WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 205 Copyright 2014 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 WinPAC controller side to do the next two steps Manual Server Action Please make sure the following files are on the device SY IMO W S dll wWVINDDWS Seemagre exe dii And launch with the following cmd line CEMGRC EXE ATTCPIPC OLL A 10 0 9 52 2008 Cancel Step 15 On the WinPAC select the Start menu Run
103. o Ltd All Rights Reserved E mail service icpdas com Step 2 On the Windows CE Platform Manager Configuration dialog click the Properties button Windows CE Platform Manager Configuration select platform or device to configure 2 Add Device 0 9g PACZTO Device ui SIANDARDSDE 420 zo Windows CE Default Platform Step 3 On the Device Properties dialog click the Configure button Device Properties Device Name Device select a transport and a startup server Choose Test to verit that you can establish a connection to your target device with the selected transport and startup server Transport TCPAE Transport for Windows CE startup perver Manual Server DE Cancel Test WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 200 Copyright 2014 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 OK button ICP IF Transport Configuration Configuration Far device PAC270 Device Check connection status Interval msec 60000 number 5000 Use fixed address 10 0 3 52 Configure automatically over serial Cancel Step 5 On the Windows CE Platform Manager Configuration dialog click the Test button Device Properties Device Name
104. plorer WordPad jj My Documents Step 9 Return to the Host PC side on the Manual Server Action dialog click the OK button Manual Server Achon Please make sure the following files are on the device WIND UV S tepipc dil WIND WwS Scemarc exe WIND UV S Sestlstub dll And launch LEMBRCE EXE with the following cmd line CEMGAC EXE 5 TTEPFIPEDBLL 40 70 0 9 525000 Cancel WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 203 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 10 On the Testing Device Connection dialog click the OK button Testine Device Connection Device Mame ACTU Device Connection to device established TLPAP Transport for Windows CE Step 11 On the Device Properties dialog click the OK button Device Properties Device Name Device select a transport and a startup server Choose Test to verity that you can establish a connection to your target device with the selected transport and startup server Transport TCPAE Transport for Windows CE Configure startup server Manual Configure Cancel Test WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 204 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 12 On the Windows CE platform or device to co
105. ram 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 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 9 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Upgrading applications from WinCon to WinPAC just copy and pla Copy amp Play WinCon 8000 WinPAC 800 Users can upgrade their controller from WinCon 8000 to WinPAC 8000 and meanwhile still keep most of their old applications exe file running smoothly on WinPAC 8000 without any modification The only thing that users have to do is just to copy the exe file from WinCon 8000 paste it to WinPAC 8000 and then play it How simple it is And for exceptions that old applications exe file are not able to follow the copy and paste rule users can still finish the upgrading by recompiling the old applications WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 10 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Hardware Features i Power CPU Module The most important features of the CPU module are 1 PXA270 or compatible CPU 32 bit and 520MHz 2 128 MB SDRAM
106. re memory running programs or move the slider right to release more storage room and then press the Setting button WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 83 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Backplane Compatibility Tab The Backplane Compatibility tab provides functions to keep old programs running on WinPAC without any modification WinPAC Utility 20 2 1 Fie Help Configuration Auto Execution Multi serial port wizard System Memory Setting Backplane Compatibility tpl This setting may let WwinPac support old programs which run on the following device WinFAC 5000 COM Port Backward Compatible for WinCon Support Devices WHE Se Series Wiley Series Wi B031 8039 6 Wi BO41 8047 8049 6 WIHESS1 8339 5 41 8347 8349 65 W B731 8739 6 W B741 8 47 8749 6 The tab use to How to use Configure programs Select the COM Port Backward Compatible for running at WinCON 8000 WinCon and then press Setting button WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 84 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 Your First WinPAC Program This chapter describes the components of the WinPAC SDK and provides step by step tutorial for developer that will teach you how to create your first WinPAC program Before writing your first program
107. rs to configure ten execute files at most A The allowed file types are exe and bat and they are executed in WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 80 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com order of program 1 program 2 etc WinPAC Utility 2 0 2 1 E System Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial Program 1 Svetem DiskXTooleNVv CEPS remate exe Progam 3 fs At most 10 programs can be 3 v UNUS execute 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 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 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 81 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com that are compatible with the WinPAC Item RS5 232 RS 422 RS 485 Isolation Connector 2 2500Vms DBO x2 FBMAW a sd 7x ee n EMEN coe o Terminator lock x IEEE The WinPAC can be expanded to support up to 16 C
108. rsion 1 8 pac GetSDk Vversian 1 89 pac_GetMlacAddress 1 10 pac ChangeSlnt 1 11 pac Rebont 1 12 pac BackwardCompatible uem uem uem uem uem nom uem uen um 1 15 pac_GetlomMapping WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 90 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 91 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 Your First Program in CZ Here we will explain how to create a C program running on WinPAC We assume that you use Visual Studio 2005 2008 Depending on the version of To create a demo program with C 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 WinPAC 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 Edit View Project Build Debug Data Tools Test Window Help New 0 Project Open Web Site Shift AlN Add 73 File Ctl N lose Project From Existing Code Close Solution save All Lilt ehitt
109. rvice icpdas com Step 7 On the next page of the wizard leave all the options as they are and then click the Next button to the next step WCE MFC AppWizard exe Step 3 of 4 ff TODO C No thank you ff TODO How would you like to use the MFC library As a shared DLL As a statically linked library Finish Cancel 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 AppWizard exe Step 4 of 4 AppWizard creates the following classes for CSDKinfoApr CSDKinfoDlg Class name Header file CSDKinfoApp SDKinfoApp h Base class Implementation file cWinApp SDKinfoApp cpp lt Back Next gt Cancel WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 112 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 9 The final summary appears click the OK button to exit the wizard Hew Project Information VICE App vizard exe will create a new skeleton project with the following specifications Application type of SDKinfo Dialog Based Application targeting Win32 CE ARMV 4I Win32 CE Win32 CE MIPSII FP Win32 CE MIPSIV Win32 CE MIPSIV FP Win32 MYCE SHA Win32 MYCE emulator Win32 WCE x86 Classes to be created Application CSDKinfoApp in SDKinfo h and SDKinfo cpp Dialog CSDKinfoDlg in SDKin
110. s 1 and MAC Address 2 fields that display the physical address of LAN1 and LAN2 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 76 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Network Setting Tab The Network Setting tab includes two tabs FTP Setting and Users and Password The FTP settings tab provides functions to enable disable the FTP access enable disable anonymous FTP access and configure the FTP directory path o Fie Help Configuration System Settings System Settings Ethernet Settings Network Settings System Information Auto L gt FIP Settings Users and Passwords File Server Settings FTP Enable Disable Allow Anonymous s Enable JDisable Allow Anonymous 8 Enable Disable Upload Change FTP default download directory Temp to am OOS Change the HTTP document root directory windowsi pua to The tab use to How to use Enable or disable Enable the FTP access Select the Enable check box in the FTP field Disable Select the Disable check box in the FTP field Enable or disable Enable anonymous FIP Select the Enable check box in the Allow Anonymous field access Disable Select the Disable check box in the Allow Anonymous field Enable or disable Enable anonymous FIP Select the Enable check box in the Allow Anonymous upload Upload field WinPAC 8000 User Manual version 2 0 9 La
111. se refer to http www icpdas com products PAC wincon 8000 wincon VirtualCE htm WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 67 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 5 WinPAC Utility The WinPAC Utility is a tool which is designed to quickly control and manage the WinPAC Smi WinPAC Utility 2 10 4 Fie Configuration System Settings System Settings2 Ethernet Settings Network Settings System Infor mation Welcome to use WinPAC Utility This tool will help you to set up the WinPAC 8000 Display Resolution 1024 768 em 2 Bpp 16 WinPAC Frequency 70 Industrial Control Products S Data Acquisition System Bamevl OK Task Bar Settings d Auto Hide Always On Top Battery Ok Blank Desktop Configure synchronization with a time server Enable Autorun when connecting a USB Disk Enable Autorun when connecting a Micro SD WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 68 E mail service icpdas com Copyright 2014 ICP DAS Co Lid All Rights Reserved 3 5 1 Menu Bar The WinPAC Utility includes the following function menu All function menu will be explained later Y File Menu 326 Help Configuration Save Save and Reboot Reboot Without Save Restore Default Settings Exit Y Help Menu File LS Configuration Reset System to Default Release No
112. 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 This demo program is used by 87K series 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 DI 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 7k87k_al Shows how to read the Al values of Al module WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 137 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7k87k basic Folder Demo Explanation D e S Al modules which connected through a COM port Shows how to write the AO values to AO module 7k87k_ao 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 7k87k_di 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 r
113. st Revised January 2014 77 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The tab use to How to use Disable select the Disable check box in the Allow Anonymous Upload field Change the FIP Enter a new path in the Change FTP default download directory path directory field and then press the Setting button WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 78 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The FTP settings tab provides functions to add delete and manage the user account for FTP telnet and Web server access Fle Help Configuration System Settings System Settings2 Ethernet Settings Network Settings System Information Auto 4 FTF Settings Users and Passwords File Server Settings EE FTP Enable Disable Allow Anonymous Enable Disable Allow Anonymous 8 Enable Disable Upload Change FTP default download directory Temp to Mem OSS Change the HTTP document root directory XwincowsNwww wwwpub to Window s awww ara m The tab use to How to use Add a user Fill in the User name and Password field of your user account account oress the Add button and then press the Setting button Delete a user Choose a user name from the user account list the user account account that you select will display in the User name and Password filed press the
114. stem Operation p 10 Remote I O Local I O WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 88 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com e System Information Functions Provides reference information for the system status e Backplane Access API Provides reference information for the backplane access APIs including backplane information e Interrupt API 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 API e Error Handling API Provides reference information for error handling WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 89 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 2 WinPAC SDK Reference For full usage information regarding the description prototype and the arguments of the fu
115. t communication module 1 81 72W the WinPAC 8000 can link FRnet I O modules to implement high speed distributed I O CAN Bus The Controller Area Network CAN is a serial communication way which efficiently supports distributed real time control with a very high level of security It provides the error processing mechanisms and concepts of message priority These features can improve the network reliability and transmission efficiency Furthermore CAN supplies the multi master capabilities and is especially suited for networking intelligent devices as well as sensors and actuators within a system or a sub system With l 8120 l 8123 l 8124 87120 1 87123 and 1 87124 WinPAC 8000 is able to demonstrate every feature of CAN CANopen and DeviceNet WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 14 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 15 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 2 Specifications System Software OS Net Compact Framework Embedded Service SDK Provided WinCE Net 5 0 3 5 FTP server Web server supports VB script JAVA script Embedded SQL server DII for eVC DII for Visual Studio Net 2003 2005 2008 CPU Module CPU SDRAM Dual Battery Backup SRAM Flash WP 8431 WP 8831 WP 8441 WP 8831 E
116. t loader broken off in this step and cannot restart in safe mode you have to send it back to us ii Erase flash disk WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 148 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com iii Install OS image iv Set and save registry Tips amp Warnings A This procedure will reset the registry settings to their default settings 4 and all of your settings will be lost During this time do not turn off the WinPAC If the update is cancelled before completion the WinPAC may become damaged and may require servicing or exchange Besides we recommend that you turn off all other applications before starting to upgrade the OS Step 5 After completing the above mentioned tasks the Warning dialog box will appear as follow before clicking the OK button you must first turn the rotary switch to the 0 position Reboot this device right now Please turn the rotary swithc to D normal mode WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 149 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Check the WinPAC OS version otart the WinPAC Utility and then select the System Information tab to check the current OS version Check the OS version WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 150 Copyright 2014 I
117. t reference for an application 3 Design and Build an application program 4 Execute the application on the WinPAC 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 Project Build Debug Data Tool Test Window Help New Project br Taft N Open Web Site Shift AlN Add File Cth Clo Project From Existmg Code Close Solution save All Ctl shittt s Export Template Recent Files Recent Projects Exit WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 101 Copyright 2014 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 Project types Templates E Visual Cs 0000 Windows 8 Device e Class Library T Console Application yal Empty Projec My Templates mart Device Pocket PC 2003 E Visual C wa Location Windows CE Tools B net v EB Solution Cra directory for solution Solution ege Step 4 Click OK to start creating a systeminfo project WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 102 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
118. t to quit the debugger and return to editing you can click the AN Stop Debugging button from Debug menu Ee Edit View Insert Project Debug Layout Tool Window Help Go F5 S Restart Ctr hift F5 u Break m step Into Fil step Over FIO Step 1 Eun to Cursor EIS Exceptions 5 Threads Modules Be show NextStatement Alt Num ge Quick Watch WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 208 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com F 2 2 Debug WinPAC programs in Visual Studio 2005 2008 Debugging in Visual Studio 2005 2008 are provided by WinPAC OS image V 1 3 0 4 or later Step 1 Make sure the following file are listed with the matching version numbers C Program Files Common Files Microsoft 1 ActiveSyncBootstrap dll shared CoreCon 1 0 Bin 2 ConMan2 dll ConManPS dll 4 DesktopDMA dll 5 eDbgIL all 6 TcoConnectionC dll C Program Files Common Files Microsoft conmanui dll shared CoreCon 1 0 Bin 1033 C Program Files Common Files Microsoft 1 DeviceDMA dll shared CoreCon 1 0 Target wce400 armv4i 2 eDbgTL all 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 WinPAC System DiskVCPDAS System folder v Clientshutdown exe v ConmanClien
119. t2 exe v CMaccept exe v eDbgTL dll v TcpConnectionA dll WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 209 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 On the Project menu click Project Name Properties command File Edit View Project Build Debug Data Format Took Window Communitv Add Windows Form Bj Add User Control 8 Add Component vig Add Class Shift Altec Add New Item Add Existing Shaft Alte A Exclude From Project show All Files Add Reference Add Web Reference set as stat p Project Change Target Platform Systemlntoa Properties Step 4 On the Systemlnfo tab unselect Deploy the latest version of the NET compact Framework including Service Packs check box _ ereate_database Form cs Forml cs Design Object Browser Configuration Platform N Build plowment Options Build Events Target device Debug PACSO ARMY4 AEMVAI Re Jutput file folder une amp CSIDL PROGRAM FILES4fereste database Paths Deploy the latest version of the NET Compact Framework fincluding Service Packs 3 Siening thenticode Signing Sign the project output with this certificate Devices Win ANZ MSIE IVICAI IULCAI V WI SDIVII I amp V V LANL I
120. tem Windows Fome Button RightToLeft Check the OS version w Text lien Midd leenter TextlmageRelation Overlay Text The text associated with the control ag Class View yl Solution Explorer Properties Step 4 In the Form1 dialog box double click the button object to open the editor window mmuunuuunuuuuuuuununumuuunnunuuunuuuuunedd jummununumumumnnunuumumnuunununnumnummuauzs Check the OS version nummuuumnuuuuumuumuuauuamuuuuuuuuuuumu Pe BEEHERERERENRE Double click the button WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 105 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Insert the following code in the Editor Window 1 Imports PACNET 2 MessageBox Show PACNET Sys GetOSVersion 3 MessageBox Show Sys GetOSVersion Imports Public Class Forml Private Sub Buttonl Click ByVal sender As system Object Messagebox showt sve Gets Version J End Sub End Class Tips amp Warnings AN The PACNET of Imports PACNET is case sensitive WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 106 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 4 Execute the application on the WinPAC Step 1 On the Build menu click the Build Solution command File Edit View Project Debug Data Format Tools Test Window
121. tes About v Configuration Menu File Help Configuration Import Registry Ker Export Regsitrv Key Store All Registry Setting Dump All Registry Setting WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 69 Copyright 2014 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 WinPAC restart Save and Reboot saves the settings into Flash and restart the WinPAC The new settings will take effect after the WinPAC restart Reboot Without Save Restarts the WinPAC without save the settings into Flash Restore Default Settings Restarts the settings of WinPAC to its factory default values The settings include configuration setting network setting auto execution etc Exits the WinPAC Utility WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 70 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Help Menu File LE 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
122. the other devices on this network must be slave mode the pull high pull low resistors must be disabled If there are repeaters on the RS 485 network there will be pull high pull low resistors on both sides of the repeaters l 7510 D ES 232 485 Converter 485 Repeater 485 Repeater 7520 Series REESE 7 10 Series cee 7510 Series Slave Mode WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 186 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com When WinPAC as a slave using COM2 communication interface the pull high pull low resistor located on the power board must adjust to disabled as shown below dips P Pull Disable When WinPAC as a slave using COM3 communication interface the pull high pull low resistor located on the power board must set to Slave as shown below COMS 5 485 Masler 4 Slave WinPAC 8000 User Manual version 2 Pace 187 Copyright 2014 ICP DAS Co Ltd All Rights i ieserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 188 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix F Tips How to This chapter provides tips and a guided tour on using and maintaining the WinPAC There are more FAQ documents on htto fto icodas com tw pub cd winpac napdos wp 8x4x c
123. the standard operation features of the WinPAC system Information Watchdog Backplane Access UART Interrupt Registry Memory Access Micro SD System Operation WinPAC Standard API 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 memoryaccess memory Shows how to read write date values WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 128 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Explanation EM fromito EEPROM Shows how to read or write to the battery backup sram battery backup watchdog watchdog Displays how the watchdog operate Shows how to enables disables microsd microsd management Micro SD Shows how to read write date values registry registry from to registry Der Shows how to read the name of local I O modules via UART The C demo programs of WinPAC standard API for WP 8x3x and XP 8x4x can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC Cz Standard V ftp ftp icpdas com pub cd winpac napdos wp 8x4x ce50 demo winpac c9e23 s tandard WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 129 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
124. thernet I O devices available include ET 6000 ET 7000 I 8KE4 8 and I 8KE4 8 MTCP and support either the or the Modbus TCP protocol NET CF SDK ET 6K ET 7K series Modbus Demo Modbus Demo 4 FRnet FRnet is an innovative industrial field bus technology that uses twisted pair cable as the transmission medium The status of all I O devices is updated on a fixed cycle no matter how many FRnet 1 0 modules are connected to the FRnet network NET CF SDK l 8172W oac_i81 2W dll oac8172WNet dll 5 CAN Bus The Controller Area Network CAN is a serial communication way which efficiently supports distributed real time control with a very high level of security It provides the error processing mechanisms and concepts of message priority These features can improve the network reliability and transmission efficiency Native SDK NET CF SDK I 8120W 18120 dll l8120net pac dll Selection Guide for l O Module Demo Program I 7K series http ftp icpdas com tw pub cd winpac napdos wp 8x4x ce50 demo winpac applicable d demo for 7k module pdf l 87K series http ftp icpdas com tw pub cd winpac napdos wp 8x4x ceb50 demo winpac applicable d demo for 87k module pdf l 87K series d demo for 8k module pdf Modbus demo http fto icodas com pub cd winpac napdos wp 8x4x ce50 demo nmodbus CAN Bus demo ftp ttp icodas com pub cd fieldous cd can slotmodule i 8120w demos WinPAC 8000 User Manual version 2 0
125. ts Export Template Recent Files Recent Projects Exit WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 92 Copyright 2014 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 Project types Templates 3 Visual Cs Y 1202 dio installed templates D Windows amp Smart Devic FaDevice Application Library PO Console Application WindowsCE 50 43 Empty Project Templates Other Project Types ca eearch Online Templates Location CA mdows DolAC w Browse Slatin I Crate directory for Solution Name Step 4 Click OK to start creating a systeminfo project WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 93 Copyright 2014 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 Add Reference command Solution Explorer Solution __ X Step 2 In the Add Reference dialog box E Sa Properties select the Browse tab and E ad _ then specify the directory of H E Forml cs Add Reference the PACNET dll file in the c Add Web Reference File name field Solution systeminfo 1 project
126. uanuuuuuuauuuuu unnm QD ummuuuanunuuuuunuuazuuauum Double click the button WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 96 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Insert the using PACNET into the header area after using System Windows Forms Using bysten using bwatem Collections Generic using svetem CompoanentMadal using svetem lIata using svzgtem Irawing using ove tem Text using ss tem Windows Forma using PACHET g namespace Example I Tips amp Warnings AN The PACNET of using PACNET is case sensitive WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 97 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Insert the following code in the Editor Window MessageBox Show PACNET Sys GetOSVers10n MessageBox Show Sys GetOSVersi10on B namespace svsteminfa public partial class Forml Form public Formi 1 InitializeComponentt 4 private void buttonl Click object sender EventArgs e 1 Hessagebox showt PACHET Sys Gets Versiont Hezsasebox Show svs GetlsVersiont WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 98 Copyright 2014 ICP DAS Co Lid All Rights Reserved E mail service icpdas com 4 4 4 Execute the application on the WinPAC Step 1 On the
127. ule 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 CDANapdosNo module 87k high profile modules htm ICPDAS Send to COM v2 00 s ommand esponses Current Packet Size bytes b o Current Packet Size bytes 0 Total Packet Bytes Q Total Packet Bytes Packet Quantity send o Packet Quantity received o WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 66 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 4 VCEP Manage Your WinCon From Anywhere ICPDAS VCEP is designed for managing your WinPAC anywhere No matter where you are ICPDAS VCEP provides a convenient environment on the Desktop PC and allows you control your WinPAC remotely ICPDAS VCEP is composed of two main components The Server which runs on WinPAC The Client which runs on a Desktop PC Once a connection is established between the client and server initiated by the client the client will periodically send requests for screen updates and send mouse key click information to the server to simulate Each video frame is inter compressed against the previous frame and then 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 plea
128. version 2 0 9 Last Revised January 2014 Page 143 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com The WinPAC OS supports multi language 1 en English 2 sc Simplified Chinese 3 tc Traditional Chinese update from file update from eshell WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 144 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 145 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 1 1 WinPAC OS updates using installation package file on WinPAC Installation package is easier to upgrade OS image you just copy the package file exe and the corresponding Autolnit bat file to WinPAC and then double click installation package file to run it _ Upgrade Installatic amp Autolnit Below is a step by step procedure for updating the WinPAC OS Step 1 Get the latest version of the installation package file and the corresponding Autolnit bat file downloading to WinPAC The latest version of the installation package file and the corresponding Autolnit bat file can be obtained from gt For WP 8x3x series CD ANapdosWp 8x3x ce50 VOS from file http ftp icpdas com pub cd winpac napdos wp 8x3x ce50 os image update from file gt For WP 8x4x series CDANapdos
129. vice icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 165 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix B Redundant Power The WinPAC provides two power inputs that can be connected simultaneously to live DC power sources If one of the power inputs fails the other live source acts as a backup to automatically support the WinPAC s power needs The WinPAC provides relay contact outputs to warn technicians on the shop floor when the power fails 24VDC Power Supply PWR1 WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 166 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 167 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix C How to change the batteries RTC and SRAM data is retained by two Li batteries which can supply continuous power to the 512 KB SRAM to ensure that the data is retained for 5 years The dual battery design has the added function of preventing data from being lost while replacing the battery The following figures show the location of the tow batteries installed in the WinPAC Battery 2 Battery 1 Checking the current battery power 1 Run the WinPAC utility and check the Battery1 and Battery2 fields that display the current status o
130. xecute the application on the WinPAC All main steps will be described in the following subsection 4 6 1 Create a new Forms Based project Step 1 Start the Microsoft Embedded Visual C Step 2 From the File menu click the New command Ble Edit View Insert Project Budd Tools Window Help m Open Cho Close Open Worksp Files Projects Workspaces LA eel Save Project name coo uos efi WCE ATL COM AppWizard Do o sS WCE Dynamic Link Library f WCE ActiveX ControlVWizard zr Location Seve AWCE MFC AppWizard dll xiu Ud WCE AppWizard exe CAWINDOWS CE ES Static Library save Al Create new workspace Add to current workspace Dependency of Recent Files Recent Work wiWin32 WCE ARMV4 wiWin32 WCE ARMV4IJ Win32 WCE ARMY4 Exit O in T Win32 WCE MIPS16 wiWin32 WCE MIPSII wiWin32 WCE MIPSIL FF x ee WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 109 Copyright 2014 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 New Files Projects Workspaces aW CE Application e WCE ATL COM AppWizard WCE Dynamic L ink Library fim WCE Activex Control Wizard EACE MFC AppWizard c CE a WCE AppVy wizard exe Location C
131. xpansion Flash Memory RTC Real Time Clock EEPROM 64 bit Hardware Serial Number Dual Watchdog Timer Programmable LED Indicator Rotary Switch DIP Switch PXA 270 or compatible 32 bit and 520 MHz 128 MB 512 KB for 5 years data retain 128 MB 64 MB for OS image 63 MB for built in Flash disk 1 MB for registry 96 MB 64 MB for OS image 31 MB for built in Flash disk 1 MB for registry Micro SD socket with a microSD card can support 16GB microSD card Year 2000 compliance seconds minutes hours date of the month month year valid up from 1980 to 2079 16 KB 0 8 KB for user 9 14 KB for other programs 15 16 KB for OS Data Retention 40 years 1 000 000 erase write cycles Yes 0 9 Yes 8 bits for WP 8431 WP 8441 WP 8831 and WP 8841 only WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 16 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Input Range 10 30 Isolation 1 kV Redundant Power Inputs Yes with one power relay 1 24 Voc for alarm Capacity WP 8131 and WP 8141 1 0 A 5 V supply to CPU and backplane 0 6 A 5 V supply to I O expansion slots total 30 W WP 8431 and WP 8441 1 1 A 5 V supply to CPU and backplane 4 9 A 5 V supply to I O expansion slots total 30 W WP 8831 and WP 8841 1 2 A 5V supply to CPU and backplane 4 8 A 5 V supply to I O expansion slots total 30 W Consumption WP 8131 and WP 8141
132. y None Even Odd Mark Always 1 Space Always 0 can be configured as either RS 232 or RS 485 but only one Data mode can be selected at a time and the configuration depends on the pin connections as described below RS 232 RXD TXD CTS RTS and GND RS 485 Data and Data No software configuration or hardware jumpers are needed 11 COMA RS 232 Port Type Male Baud Rate 115200 57600 38400 19200 9600 4800 2400 1200 bps Data Bits 5 6 7 8 Parity None Even Odd Mark Always 1 space Always 0 Stop Bits 1 2 FIFO 16 bytes WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 32 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings IN x table below shows the data bit of each COM port and their corresponding stop bit Word Length Number of Stop Bits 6 7 8 1 12 DIP Switch 8 bits The DIP switch can be used to set the Module ON ID to a number from O to 255 Do not use Module ID 0 for communication E E E E E WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 33 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 5 Companion CD This package comes with a CD that provides drivers software utility all of the required documentations etc All of them are listed below pdos Backup Backup files relat
133. y 2014 Page 159 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 160 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 2 WinPAC SDK updates for eMbedded Visual C 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 C components The latest version of the eMbedded Visual C components can be obtained from gt For WP 8x3x and WP 8x4x series http ftp icodas com pub cd winpac napdos wp 8x4x_ce50 sdk winpacsdk Step 2 Copy the latest version of header files and libraries to Host PC The header files are located at C Program Files Windows CE Tools wce500 PAC270 Icpdas Include ARMV4 I The libraries are located at C Program Files Windows CE Tools wce500 PAC270 Icpdas Lib ARMV4 Step 3 Copy the latest version of DLL files to WinPAC The DLL files are located at System_Disk ICPDAS System WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 161 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com WinPAC 8000 User Manual version 2 0 9 Last Revised January 2014 Page 162 Copyright 2014 ICP DAS

Download Pdf Manuals

image

Related Search

Related Contents

nCounter™ Prep Station Information  sumário 1. apresentação 1 2. memorial descritivo e especificações  Classe Audio SSP-300 User's Manual  しゃくなげ大橋 開通  micro eXtra User Manual  5 穴 - ドリマックス  User`s and operator`s manual for art. 0402/C and  Information UCBA 153  warnung - Paul Forrer AG  2-Way Ceiling Speaker  

Copyright © All rights reserved.
Failed to retrieve file