Table of Contents

Advertisement

Quick Links

WP-2000-CE7 Series
User Manual
Version 1.0.4, November 2021
Service and usage information for
Technical support: service@icpdas.com
Author: Tunglu Yu
Editor: Anna Huang

Advertisement

Table of Contents
loading

Summary of Contents for ICP DAS USA WP-2000-CE7 Series

  • Page 1 WP-2000-CE7 Series User Manual Version 1.0.4, November 2021 Service and usage information for Technical support: service@icpdas.com Author: Tunglu Yu Editor: Anna Huang...
  • Page 2 The names used for identification only may be registered trademarks of their respective companies. Contact US If you have any problem, please feel free to contact us. You can count on us for quick response. Email: service@icpdas.com WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 2...
  • Page 3: Table Of Contents

    Property Tab – Device Information ................52 3.1.8. Property Tab – Auto Execution ..................53 3.1.9. Property Tab – Rotary Execution ................. 54 3.2. DCON Utility Pro ........................55 3.3. TaskMgr ..........................56 WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 3...
  • Page 4 VB.NET Demo Programs for PAC Standard APIs ............113 5.1.2. C# Demo Programs for PAC Standard APIs ..............114 5.1.3. Visual C++ Demo Programs for PAC Standard APIs ............115 5.2. PAC IO APIs .........................116 WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 4...
  • Page 5 A.5.2. How to Use the SMS Function and Get the GPS Data .............151 A.5.3. How to Synchronize the System Time by GPS Data ............152 Appendix. B. XV-Board Modules ........................153 Appendix. C. Revision History ........................154 WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 5...
  • Page 6: Introduction

    This chapter provides an overview of the WP-2000-CE7 series modules and its components, and introduces the fundamental concepts for user familiar. The WP-2000-CE7 series modules are equipped a Cortex-A8 CPU (1 GHz) and running a windows CE.NET 7.0 operating system. The optional I/O expansion board, XV-board, provides high-protection I/O. Using the built-in Flash and microSD, the WP-2000-CE7 series modules can save application program, image file and data.
  • Page 7: Features

     Local I/O and Communication Expansion Board WP-2000-CE7 series module is equipped with an I/O expansion bus to support one optional expansion board, called XV-board. It can be used to implement various I/O functions such as DI, DO, A/D, D/A, Timer/Counter For more information about these available expansion boards, please refer to http://www.icpdas.com/root/product/solutions/hmi_touch_monitor/touchpad/xv-board_selection...
  • Page 8 A unique 64-bit serial number is assigned to each hardware device to protect your software against piracy.  Remote I/O Module and Expansion Unit With the built-in RS-485 and Ethernet port, the WP-2000-CE7 series modules can connect RS-485/Ethernet remote I/O units (RU-87Pn/ET-87Pn) or modules (I-7000/M-7000/ET-7000). Etherne I-8KE4...
  • Page 9 The WP-2000-CE7 series modules come with the metal casing.  Highly Reliable Under Harsh Environment Our WP-2000-CE7 series modules operate in a wide range of temperature and humidity.  Operating Temperature: -25 ~ +75 °C  Storage Temperature: -40 ~ +80 °C ...
  • Page 10: Specifications

    1.2. Specifications The table below summarizes the specifications of the WP-2000-CE7 series module. 1.2.1. WP-2241M-CE7 and WP-2241MX-CE7 Models WP-2241M-CE7 WP-2241MX-CE7 System Software Windows CE 7.0 Professional Framework Support .Net Compact Framework 3.5 Embedded Service FTP Server, Web Server SDK Provided Dll for Visual Studio.Net 2008...
  • Page 11 -40 °C to + 80 °C Ambient Relative Humidity 10 % to 90 % RH (non-condensing) Power Input Range +12 V to +48 V Consumption 4.8 W (0.2 A @ 24 V WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 11...
  • Page 12: Wp-2241Mx-4Gc-Ce7 And Wp-2241Mx-4Ge-Ce7

    RS-232 (RxD, TxD, and GND); Non-isolated COM 3 RS-485 (Data+, Data-); 2500 V isolated COM 4 RS-485 (Data+, Data-); 2500 V isolated I/O Expansion I/O Expansion Bus Yes, one optional XV-board 4G Expansion Bus WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 12...
  • Page 13 Max. 14.7 Mbps, Upload: Max 5.4 Mbps 4G System FDD LTE: B1/B3/B8, TDD LTE: Frequency Band FDD LTE: B1/B3/B5/B7/B8/B20 MHz B38/B39/B40/B41 MHz Data Transmission Download Max: 100 Mbps, Upload: Max 50 Mbps WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 13...
  • Page 14: Overview

    1.3. Overview WP-2000-CE7 series module is equipped with several interfaces and peripherals that can be integrated with external systems. Here is an overview of the components and its descriptions. Front View LED Indicators Ethernet Port x 2 USB Port x 2...
  • Page 15 USB devices such as mouse, keyboard or an external USB hard drive. microSD Card The microSD socketcan be used to restore the WP-2000-CE7 series module Socket system and expand the memory up to 32 GB.
  • Page 16 2 RxD COM1 (RS-232) 3 GND 4 TxD 5 RxD COM2 (RS-232) 6 GND 7 D+ 8 D- COM3 (RS-485) 9 ISO.GND 10 D+ 11 D- COM4 (RS-485) 12 ISO.GND WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 16...
  • Page 17 Rotary Switch is an operating mode selector switch which provides seven functions related to the selection of the operating mode. Power Input and The WP-2000-CE7 series modules has a terminal with 3pins, there are 2 pins Frame Ground for power input and a pin for frame ground as follows:...
  • Page 18: Dimensions

    1.4. Dimensions The diagrams below provide the dimensions of the WP-2000-CE7 series modules to use in defining your enclosure specifications. Remember to leave room for potential expansion if you are using other components in your system. All dimensions are in millimeters.
  • Page 19: Getting Started

    2. Getting Started This chapter provides a guided tour of the WP-2000-CE7 series modules installation and configuration that describes the steps needed to download, install, configure, and run the basic procedures for user working with the WP-2000-CE7 series modules for the first time.
  • Page 20: Mounting The Hardware

    2.1. Mounting the Hardware The WP-2000-CE7 series module has simple rail clips for mounting reliably on a standard 44 mm DIN rail. Step 1: Mounting WP-2000-CE7 onto a 44 mm DIN rail WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4...
  • Page 21 Connect PC to the Ethernet port through an Ethernet switch. iii. Connect the power supply (+12 to +48 V ) to PWR and P.GND terminals. Connect the monitor to the VGA port. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 21...
  • Page 22: Mounting The Expansion Components/Accessories

    2.2.1. Mounting the XV-Board WP-2000-CE7 series modules have one expansion I/O slots to expand the functions. For more detailed information about the XV-board specifications, please refer to Appendix B. XV-Board Modules. Step 1: Remove stripped screws and then remove the cover WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4...
  • Page 23 Step 2: Hold the XV-board vertically and align the socket, and then carefully press the XV-board onto the I/O expansion bus Step 3: Fasten the XV-board using the screws supplied WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 23...
  • Page 24 Step 4: Close the cover and then fasten the screws Step 5: Insert the I/O terminal WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 24...
  • Page 25: Inserting The Sim Card

    Step 3: Close the cover and then fasten the screws Tips & Warnings Make sure to turn the WP-2000-CE7 off before inserting or removing the SIM card. Do not bend or scratch the SIM card. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 25...
  • Page 26: Installin The 3G/4G Communication Lte Module

    Step 2: Remove the fixed tape and move the cable to the edge Remove the cable Step 3: Insert the 3G/4G communication to the edge module and use the screws to secure it WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 26...
  • Page 27 Step 4: connect the cable and then put the cable inside Put the cable inside Step 5: Close the cover and then fasten the screws WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 27...
  • Page 28: Installing The Antenna

    The Mobile network expansion card has an antenna connector that can be used to connect the 3G/4G antenna. To install the antenna, just screw the antenna tightly into the connector, and put the antenna in the purpose place. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 28...
  • Page 29: Configuring The Boot Mode

    2.3. Configuring the Boot Mode The WP-2000-CE7 series modules have several operating modes, which can be selected by a rotary switch. The table below lists the operation modes available with the WP-2000-CE7. Position Operating Mode Normal mode (Default) Safe mode...
  • Page 30 When WP-2000-CE7 is boot with one of these positions, it is boot at normal mode. User’s application can check the position of the rotary switch position to run at different mode. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 30...
  • Page 31: Using Pac Utility To Manage Winpac

    For more detailed information on PAC Utility applications, please refer to “3.1. PAC Utility” Step 1: Double-click the PAC Utility on the desktop Step 2: Configure IP address (DHCP), FTP Server, Auto Execution files…, etc Step 3: Reboot the WP-2000-CE7 WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 31...
  • Page 32: Changing The User Interface Language

    The Windows CE operating system on the WP-2000-CE7 comes with several built-in functions. Step 1: Click Start menu, point to Settings, click Control Panel, and then click Regional Settings Options WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 32...
  • Page 33 Step 2: Click User Interface Language tab, choose to your local language, and then click OK Step 3: Run the PAC Utility, and then reboot the WinPAC for changes to take effect WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4...
  • Page 34: Using Dcon Utility Pro To Configure I/O Modules

    DCON Utility Pro enables users easily to configure and manage the I/O modules via Ethernet or serial ports (RS-232/RS-485). Step 1: Double-click the DCON_Utility_Pro on the desktop Step 2: Click the button WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 34...
  • Page 35 Step 3: Configure the communication settings Tips & Warnings The COM port settings for expansion I/O modules are listed below. COM0[Backplane] WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 35...
  • Page 36 Step 4: Click the button Step 5: Click the module name to configure the I/O module WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 36...
  • Page 37: Using Dial-Up Networking To Make A Gprs Connection

    Step 1: Click Start menu, point to Settings, click Network and Dial up Connections, and then click Make New Connection Step 2: Type the name of the connection, select the Connection type as the Dialup connection, and then click Next button WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 37...
  • Page 38 The modem dialing settings depends on each of the telecom company. For example, the settings provided by Telecom Company in Taiwan is +CGDCONT=1,”IP”,”INTERNET” and a Telecom Company in China is +CGDCONT=1,”IP”,”CMNET” WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 38...
  • Page 39 Telecom Company in Taiwan. *99***1# Step 7: Double-click the new connection that you have created, and enter the User name and Password, and then Click Connect button WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 39...
  • Page 40 Step 8: Wait for the connection to be established Tips & Warnings If the connection fails, as shown below, please repeat the instructions to view the settings. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 40...
  • Page 41: Tools And Tasks

    The following tools are pre-installed on WP-2000-CE7 and can work directly on WP-2000-CE7 that can be found by downloading the latest version from ICP DAS web site. https://www.icpdas.com/en/download/show.php?num=2346 Tools DCON_Utility_Pro ISQLW35 modbus_master_tool Notepad PAC_Utility RegEdit Remote_Display SendToCOM TaskMgr VCEP WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 41...
  • Page 42 The following tools are supporting tools for remote managing the WP-2000-CE7 used on PC that can be found by downloading the latest version from ICP DAS web site. https://www.icpdas.com/en/download/show.php?num=2083 Tools Eshell Remote_display_application TI Tools Vcep WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 42...
  • Page 43: Pac Utility

    The PAC Utility includes the following menu bars and property tabs. All of these functions will be explained later. Menu bar Property Tab  File  General  Help  Display  IP Config  Network  Device Information  Auto Execution  Rotary Execution WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 43...
  • Page 44: Menu Bar - File

    Menu Bar – File The menus use to How to use Reboot Restarts the WinPAC Restore Default Settings Restore the settings of WinPAC to its default. Exit Exits the PAC Utility. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 44...
  • Page 45: Menu Bar - Help

    3.1.2. Menu Bar – Help The menus use to How to use About Displays a dialog box with information about PAC Utility, including the current version and copyright information. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 45...
  • Page 46: Property Tab - General

    See the Battery1 field that displays the display resolution. Automatic synchronization of Refer to the Appendix A.2. How to Automatically Synchronize system time WinPAC Clock with an Internet Time Server. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 46...
  • Page 47: Property Tab - Display

    Apply button. Change the screen Select the desired refresh rate from the Screen refresh rate drop-down refresh rate list, and then click the Apply button. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 47...
  • Page 48: Property Tab - Ip Config

    Select the Use DHCP to get IP address option, and then click the Apply Set the network button. settings Assign an IP address: Select the Assign IP address option, and then click the Apply button. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 48...
  • Page 49: Property Tab - Network

    Select the Enable check box in the Allow Anonymous field, and then click the Enable or disable Apply button. anonymous FTP Disable: access Select the Disable check box in the Allow Anonymous field, and then click the Apply button. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 49...
  • Page 50 The Login tab provides functions to maintain the FTP accounts. The tab use to How to use Maintain the FTP Refer to the Appendix C.1 How to add a user account to remote login the accounts WinPAC from PC. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 50...
  • Page 51 The File Server Settings tab provides functions to set the SMB server. The tab use to How to use Set the SMB server Click the Settings button to set the SMB server path. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 51...
  • Page 52: Property Tab - Device Information

    Property Tab – Device Information The Device Information tab provides functions to monitor necessary system information of the WinPAC. The information is the most important note of version control for upgrading system. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 52...
  • Page 53: Property Tab - Auto Execution

    The tab use to How to use Configure programs Click the Browse button to select the execute file which you want, and running at startup then click the Apply button. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 53...
  • Page 54: Property Tab - Rotary Execution

    Configure programs running at startup Click the Browse button to select the execute file which you in one of the user defined mode want, and then click the Apply button. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 54...
  • Page 55: Dcon Utility Pro

    DCON Utility Pro enables users easily to configure and manage the I/O modules via Ethernet or serial ports (RS-232/RS-485). For more detailed information on how to use DCON Utility Pro to configure I/O modules, please refer to “2.4. Using DCON Utility Pro to Configure I/O Modules” WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 55...
  • Page 56: Taskmgr

    3.3. TaskMgr The TaskMgr is a Windows CE application, which provides real time info on all processes and threads including System threads, similar in appearance to the Windows Task Manager. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 56...
  • Page 57: Vcep

    Each video frame is inter-compressed against the previous frame and then intra-compressed with a modified LZW scheme to minimize the amount of data transmitted from server to client. For more detailed information on VCEP application, please refer to http://ftp.icpdas.com.tw/pub/cd/winpac/napdos/wp-8x4x_ce50/pc_tools/vcep_5.0.0.0/ WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 57...
  • Page 58: Remote_Display

    The server is a program named cerdisp.exe running on WinPAC. The client is a PC-based program named cerhost.exe running on the PC. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 58...
  • Page 59: Sendtocom

    For more information about these commands for communicating with expansion module, please refer http://www.icpdas.com/root/product/solutions/remote_io/rs-485/i-8k_i-87k/i-8k_i-87k_selection.html# WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 59...
  • Page 60: Regedit

    Values can be changed for existing keys, or added for new keys, and default keys can be specified. For more information, see Registry Settings Management in Deployment. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 60...
  • Page 61: Isqlw35

    3.8. ISQLW35 The "ISQLW35" is a Windows Embedded Compact 7 functionality that implements SQL Server Compact 3.5 Query. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 61...
  • Page 62: Inotepad

    3.9. INotepad The INotepad is a common text-only editor. The resulting files have no format tags or styles. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 62...
  • Page 63: Your First Winpac Program

    WinPAC SDKs are installed on your system. Development Tools WP-2000-CE7 series modules are Windows CE-based units. Windows CE is a mature embedded operating system which supports rapid development. The table below lists the supported development tools and development languages to develop WP-2000-CE7 applications.
  • Page 64: Preparing The Development Tools

    2. Visual Studio 2008 Service Pack 1 http://www.microsoft.com/en-us/download/details.aspx?id=10986 3. Visual Studio 2008 update for Windows Embedded Compact 7 http://www.microsoft.com/en-us/download/confirmation.aspx?id=11935 4. Windows Embedded Compact 7 ATL Update for Visual Studio 2008 SP1 http://support.microsoft.com/kb/2468183/en-us WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 64...
  • Page 65: Installing Wp-2000-Ce7 Sdk

    Step 2: Unzip the archive file, and then execute the installation package file “AM335x_WINCE7_SDKVxxxxx.msi” and the “VisualStudioDeviceWindowsEmbeddedCompact7.msi” Step 3: Execute any VS2008 C++ project include the AM335x_WINCE7_SDK(ARMv4I) platform and the click the “Tools”->”Options…” WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 65...
  • Page 66 Step 5: Add the path “$(VCInstallDir)ce7\include” and “$(VCInstallDir)ce7\atlmfc\include” and then click the OK button. Tips & Warnings The path “$(VCInstallDir)ce7\include” and “$(VCInstallDir)ce7\atlmfc\include” must be on the top of box. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 66...
  • Page 67: First Winpac Program In Vb.net

    All main steps will be described in the following subsection. In this tutorial, we will assume that you have installed WP-2000-CE7 SDK on PC and used the Visual Studio 2008 for application development. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 67...
  • Page 68: Create A New Project

    The Visual VB.net project template is a composite control that you use in this example creates a new project with this user control. Step 1: Run the Visual Studio 2008 Visual Studio 2008 Step 2: On the File menu, point to New, and then click Project WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 68...
  • Page 69 Tips & Warnings The WCE7 only support .NET Compact Framework Version 3.5, if your application uses .NET Compact Framework Version 2.0 there is no guarantee that the program will function correctly. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 69...
  • Page 70 Step 6: In the Target platform item, choose Windows CE Step 7: in the .NET Compact Formwork version item, choose .NET Compact Framework Version 3.5 Step 8: in the Templates pane, choose Device Application, and then click Next WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 70...
  • Page 71: Specify The Path Of Pac Reference

    Step1: Get the PACNET.dll and copy it to the project folder The PACNET.dll can be obtained from the link below that has been provided by downloading the latest version from ICP DAS web site. https://www.icpdas.com/en/download/show.php?num=2409 WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 71...
  • Page 72 Step 2: In Solution Explorer, right-click the References node, and then click Add Reference… WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 72...
  • Page 73 Step 3: Select Browse tab and add the PACNET.dll WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 73...
  • Page 74: Add The Control To The Form

    The values that you specify in the Properties window are the initial values that will be assigned to that property when the control is created at run time. Step 1: From the Toolbox, drag a Button control onto the form WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 74...
  • Page 75 Step 2: Right-click the Button control, and then click Properties Step 3: In the Properties window, type Check the SDK version, and press ENTER to set the Text property WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 75...
  • Page 76: Add The Event Handling For The Control

    Step 1: Double-click the button on the form Step 2: Inserting the following code Dim data(30) As Byte PACNET.Sys.GetSDKVersion(data) MessageBox.Show(PACNET.MISC.WideString(data)) Tips & Warnings The “PACNET” of “using PACNET” is case- sensitive. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 76...
  • Page 77: Upload The Application To Winpac

    WinPAC supports FTP server service. You can upload files to WinPAC or download files from a public FTP server. ……… ……… …..Step 1: On the Build menu, click Build SDKInformation WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 77...
  • Page 78 For applications programming in C# and VB.net with .net compact framework, when executing these application on WinPAC, the corresponding PACSDK.dll and PACNET.dll must be in the same directory as the .exe file. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 78...
  • Page 79: Execute The Application On Winpac

    4.3.6. Execute the Application on WinPAC After uploading the application to WinPAC, you can just double-click it on WinPAC to execute it. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 79...
  • Page 80: First Winpac Program In Visual C

    4. Add the event handling for the control 5. Upload the application to WinPAC 6. Execute the application on WinPAC All main steps will be described in the following subsection. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 80...
  • Page 81: Create A New Project

    The C# project template is a composite control that you use in this example creates a new project with this user control. Step 1: Run the Visual Studio 2008 Visual Studio 2008 Step 2: On the File menu, point to New, and then click Project WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 81...
  • Page 82 Step 5: Type a name in the Name field, and then click OK Here we will enter the name “SDKInformation” and a different location for the project if you wish. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 82...
  • Page 83 Tips & Warnings The WCE7 only support .NET Compact Framework Version 3.5, if your application uses .NET Compact Framework Version 2.0 there is no guarantee that the program will function correctly. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 83...
  • Page 84: Specify The Path Of Pac Reference

    Step1: Get the PACNET.dll and copy it to the project folder The PACNET.dll can be obtained from the link below that has been provided by downloading the latest version from ICP DAS web site. https://www.icpdas.com/en/download/show.php?num=2409 File name: PACNET.zip WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 84...
  • Page 85 Step 2: In Solution Explorer, right-click the References node, and then click Add Reference… WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 85...
  • Page 86 Step 3: Select Browse tab and add the PACNET.dll WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 86...
  • Page 87: Add The Control To The Form

    The values that you specify in the Properties window are the initial values that will be assigned to that property when the control is created at run time. Step 1: From the Toolbox, drag a Button control onto the form WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 87...
  • Page 88 Step 2: Right-click the Button control, and then click Properties Step 3: In the Properties window, type Check the SDK version, and press ENTER to set the Text property WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 88...
  • Page 89: Add The Event Handling For The Control

    You have finished the design stage of your application and are at the point when you can start adding some code to provide the program's functionality. Step 1: Double-click the button on the form Step 2: Inserting the following code byte []data = new byte[30]; PACNET.Sys.GetSDKVersion(data); MessageBox.Show(PACNET.MISC.WideString(data)); WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 89...
  • Page 90: Upload The Application To Winpac

    WinPAC supports FTP server service. You can upload files to WinPAC or download files from a public FTP server. ……… ……… …..Step 1: On the Build menu, click Build SDKInformation WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 90...
  • Page 91 For applications programming in C# and VB.net with .net compact framework, when executing these application on WinPAC, the corresponding PACSDK.dll and PACNET.dll must be in the same directory as the .exe file. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 91...
  • Page 92: Execute The Application On Winpac

    4.4.6. Execute the Application on WinPAC After uploading the application to WinPAC, you can just double-click it on WinPAC to execute it. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 92...
  • Page 93: First Winpac Program In Visual C

    If this update is not installed, the error message “atlconv.h error C2039: lstrlenW" will be displayed after the program is compiled. The update can be found by downloading the latest version from Microsoft. http://download.microsoft.com/download/9/D/D/9DDBD3EC-A43C-4BCE-A7A9-AEE9B1007 BCE/VisualStudioDeviceWindowsEmbeddedCompact7.msi WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 93...
  • Page 94: Create A New Project

    The Visual C++ project template is a composite control that you use in this example creates a new project with this user control. Step 1: Run the Visual Studio 2008 Visual Studio 2008 Step 2: On the File menu, point to New, and then click Project WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 94...
  • Page 95 Step 5: Type a name in the Name field, and then click OK Here we will enter the name “SDKInformation” and a different location for the project if you wish WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 95...
  • Page 96 Step 6: On the first page of the wizard, click Next Step 7: On the next page of the wizard, select AM335x_WINCE7_SDK to be added to the project, and then click Next WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 96...
  • Page 97 Step 8: On the next page of the wizard, select Dialog based, and then click next Step 9: On the next page of the wizard, click next WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 97...
  • Page 98 Step 10: On the next page of the wizard, click next Step 11: On the next page of the wizard, click Finish WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 98...
  • Page 99: Configure The Platform

    Before you deploy your project, check the platform. On the Debug configuration toolbar, select Release, and then on the Pocket PC 2003 (ARMV4) configuration toolbar, select AM335x_WINCE7_SDK(ARMv4I), as shown in the following illustration. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 99...
  • Page 100: Specify The Path Of Pacsdk Library And Header Files

    It’s compatible with C++. In order to use a component in your application, you must first add a reference to it. Step 1: Right-click the project name, and then click Properties WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 100...
  • Page 101 Step 2: In left pane, expand Configuration Properties, and then click Link Step 3: In the right pane, choose the PACSDK_CE.lib in the Additional Dependencies item WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 101...
  • Page 102 Step 4: In the right pane, choose the following path in the “Additional Include Directories” item C:\Program Files\Windows CE Tools\SDKs\N2000_WINCE7_SDK\Include\X86 C:\Program Files\Microsoft Visual Studio 9.0\VC\ce7\atlmfc\include WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 102...
  • Page 103: Add The Control To The Form

    Step 1: In Resource View, expand the resources tree by opening the top level folder Step 2: Open the Dialog folder and then double-click the dialog resource name IDD_SDKINFORMATION_DIALOG The resource editor appears in the right pane. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 103...
  • Page 104 Step 3: From the Toolbox, drag a Button control onto the form Step 4: Right-click the Button control, and then click Properties WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 104...
  • Page 105 Step 5: In the Properties window, type Check the SDK version, and press ENTER to set the Text property WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 105...
  • Page 106: Add The Event Handling For The Control

    You have finished the design stage of your application and are at the point when you can start adding some code to provide the program's functionality. Step 1: Double-click the button on the form Step 2: Inserting the following code char sdk_version[32]; TCHAR buf[32]; pac_GetSDKVersion(sdk_version); pac_AnsiToWideString(sdk_version, buf); MessageBox(buf,0,MB_OK); WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 106...
  • Page 107 Step 3: Inserting the following code into the header area #include “PACSDK.h” WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 107...
  • Page 108: Upload The Application To Winpac

    WinPAC supports FTP server service. You can upload files to WinPAC or download files from a public FTP server. ……… ……… …..Step 1: On the Build menu, click Build SDKInformation WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 108...
  • Page 109 Step 2: Open the browser and type the IP address of WinPAC Step 3: Upload the SDKInformation.exe application to WinPAC WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 109...
  • Page 110: Execute The Application On Winpac

    4.5.7. Execute the Application on WinPAC After uploading the application to WinPAC, you can just double-click it on WinPAC to execute it. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 110...
  • Page 111: Apis And Demo Programs

    For full usage information regarding the description, prototype and the arguments of the functions, please refer to the “PAC Standard API Manual” WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 111...
  • Page 112: Pac Standard Apis

    5.1. PAC Standard APIs The diagram below shows the set of each system operation API provided in the PACSDK.  Watchdog  UART  Registry  Buzzer  LED System Operation WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 112...
  • Page 113: Vb.net Demo Programs For Pac Standard Apis

    Shows how to read the name of a UART UART local I/O modules via a UART Displays information about how to WatchDog WatchDog operate the watchdog WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 113...
  • Page 114: C# Demo Programs For Pac Standard Apis

    Shows how to read the name of a UART UART local I/O modules via a UART Displays information about how to WatchDog WatchDog operate the watchdog WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 114...
  • Page 115: Visual C++ Demo Programs For Pac Standard Apis

    Shows how to read the name of a UART UART local I/O modules via a UART Displays information about how to WatchDog WatchDog operate the watchdog WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 115...
  • Page 116: Pac Io Apis

    5.2. PAC IO APIs PAC_IO WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 116...
  • Page 117: Vb.net Demo Programs For Pac Standard Apis

    XVBoard/XV107 VB_demo the XV-board For full details regarding the remote I/O modules and its demos, please Remote refer to: (I-7000 or I-87K modules File name: Applicabled_Demo_for_7K_Module in RU-87Pn I/O unit) WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 117...
  • Page 118: C# Demo Programs For Pac Standard Apis

    Shows how to use the XV107 module of _demo the XV-board For full details regarding the remote I/O modules and its demos, please Remote refer to: (I-7000 or I-87K modules in File name: Applicabled_Demo_for_7K_Module RU-87Pn I/O unit) WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 118...
  • Page 119: Visual C++ Demo Programs For Pac Standard Apis

    (I-7000 or I-87K modules File name: Applicabled_Demo_for_7K_Module in RU-87Pn I/O unit) 模組 硬體負責人 e-USB400 RD2 Miller e-PoE400 RD2 Jeff e-PoE200 RD2 Jeff e-LCell4 RD2 Samuel e-ADS16 RD2 George e-D96S RD2 George WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 119...
  • Page 120: I/O Modules And Sdk Selection

    SDK library to be used for I/O modules. Module Native SDK .NET CF SDK XV-Board Modbus Demo Modbus Demo For more detailed information about these support modules, please refer to https://www.icpdas.com/en/product/guide+Remote__I_O__Module__and__Unit+PAC__%EF%BC%86a mp;__Local__I_O__Modules+XV-board WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 120...
  • Page 121 RU-87Pn + I-87K series I/O modules Module Native SDK .NET CF SDK RU-87Pn + I-87K PACSDK.dll PACNET.dll  Other specified I/O Module Native SDK .NET CF SDK I-7088W PACSDK_PWM.dll PACNET.dll WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 121...
  • Page 122 Modbus Demo ET-7000 Modbus Demo Modbus Demo I-8KE4/8-MTCP For more detailed information about ET-7000 and I-8KE4/8-MTCP series modules using Modbus protocol and its demos, please refer to: https://www.icpdas.com/en/download/show.php?num=2409 File name: nModbus.zip WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 122...
  • Page 123: Wp-2000-Ce7 Updates

    Both the files of OS updates and SDK updates can be found by downloading the latest version from ICP DAS web site. http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/ OS_Image update_from_Micro_SD update_from_file Modbus nModbus PACNET PACSDK PlatformSDK WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 123...
  • Page 124: Os Updates

    1. Update from eshell (Please refer to section 7.1.1) (We recommend that you use this one for more quicker and easier to update) 2. Update from micro_SD (Please refer to section 7.1.2) WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 124...
  • Page 125: Os Updates Using Eshell

    Step 2: Run the registry clear.exe The registry.exe can be found by downloading the latest version from ICP DAS web site. http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/pc_tools/eshell Step 3: Place the rotary switch in position 3, OS update mode WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 125...
  • Page 126 Step 5: Select the device which you want to update the OS image, and then click OK Select the device name which you want to update the OS image from the list. Step 6: Select the latest version of the OS image file WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 126...
  • Page 127 0, normal mode Step 8: Click the OK button Step 9: Check the OS version Start the PAC Utility, and then select the “Device Information” tab to check the current OS version. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 127...
  • Page 128: Os Updates Using Micro_Sd

    The latest version of the installation package file can be found from ICP DAS web site. http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/os_image/update_from_eshell_o r_micro_sd\ Step 2: Plug the microSD card into microSD slot Step 3: Turn the rotary switch in position 5, OS update mode WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 128...
  • Page 129 Step 6: Turn the rotary switch in position 0, normal mode Step 7: Reboot the WP-2000-CE7 Step 8: Check the OS version Start the PAC Utility, and then select the “Device Information” tab to check the current OS version. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 129...
  • Page 130: Sdk Updates

    WP-2000-CE7 operating system. The updates files of SDK files can be found by downloading the latest version from ICP DAS web site. https://www.icpdas.com/en/download/show.php?num=2409 http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/sdk/ Modbus nModbus PACNET PACSDK PlatformSDK WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 130...
  • Page 131: Sdk Updates For Vb.net Or C

    The DLL files on PC are located at anywhere only the solution can reference it. The DLL files on WP-2000-CE7 are located at the same directory as the .exe file. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 131...
  • Page 132: Sdk Updates For C

    C:\Program Files\Windows CE Tools\SDKs\AM335x_WINCE7_SDK\Include\Armv4i The libraries are located at: C:\Program Files\Windows CE Tools\SDKs\AM335x_WINCE7_SDK\Lib\ARMv4I Step 3: Copy the latest version of DLL files to WinPAC The DLL files are located at: \System_Disk\ICPDAS\System WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 132...
  • Page 133: Appendix. A. Tips - How To

    Appendix. A. Tips – How to WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 133...
  • Page 134: How To Online Debug The Wp-2000-Ce7 Program

    By default, these files are located on the development computer at C:\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\<CPU>.  clientshutdown.exe  CMAccept.exe  ConmanClient2.exe  eDbgTL.dll  TcpConnectionA.dll Step 2: Run the ConmanClient2.exe and then CMAccept.exe on the WP-2000-CE7 WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 134...
  • Page 135 Step 3: On the Tools menu, click the Options… Step 4: In the left pane, expand Device Tools node and select Devices Step 5: In the Show devices for platform:, select AM335x_WINCE7_SDK and then click Properties WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 135...
  • Page 136 Step 6: Click the Configure… Step 7: Select the Use specific IP address:, and then type the IP address of WP-2000-CE7 WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 136...
  • Page 137 Step 8: Click the OK, and then click OK to end the dialog WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 137...
  • Page 138 Step 10: Wait for the connection to be established Tips & Warnings If the connection fails, as shown below, please repeat the step 2 to step 9 to try it again. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 138...
  • Page 139: How To Automatically Synchronize Winpac Clock

    If synchronization is enabled, the WinPAC clock is synchronized with an Internet time server. Step 1: Double-click the PAC Utility on the desktop Step 2: On the General tab, press Configure button WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 139...
  • Page 140 Step 5: On the File menu, click Save and Reboot Step 6: The WinPAC will automatically synchronize with an internet time server regularly Step 7: Click the Update Now button to synchronize WinPAC clock immediately WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 140...
  • Page 141: How To Use User Account Control In Winpac

    A.3. How to use User Account Control in WinPAC WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 141...
  • Page 142: How To Create An User Account

    Step 1: Double-click the PAC Utility on the desktop Step 2: On the Login tab of the Network tab, click Login tab, type the User Name and Password, and then click Add button WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 142...
  • Page 143 Step 3: The user has been added to the allowed under the remote login and included in the following list Step 4: On the File menu, click Save and Reboot for changes to take effect WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 143...
  • Page 144: How To Use Telnet To Remote Login The Winpac From Pc

    Here are step by step instructions on how to use telnet to remote login the WinPAC from PC. Step 1: On the PC, open a MS-DOS command prompt 2. Type “cmd” Step 2: At the command prompt, type “telnet (IP address)” WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 144...
  • Page 145 Step 3: The connection has been set up, and then type the name and password Step 4: The remote login has been completed WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 145...
  • Page 146: How To Remove A User Account From The Login List

    Step 1: Click a user from the list which you want to remove, and the user will display in the field, and then press Delete to delete the user from the login list Step 2: On the File menu, click Save and Reboot for changes to take effect WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 146...
  • Page 147: How To Change The Battery

    When programming this, call the pac_GetBatteryLevel() API function in the PACSDK.dll to check whether the battery power is low. When the power of the battery is low, it’s recommended that the battery is replaced immediately, otherwise the RTC time will be reset. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 147...
  • Page 148 Insert a new battery. 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. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 148...
  • Page 149: How To Using The Practical Functions Of The 3G/4G I/O Module

    A.5. How to Using the Practical Functions of the 3G/4G I/O Module The Mobile network module of WinPAC series (Except for WP-2241M-CE7) that use the 3G/4G network to implement SMS and GPRS connection to send and receive functions. WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 149...
  • Page 150: How To Auto Dial 3G/4G Gprs Network And Redial When The Network Disconnected

    The demos can be found by downloading the latest version from ICP DAS web site. http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/demo/3g_modem/autodialer/ The description of the demo can be found by downloading the latest version from ICP DAS web site. http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/document/faq/development/ W5-13_How_to_use_Auto_dial_GPRS_network_and_redial_when_the_network_disconnected_en WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 150...
  • Page 151: How To Use The Sms Function And Get The Gps Data

    The demos can be found by downloading the latest version from ICP DAS web site. http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/demo/3g_modem/3g_modem_sms_demo The description of the demo can be found by downloading the latest version from ICP DAS web site. http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/document/faq/development/ W5-14_How_to_use_the_SMS_function_and_get_the_GPS_data_en WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 151...
  • Page 152: How To Synchronize The System Time By Gps Data

    The demos can be found by downloading the latest version from ICP DAS web site. http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/demo/3g_modem/gpstimesynchronization The description of the demo can be found by downloading the latest version from ICP DAS web site. http://ftp.icpdas.com/pub/cd/winpac_am335x/wp-2241/document/faq/development/ W5-15_How_to_Synchronize_the_system_time_by_GPS_data_en WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 152...
  • Page 153: Appendix. B. Xv-Board Modules

    Multi-Function Expansion Model Channel Type Sink/Source Channel Sink/Source XV308 DI+DO=8 Source Sink Dry/Wet DI+DO=8 XV310 Sink Source For more detailed information about these support modules, please refer to https://www.icpdas.com/en/product/guide+Remote__I_O__Module__and__Unit+PAC__%EF%BC%86a mp;__Local__I_O__Modules+XV-board WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 153...
  • Page 154: Appendix. C. Revision History

    1.0.3 August 2019 Changed the XV-board installation 2.2.1. Mounting the XV-Board Added the 3G/4G Communication LTE Module installation in section 1.0.4 November 2021 2.2.3. installing the 3G/4G Communication LTE Module WP-2000-CE7 Series (WinCE7 Based) User Manual v 1.0.4 Page: 154...

Table of Contents