Winpac WP-5141 Bedienungsanleitung

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 1
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
WinPAC-5000 User Manual
(WinCE Based, eVC & .net)
Version 1.0.2, December 2010
Service and usage information for
WinPAC-5141
WinPAC-5441

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 2
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
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 @ 2010 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: [email protected]om

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 3
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Table of Contents
1. Introduction ............................................................................................................6
1.1. WinPAC-5000 Family...................................................................................7
1.1.1. WinPAC-5000 Naming Convention....................................................7
1.1.2. WinPAC-5000 Comparison................................................................8
1.2. Features.......................................................................................................9
1.3. Specifications.............................................................................................12
1.4. Overview....................................................................................................14
1.5. Dimension..................................................................................................19
1.6. Companion CD...........................................................................................20
2. Getting Started.....................................................................................................21
2.1. Mounting the Hardware..............................................................................21
2.2. Configuring the Boot Mode.........................................................................24
2.3. Changing the Language of the User Interface............................................26
2.4. Using WinPAC Utility to Configure WinPAC-5000 Basic Functionality .......28
3. Tools and Tasks....................................................................................................32
3.1. Backup Utility .............................................................................................35
3.2. Dconmcnfg.................................................................................................37
3.3. Napopc_ce5...............................................................................................38
3.4. SendToCOM...............................................................................................39
3.5. VCEP .........................................................................................................40
3.6. WinPAC_Utility...........................................................................................41
3.6.1. Menu Bar .........................................................................................42
3.6.2. Property Tabs...................................................................................47
4. Your First Program ...............................................................................................56
4.1. Preparing the Development Tools ..............................................................57
4.2. Installing WinPAC-5000 SDK.....................................................................58
4.3. Your First Program in C#............................................................................59
4.3.1. Creating a New Project....................................................................59

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 4
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
4.3.2. Adding the WinPAC-5000 Reference...............................................61
4.3.3. Adding the Control to the Form ........................................................62
4.3.4. Adding the Event Handling to the Control ........................................64
4.3.5. Upload the Application to WinPAC-5000..........................................66
4.3.6. Executing the Application on WinPAC-5000.....................................68
4.4. Your First Program in VB.net......................................................................69
4.4.1. Creating a New Project....................................................................69
4.4.2. Adding the WinPAC-5000 Reference...............................................71
4.4.3. Adding the Control to the Form ........................................................72
4.4.4. Adding the Event Handling to the Control ........................................74
4.4.5. Upload the Application to WinPAC-5000..........................................75
4.4.6. Executing the Application on WinPAC-5000.....................................77
4.5. Your First Program in eMbedded Visual C++.............................................78
4.5.1. Creating a Forms-Based Project......................................................78
4.5.2. Configuring the Platform ..................................................................83
4.5.3. Specifying the Path of the WinPAC-5000 Reference .......................84
4.5.4. Adding the Control to the Form ........................................................88
4.5.5. Adding the Event Handling to the Control ........................................90
4.5.6. Upload the Application to WinPAC-5000..........................................92
4.5.7. Executing the Application on WinPAC-5000.....................................94
5. APIs and Demo Programs....................................................................................95
5.1. Demo Programs with C#............................................................................96
5.1.1. C# Demo Programs for WinPAC Standard API................................96
5.1.2. C# Demo Programs for PAC I/O API................................................98
5.2. Demo Programs with eVC++....................................................................100
5.2.1. eVC++ Demo Programs for WinPAC Standard API .......................100
5.2.2. eVC++ Demo Programs for PAC I/O API .......................................102
6. WinPAC-5000 Updates ......................................................................................104
6.1. OS Updates..............................................................................................105
6.1.1. OS Updates Using Installation Package File..................................107
6.1.2. OS Updates Using Eshell via Ethernet............................................111

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 5
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
6.2. SDKs Updates.......................................................................................... 116
6.2.1. WinPAC SDK updates for C# or VB.net......................................... 117
6.2.2. WinPAC SDK updates for eVC++ .................................................. 118
Appendix A. Tips-How to........................................................................................ 119
A.1. How to add a User Account .....................................................................120
A.1.1. How to Use telnet to remote login the WinPAC from PC.......................122
A.1.2. How to remove the user from the login list............................................124
A.2. How to online debug WinPAC..................................................................125
A.2.1. Debug WinPAC programs in EVC++ .............................................125
A.2.2. Debug WinPAC programs in Visual Studio 2005/2008..................134
A.3. How to use the printer..............................................................................143
A.3.1. How to use network printer............................................................144
A.3.2. How to use printer via USB............................................................146
A.4. How to use services tool..........................................................................147
A.5. How to use ActiveSync through USB port................................................150
A.6. How to automatically synchronize the WinPAC clock with an Internet Time
Server .............................................................................................................157
Appendix B. XW-board Modules ............................................................................159
Appendix C. Revision History.................................................................................160

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 6
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
1. Introduction
WinPAC-5000 Series is the new generation PAC (Programmable Automation
Controller). It is equipped a PXA270 CPU (520 MHz) running a Windows CE.NET
5.0 operating system, various connectivity (VGA, USB, Ethernet, RS-232/485) and
I/O expansion bus.
The WinPAC-5000 series has many advantages, including hard real-time capability,
small core size, fast boot speed, interrupt handling at a deeper level, achievable
deterministic control and low cost. Using Windows CE.NET 5.0 gives it the ability to
run PC-based control software such as Visual Basic.NET, Visual C#, Embedded
Visual C++, SCADA software, SoftPLC …etc. It give users all of the best features of
both traditional PLCs and Windows capable PCs.
For hardware expansion, it also supports an I/O expansion bus. The I/O expansion
bus can be used to implement various I/O functions such as D/I, D/O,A/ D, D/A,
Timer/Counter, UART, and other I/O functions. Nearly all kinds of I/O functions can
be implemented by this bus. But the bus can support only one board. There are
more than 10 boards available for WinPAC-5000 series, users can choose one of
them to expand hardware features.

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 7
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
1.1. WinPAC-5000 Family
The WinPAC-5000 family is divided into two main types according to Audio port.
▪WP-5141 (without Audio port)
▪WP-5441 (with Audio port)
For more detailed comparison information, please refer to “1.1.2. WinPAC-5000
Comparison”
1.1.1. WinPAC-5000 Naming Convention
As you examine this manual, you„ll notice there are many different models available.
Sometimes it is difficult to remember the specifications for any given model.
However, if you take a few minutes to understand the module naming conventions, it
may save you some time and confusion. The figure below shows how the module
naming conventions work for each WinPAC-5000 model.

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 8
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
1.1.2. WinPAC-5000 Comparison
The following table shows the comparison in all the features of WinPAC-5000 family.
Model
OS
CPU
Flash
SDRAM
Ethernet
VGA
Resolution
RS-232/
RS-485
I/O Expansion Bus
Audio Port
WP-5141
CE5.0
PXA270
520 MHz
64 MB
128 MB
2
800 x 600
2
Yes
(for XW-board only)
No
WP-5441
Yes

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 9
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
1.2. Features
The key features of WinPAC-5000 include:
Windows CE.Net 5.0
●Supports PC based software: eVC and VS.NET
●Web server, FTP server, Telnet server
●ISaGRAF version for IEC 61131-3 programming
●InduSoft version for SCADA solution
Local I/O and Communication Expansion Board
WinPAC-5000 series equip an I/O expansion bus to support one optional expansion
board, called XW-board. It can be used to implement various I/O functions such as
DI, DO, A/D, D/A, Timer/Counter and various communication interface, such as
RS-232/422/485, CAN, FRnet, etc.

WinPAC-5000 Series User Manual, Version 1.0.2 Page: 10
Copyright © 2010 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
Various Memory Expansions
WinPAC-5000 provides various memory storage options, such as
EEPROM and microSD. Customers can choose the
memory based on their characteristics.
●16 KB EEPROM: to store not frequently changed
parameters.
●microSD/microSDHC: to implement portable data logging applications.
Unique 64-bit Hardware Serial Number to Protect Your Program
A unique 64-bit serial number is assigned to each hardware device to protect your
software against piracy.
Remote I/O Module and Expansion Unit
With the built-in RS-485 and Ethernet port, the 5000
series can connect RS-485/Ethernet remote
I/O units (RU-87Pn/ET-87Pn) or modules
(I-7000/M-7000/ET-7000). With an XW-board,
the 5000 series can have more communication
ports or different interface to connect to other
type of devices, for example: CANOpen
devices, DeviceNet devices, or
FRnet I/O modules.
Plastic and Metal Casing
The default case is plastic material, customers can choose metal case if they want.
Dieses Handbuch passt für folgende Modelle
1
Inhaltsverzeichnis

















