Home
ViewPAC Series for MP-570W User Manual
Contents
1. MP 570W User Manual version 1 0 1 Revised August 2012 Page 161 47 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 1 2 How to Use telnet to remote login the MP 570W from Here are step by step instructions on how to use telnet to remote login the XPAC from PC Step 1 On the PC open a MS DOS command prompt gt i WA LS LEN Windows Catalog ion Windows Update Programs Documents Help and Run o Shut Down start cx CHWIRDOWSISyste Windows Professional Po Step 2 At the command prompt type telnet IP address C WINDOWS System32 cmd exe icrosoft Windows AP Version 5 1 2600 CC Copyright 1985 2001 Microsoft Corp C Documents and Settings Windows gt telnet 18 1 0 998 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 162 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 The connection has been set up and then type the name and password Melcome to the Windows CE Debug Service on WindowsCE login gt anna Password gt Step 4 The remote login has been completed c Telnet 1 nix Welcome to the Windows CE Debug Service on WindowsCE login gt anna Password gt MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 163
2. 005 TAMDARDSDEK 500 nclude 4 CAProgram Files Windows CE Tonlstwceb D iSs TANDARDSDE 500 mftctinclu APrnnr z ilr ITI ur rli DOH LR Click this button to specify the header file include path The ViewPacSdk h file be obtained from CD Napdos vp 2000_ce50 SDK ViewPACSDK http ftp icodas com pub cd winpac napdos vp 2000 ce50 sdk viewpacsdk MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 105 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the Option dialog select the Directories tab and do the following in this order to specify the library file path Options Download Bu Directories Platform CPUs PAC270 STANI Win32 UE ARMY 4I Directories CAProgram Filest indows Toolstwcebou s TANDAHDSDK 5UDVIbVAR MV CAProgram FilesWVindaws CE Toolstwce5O0 STANDARDSDE Dun ram oll BA OHS LE Ih MAE Click this button to specify the library file path The ViewPacSdk lib file can be obtained from CD Napdos vp 2000_ce50 SDK ViewPacSdk http fto icpdas com pub cd winpac napdos vp 2000 ce50 sdk viewpacsdk MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 106 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Click the Settings command from the Project me
3. 128 6 MP 570W Updates 130 SNN 131 6 1 1 Updating the Boot Loader and the MP 570W OS image from files 134 6 1 2 Updating the MP 570W OS image from eshell 140 SN SIBI 145 6 2 1 WinPAC SDK updates for C or 146 6 2 2 WinPAC SDK updates for eMbedded Visual C 147 Appendix A and 1 87 Modules 148 Appendix B Application of RS 485 Network 149 B 1 Basic RS 485 149 B 2 Daisy Chain RS 485 151 ING IWONK esca etiaai duca 152 B 4 Random RS 485 154 B 5 Master Slaves Settings 2 lt eene enne nana manna 155 5 1 MP 570W as a Master 155 5 2 WIP POT OW GS 157 Appendix C Tips How to 159 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 5 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 1 How to add a user account to remote login the MP 570W from PC 160
4. 12 TA DIINON ONG 17 1 5 sio D 18 19 2 1 Mounting the 20 2 1 1 Removing the Slot 20 2 1 2 Installing Expansion 21 2 1 9 INSEHING the VO MOodUlGS cc rito tense ese pene pa ten ema 22 2 12 MOUNUNO ING Vale DEOOL setae 24 2 1 5 Mounting the 57 0 26 2 1 6 Deploying a Basic MP 570W Application 28 2 2 Installing the Tools and 29 2 9 Contiguring the Boot ot eh het ih 30 2 4 Changing the User Interface Language 34 2 2 TETTE 36 2 6 Using ViewPAC Ultility to manage the 570 37 2 7 Using Utility to Configure the I O Modules 38 2 8 Using Backup Utility to Backup the settings and files 41 2 9 A caution about using System 43 9 WOOIS aNG VAS CNET DE EE TT 44 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3
5. AA gt m o SOL CE Version MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 144 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 2 SDKs Updates The updates files of SDK image are located on CD Napdos vp 2000_ce50 SDK CD Napdos 2000 50 ViewPacNet By eVC and donet development tools the MP 570W SDK installation is divided into the following two parts By eVC and donet development tools the WinPAC SDK installation is divided into the following two parts i WinPAC SDK updates for dotnet li WinPAC SDK updates for eMbedded Visual C MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 145 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 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 ftp ftp icpdas com pub cd WinPAC napdos wp 8x4x ce50 sdk winpacnet Step 2 Copy the latest version of DLL to Host PC and WinPAC The DLL files on Host PC are located at anywhere only
6. v Platforms Pocket PC 2003 smartphone 2003 Windows 5 0 Pace io Confizore Transport Use fixed port number Device IP address C2 Obtain an IP address automatically using Activeame gt Use specific IP address 10 0 9431 Step 9 On the CAYMAN ARMVAI Release Properties dialog click the button Release Properties Default output location on device Transport Connect Transport hal Bantstrapper Actiees vine Startup Provider bal configure Detect when device is disconnected MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 180 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 10 On the Options dialog click the OK button Environment show devices for platform Projects and Solutions Control ae 25 Text Editor Devices Database Tools N LE pa _ Save Rename Delete HTML Designer H Windows Forms Designer Properties Default device CAYMAN ARMYV4 Release Step 11 On the MP 570W controller side run the CommanClient2 and the CMAccept exe applications which is located at Disk CPDAS System Address System Disk ICPDAS System Mi TepConne eDbgTL Conmancl ConMa
7. 5 Intel 13 95ns X 2 64 bit Serial Number 01 B9 16 AE 13 00 00 69 OS Version 2 0 0 2 2010 11 18 17 10 30 Eboot Version 1 1 0 3 2010 09 13 15 29 02 Backplane Version CPU Version WinPacSDK Version WinPacNet Version Framework Version 2 0 7045 00 SOL CE Version 3 5 5386 0 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 139 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 1 2 Updating the MP 570W OS image from eshell There are two different ways of MP 570W OS image update i MP 570W OS updates from files Please refer to this section We recommend that you use this method for quick and easy to update the MP 570W OS image ii MP 570W OS updates from eshell tool Please refer to section 6 1 2 Updating the MP 570W OS image from eshell Update from files By default the OS update from Host PC to MP 570W via Ethernet Therefore to update the OS image make sure Ethernet is connected to the PC Host PC MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 140 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 1 Get the latest version of the MP 570W OS image The latest version of the installation package can be obtained from CD Napdos vp 2000_ce50 os_image vp 25w1 update_from_Eshell update from Eshell VP25xx YYYYMMDD Ver X X X X XX bi
8. Interrupt Memory Access Micro SD System Operation Local I O MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 72 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com e Systeminformation Functions Provides reference information for the system status e Backplane Access API Provides reference information for the backplane access APIs including Hot Plug and backplane information e Interrupt Provides reference information for the Interrupt APIs e Memory Access API Provides reference information for the memory R W APIs including EEPROM and SRAM e Watchdog Functions Provides reference information for the watchdog APIs including hardware watchdog and OS watchdog e UART API Provides reference information for the UART APIs Registry Provides reference information for the registry e microSD Management API Provides reference information for the microSD Manager MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 73 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com e PAC IO API Provides reference information for IO APIs including local and remote In additions no matter 8K or 87K modules use the same e Error Handling API Provides reference information for error handling MP 570W User Manual version 1 0 1 Last Revised August 2012 Page
9. MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 94 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 4 Execute the application on the MP 570W Step 1 On the Build menu click the Build Solution command Build Debug Data Tools Window Community _ Rebuild Solution Deploy Solution Clean Solution 5 Build systeminfo Shift F6 Rebuild systeminfo Deploy systeminfo Clean systeminfo Batch Build File Edit View Refactor Project Configuration Manager Step 2 Open the web browser and type the IP address to connect the FTP server of MP 570W Step 3 Upload the SDKinfo exe application and the corresponding ViewPacNet dll file to the MP 570W via the MP 570W FTP server MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 95 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings For applications programming in and VB net with net N framework when executing these application on the MP 570W controller the corresponding ViewPacNet dll file must be in the same directory as the exe file 2 Ele SDKinfo ViewPacNet Step 4 On the MP 570W execute the uploaded file Check the SBE versian MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 96 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E
10. The sources for development and application in your application System Disk The tools and drivers related to System Disk that install on MP 570W Update The installation packages related to MP 570W MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 18 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Getting Started This chapter provides a guided tour that describes the steps needed to download install configure and run the basic procedures for user working with the MP 570W for the first time Before starting any task please check the package contents If any of the following package contents are missing or damaged contact your dealer or distributor In addition to this guide the package includes the following items Expansion Socket 3 s qe Quick Start Guide Software Utility CD 1 GB Micro SD Card Q eo RJ 45 Waterproofing Kit Panel Clip 4 Screw Driver MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 19 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 Mounting the Hardware Before you work with the MP 570W you should have a basic understanding of hardware specification such as the dimensions the usable input voltage range of the power supply and the type of communication interfaces For more information about the hardware details see section 1 2
11. Copyright 2012 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 Hew Files Projects Workspaces 2 CE Application ox ATL COM App rizard WCE Dynamic Link Library fe WCE ActiveX ControlWizard Location CADOCUMENTS AND SETTINGS Create new workspace aU TTA B WCE AppWizard exe Add to current workspace Dependency of Win32 ARMV4 MWin32 WCE ARMVAI OWin32 WCE ARMVAT OW in32 WCE MIPS15 MWin32 WCE MIPSII MIWin32 WCE MIPSII FP Tips amp Warnings N The selected CPU type must have Win32 WCE ARMV4l Win32 WCE MIPSII FP v Step 4 Click the button to start the wizard MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 99 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 On the first page of the wizard select Dialog based option and then click the Next button to the next step WCE App Wizard exe Step 1 of 4 What type of application would you like to create Single document Document View architecture support What language would you like your resources in Finish Step 6 On the next page of the wizard leave all the options as they are and then click the
12. MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 51 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 5 1 Menu Bar The ViewPAC Utility includes the following function menu All function menus will be explained later Y File Menu Help Configuration Save Save and Reboot Reboot Without Save Restore Default Settings Exit Y Help Menu File Help Configuration Reset System to Default Release Motes About Y Configuration Menu File Help Configuration Import Registry Ker Export Regsitry key Store All Registry Setting Dump All Registry Setting MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 52 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com File Menu s Help Configuration Save Save and Reboot Reboot Without Save Restore Default Settings Exit The menu commands save Saves the settings into Flash The new settings don t take effect until the MP 570W restart Save and Reboot saves the settings into Flash and restart the MP 570W The new settings will take effect after the MP 570W restart Heboot Without Save Restarts the MP 570W without save the settings into Flash Restore Default Restarts the settings of MP 570W to its factory Settings default values The settings include configuration setting network setting auto execution etc Exits the ViewPAC U
13. Step 2 Follow the prompts until the installation is complete MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 29 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 3 Configuring the Boot Mode The MP 570W has seven boot modes that can be determined through a rotary switch The table below lists the operation mode selection Position Modes of operation Normal mode Default Safe mode Debug mode OS update mode 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 Safe mode is a troubleshooting option that starts your computer with only basic services and functionality If an existing problem does not reappear when you start MP 570W in safe mode you can eliminate the default settings and basic device drivers as possible causes MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 30 Copyright 2012 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 N change and save the settings using the ViewPAC Utility to solve this problem perform the following steps Step 1 Restart the MP 570W in safe mode Turn the rotary switch to 1 and then restart the MP 570W
14. Next button to the next step Windows Help Activex Controls Please enter a title for your dialog SDKinfo Help contents file SDKinfo htp lt Back Finish Cancel MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 100 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 On the next page of the wizard leave all the options as they and then click the Next button to the next step WCE MFC AppWizard exe Step 3 of 4 File Edit iew Insert Build Help Would you like to generate source file comments ff TODO C thank you ff TODO How would you like to use the library As a shared DLL As a statically linked library Finish Step 8 On the next page of the wizard leave all the options as they are and then click the Finish button to complete the wizard WCE MFC App Wizard exe Step 4 of 4 AppWizard creates the following classes for CSDKinfoAp CSDKinfoDlg Class name Header file CSDKinfoApp SDKinfoApp h Base class Implementation file SDKinfoApp cpp Cancel MP 570W User Manual version 1 0 1 Revised August 2012 Page 101 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 9 final summary appears click the button to exit the wizard Hew Project Information VICE MFC App
15. Specifications For more information about the hardware dimensions see section 1 4 Dimension 2 1 1 Removing the Slot Cover The MP 570W has a slot cover to protect the internal components from damage during shipping Before starting any installation please first remove the slot cover SlotiCover gt Step 1 Hold the top of MP 570W Step 2 Pull the plastic wrap The slot cover has been removed MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 20 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 2 Installing Expansion Sockets The case a socket and a top case is included in the package Before inserting the I O modules talling the I O modules in lf you do not expand the I O module full please keep the top case of the unused slot to protect the backplane from dirt dust and damage from foreign objects Step 1 Take the socket out from the case Step 2 Padlock the bottom of the socket into the MP 570W Step 3 Slide the socket into the MP 570W until it clicks MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 21 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 3 Inserting the I O Modules MP 570W supports a complete range of I O modules for interfacing many different field devices For more information about expansion modules please refer to h
16. izard exe will create a new skeleton project with the following specifications Application type of 5DKinfo Dialog Based Application targeting Win32 CE ARMY 4I Win32 CE MIPSII Win32 CE MIPSIL Win32 CE MIPSIV Win32 CE MIPSIV Win32 WCE SHA W in32 CE emulator Win32 WCE x85 Classes be created Application CSDKinfoApp SDKinfo h and SDKinfo cpp Dialog CSDKinfoDlg in SDKinfoDlg h and SDKinfoDIg cpp View CChildView in ChildView h and ChildView cpp Features Uses shared DLL implementation Localizable text in 52 2686 Project Directory CADOCUMENTS AND SETTINGSWYINDOWS CE TOOLSAEVCYSDKinfo Cancel MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 102 Copyright 2012 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 SDEinfo Microsoft eMbedded Visual Eik Edit View Insert Project Bvid Toole Window Help ag E e X lt e 5 RTT All class members CSDKinfoApp E Mind WCE ARMV4I Debug Wind VV CE ARMVAI Release EEE sDRinfo classes in32 WCE emulator Debug in32 V CE emulator Release 132 MIPSII Debug Inge MCE MIPSII Release in32 MIPSIL FP Debug in32 VCE MIPSIL FP Release in32 WCE MIPSIV Debug Inge CE MIPSIV Release i
17. tt Runto Cursor Set Active Configuration Attach to WCE Process Configurations set Active Platform MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 172 Copyright 2012 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 button to close dialog turn to the MP 570W controller side to do the next two steps Manual Server Action Please make sure the following files are on the device WIND UV S Eepipc dil WIND UWS Scemgrc exe WIND DW S Seetlstub dll And launch CEMGACLEXE with the following cmd line FEMGRCEXE AT ITCPIPC DLL 0 0 10 0 9 52 2008 Cancel Step 15 On the MP 570W controller side select the amp Start menu and then click the Run command MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 173 Copyright 2012 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 button 944 My Device WINPAC pt km m e tne name or document and Windows will open 47 it for you V Open Internet Microsoft Explorer WordPad V A meg e or a program Toer tcpipc dil 9 10 0 9 52 5000 y Z Documen
18. 2012 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 IP Transport Configuration Configuration Far device 270 Device Check connection status Interval msec 60000 Part number 5000 Use fixed address 10 0 9 52 Configure automatically over serial Cancel Step 5 On the Windows CE Platform Manager Configuration dialog click the Test button Device Properties Device Name PACZ O Device select a transport and a startup server Choose Test to verify that you can establish connection to your target device with the selected transport and startup server Transport Transport for Windows CE configure startup Server Manual configure Cancel MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 168 Copyright 2012 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 button to close dialog turn to the MP 570W controller side to do the next two steps Manual Server Acton Please make sure the following files are en the device WIND S tepipc dil WINDOWS exe WINDOW S Sestlstub dll And launch CEMGACLEX
19. 2012 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 Create new Solution SDKinfo Step 4 Click OK to start creating a SDKinfo project MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 80 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 2 Add project reference for an application Step 1 On the Solution Explorer window right click the Reference and then click the Reference command Solution Explorer Solution SDKinfo 1 pr X 24 Solution SDKinfo 1 project Step 2 In the Add Reference 42 SDKinfo dialog box select the e Ea Properties Browse tab and Ded Feferences g 25 Forml cs Add Reference men specity the E Program cs Peene directory of the ViewPacNet dll file in the File name c solution Explorer Eig Class View Properties field The ViewPacNet dll file can be obtained from CD Napdos vp 2000_ce50 SDK ViewPacNet http ftp icpdas com pub cd winpac napdos vp 2000 ce50 sdk viewpacnet Add Reference ViewPacHet dll Component Files dll exe MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 81 Copyright
20. Stepz Go to File gt Save and Reboot to enable driver MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 66 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Key Property Tab The Key Property tab provides functions to specify the programmable key to launch any program that you wish Tips amp Warnings N The allowed file types are exe and bat ViewPACG Utility 2 0 2 1 5 System Information Auto Execution Multi serial port wizard LL programs to the O programa hardware Fes dL keys DL ratte ee fL EL res JE Jatt P F control backlight The tab use to How to use Specify the Press the button to select the execute file which programmable key to you want select the Enable check box and then launch the program press the Setting button Specify the Select the F6 control backlight check box and programmable key to then press the Setting button control backlight MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 67 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com System Memory Tab The SRAM Setting tab provides functions to adjust and monitor the unused RAM YiewPAG Utility 2 0 2 1 File Helo Configuration Auto Execution Multi serial port wizard Key property System Memory Setting Move slider ta the left for more memorv to run progra
21. ViewPacSdk MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 130 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 1 OS updates The updates files of OS image are located on CD Napdos vp 2000_ce50 OS_image vp 25w1 CD Napdos vp 2000 ce50 5 vp 25w1 219161011 update_from_eshell update_from_file MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 131 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com There are two different ways of MP 570W OS image updates i MP 570W OS updates from file We recommend that you use this method for quick and easy to update MP 570W OS image ii MP 570W OS updates from eshell Update from files Update from eshell NS MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 132 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com MP 570W OS supports multi language i en English ii sc Simplified Chinese iii tc Traditional Chinese MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 133 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 1 1 Updating the Boot Loader and the MP 570W OS image from files There are two different ways of MP 570W OS image update i MP 570W OS updates from files Please refer to this section
22. C 1 1 How to add a user 160 C 1 2 How to Use telnet to remote login the MP 570W from PC 162 C 1 3 How to remove the user from the login list 164 C 2 How to online debug 70 166 C 2 1 Debug MP 570W programs in 166 C 2 2 Debug MP 570W programs in Visual Studio 2005 2008 176 How to recompile WinCon programs 185 C 3 1 Compiler old programs which ran on Wincon 8x3x and 8x4x 186 C 3 2 Modify vcp file to upgrade the old WinCon project 190 ds USB TUS OFM CP 191 C 4 1 How to use network 192 C 4 2 How to use printer via 194 CO OW TSE T ENIC CESO 195 Appendix D Revision History 198 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 6 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 Introduction ViewPAC Family Developments EYP lt y mac D EE T 1 1 y Visual Studio net All in one Colorful P65 Waterproof Various Touch Screen Communications 31 0 Slots GO MI Mo
23. Logic operation Any version before 2 1 0 of the NAPOPC_CE5 was named Quicker MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 48 Copyright 2012 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 module through the serial port and receive data from other device through the serial port For more information about these commands for communicating with expansion module please refer to CD ANapdosNo module 87k high profile modules htm ICPDAS Send to COM v2 00 Connection Status COM Port Baudrate Data Bit Stop Bit comi 115200 8 J mz fi Close 5 Binary String Send Polling Auto send Internal ms Commands Responses Current Packet Size bytes b Current Packet Size bytes Total Packet Bytes E Total Packet Bytes Packet Quantity send o Packet Quantity received MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 49 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 4 Manage Your WinCon From Anywhere ICPDAS VCEP is designed for managing your MP 570W anywhere No matter where you are ICPDAS VCEP pr
24. MP 570W HTTP document root directory windows wwwiwwwpub to m TTG Help Configuration ce Network Setting System Information Auto Execution Save and Reboot Reboot Without Save rd File Server Settings ble JDisable ble JDisable 3 Enable _ Disable Restore Default Settings Exit Allow Anonymous Upload Change FTP default download directory Temp to Change HTTP document root directory Nwindowsvwwwwwwwpub to 3 seme MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 37 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 7 Using DCON Utility to Configure the Modules The DCON Utility is a client utility that runs on PC and communicates with MP 570W via DCON protocol The DCON Utility allows users to remotely connect to I 7K and 87 series I O modules for management through the COM port and Ethernet port This tool is composed of two parts a client and a server The server is a program named CE running on MP 570W The client is a PC based program named Utility exe running on PC Step 1 Run the DCON firmware on the MP 570W controller DCON firmware is located at V System Disk Tools DCON Double Click the DCON firmware Step 2 Run the DCON Utility on the host PC s Double Click the DCON
25. Step 15 Connection established Then you can debug on line MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 183 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com If the connection fails shown as follow return to step 11 to do the action below To PACSO ARMY4 ARMVAI Release Connection failed Activesync 12 not installed Open the command prompt run the CommanClient2 exe transport tcpconnectiona dll property port 5000 id Con at System_Disk ICPDAS System and then run the CMAccept exe File Edit Help system disk icpdass system gt Conmanclientz exe transport tcpconnectiona dll pro pertyiport S5000 id Con system disk icpdas system Configure Transport Use fixed port number 5000 Device IP address Obtain an IP address automatically using ActiveSync 9 Use specific IP address 10 0 9 10 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 184 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com How to recompile WinCon programs To recompile Wincon programs to run on MP 570W certain components of the programs require adjustments that divides into two parts 1 Compiler old programs which ran on Wincon 8x3x and 8x4x 2 Modify vcp file to upgrade the old WinCon project Tips amp Warnings In general you only need to do part 1 after this
26. Testing Device Connection Device Name Are TO Device Connection to device established Transport for Windows CE Step 11 On the Device Properties dialog click the OK button Device Properties Device Name PACZTO 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 Configure startup server Manual Cancel Test MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 171 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 12 On the Windows platform or device to configure dialog click the button Windows CE Platform Manager Configuration elect a platform device to configure 270 Add Device 9 PAC270 Device cd Delete STANDARDSDE_420 Windows CE Default Platform About Step 13 On the Build menu select the Start Debug command and then click the command Edit View Insert Project Build Tools Window Help Compile systeminfodlecpp Build ese Rebuild Batch Build lean Start Debug Update Remote Output File s m Step Into Execute Systemlnfo exe CHEFS
27. Touch Panel Rubber Keypad Audio Microphone In and Earphone Out LED Indicators 3 Dual Color LEDs PWR RUN LAN1 L1 L2 L3 L1 L3 for user programmable Operating Temperature Storage Temperature Ambient Relative Humidity 5 90 RH non condensing Power input Range Capacity Consumption Mechanical 0 0 000 00 Dimension Wx D x H MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 11 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 3 Overview MP 570W 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 IB LED indicators Expansion Slots Power In and Frame Ground Micro SD Socket Waterproof Ethernet Port COM2 RS 485 COMG RS 232 USB Port Microphone and Earphone Jacks py Rotary Switch MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 12 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 LED Indicators The MP 570W contains three LED indicators that are located on the top of the unit The LED indicators can be used to indicate the power status OS status and Link Activity and are described as follows LED Indicator L1 L2 L3 ON Red Controlled via a program OFF Control
28. version 1 0 1 Last Revised August 2012 Page 126 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation Shows how to send receive a command response 7k87k basi application C This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the values of Al module 7k87k ai This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the AO values to AO module 7 87 ao This demo program is used by 7K or 87K series Al modules which connected through a COM port 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 7 87 do This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI and the DO values of he DI dule nia T e This demo program is used by 7K or 87K series Al modules which connected through a COM port For eVC application these demo programs can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC eVC PAC_IO MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 127 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 3 eVC Demo program for MP 570W Particular The table be
29. 0 1 Last Revised August 2012 Page 45 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 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 MP 570W e VCEP The VCEP allows user to manage the MP 570W remotely on a Host PC For more information about the VCEP please refer to 3 4 VCEP Virtual CE Pro e ViewPAC Utility The ViewPAC Utility provides various useful functions such as configuring Ethernet settings monitoring system settings and FTP services etc for easy and quick management For more information about the ViewPAC_ Utility please refer to 3 5 ViewPAC Utility MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 46 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 DCON Utility DCON Utility p S Protocol ASCII Command S Nae 7188E 800 4am SA e age 1 87K Series 1 7000 Series 1 8000 Series The DCON Utility is a tool kit that help user search the network easily to Configure the I O 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 DCON Protocol I O modules but also the M Series I O Modules Modbus RTU M 7K M 87K and will support Mod
30. 1 Last Revised August 2012 Page 42 Copyright 2012 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 the bottom right hand of the pc screen Tips amp Warnings Don not power off the MP 570W while the defragment is being N performed 2 G D D we BSB ICPDAS Took eae TCPServer Watchdog Copy of Cony of Cony oF Rant Tark ER rat FONAS 5 2 of 5 A System Disk Show the icons MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 43 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Tools and Tasks This chapter briefly describes the functions of the MP 570W tools and utilities There are several tools and utilities built in and designed for use with MP 570W Some of these tools and utilities are i
31. 1 3 How to remove the user from the login list Here are step by step instructions on how to remote the user from the login list Step 1 Click a user from the list which you want to remove and the user will display in the field and then press Delete to delete the user from the login list ViewPAG Utility 2 0 2 1 System Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial gt FTP Setting Users and Password laser name Password Username Password The accounts is used to login the servers search as Telnet FTP WebServer etc on WinPAC MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 164 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 On the File menu click Save and Reboot for changes to take effect ViewPAG Utility 2 0 2 1 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 165 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 2 How to online debug MP 570W Debugging is a process that you use to find and resolve errors or bugs in a program C 2 1 Debug MP 570W programs in EVC Step 1 On the Tools menu click Configure Platform Manager command Ele Edit View Insert Project Build Tools Window Help Enor Lookup P Remote Call Profiler WCE500 Re
32. 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 3 Design and Build an application program Step 1 Add a Button button object in the From1 dialog box Step 2 Right click the button object and click the Properties command cs Design StstPage Object Browser w X Form 8 Lock Controls select Forml Cut MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 82 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 On the Properties window type Check the SDK version in the Text edit box Properties buttonl Syetem Windows Forns Button BackColor Font Tahoma 1Upt FoveColor HH Control Test Check the SDK version E Behavior Text The text contamed m the control Solution Explorer iy Class View Properties Step 4 Right click the Form1 dialog box and click the View Code command to open the editor window View Code i mm Properties MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 83 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Insert the using ViewPACNet into the header area after using System Windows Forms O USL using System Ling using System Collections Generic using System ComponentHodel using System Data using System Draw
33. 570W User Manual version 1 0 1 Last Revised August 2012 Page 28 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 2 Installing the Tools and Utilities The MP 570W has several tools and utility that allows and supports you quickly and easily to manage the XP 8000 Atom CE6 Here we will introduce two practical of them and guide you through the installation toolkits If your MP 570W is connected to PC through the network you can use this utility to display the device screen on the host PC and control the MP 570W remotely through this 9 Remote Display is one of the Windows operating system cexhast exe interface For more information on how to use Remote Display to control the MP 570W remotely please refer to section 2 6 Using Remote Display to Control the MP 570W Remotely LET DCON Utility is a toolkit that is designed to configure manage and monitor the I O modules from PC via COM port or Ethernet For more information on how to use DCON Utility to configure the module please refer to section 2 7 Using DCON Utility to Configure the I O Module Step 1 Get the DCON Utility and Remote Display The DCON Utility and Remote Display can be installed from the CD that was provided with the package or by downloading the latest version from ICP DAS web Site CD Napdos vp 2000_ce50 PC_Tools fto ftp icodas com pub cd winpac napdos vp 2000 ce50 pc tools
34. All Rights Reserved E mail service icpdas com 1 4 Dimensions The diagrams below provide the dimensions 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 in millimeter T A EAAAxA ASTSAa3 es 88 5 800 EU 9 o 15371 1 0 158 0 136 Recommended Panel Cut Out Right Side View L alli a gars jefe B IT o u 8888 280 200 eee ll Bottom View MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 17 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 5 Companion CD This section describes the content of the companion CD which provides the resource tool kit software and documentation related to the MP 570W 2000_ 50 backup The backup files related to the documents OS images SDKs etc The demo programs for examples of use in the application Document The technical support documents for installation operation maintenance development and application Micro SD The tools and drivers related to manage the MP 570W OS_image The files and related information for OS releases and technology PC_Tools The tools and utilies for operation with PC
35. All Rights Reserved E mail service icpdas com Step 2 the MP 570W open WordPad format file Step 3 On the MP 570W open a WordPad format file Edit View Format Tools ew Open Save Ctrl 5 Save As Password 1 Printer PCL Laser Step 2 Set up the printer Print Ctrl F 2 Port Network Recent Files 3 Net Path ServerName PrinterName Close Ctrl wy The is your PC s name or The is your printer s shared name of your PC 4 Paper Size Select the paper size File Edit View Format Tools E Gr d Tahom 14 Test Printer Pct Laser Print Range Orientation Port Network v all 9 Portrait Met Path RD1 User2 Anna 2 Selection Landscape Margins inches Paper Size A4 v Left 1 25 Tap fi Graft Mode Advanced TEE 7 Er Color Right 1 25 Bottom 11 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 193 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 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 MP 570W open a WordPad format file Edit View Format Tools ew Open Save Ctrl S Save Password Step 2 Set up the printer Ctrl P 1 Printer Hewlett Packard LaserJet Print Recent
36. E mail service icpdas com 3 5 2 Property Tabs The ViewPAC Utility includes the following property tabs all property tabs will be explained later ViewIPAC Utility 2 07 2 1 File Help Configuration Welcome to use ViewPAC Utility This tool will help you to set ViewPAC ViewPAC ACT Industrial Control Products S Data Acquisition System Batteryl OK Task Bar Setting Hide Always On Change HTTP document root directory windows wuiwvwwpub to Window s vw Configure the synchronization with a time server Y System Setting Y Ethernet Setting Y Network Setting Y System Information Y Auto Execution Y Multi serial port wizard System Memory Setting v Backplane Compatibility MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 57 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com System Setting Tab The System tab provides functions to configure the task bar HTTP directory path ViewIAC Utility 2 07 2 1 File Help Configuration Welcome to use ViewPAC Utility This tool will help you to set viewPAC ViewPAC Industrial Control Products Dat Spo Batteryl OK Task Bar Setting a Auto Hide Always On Change HTTP document root directory swindows www swwwwpub 40 windows vans awn Configure the synchronization with a time server The tab use to How to use Adjust the size of the de
37. P c ME gt 7 Position1 J Step 2 Start the ViewPAC_ Utility to restore the default settings Start the ViewPAC Utility and then click the Restore Default Settings command and Save command from the File menu Step 3 Restart the MP 570W in normal mode Double Click the Turn the rotary switch to 0 and then ViewPAC_ Utility restart the MP 570W mm Position 0 Save Save and Reboot Reboot Without Save esalution 320 240 Restore Default Settings Exit Sektin Always On Top Change HTTP document root directory to WATTS AAA AA m Setting MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 31 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Debug Mode The debug mode is a function hidden in a program that provides options used for testing and debugging that are not available to users Debug mode is unsupported OS Update Mode OS update mode is a way that is used to update OS To update the MP 570W OS image please refer to 6 1 OS updates DCON CE Mode This mode is the same as Normal mode Besides will be run automatically after booting Tips amp Warnings must be placed on the System_Disk Tools DCON_CE or else DCON CE exe cannot be run automatically after booting MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 32 Copyrigh
38. Rdfs cd_2 WinPAC napdos up 2666_ ce58X0S imageXup 23wlXupdate from EshellXenVXUl Jumping to image on UP_44498 Connecting to UP 44498 using Ethernet Ready 2 Step 6 Once the procedure is completed the Warning dialog box will Appear on MP 570W screen as below shown before clicking the Yes button you must first turn the rotary switch to the 0 position Position 0 Please turn the rotary switch to 0 normal mode and reboot the device device Would you like to reboot right now or later MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 143 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 Check the MP 570W OS version Start the ViewPAC Utility and then select the System Information tab to check the current OS version P Double Click the ViewPAC Utility ViewPAC Utility 2 0 2 1 File Help Configuration System Setting Slot 0 Module Type 25 96MB Slot 1 mmm Flash Type System disk Intel 23 95ns X 1 Flash Type OS Intel J3 95ns X 2 Slot 2 E 64 bit Serial Number OS Version 2 0 0 2 2010 11 18 17 10 30 Eboot Version 1 1 0 3 2010 09 13 15 29 02 Backplane Version CPU Version WinPacSDK Version WinPacNet Version Framework Version ELLE lt olo T HE
39. We recommend that you use this method for quick and easy to update the MP 570W OS image li MP 570W OS updates from eshell tool Please refer to section 6 1 2 Updating the MP 570W OS image from eshell Step 1 Get the latest version of the execute file and the corresponding autoinit bat file and run it on the MP 570W side Each folder contains an execute file and a corresponding autoinit bat file fip ftp icpdas com pub cd winpac napdos wp Bx4x ce50 os image en uti File Edt View Favorites Tools Ow se ds Folders Address 4 ceS os imagejen gt o x d dH sdk system disk MP 570W User Manual version 1 0 1 Revised August 2012 Page 134 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Get the latest version of the installation package and download it to MP 570W then execute it The latest version of the installation package can be obtained from CD ANapdosWwp 2000 50 image Wp 25w1 update from file update from file VP25xx YYYYMMDD Ver X X X X XX exe e Omm Release Date e Language Software en English MM Month Major version tc Traditional Chinese DD Day Minor version sc Simplified Chinese Build number Reversion There are several ways to download the installation package t
40. an IP address Select the Assign IP address option and then press the Setting button Monitor the MAC oee the MAC Address 1 fields that display the address physical address of LAN1 Set up the i 8135 See the next page Ethernet module driver MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 59 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 8135 tab This tab provides functions to set up the i 8135 Ethernet module driver ViewPACG Utility 2 0 2 1 System Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial gt T sea Installed driwer 5101 51011 18135 Address 5102 Use DHCP to get IP address Assign IF address Address 10 1 0 55 Mask 255 255 0 0 DAS Server 10 003 Enable 8135 Madule The tab use to How to use Set up the i 8135 network Obtaining an IP address automatically from settings DHCP Select the Use DHCP to get IP address option and then press the Setting button Manually assign an address Select the Assign IP address option and then press the Setting button MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 60 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Network Setting Tab The Network tab consists of two tabs Access and Login which provides functions to enable disable the FTP a
41. and Export settings Customize MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 178 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 On the Options dialog select 270 from the Show devices platform list and then click the Properties button Options Environment Show devices for platform Projects and Solutions pourte Control Text Editor Database Tools Debugging Device Tools TEM lt lt General Devices 0 5 Fora Factors HTML Designer Windows Forms Designer Default device CAYMAN ARMVAI Release v Step 7 On the CAYMAN ARMVAI Release Properties dialog click the Configure button Properties Default output location on device Program Files Folder Transport Bontstrapper Actreeswnc Startup Provider Configure MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 179 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 On the Configure TCP IP Transport dialog select the Use specific IP address option and type the IP address of MP 570W and then click the OK button Options W Environment l Projects and Solutions H Source Control l Text Editor Database Tools Debugging Device Tools show devices for platform
42. by adjusting the jumpers on the power board of MP 570W Refer to the following figure RS485 Slave Master MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 157 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 7520 RS 232 to RS 485 Converter 1 7561 USB to 5 485 Converter Slave Mode The maximum distance of RS 485 without using a repeater is 1 200 meters 4 000 feet You can extend that distance by adding an RS 485 Repeater every 1 200 meters as shown below 12 12 1 7520 1 7510 7510 5 232 to RS 485 RS 485 Repeater RS 485 Repeater Converter 1 7561 USB to RS 485 Converter Slave Mode MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 158 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix C Tips How to We will continue to add flexibility and support to the ViewPAC that always can be found at http ftp icpdas com pub cd winpac napdos wp 8x4x ce50 document fag aeneral io expansion The following sections will present several common application of ViewPAC MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 159 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 1 How to add a user account to remote login the MP 570W from PC C 1 1 How to add a use
43. command File Edit View Tools Window Community Help Web Site 1 Fie Project From Existing Code Save All Recent Files Recent Projects Exit Step 3 In the New Project dialog box do the following in this order MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 89 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com New Project SDKinfo CADocumenk and Seting Windows CE TookAC Create new Solution Step 4 Click OK to start creating a SDKinfo project MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 90 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 2 Add project reference for an application Step 1 On the Class View window right click the Reference and then click the Reference command Class View Step 2 In the Reference Add Reference jl dialog box select the Add Web Reference Browse tab and then Sort Alphabetically specify the directory of the ViewPacNet dll file in the name field Group By Object Explorer Ez Class View E Properties The ViewPACNet dll file can be obtained from CD Napdos vp 2000_ce50 SDK ViewPacNet http ftp icpdas com pub cd winpac napdos vp 2000 ce
44. operation features of the MP 570W System Information Watchdog Backplane Access UART 1 Interrupt Registry Memory Access J MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 115 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo backplane backplaneinfo memoryaccess battery backup sram m _ Explanation Retrieves information about the OS version CPU version SDK version etc Retrieves information about the DIP switch backplane ID and slot count Shows how to read write date values from to EEPROM Shows how to read or write to the battery backup Displays how the watchdog operate Shows how to enables disables Micro SD Shows how to read write date values from to registr Shows how to read the name of local I O modules via UART For C application these demo programs can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC DOTNET C NET Standard fto ftp icodas com pub cd winpac napdos wp 8x4x ce50 demo winpac dotnet C9623 net stand MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 116 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 2 Demo program for PAC IO The table below describes the MP 570W demos that have been designed to demonstrate the expansion I O module features of the MP 570W Local
45. pe mom PFogamz execute Apc M C MEER BENBNNEKN 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 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 65 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Multi Serial Port Wizard Tab The Multi serial port provides functions for installation of the RS 232 RS 422 RS 485 communication module driver The table below shows the expansion RS 232 RS 422 RS 485 communication modules that are compatible with the MP 570W Item RS 232 RS 422 RS 485 Isolation Connector M8U2W 2 2500Vms DB9x2 4 0897 tanaw ja 2500Vms DB37x1 K8142W 2 2500 5 Terminator block x 1 M8144W 4 2500Vrms Terminator blockx1 _ The MP 570W can be expanded to support up to 16 I O modules For more detailed information about these support modules please refer to htto www icodas com products Remote_ lIO i 8ke selection rs232 i8k htm ViewPAG Utility 2 0 2 1 File Helo Configuration System information auto Execution Multeserial port wizard Key property System Memory Setting 10 x Driver enabled 69 Driver disabled Install driver to 8112 81 14 8142 8144 series modules USE MSA MSBx sig Fuse coms
46. that have been designed to demonstrate the particular features of the MP 570W Backlight Buzzer Beep LED MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 120 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation Shows how to make a simple buzzer beep KeyPad KeyPad Shows how the KeyPad operates Shows how to control the LCD LCDBackLight LCDBackLight backlight Led Shows how to control the LEDs shows how to control the PlaySound PlaySound microphone in and earphone out For C application these demo programs can be obtained from CD Napdos vp 2000_ce50 Demo ViewPAC DotNE T C NET fto ftp icodas com pub cd winpac napdos vp 2000 ce50 demo viewpac dotnet 23 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 121 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 Demo Programs with eMbedded Visual Examples are good way to understand the MP 570W SDKs The table below describes MP 570W demos and covers most of the common usages of each MP 570W API for using eMbedded Visual C MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 122 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 1 eVC Demo program for WinPAC Standard The table below describes the MP 570W demo
47. trl FS met Active Configuration Configurations met Active Platform Step 2 Open the web browser and type the IP address to connect the FTP server of MP 570W Step 3 Upload the SDKinfo exe application to the MP 570W via the MP 570W FTP server File Edit View Go Step 4 On the MP 570W execute 2 xi C the uploaded file 52 4 4 40 44 454 44 Check the SDK version TODO Place dialog controls here MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 113 Copyright 2012 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 MP 570W You can examine the demo source code which includes numerous comments to familiarize yourself with the MP 570W APIs This will allow developing your own applications quickly by modifying these demo programs The following details the contents of the MP 570W demo programs MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 114 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 Demo programs with CZ The table below describes the MP 570W demos that have been designed to demonstrate the standard operation features of the MP 570W 5 1 1 C Demo program for WinPAC Standard API The table below describes the MP 570W demos that have been designed to demonstrate the standard
48. 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 otep 4 Push the OK button then the Save As dialog box will appear prompting you to select a location where you want to save this exported file Warning The export operation will export all the sub keys of the specific key which you input Store All Registry stores all registry setting to flash from das file which MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 55 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com menu commands Use to Setting is saved by Dump All Registry Setting How to use 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 which 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 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 56 Copyright 2012 ICP DAS Co Ltd All Rights Reserved
49. version 1 0 1 Last Revised August 2012 Page 189 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 3 2 Modify vcp file to upgrade the old WinCon project Step 1 Open a text editor to modify the vcp file Step 2 In the vcp file replace 0xa301 with 501 Step 3 In the vcp file replace ARMV4 with ARMVAI Step 4 In the vcp file replace MACHINE ARM with MACHINE THUMB Step 5 Save the vcp file just edited Step 6 Open the old WinCon project and recompile it MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 190 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 How to use the printer MP 570W have ability to access the printer you can connect to the printer via Ethernet network or USB Tips amp Warnings MP 570W only supports HP Laser Jet Printers which N support PCL6 driver The following printer support is released by HP e HP LaserJet 4000 series HP LaserJet 4100 series e HP LaserJet 2100 series HP LaserJet 2200 series e HP LaserJet 1200 e HP LaserJet 3200 HP LaserJet 3300 e HP LaserJet 4200 series HP LaserJet 4300 series e HP LaserJet 5000 series HP LaserJet 5100 series e HP LaserJet 8000 series e HP LaserJet 9000 series printers If you need the latest support of HP PCL6 printer you can refer to following link http n20000 wwwe hp com bizsupport T echSupport Docu ment jsp o
50. 1 tette 47 a deae deed 48 49 50 BO 51 Ste MEUS MEET 52 9 02 gt oF 4 Your First MP 570W Program 69 4 1 Preparing the Development 70 4 2 MP 570W 70 4 3 Understanding the MP 570W 71 2 3 1 MP3570VV SDK OVOPVIGW Du 72 32 76 4 4 Your First Pr gram IN 78 4 4 1 Create a new 79 4 4 2 Add project reference for an 81 4 4 3 Design and Build an application 82 4 4 4 Execute the application on the 570 86 Z5 XOU First Programit IN Vo ING cas 88 as 89 4 5 2 Add project reference for an 91 4 5 3 Design and Build an application 92 4 5 4 Ex
51. 1 11 pac Rebont 1 12 pac BackwardCompatible E Table of Contents jJ Preface Overview af the WinPacsDpk E 1 System Information Functions 1 1 pac_GetModuleName E 1 2 pac GetRotarvID 1 3 pac EnableLED 1 4 pac GetSerialMumber 1 5 pac_GetlPuVersion 1 6 pac_Getosersion 1 7 pac GetEbootversion 1 8 pac_GetsDk version IK 1 9 pac_GetMacAddress 1 10 pac Changeslnt 1 11 pac Rebont 1 13 pac_GetlomMapping 1 12 pac_BackwardCompatible Backplane Access API 1 13 pac_GetlomMapping Interrupt APT 2 Backplane Access Interrupt Memory Access E 4 Memory Access API Watchdog Functions 5 Watchdog Functions MicroSD Management 7 Registry Registy API UART API 9 PAC IO API AFI 17 or Handing 2 IO um um um um um um um MicraSD Management MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 76 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Y ViewPAC Particular Manual ae Table of Contents ps ViewPAC Particular API manual V1 0 1 pdf Adobe Acroba BRE RR ZH 380 LAD germ blamer Gar Grey E Preface oc 3 t 3 ue e nm 1 pac GetVIEWSDK version 2 SetBackLight AS 3 pac BuzzerBeep T
52. 50 sdk viewpacnet Add Reference ViewPacNet dll Component Files olb exe MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 91 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 3 Design and Build an application program Step 1 Add a Button button object in the From1 dialog box Step 2 Right click the button object and click the Properties command Form vb Design Start Page 52 View Code Lock Controls MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 92 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 On the Properties window type Check the SDK version in the Text edit box BackColor Control Font Tahoma 1 pt FareCalor Control Text Check the SDK version E Behavior The text contamed the control Step 4 In the Form1 dialog box double click the button object to open the editor window MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 93 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Insert the following code in the Editor Window 1 Imports ViewPacNet 2 MessageBox ViewPacNet pac GetOSVersion SageBox Show UiewPRE End Sub End Class
53. 74 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 1 2 ViewPAC Particular Backlight Buzzer LED e Backlight Functions Provides reference information for the backlight e Buzzer Beep Functions Provides reference information for the buzzer e LED Functions Provides reference information for the LED MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 75 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 2 MP 570W SDK Reference For full usage information regarding the description prototype and the arguments of the functions please refer to the WinPAC Standard API Manual and ViewPAC Particular API Manual located at CD Napdos vp 2000_ce50 Document SDK_Document fto ftp icodas com pub cd winpac napdos vp 2000 ce50 document sdk document v WinPAC Standard Manual M ME KI Table af Contents WinPAC Standard Y1 9 1 pdf Adobe Acrobat Pro KI Preface E 2 4 Be Overview of the winPacsDK ger ilete Qar BE 1 9 tp iz kO System Information Functions 1 1 pac_GetMioduleName 1 2 GetREatarvID 1 3 pac EnableLED 1 4 pac_GetSerialNumber 1 5 pac Get PU ersion 1 6 pac_GetosVersion 1 7 pac GetEbontversion 1 8 pac GetSDk version 1 89 pac GethlacAddress 1 10 pac ChangeSlat
54. A u 005 008 006 00 640 00 GND DO GND E 00 PAR hel DO GND 1 06 DO PWR 06 DO PWR 09 DO GND DO GND Tips amp Warnings T It is recommended that the power to the MP 570W is switched off when wring the I O module which are plugging in the MP 570W slots MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 23 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 4 Mounting the Waterproof The MP 570W is equipped with an IP65 waterproof connector to withstand contaminant in dusty environment and immersion in water and corrosive elements Step 1 Step 2 ow o8 Step 3 5 O Step 5 O S tep 7 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 24 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 13 Step 15 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 25 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 5 Mounting the MP 570W The MP 570W can be mounted on a panel of Panel thickness up to 12 mm maximum thickness 12 mm Adequate access space can be available at the rear of the instrument panel for wiring and servicing purposes Tips amp Wa
55. E with the following cmd line CEMGRC EXE S T TCPIPC OLL 20 10 0 3 52 5000 Cancel Step 7 On the MP 570W controller side select the Start menu and then click the Run command MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 169 Copyright 2012 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 5 and then click the button r 3 n 1 My Device fal Jo the name a program E saiya eyed or document and Win D it for you 2 2 Open VVC I Internet Microsoft emus Explorer Mies tcpipc dll d 10 0 9 52 5000 My Documents Step 9 Return to the Host PC side on the Manual Server Action dialog click the button Manual Server Action Please make sure the following files are on the device WIND DWwS SE pip di S Seemgrc ese WIND WS Sscetlstub dll And launch with the following cmd line CEMGRC EXE 25 T TCRIPC OLL 24 0 10 0 3 52 5000 Cancel MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 170 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 10 On the Testing Device Connection dialog click the OK button
56. Files 2 Port LPT1 Close Cti 3 Paper Size Select the paper size File Edit View Format Tools or amp Tahom w i4 Test rint Printer Hewlett Packard Laser Print Range Orientation p v All 3 Portrait Selection Landscape Met Path z Margins inches _ Draft 1 25 B Color Right 1 25 Bottom 1 Paper Size 4 Advanced MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 194 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 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 the name of a program folder or document and Windows will open it for you Open v MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 195 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 List all services Syntax services list File Edit Help Pocket CHD x 5 0 0 00030110 IP OxO0031570 OxO0032Z070 01 0 00035790 x n se ebz x n037770 ax dggs37ac OxOO00se3e0 TPO 211 Punnindg HTTPD DLL Punnindgq dll Punninc HSH D Dll Ort OBEXSrYr dll FTPD DllI IPunnirncdgq TIELNETD DllI Punnindg smbzerwver dl
57. MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 117 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation ET types which plugged in the MP 570W Shows how to read the DI values of DI module 8k di This demo program is used by 8K series DI modules Shows how to write the DO values to DO module 8ak do This demo program is used by 8K series DO modules Shows how to read the DI and the DO values of the DIO module dio This demo program is used by 8K series DIO modules Shows how to send receive a command response application This demo program is used by 87K series modules Shows how use UART API and the IO modules 37K demo located as slots This demo program is used by 87K series modules Shows how to read the values of Al module 87k ai This demo program is used by 87K series modules Shows how to write the AO values to AO module 87 ao This demo program is used by 87K series AO modules Shows how to read the DI values of DI module 87k di This demo program is used by 87K series 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 This demo program is used by 87K series DIO modules 87k dio MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 118 Copyrigh
58. Utility The DCON Utility can be obtained from CD Napdos vp 2000_ce50 PC_Tools DCON_ Utility http ftp icpdas com pub cd winpac napdos vp 2000 ce50 pc tools dcon utility MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 38 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Click the WIN CE button DCON UTILITY VER521 select COM Port option then search modules COM Port Search Run Terminal Language Help Start 0 End 255 Address range 07255 module Address Baudrate Che wm format Status Description eu Click the WIN CE button Searching Status CoMPot coMd1 Address 00 dec O hex Baudrate 9500 Party None DetaBt f 8 Stop Bit Step 4 On the WINCE device connection enter the IP address of the MP 570W to search the I 87K series expansion I O modules WINCE device Connection WinCon 8000 DCON CE V21X WinPAC 8000 WinCon 8000 V20X Please confirm Model before connect to COMO Backplane COM Port cC COM2 RS 485 About download DCON CE 5 for WinPAC please refrer to ftp ftp icpdas com pub cd winpac napdos wp 8x4x 50 stem disk tools dcon ce MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 39 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail
59. ViewPAC Series for MP 570W User Manual Version 1 0 8 August 2012 service and usage information for Written by Mac Cho Edited by Anna Huang Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year beginning from the date of delivery to the original purchaser Warning ICP DAS assumes no liability for any damage resulting from the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use not for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2012 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 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 2 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Table of Contents Table of Contents 0 11 2 2 3 IPs me 7 1 1 e E E E 8 EEEE E 10 unco
60. able of Contents Preface 4 pac StopBuzzer pac Ge ersion SetBuzzerFredqputy pac_GeBuzzerFreqDuty 3 2 pac SetBackLight KI 7 pac EnablevPLed E pac BuzzerBeep 4 pac StopBuzzer E 5 pac SetBuzzerFreaqDuty f 6 GetBuzzerFregDuty 3 7 pac EnableVvPLed MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 77 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 Your First Program in CZ 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 MP 570W All main steps will be described in the following subsection MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 78 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 1 Create new project Step 1 Start the Visual Studio 2005 Step 2 On the File menu select the New command and then click the Project command File Edit View Tools Window Community Help Web Site File CthHN Project From Existing Code save All Ctrl Shift S Recent Files Recent Projects b Exit MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 79 Copyright
61. are OS Net Compact Framework Windows CE NET 5 0 2 0 Embedded Service FTP server Web server supports VB script JAVA script Embedded SQL server DII for eVC DII for Visual Studio Net 2005 2008 SDK Provided CPU PXA270 or compatible 32 bit and 520 MHz 512 KB for 5 years data retention Flash 96 MB 64 MB for OS image 31 MB for S built in Flash disk 1 MB for registry EEPROM 16 KB data retention 40 years 1 000 000 MEM erase write cycles microSD socket with one 1 GB microSD card support up to 16 GB microSDHC card Provide seconds minutes hours date of week RTC Real Time Clock month month and year valid from 1980 to 2079 64 bit Hardware Serial Number Yes Dual Watchdog Timer Yes 0 8 second Rotary Switch Yes 0 9 I O Expansion Slots Slot Number for high profile and I 87K modules only Hot Swap Will be available Yes for high profile 87K modules only Communication Interface Ethernet Port RJ45 1 10 100 Base TX Auto negotiating Auto MDI MDIX LED indicators MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 10 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Internal communication with the high profile 2 RS 485 02 D2 self tuner ASIC inside RS 232 RxD TxD CTS RTS DSR DTR MEM CD RI and GND Non isolated LCD 5 7 TFT Resolution 640 x 480
62. bjectID bpl04568 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 191 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 4 1 How to use network printer To use a shared network printer please perform the following steps Step 1 On the Host PC check the name of the Host PC and the shared printer System Properties Suge Ale utamatie peste Remote Hardware Advanced a Windows Uses the following information to identify your computer on the network For example Kitchen Computer ar Mary s Computer Full computer name Serer ame Workgroup ILPOAS COM To use the Auto HP LaserJet 2200 RD1 on WIHPAC Prom domain and cr ID General Sharing Ports Advanced Color Management Tarename T You can share this printer with other users on your network enable sharing For this printer click Share this printer d Drivers IF this printer iz shared with users running different versions af Windows You may want to install additional drivers that the Users do not have to find the print driver when they connect to the shared printer Additional Drivers MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 192 Copyright 2012 ICP DAS Co Ltd
63. bus ASCII M 87K now For more detailed information on DCON Utility applications please refer to 2 7 Using Utility to configure the I O modules MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 47 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 2 CE5 aaa NAPOPC CES5 DA Server is a free DA Server The stands for OLE for Process Control and the DA stands for Data 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 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 integration and transformation and some conditional
64. ccess enable disable anonymous FTP access configure the FTP directory path change HTTP document root directory and maintain the FTP accounts ViewPACG Utility 2 0 2 1 fe System Setting Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial Users and Password FTP Enable Disable Allow Anonymous Enable Disable Allow Anonymous 8 Enable Disable Upload Change FTP default download directory Temp to Mem EJ MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 61 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Settings tab This tab provides functions to enable disable the FTP access enable disable anonymous FTP access and configure the FTP directory path ViewPAC Utility 2 0 2 1 File Helo Configuration System Setting Ethernet Setting Network Setting System Information Auto Execution Multi seriall gt Users and Password Enable Disable Allow Anonymous Enable Disable Allow Anonymous 2 Enable Disable Upload Change FTP default download directory Temp to Mem The tab use to How to use Enable or disable the Enable Select the Enable check box in the field Enable or disable Enable Select the Enable check box in the Allow anonymous FTP Anonymous field access Disable Select the Disable check box
65. e 0x00010000 fstack 0x10000 0 1000 fentry wYinkdainCRT Startup lincremental no pdb ARMVABRel Demo pdb MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 188 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 After performing above mentioned steps build the project your project should build success If not it will show error message as follow Please continue with the following steps Error executing link exe Demo exe 1error s 0 warning s Build Debug Find in Files 1 Find in Files 2 11 Ln 11 Col 17 REC COL READ Z Step 9 On the Project menu click Settings command m File Edit View Insert Project Build Tools Window Help set Actye Project d Add To Project d Dependencies Export Makefile Insert Project 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 Ed settings For General Debug CiC Link Resources M Win32 ARMY4l Release Caeni Genera Genera Hese Project Option c inadefaultlibz S CEMoDefaultLib fout ARMY AIBellDemono exe fsubsystem S CESubsystem kMACHINE THUMB r1 1 i MP 570W User Manual
66. ecute the application on the 570 95 4 6 Your First Program in eMbedded Visual 97 4 6 1 Create a new Forms Based 98 4 6 2 Configure compiler options 103 4 6 3 Specify the path for project reference 104 4 6 4 Design and Build an application program 108 4 6 5 Execute the application program on MP 570W 113 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 4 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 APIs and Demo References 114 5 1 Demo programs with 115 5 1 1 C Demo program for WinPAC Standard API 115 5 1 2 C Demo program for 2 2 20 2 117 5 1 3 C Demo program for MP 570W Particular 120 5 2 Demo Programs with eMbedded Visual 121 5 2 1 eVC Demo program for WinPAC Standard 123 5 2 2 eVC Demo program for 125 5 2 3 eVC Demo program for MP 570W Particular API
67. ed E mail service icpdas com Regional and Language 5 Language User Interface Language Step 2 Click User Interface Language tab choose to your local language and then click OK The option will determine the language used for the menus dialogs and alerts Step 3 Click OK and then run the ViewPAC_ Utility glich United States United States n France erman Germany Scalian Italy RUSSIAN Spanish Spain International Sort change request In order for the UI changes to take effect the device must be reset Please shutdown your applications and reset the device Step 4 Save and reboot the MP 570W Help Configuration Save Double Click the ViewPAC Utility Save and Reboot Reboot Without Save d File Server Settings Restore Default Settings C Disable Exit ble Disable Allow Anonymous Enable Disable Upload Change FTP default download directory Temp to Change document root directory windows www www pub to Sea MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 35 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 5 Testing the MP 570W ViewPAC combines WinPAC graphic display and keypad dial in one unit The ViewPAC QuickTest is a toolkit used to check out the Vie
68. er Manual version 1 0 1 Last Revised August 2012 Page 150 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Daisy Chain RS 485 Network All RS 485 devices are wired directly to the main network If the network is up to 1 2 km it will need a repeater 7510 series to extend the network length P mm 1 7520 1 7510 7510 RS 232 to RS 485 RS 485 Repeater RS 485 Repeater Converter l 7561 USB to RS 485 Converter MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 151 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Star RS 485 Network There are branches along the main network In this case it is better to have a repeater to isolate or filter the noise that is made by devices 1 7510 RS 485 Repeater 1 7510 RS 485 Repeater 7510 RS 485 Repeater 1 7520 RS 232 to RS 485 Converter EI m 4 a ppm ppm OT COT a lt MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 152 Copyright 2012 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 1 7513 RS 485 Hub 1 7520 RS 232 to RS 485 Converter MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 153 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpda
69. ersion 1 0 1 Last Revised August 2012 Page 110 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 Insert the following code into the Editor Window char SDK 32 TCHAR buf 32 GetVIEWSDKVersion SDK pac AnsiToWideString buf MessageBox buf NULL MB OK void CSDKinf Dlg nBtnChecksDE 4 TODO Add your control notification ha MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 111 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 Insert the include Viewpacsdk h include winpacsdk h into the header area ff SDKinfoDlg cpp implementation fiic if Hinclude stdafx h Hinclude SDKinfo h include SDpKinfoDlg h Hifdef _DEBUG fidefine new DEBUG HEU THIS FILE static char THIS FILE FILE Hendif ETIE Etid Pg E lg gg lg ly MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 112 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 5 Execute the application program MP 570W Step 1 On the Build menu click the Build systeminfo exe command Edit View Insert Project Build Tool Window Help d Compie sDEmtollgcpp Build SDEmto exe Rebuild Batch Build lean start Debug Update Remote Output File s Execute SUE into exe
70. ervice icpdas com The installation will perform the following tasks WP 8x4x Ver 1 2 1 0 WinPAC 8000 Update Step 1 Installed Boot Loader successful Step 2 Erase finished Step 3 Finished the installation Step 4 Finished the registry setting i Install Boot Loader file Important Warning Be careful if the boot loader broken off this step and cannot restart in safe mode you have to send it back to us li Erase flash disk iii Install OS image iv Set registry settings to default Tips amp Warnings A This step will reset the registry settings to default all of your before settings will lost MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 138 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 After completing the above mentioned tasks the Warning dialog will appear as follow after clicking button to finish updating OS image be sure the MP 570W at normal mode Position 0 Reboot this device right now Please turn the rotary swithc to 0 normal mode Step 8 Check the MP 570W OS version Start the ViewPAC Utility and then select the System Information tab to check the current 2 5 2 OS version Double Click the ViewPAC Utility ViewPAG Utility 2 0 2 1 File Help Configuration Module Type VP 25xx 96MB Flash Type System disk mtel 13 956 X 1 Flash
71. files C libraries and documents Below is a step by step procedure for installing the MP 570W SDKs Step 1 Insert the CD into your CD ROM drive Step 2 Execute the 270 SDK YYYYMMDD msi which is located in CD Napdos wp 8x4x_ce50 SDK Step 3 Follow the prompts until the installation is complete MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 70 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 Understanding the MP 570W APIs The MP 570W SDKs includes several application programming interfaces APIs that allows you perform various supporting tasks when developing MP 570W gt Requirements The MP 570W SDKs only supports NET Framework 2 0 or above gt Installation Path After installing the MP 570W 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 MP 570W SDKs Header files C Program Files Windows CE Toolswce500 PAC270McpdasMnclude ARMVAT Libraries C Program Files Windows CE Tools wce500 PAC270 Icpdas Lib ARMV41 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 71 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 1 MP 570W SDK Overview 4 3 1 1 WinPAC Standard API System Information Watchdog Backplane Access UART Registry J
72. gfFeld Steuerelem hier MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 108 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 In the SDKinfo dialog box right click the button object and then click the Properties command SDEinfo rc 100 SDEINFO DIALOG German Germany Dial 5 Copy L ERLED Dialagfeld Steuer R Fast Insert ActiveX Control size to Content GY Align Left Edges ri Align Top Ed ges EF Check Mnemonics N Class Wizard Events Pro 5 Step 4 the Check the SDK version in the Caption edit box and then click the close button Push Hutton Properties General Styles Extended Styles ID IIDC BUTTONI l Captio Check the SDK version Visible Group Disabled Tab stop MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 109 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 In the SDKinfo dialog box double Click the button object Check Ehe SOK version TODO Place dialog controls here Step 6 Type the OnBtnCheckSDK in the Member function name edit box and then click the OK button Add Member Function Member function name OnBtnCheckS Cancel Message CLICKED Object ID IDC BUTTON MP 570W User Manual v
73. grading system ViewPACG Utility 2 0 2 1 System Setting Ethernet Setting Network Setting System Information Auto Execution nS Module Type Flash Tvpe Svstem disk E hi e n em ES rn Flash Type OS 64 bit Serial Number 0S version 2 0 0 2 2010 11 18 17 10 30 Eboot Version 1 1 0 3 2010 08 13 15 29 02 Backplane Version CPU Version WINPACSDE Version WinPacMet Yersion Framework version SOL CE Version oo mo fe 5 gt E rm llalla p MS p e ed gt ST 2 Ca T Ca T ih MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 64 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Auto Execution Tab The Auto Execute tab provides functions to configure programs running at MP 570W startup it allows users to configure ten execute files at most Tips amp Warnings The allowed file types are and bat and they are executed order of program 1 program 2 etc ViewPACG Utility 2 0 2 1 PRIBIIES Auto Execution Multi serial port wizard Key property System Memory Setting 4 Program 1 System DiskxSnmplltility exe Program 3 eee At most 10 programs can be 9 Browse
74. if the program still can t be compiled to an application the part 2 just need to do MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 185 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 3 1 Compiler old programs which ran Wincon 8x3x 8x4x Step 1 Open project which programmed in WinCon using eMbedded Visual Step 2 On the Build menu click Configurations command Edit View Insert Project Build Layout Tools Window Help Compil Build HELLO exe Rebuild Batch Build Clean start Debus Update Remote Output File s Execute HELLO exe 5 set Active Confienratian Configurations oet Active Platform Step 3 Make sure the CPU type is STANDARDSDK EM Demo Microsoft eMbedded Visual DemoDlg Seles File Edit View Insert Project Build Tool Window Help sud 2 Mae CDemoDig members x Ry Win32 WCE ARMV4 Release STANDARDSDK 420 Emulator a xl TCHAR tenp 28 stopstring Float AO 4 Demo resources int 3 BETES m 800 GetWindowText temp 28 Bet NCC CODE Eep amp stopstring MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 186 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E ma
75. il service icpdas com Step 4 On the Configurations dialog click the Add button Confizuratons Projects and E 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 Confizuraton CPU win32 ACE ARMY AI Copy settings from Default Debug Configuration 7 Contiguration Release The new contiguration will be called Demo fing2 CE ARMY4l Release MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 187 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 On the Project menu click Settings command File Edit View Insert Project Bvid Tool Window Help set Actree Project k Add To Project k Dependencies 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 Resources M Winse CE Release E cago eset Base address Entry point symbol 0 0001 0000 wWinMainCRTStartup Stack allocations Heserve Commit ox 0000 01000 Version information Major Minor Project Options UARTCE 1b I7000CE lib fnologo fhbas
76. in the Allow Anonymous field Enable or disable Enable Select the Enable check box in the Allow anonymous FTP Anonymous Upload field upload Disable Select the Disable check box in the Allow Anonymous Upload field Change the FTP Enter a new path in the Change FTP default download directory path directory field and then press the Setting button MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 62 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Users and Password tab This tab provides functions to maintain the FTP accounts ViewPAC Utility 2 0 2 1 PRIBIIES File Help Configuration System Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial gt FTP Setting Users and Password name Password User name Password Note The accounts is used to login the servers search as Telnet FTP WebServer etc on The tab use to How to use Maintain the Refer to the Appendix C 1 How to add a user account to FTP accounts remote login the MP 570W from PC MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 63 Copyright 2012 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 The system information is the most important note of version control for up
77. ing using System Text using System Windous Forms using UiewPRCHet namespace SDKinfo i public partial class Formi Form i public Forml i InitializeComponent f f Step 6 In the Form1 dialog box double click the button object to open the editor window MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 84 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 Insert the following code in the Editor Window MessageBox Show pac GetVIEWSDKVersion E namespace s3Dkinf i public partial class Formi Form 4 public Formi 4 Initializetomponent private void buttoni Click object sender EventArgs e anu ana nane Box Show UiewPHo pac Ge L patc MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 85 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 4 4 Execute the application on the MP 570W Step 1 On the Build menu click the Build Solution command Build Debug Data Tools Window Community _ Rebuild Solution Deploy Solution Clean Solution 5 Build systeminfo Shift F6 Rebuild systeminfo Deploy systeminfo Clean systeminfo Batch Build File Edit View Refactor Project Configuration Manager Step 2 Open the web browser and type the IP address to connect the FTP server of MP 570W Ste
78. l Bunning timezswvo dll Inuinni Step 3 Type the commands to configure service Syntax services stop services name For example turn on the FTP service services stop FTPO File Edit Help ket CHD x 5 0 services list 000030110 NOTIFY Dll Bunning HT FPO x g03157 0 HTITPDP DLL Bunning OxOO0O032Z070 credsvc_dll Bunning OxOO00367390 HSH D Dl1l Off 4 11 0037 11 Running 0 000323 0 smbzerwver dll Bunning NT PO timesvc dll Running MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 196 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings For more information about using services tool you just type services help File Edit Help help print this text list lists loaded services load zerwvice name gt activates service that is stop zervice instance gt stops pauses a service idc start service instance gt startz resumes servic refresh zzervice instance gt causes service to ref unload zervice instance causes service to he wv register czervice name gt service will automati eboot unregister service name gt service will not be au ext reboot command service name gt argl argz send serv Service help zservice name g
79. led via a program ON Green The OS is on defragmented State Color Meaning MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 13 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 LCM The LCM size is 5 7 640 x 480 3 Keypad The F1 F6 function keys are programmed by the user 4 Micro SD Socket The MP 570W also contains a Micro SD socket that can be used to increase memory capacity to 16 GB 5 Rotary Switch 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 MP 570W For more information about the operating mode please refer to section 2 3 Configuring the Boot Mode 6 Expansion Slots The MP 570W contains three expansion slots that are used to serve in the local and remote expansion 10 30 VDC 7 Power Input and Frame Ground The MP 570W contains power terminal that is used to provide power for its operation The terminal block contains 3 pins and the pin assignments are as follows Powerlnput Frame Ground MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 14 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 8 Waterproof Ethernet Port The MP 570W contains an Ethernet port that is waterproof to protect the device from external contaminan
80. llation configuration and application Software Features gt Windows CE Net 5 0 Inside gt Easy Remote Maintenance via Ethernet 1 FTP Server 2 VCEP Software gt Built In OPC Server NAPOPC CE5 1 An OPC Server for SCADA Software 2 Integrates Local Remote I O Modules via RS 232 485 or Ethernet 3 Provides Library for eVC C or VB NET 4 Supports Modbus and DCON Protocols gt Development Software Visual Studio NET 2005 2008 and eVC gt SDK Demo Programs for C VB NET amp MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 8 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Hardware Features PXA 270 CPU 32 bit amp 520 MHz IP65 Compliant Front Panel 5 7 TFT LCD 5 7 LCD is with Touch Panel Rubber Keypad with 24 6 Keys Audio with MIC In and Line Out 64 bit Hardware Serial Number for Software Protection 3 Slots for High Profile Modules Y Rich I O Expansion Ability 1 Ethernet 2 RS 232 422 485 3 FRnet 4 CAN bus Dual Battery Backup SRAM 512 KB One Ethernet Port 2 Serial Ports RS 232 RS 485 20 70 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 9 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 2 Specifications The table below summarizes the specifications System Softw
81. low describes the MP 570W demos that have been designed to demonstrate the particular features of the MP 570W Backlight Buzzer Beep LED b L C UAM ESTE we 134 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 128 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation Shows how to make a simple buzzer beep KeyPad KeyPad Shows how the KeyPad operate Shows how to control the LCD LCDBackLight LCDBackLight backlight Led Shows how to control the LEDs shows how to control the PlaySound PlaySound microphone in and earphone out For eVC application these demo programs can be obtained from CD Napdos vp 2000_ce50 Demo ViewPAC eVC MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 129 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 MP 570W Updates This chapter provides instructions on how to upgrade MP 570W OS and SDK ICP DAS will continue to add additional features to MP 570W SDK and OS in the future so we advise you to periodically check the ICP DAS web site for the latest updates MP 570W updates services can be divided into the following two main categories CD Napdos vp 2000 ce50 gt 1 05 updates os image vp 25w1 5 2 SDK updates ViewPacNet
82. mail service icpdas com 4 6 Your First Program eMbedded Visual To create a demo program with eMbedded Visual development tool includes the following main steps 1 Create a new Forms Based project 2 Configure compiler options 3 Design and Build an application program 4 Execute the application on the MP 570W All main steps will be described in the following subsection MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 97 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 1 Create new Forms Based project Step 1 Start the Microsoft Embedded Visual Step 2 From the File menu click the command Eie Edit View Insert Project Build Tools Window Help pen Conn gt CtihO 3 iD n gt Ne rksn Project name lt Marker i c7 07 WCE Dynamic Link Library fg WCE Activex ControlWizard bed Save EE WCE MFC AppWizard 91 Location MFC App Wizard cAWINDOWS TOOLSACI X WCE Static Library Save ATI Create new workspace C Add current workspace gt Setup Dependency Recent Work v Win32 WCE ARMV4 er 7 ie Win32 WCE ARMVAI TWin32 WCE ARMV4T Exit Win32 WCE 51 6 wiIWin32 WCE MIPSII wiWin32 WCE MIPSII FP x ee MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 98
83. mote File Viewer WCE500 Remote Heap Walker WCE500 Remote Tracker WCE500 Remote Performance Monitor WCE500 Remote Process Viewer WCE500 Remote Registry Editor WCESOQ P gt Remote Spy WCESOQ A Remote System Information WCE500 Remote Zoomin WCE500 Select Remote Tools Customize Options bw Macro Record Quick Macro Ctrl Shift R Play Quick Macro Ctrl Shift P Configure Platform Manager MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 166 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 On the Windows CE Platform Manager Configuration dialog click the Properties button Windows Platform Manager Configuration select a platform or device to configure 270 Add Device 2 PACZTO Device Delete die SIANDARDSDE 420 Windows CE Default Platoon Step 3 On the Device Properties dialog click the Configure button Device Properties Device Name PACZTO Device select a transport and a startup server Choose Test to verify that you can establish a connection to your target device with the selected transport and startup server Transport Transport for Windows CE startup Server Manual Server Cancel Test MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 167 Copyright
84. ms Move slider to the right for more storage room Only unused RAM can be adjusted Storage Program Memory Memory Allocated 45394 Allocated 45384KB In Use 524 In Use 19704KE The tab use to How to use Adjust display Move the slider left to release more memory running programs or move the slider right to release more storage room and then press the Setting button MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 68 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 Your First MP 570W Program This chapter describes the components of the MP 570W SDK and provides step by step tutorial for developer that will teach you how to create your first MP 570W program Before writing your first program ensure that you have the necessary development tools and the corresponding MP 570W SDKs are installed on your system MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 69 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 1 Preparing the Development Tools There are several programming tools available for application developers targeting Windows CE based MP 570W One of the following tools must be installed on the Host PC Y Microsoft eMbedded Visual C Visual Basic net v Visual C 4 2 Installing MP 570W SDKs The MP 570W SDK is a Software Development Kit SDK that contains C header
85. n e AUS nelease Date e Language YYYY Year Software en English MM Month Major version Traditional Chinese DD Day Minor version sc Simplified Chinese Build number Reversion Step 2 Run the ESHELL software on the Host PC ESHELL ESHELL you can be obtained at CD Napdos wp 8x4x_ce50 PC_Tools Eshell MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 141 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Reboot the MP 570W at update OS mode Turn the rotary switch to 3 and then reboot the MP 570W F Position 3 Step 4 Select the device which you want to update the OS image After starting the ESHELL software the Select Device dialog will appear then select the device which you want select Device Enter Device M ame OK 44488 Cancel Or Select From the List Reset devices to automatically put names on the list MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 142 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Select the latest version of the OS image Fy Microsoft Windows CE Debug Shell 44498 WRdfsicd 2WinPACWnapdoswp 2000 50 05 imageWp 22wlvu X File Edit Tools Options View Help el 918 UP 44498 Bootloader Version 1 8 IP 18 1 8 58 MAC 88881F8160DD2 Downloading
86. n32 CE MIPSIV FP Debug in32 MIPSIV FP Release in32 SHA Debug Inge MYCE Release MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 103 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 6 3 Specify the path for project reference Step 1 Click the Options command from the Tools menu File Edit View Insert Project Bvid Toole Window Help source Browser Error Lookup Remote Call Profiler WICESOO Remote File Viewer MICESOO Remote Heap Walker WICESDU Pa Remote Eernel Tracker Pa Remote Performance Monitor PC ES00 A5 Remote Process Viewer ONCESOD Remote Registry Editor WICESUD Remote WICESDU Remote system Information WE SOL Remote Zoomin WCESUD select Remote Tools k Customize Macro Record Quick Macro Ltt hift E Flay Quick Macro Configure Platform Manager MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 104 Copyright 2012 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 Download B Platform 270 S TANI Include files Directories CAProgram Files Windows CE
87. nstalled on the MP 570W controller some are available on PC Both the tools and utilities of the MP 570W side and PC side tools can be found separately on the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD Napdos vp 2000 ce50 System_Disk Tools _ ISQLW35 Modbus _ 5 Registry Viewer Remote_display_application TaskMgr VCEP ViewPAC Utility MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 44 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com e DCON CE With Host PC running the DCON Utility on the MP 570W 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 MP 570W e 5 NAPOPC CE5 is an integrated omnibus software package it allows user to quickly establish a DCS control system For more information about the CE5 please refer to 3 2 NAPOPC 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 MP 570W on a Host PC MP 570W User Manual version 1
88. nu File Edit View Insert Project Build Tool Window Help set Active Propect I Add To Project Alt Export Makefile Insert Project ito Workspace Step 5 In the Project Settings dialog box do the following in this order Project Settings Settings For MIDL Browse Info 1 ARMVAI Release Category Heset Output file name ARMVAIRel SDKinfo exe Generate debug info Ignore all default libraries Generate mapfile Project Options ViewPACSDK lib fnologo fbase 0x00010000 fstack 0x10000 0 1000 entry wSinMainCRTStartup lincremental no pdb ARMVAIBel S DKinfo pdb cancel MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 107 Copyright 2012 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 xl 3 amp 3 SDKinfo resources c3 Dialog E IDD SDKINFO DIALOG English U 5 J Icon Version ma ClassView Hesourceview amp Step 2 Add the button object in the SDKinfo dialog box ES SDKinfo IDD SDEINFO DIALOG German Germany Dial 6 E k HE a abl 7 BH 0 Eil Buttoni ZU ERLED Diala
89. nz CMAccept clientshut i amp utolniti AutoLoader Sleep WinconsDkK WTINMPAC PACES FACBDSU 4 pac i H IAR TCE TOOOCE Wincor DOMCE dlece400d OLECE400 mfcced Dd MFCCE400 cl an MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 181 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 12 On the Tools menu click Connect to Device command Edit View Project Debug Tools Window Community Help Gk Attach to Process Ctl alt al Connect to Device Ti Connect to Database al Connect to server L Code Snippets Manager Ctrl B Choose Toolbox Items Add in Manager Macros Create GUID LDiotfuscator Community Edition External Tools Device Emulator Manager Import and Export Settings Customize Step 13 On the Connect to Device dialog select 270 from Platform list and then click the Connect button Connect to Device To connect to physical device or launch an emulator mage select a platform then choose a device below MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 182 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 14 On the Tools menu click Connect to Device command Io CAYMAN AREHMVAI Release Connection succeeded
90. o MP 570W gt Onthe MP 570W you can download the installation package via an Ethernet connection gt On the host PC you can download the installation package to MP 570W via a USB storage device the removable Micro SD card or FTP server The latest version of the MP 570W OS image file can be obtained from CD ANapdosWwp 2000 50 5 image Wwp 25w1 update from file pdate from file MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 135 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 After execute the installation package the Warning dialog will display then click the OK button to start the update Warning instructions Step 4 On the main dialog click the Update Now button MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 136 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 On the main dialog click the Update Now button to start installation WP 8x4x Ver 1 2 1 0 mar mne p 41 7 m B B JFESESSCRE h 3 Tips amp Warnings Please never turn the MP 570W off during OS load Besides we recommend you turn off all other application before updating MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 137 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail s
91. ovides a convenient environment on the Desktop PC and allows you control your MP 570W remotely ICPDAS VCEP is composed of two main components The Server which runs on MP 570W The Client which runs on a Desktop PC Once a connection is established between the client and server initiated by the client the client will periodically send requests for screen updates and send mouse key click information to the server to simulate Each video frame is inter compressed against the previous frame and then intra compressed with a modified LZW scheme to minimize the amount of data transmitted from server to client For more detailed information on VCEP application please refer to http www icpdas com products PAC wincon 8000 wincon VirtualCE htm MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 50 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 5 ViewPAC Utility The ViewPAC Utility is a tool which is designed to quickly control and management the MP 570W ViewIAC Utility 2 07 2 1 File Help cerdg Welcome to use ViewPAC Utility This tool will help you to set ViewPAC Industrial Control Products Ss Data Acquisition System Batteryl OK Task Bar Setting d Auto Hide Always On Battery2 OK Empty Desktop Change HTTP document root directory windows wa pb to windows vin wy Ub Configure the synchronization with time server
92. p 3 Upload the SDKinfo exe application and the corresponding ViewPacNet dll file to the MP 570W via the MP 570W FTP server MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 86 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings framework when executing these application on the MP 570W controller the corresponding ViewPacNet dll file must be in the same directory as the exe file Xi Ee GDKinfo ViewPacMet A For applications programming in C and VB net with net Step 4 On the MP 570W execute the uploaded file MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 87 Copyright 2012 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 project reference for an application 3 Design and Build an application program 4 Execute the application on the MP 570W All main steps will be described in the following subsection MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 88 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 5 1 Create new project Step 1 Start the Visual Studio 2005 Step 2 On the File menu select the New command and then click the Project
93. p utility Eboot and OS EEPROM Registry SRAM S1ZK System_Disk All Micro SD folder in Micro SD Backup information Step 3 Select the options that you 3 15 2012 4 32 15 PM want to backup enter text Language English annotations and then click 64 bit Searial Nunber 201 77 D5 AD 13 00 00 36 OS Yersion 2 0 0 2 the Start backup button CPU Version 1 0 32 0 BP Version 1 0 10 0 address 00 00 E0 30 18 62 Annotation Enter your annotation MP 570W User Manual version 1 0 1 Last Revised August 2012 41 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Confirm the backup options and then click Yes button Total number of backup items 6 Are vou sure vou want to backup there items Eboot and OSiNeed 32MB of space Registry EEPORM SRAM vlicroSD folder svstem Disk Meed 10MB of space Browse for Folder Device Network System Disk e Recycled Application Data ven Documents Program Files profiles Step 5 Choose the folder that you want to save backup file and click the Ok button Step 6 Wait for process to finish Compressing the OS and eboot file need 2 min Compressing Svstem Disk need 1 minutes Compressing the backup file VJSB Disk Backup 2010 04 06 11 06 zip Compression is finish Backuping is finish MP 570W User Manual version 1 0
94. r account Here are step by step instructions on how to add a user account Step 1 Run the ViewPAC Utility Step 2 On the Network tab click Login tab type the User Name and Password and then click Add button ViewPACG Utility 2 0 2 1 System Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial 4 gt FTP Setting Users and Password User name Password User name Password Note The accounts is used to login the servers search as Telnet FTP Webserver etc on MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 160 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 The user has been added to the allowed under the remote login and included in the following list ViewPACG Utility 2 0 2 1 System Setting Ethernet Setting Network Setting System Information Auto Execution Multi serial gt FTP Setting Users and Password User name Password Username Password Note The accounts is used to login servers search as Telnet FTP WebServer etc on WinPAC Step 4 On the File menu click Save and Reboot for changes to take effect ViewIAC Utility 2 0 2 1 Reboot Without Save Restore Default Settings Exit oe m The accounts is used to login the servers search as Telnet FTP WebServer etc an WinPAc
95. re than 60 types of are supported ViewPAC is an innovative product by ICP DAS It is a PAC which combines display operation and control in one unit ViewPAC provides perfect solutions to integrate HMI data acquisition and control in one PAC It overthrows traditional image that 5 and controllers are working separately and solves many communication problems between HMls and controllers In the development history of ICP DAS ViewPAC family sets a milestone ViewPAC family provides two CPU types 270 80186 OS solutions WinCE 5 0 MiniOS7 and several software development toolkits C V8 NET ISaGRAF InduSoft for chosen and all of them are featured same stability and flexibility as ICP DAS s PAC family This makes ViewPAC has a good potential to apply to factory automation building automation machine automation manufacturing management environment monitoring etc It overthrows traditional architectures of HMI PLC or and let users has more and flexible options to configure their automation system MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 7 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 1 Features MP 570W offers the most comprehensive configuration and remote system upgrade solutions to meet specific application requirements The following list shows the hardware and software features designed to simplify insta
96. rnings To ensure proper ventilation for your MP 570W leave a minimum of 50mm space between the top and bottom edges of the MP 570W and the enclosure panels 4 53 0 Step 1 Prepare the panel and cut the hole to the specified size Step 2 Attach the MP 570W to the cut out hole M MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 26 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Insert the panel mounting clips into the upper and lower ventilation holes Step 4 Screw the panel mounting clips to the panel MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 27 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 6 Deploying a Basic MP 570W Application The MP 570W provides a variety of communication interface to suit a range of applications Here is a simple application for using the MP 570W that is shown below Step 1 Connect the positive terminal of the power supply to the terminal PWR and the negative terminal of the power supply to the P GND Tips amp Warnings AN The input range of power supply is 10 30 Vpc Step 2 Connect PC to the Ethernet port Step 3 Connect the USB keyboard to the USB port Step 4 Connect the audio to the microphone and earphone jack Power Supply 10 30 5 GND Host PC MP
97. s and serial bus type high profile I 87K series The difference between them is Item I 8K Series l 87K Series ooN Counter input for digital input module 235555 Yes 100 Hz Powronvdue 0024000 Yes Programmable stew rate for AO module MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 148 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix B Application of 5 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 B 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 Tips amp Warnings If PC Laptop has no COM port you can use the 7561 USB to RS 485 converter for connection between MP 570W and PC Laptop Before using the 7561 converter you must install the USB driver The USB driver can be obtained from ftp ftp icodas com pub cd 8000cd napdos 000 756x MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 149 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 7520 RS 232 to RS 485 Converter or 1 7561 USB to RS 485 Converter MP 570W Us
98. s com B 4 Random RS 485 Network There are branches along the main wire In this case it is better to have a repeater to isolate or filter the noise that is made by devices cooper rete TAA Aspe RSS 2 1 7510 aby zd to RS 485 RS 485 Repeater Converter 1 7510 RS 485 Repeater I 7561 1 USB to RS 485 2 Converter um MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 154 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com B 5 Master Slaves Settings There must be exist one master to have a jumper in the same network In a master slave application Master is the default configuration of MP 570W B 5 1 MP 570W as a Master default When one of MP 570W is set to the master mode then all the other devices on the same network must be set to the slave mode oet MP 570W to the master mode by adjusting the jumpers on the power board of MP 570W Refer to the following figure MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 155 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 7510 l 7510 RS 485 Repeater RS 485 Repeater Slave Mode MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 156 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 MP 570W as Slave oet MP 570W to the slave mode
99. s that have been designed to demonstrate the standard operation features of the MP 570W System Information Watchdog Backplane Access UART Interrupt Registry Memory Access Micro SD System Operation MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 123 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation Retrieves information about the system systeminfo OS version CPU version SDK version etc Retrieves information about the backplane backplaneinfo DIP switch backplane ID and slot count Shows how to read write date memory values from to EEPROM memoryaccess Shows how to read or write to battery backup sram the battery backup Displays how the watchdo watchdog watchdog PEU 2 operate Shows how to enables disables microsd microsd management Micro SD Shows how to read write date registry registry values from to registry UART Shows how to read of local I O modules via UART For eVC application these demo programs can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC eVC Standard ndard MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 124 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 2 eVC Demo program for PAC IO API The table below describes the MP 570W demos that have been designed to demons
100. service icpdas com Step 5 It will display a list of 87 series expansion I O modules then select the module name that you want to configure UTILITY VER 521 searching modules ou Pot Search Run Terminal Language Help 115200 Disable 8 WinP4C8000 System DCON 115200 Disable Parallel bus module or None 115200 Disable Parallel bus module or None 115200 Disable Parallel bus module or None 115200 Disable Parallel bus module or None 115200 Disable Parallel bus module or None 115200 Disable Parallel bus module or None 115200 Disable Parallel bus module or None 115200 Disable Parallel bus module or None Searching Status TCPAP Address 10 1 0 38 Address 01 1 hex Baudrate 9500 Parity None Data Bit Stop Bit E MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 40 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 8 Using Backup Utility to Backup the settings and files After saving the configuration settings for a MP 570W device following the first use it is recommended to use the backup utility to back up all the settings and files Step 1 Run the backup utility on the MP 570W The backup utility is located at Disk Tools Backup utility Step 2 Click the Backup menu Bezkop Wun 1 0 0 5 E Backup Restore JHelp CEN af Run the backu
101. sktop Select a display resolution from the Resolution list Lock or Auto Hide the taskbar Auto Hide Select the Auto Hide check box Lock Select the Always On Top check box Check the status of the battery See the Battery1 and Battery2 field that displays the battery status Change the HTTP directory path Enter a new path in the Change HTTP document root directory windows www wwwsub to field and then press the Setting button MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 58 Copyright 2012 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 YiewPAG Utility 2 0 7 1 File Help Configuration System seting Ethernet Seting auto Execution Mut serial lt 1 P MAC Address 1 0 00 0 30 05 LAN 11 Address Setting Assign IP address IP Address 10 1 0 45 Mask 255 255 0 0 Gateway 10 1 0 254 DAS Server 10 0 0 3 Enable 8135 Module The tab use to How to use Configure the network Obtaining an IP address automatically from DHCP settings select the Use DHCP to get IP address option and then press the Setting button Manually assign
102. t 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Mode This mode is the same as Normal mode Besides will be run automatically after booting Tips amp Warnings VCEP exe must be placed on the V System Disk Tools VCEP or else VCEP exe cannot be run automatically after booting User Mode Rotary switch position 7 8 9 are reserved for user s applications When MP 570W 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 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 33 E mail service icpdas com Copyright 2012 ICP DAS Co Ltd All Rights Reserved 2 4 Changing the User Interface Language The Regional Settings is a Windows CE functionality that allows users to easily change the MP 570W user interface to your native language Step 1 Click Start menu point to Settings click Control Panel and then click Regional Options settings Control Panel 2 Network and Dial up Connecti Regional Settings Regional and Language S Inout User Interface Language The option will determine the language used for the menus dialogs and alerts MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 34 Copyright 2012 ICP DAS Co Ltd All Rights Reserv
103. t 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation Shows how to send receive a command response 7k87k_basi application This demo program is used by 7K or 87K series Al modules which connected through a COM port shows how to read the Al values of Al module 7k87k ai This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the AO values to AO module 7 87 ao This demo program is used by 7K or 87K series Al modules which connected through a COM port 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 7 87 do This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI and the DO values of he DI dule eee This demo program is used by 7K or 87K series E Al modules which connected through a COM port For C application these demo programs can be obtained from CD Napdos wp 8x4x_ce50 Demo WinPAC DOTNET C NET PAC_IO C 23 net pac_io MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 119 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 3 Demo program for MP 570W Particular The table below describes the MP 570W demos
104. t get information on what serv are supported lt name gt service s name in the registry service instance gt particular instantiation 11 file name gt s silent d output to debugger MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 197 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix D Revision History Revision Date Description MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 198 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
105. t A Add ExistmglItem shaft Alta Exclude From Project cH Show Al Files Add Reference Add Web Reference pet as Stati p Project Change Target Platform System nfo Properties MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 177 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 On the tab unselect Deploy the latest version of the NET compact Framework includeing Service Packs check box SystemInfo Forml cs Forml cs Design Object Browser Application Configuration Platform N Build Deployment Options Build Events dod eu Target device Debug CAYMAN ARMVAI Release Output file folder 7522000 SCSIDL PROGRAM FILES ystemInfo m Reference Paths Deploy the latest version of the NET Compact Framework including Service Packs Signing Avthenticode Signing Sign the project output with this certificate Devices select Certificate Step 5 On the Tools menu click Options command File Edit View Project Bvid Debug Data Format Tool Window Community Help Gk Attach to Process 8 Connect to Device T Connect to Database Ta Connect to Server Lej Code Snippets Manager Ctrl K Ctr B Choos Toolbox Items Add in Manager Macros Create UID D atfuscator Community Edition External Tools Emulator Manager Import
106. the solution can reference it The DLL files on WinPAC are located at the same directory as the exe file MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 146 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 2 2 WinPAC SDK updates for eMbedded Visual To determine the SDK version that is compatibly running on the WinPAC you can read the Release Note which is located under each SDK folder these files provides important updated information for what we fixed and added Step 1 Get the latest version of the eMbedded Visual components The latest version of the eMbedded Visual components be obtained from ftp ftp icpdas com pub cd WinPAC napdos wp 8x4x ce50 sdk winpacsdk Step 2 Copy the latest version of header files and libraries to Host PC The header files are located at C Program Files Windows CE Tools wce500 PAC270 Include The libraries are located at C Program Files Windows CE Tools wce500 PAC270 Lib Step 3 Copy the latest version of DLL files to WinPAC The DLL files are located at System_Disk ICPDAS System MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 147 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix and 87 Modules There are slot options to expand local 1 0 And the modules be parallel bus type high profile I 8K serie
107. tility MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 53 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Help Menu File LJ Configuration Reset System to Default Release Notes About The menu commands Use to Reset System to Resets the system interrupt status to default Default The operation used in the situation when the interrupt crash You can select this operation to reset the interrupt status without rebooting the device About Displays a dialog box with information about ViewPAC Utility including the current version and copyright information MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 54 Copyright 2012 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 Al 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 Step 2 On the Open dialog box select specific reg file to import Warning 1 The reg file which should be saved by Export Registry Key 2 It will not save automatically after import a reg file Export Registry Key Makes a back up of a registry sub key How to
108. trate the expansion I O module features of the MP 570W MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 125 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo Explanation ET types which plugged in the MP 570W Shows how to read the DI values of DI module 8k di This demo program is used by 8K series modules Shows how to write the DO values to DO module 8ak do This demo program is used by 8K series DO modules Shows how to read the DI and the DO values of the DIO module dio This demo program is used by 8K series DIO modules Shows how to send receive a command response application E demo program is used by 87K series modules Shows how use UART API and the IO modules 37K demo located as slots This demo program is used by 87K series modules Shows how to read the values of Al module 87k ai This demo program is used by 87K series modules Shows how to write the AO values to AO module 87 ao This demo program is used by 87K series AO modules Shows how to read the DI values of DI module 87k di This demo program is used by 87K series 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 This demo program is used by 87K series DIO modules 87k dio MP 570W User Manual
109. ts 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 on the device WIN DOW S Stepipe dll WIN DO S exe WINDOW S Seetlstub dii And launch CEMGAC ESE with the following cmd line CEMGRC EXE S T TCPIPC OLL 24 20 10 0 9 52 5000 Cancel MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 174 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 18 On the Manual Server Action dialog click the button Microsoft eMbedded Y 1 nal C CAL does not contain debugging information Press to continue Do not prompt in the future Cancel Step 19 Connection established Then you can debug on line Tips amp Warnings If you want to quit the debugger and return to editing you can click the Stop Debugging button from Debug menu Edit View Insert Project Debug Layout Tool Window Help Go F5 Restart Ctd Shift F5 n Break Step Into Fil Tu Uver P Step Ont Shift Fl 1 H F Eun to Cursor EIN Exceptions sl Threads Modules s Show NestStatement ga Quick Watch MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 175 Copyright 2012 ICP DAS Co Ltd All Righ
110. ts 9 2 RS 485 COM2 port provides a connection to external RS 485 devices The COM has 2 pins as follows Baud Rate 115200 57600 38400 19200 9600 4800 bps Data Bits 7 8 RS 485 Parity None Even Odd Mark Always 1 Space Always 0 Stop Bits 1 2 FIFO 16 bytes 10 RS 232 The MP 570W offers one standard RS 232 serial communication interface port 9 pin Sub D plug connector and it is located on the back of MP 570W Refer to figure below for RS 232 port pin assignment 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 MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 15 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Tips amp Warnings The table below shows the data bit of each COM port and their corresponding stop bit Word Length Number of Stop Bits 5 6 7 8 11 USB Port The MP 570W contains a USB port that allows support for USB devices such as mouse keyboard or an external USB hard drive 12 Microphone and Earphone Jacks The MP 570W contains a microphone and an earphone jack to allow the input and output of audio system MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 16 Copyright 2012 ICP DAS Co Ltd
111. ts Reserved E mail service icpdas com C 2 2 Debug MP 570W programs Visual Studio 2005 2008 Debugging in Visual Studio 2005 2008 are provided by MP 570W 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 t1 0 Bi ared CoreCon 2 ConMan2 dll 3 ConManPS dIl 4 DesktopDMA 5 eDbgIL all 6 TcpConnectionC 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 dil TcoConnectionA dll 4 clientshutdown exe 5 CMAccept exe 6 ConmanClient2 exe MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 176 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 If the version matches correctly and the entire file are there the following files to MP 570W 2 System Disk CPDAS System folder v Clientshutdown exe v ConmanClient2 exe v CMaccept exe v eDbgTL dll v TcpConnectionA dll Step 3 On the Project menu click Project Name Properties command File Edit View Project Build Debug Format Tools Window Community Help Add Windows Form Add User Control Add Component Add Class shat t Add New Item Ltt ehat
112. ttp Awww icpdas com products PAC winpac io support list htm Step 1 Hold the module vertically and align the socket Step 2 Carefully press the module onto the socket Tips amp Warnings If you do not expand the module full please keep the top case of the unused slot to protect the backplane from dirt dust and damage from foreign objects Step 3 Read the relevant documentation For high profile I 8K series CD Napdos io_module http Awww icpdas com products PAC winpac io_ support list htm Manual For high profile I 87K series CDANapdosWo module http www icpdas com products PAC winpac io support list htm MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 22 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Wire the channels All documents include the I O module specifications pin assignments and wiring connections For example Pin Assignments and Wiring connections for the 8 054W module are as follows HI DI COMO DIO 012 u 25 os E E a 013 o DI6 Relay Close Open 09 Cui eee O 07 E ees OLEUM 50S MEI 002 Open Collector On Open Collector Off al OpenColletorOn Open Collector Off 2 00 0 MEI 003 EN 74 06 09 a a 004 c 14 06 ox S
113. wPAC particular function compared with WinPAC Audio Options Play Audio button is used to check the audio output Double Click the Buzzer Options ViewPAC QuickTest _ Play Buzzer Play Buzzer button is used to check the buzzer LED Options m ViewPAG Quick Test ViewPACSDK V1 0 0 2 These buttons are used to check LEDs sign KeyPAD Option TEE Checkboxes are used to 2 1 A 17 4 check the LCD Backlight 0 LCD Backlight Options The slider is used to check the LCD Backlight MP 570W User Manual version 1 0 1 Last Revised August 2012 Page 36 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 6 Using ViewPAC Utility to manage the MP 570W The ViewPAC Utility is a collection of the ViewPAC system tool that allows user quickly and easily manage and configure the ViewPAC For more detailed information on ViewPAC Utility applications please refer to 3 5 ViewPAC Utility Step 1 Run the ViewPAC Ultility located on desktop Step 2 Configure IP address DHCP FTP Server Auto Execution files etc Double Click the ViewPAC Utility 234 8 Enable C Disable Allow Anonymous 9 Enable O Disable Allow Anonymous 8 Enable Disable Upload Change FTP default download directory Temp to m Disk Step 3 Save and Reboot the
Download Pdf Manuals
Related Search
Related Contents
De Godzilla aux classes dangereuses CP Sony nouvelles gammes BRAVIA DT Research DT362 8GB Black IC-M31 Lightolier IS_CACS User's Manual You`ve Made the Right Choice Copyright © All rights reserved.
Failed to retrieve file