Home

iPPC Series User Manual

image

Contents

1. TT Set Web Site Defaults Add FTP Site Set FTP Site Defaults Help Online Help E Features View Content View iPPC Series WES7 based PAC User Manual Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com version1 0 0 Page 45 5 Type the name and then select the Physical path The default path is C inetpub ftproot Add FTP Site ed Site Information FTP site name FIP Default Site Content Directory Physical path C inetpub wwwroot Cancel 6 Click on the drop down arrow and choose the IP address of your iPPC and then click the Next button Add FTP Site bedi Binding and SSL Settings Binding IP Address 10 1 0 31 Enable Virtual Host Names W Start FTP site automatically SSL gt No SSL Allow SSL Require SSL SSL Certificate Not Selected Previous iPPC Series WES7 based PAC User Manual version1 0 0 Page 46 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 Click on the drop down arrow and choose the All users and then select the Read and Write check box and then click the Finish button Add FTP Site Authentication and Authorization Information Authentication W Anonymous Basic Authorization Allow access to All users Permissions V Read W Write Previous Cancel IPPC Series WES7 based PAC User Manual versi
2. 1 Click the PAC Utility shortcut on the desktop 2 Click the EWF Operation tab select the Enable check box and then click Apply button Automatically run EWF Status when I log on Windows EWF Control Enable Disable Protected Volume Configuration Type RAM REG State ENABLED Boot Command NO_CMD Param 0 Param2 0 Volume ID 10 80 97 20 00 7E 00 00 00 00 00 00 00 00 00 00 Device Name WDence HarddiskVolumel C Max Levels 1 Clump Size 512 Current Level 1 Memory used for data 10617536 bytes Tips amp Warnings it is recommended to download your programs to Compact Flash or USB HDD It ll prevent operating system from damages of illegal writing or sudden power off EWF only takes effect on hard drive C where the operating system resides iPPC Series WES7 based PAC User Manual version1 0 0 Page 51 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 In the pop up dialog box click Yes button You must restart this computer for the changes to take effect 4 Click the Start button click the arrow next to the Shut Down button and then click Restart iPPC Series WES7 based PAC User Manual Control Pane Devices and Printers a Switch user Default Prograrr Log off Lock Help and Suppo tii version1 0 0 Page 52 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com How to use the EWF console application c
3. Database Support Visual Studio 2005 application appearance User Interface Features Visual Studio project style with explorer output and properties panes Advanced Features Click Finish from any window to accept the current settings Generated Classes After you create the project see the project s readme txt file for information about the project features and files that are generated Next gt i Finish Cancel 7 On the next page of the wizard select Dialog based select Use MFC in a static library and then click Finish MFC Application Wizard SDEInfo Application Type Applicaton type Project style Singe document G MFC standard Dialog based Advanced Features C Multole top evel 2 Generated Classes Resource language Een C Use MFC in 8 shared OL gt Use MFC in a stats ibrary Use Unicode lbraries iPPC Series WES7 based PAC User Manual version1 0 0 Page 90 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 3 2 Specify the Path of the PAC Reference The PAC SDK provides a complete solution to integrate with IPPC and it s compatible with Visual C Visual Basic net and C In order to use a component in your application you must first add a reference to it To specify the path of PAC reference 1 Get the PACSDK H and PACSDK lib and copy them to the project folder The PACSDK H and PACSDK lib can be obtained separately on the CD that was provide
4. Enable disable the EWF function Enable the EWF function Select the Enable option and then click the Apply button Disable the EWF function Select the Disable option and then click the Apply button Commit changes Select the Commit option and then click the Apply button IPPC Series WES7 based PAC User Manual version1 0 0 Page 57 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 1 4 Multi serial Port Module 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 iPPC Item RS 232 S 422 RS 485 Isolation Connector 8112W 2500 vims DB 9 x 2 l 8114iW 2500 Vrms DB 37 x 1 l 8142iW 2 2500 Vrms Terminator block x 1 I 8144iW 2500 Vrms Terminator block x 1 MP PAC Utility V1 0 0 0 2014 05 12 my PAC Utility The iPPC can be expanded to support up to 16 I O modules File Help Language Setting For more detailed information System Information Auto Execution EWF Operation about these su pport modules Register or unregister the multi serial port module on slot please refer to http www icodas com product s Remote l0O i 8ke selection r Remove All S232 i8k htm Register All The tab use to How to use Register remove the multi serial
5. provides seven functions related to the selection of the operating mode for iPPC IPPC Series WES7 based PAC User Manual version 0 0 Page 11 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Bottom View IPPC 5731 WES7 Earphone out COM2 COMS3 RS 232 RS 485 USB 2 0 Ports LAN Ports RS 232 R3 485 IPPC 6631 WES7 iPPC 6731 WES7 IPPC 7631 WES 7 Mic in and COM2 COM3 Earphone out RS 232 RS 485 USB 2 0 Ports LAN Ports RS 232 R5 485 Description USB 2 0 Port The iPPC has two four USB ports that allow support for the USB devices such as mouse keyboard or an external USB hard drive Mic in and 3 The iPPC has a microphone in and an earphone out that can be Earphone out used to process the input and the output of sound IPPC 5731 only supports earphone out LAN Port The iPPC has two Ethernet ports that can be connected to a computer or device via an Ethernet cable One port connects directly to the network or server and the other port can be connected to another device server or another Ethernet device IPPC Series WES7 based PAC User Manual version 0 0 Page 12 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com COM2 RS 232 DCD TxD Iso GND2 The COM2 port is a 9 pins RS 232 connector The details of the COM2 port specifications are shown to the side DSR CTS Port Type Male Baud Rate 115200 57600 38400 19200 9600
6. 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 PAC IO APIs The diagram below shows the types of the PAC IO APIs provided in the PACSDK or the specified SDK For more information about the APIs and samples provided by the expansion I O modules please refer to chapter 6 I O Modules and SDK Selection Local I O Remote I O IPPC Series WES7 based PAC User Manual version 0 0 Page 112 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 1 VB NET Samples for PAC IO APIs The PAC SDK includes the following samples that demonstrate the use of the PAC IO APIs ina VB NET language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For VB NET applications these demo programs can be obtained from CD Demo pacsdk VB IO For iPPC 6631 WES 7 ftp ttp icodas com pub cd ippc _wes 7 n2600 demo pacsdk vb io For iPPC x731 WES 7 ftp ttp icodas com pub cd ippc _wes 7 e3827 demo pacsdk vb io Folder Demo find _io 8kdi 8k_do 8k dio 87k_basic 87K demo 87k_ai 87k_ao Explanation Shows how to retrieve the module names and types which plugged in the iPPC Shows how to read the DI values of DI module This demo program is used by 8K series DI modules Shows how to write the DO values to DO module This demo program is u
7. Directories eFC Tnstall ir ine lade L VCH Project Settings pT Install Dir atle ine H Sonce Control C WindowsSd kDir ine 7 H Text Editor iFrameworks DEDidin H Database Tools H Debug l Device New Line E Environment r button El Projects and Solutions General Build and Run VE Defaults W o VC Directories DAVP o0 MES SDE WACSDE tpacadlk oo VC Project settings imc lode Source Control CInstallDirjathntctinelode Text Editor WindowssdkDir inchde Deea Taal Frameworks DEDirtinclude Debugemyg Device Tools HTML Designer Office Tools Test Tools Text Templating Mactade MERE Windows Forms Designer f Se Fath to v when searching for melode files while building a YC project Workflow Designer Comesponds to environment variable INCLUDE 5 t 5 ti fe ae 5 IPPC Series WES7 based PAC User Manual version1 0 0 Page 92 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 Select Library files in the Show directories for drop down box and then click the New Line button 7 Add a new line to the list of directories Browse to the directory that contains the PACSDK lib file and then click OK button eg Platform show directories for Library files ka H Environment Projects and solutions Creneral i Executable files Build and Run Include files B Defaults Reference files
8. VC Directories C ClnstallDarilib Library files wo VICE Project Settings SCF Clastall Dir jathnfe lib bource files H Source Control V CInstall Dir athnticas Exclude directories H Text Editor H Database Tools E Deb Te i Windowsid Dirt lib E Options New Line E Environment button E Projects and Solrtons General WB Defaults VC Directories DAVE S0 _WESSDEPACSDE paced kl n WCH Project Sethngs ir source Control CV CInstalDurjathnte lla Tet Editor CInstalDinjathnte ibisi Database Tocle WindowssdkDaiib oaoa tae Frameworks DE Dirlib Debugging VSInstallDir Device Tools V SlnstallDirilib HTML Desiener Office Tools Test Tools Text Template Windows Forms Designer Workflow Desioner Library Directories Path to use when searching for brary files while building a l project Corresponds to environment variable LIB FEA EE EME BP BB iPPC Series WES7 based PAC User Manual version1 0 0 Page 93 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 8 In the Solution Explorer windows right click the project name and then click Properties Solution Explorer SDEInfo ELS od volution SOEInfo il project D EAMAN Project Ordy Profile Guided Optimization Custom Build Rules Tool Budd Order Add References Wiew lass Diagram net as etat p Project Debug ut Paste Remove Rename Urnd
9. iPPC 6731 WES7 366 mm x290 mm 1 mm iPPC 7731 WES7 393 mm x 339mm 1 mm IPPC Series WES7 based PAC User Manual version1 0 0 Page 23 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Attach the iPPC to the cut out hole IPPC Series WES7 based PAC User Manual version 0 0 Page 24 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 Screw the panel mounting clips to the panel Gaian ISSN LL Tips amp Warnings AN Recommended Screw Torque 3 4 4 5 kgf cm IPPC Series WES7 based PAC User Manual version1 0 0 Page 25 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 3 Deploying a Basic iPPC System The IPPC provides a variety of interfaces to suit a range of applications The following illustration shows a simple application To deploy a basic iPPC system 24 VDC Power Supply gale USB Mouse USB Keyboard As the above illustration shows the interfaces of IPPC can be used to perform the following tasks gt Connect the positive terminal of the power supply to the terminal PWR and the negative terminal of the power supply to the P GND gt Connect to a USB mouse or keyboard iPPC Series WES7 based PAC User Manual version1 0 0 Page 26 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 4 Supplying Power to iPPC The iPPC has two powe
10. 1 5 Upload the Application to IPPC usean a eai 72 5 1 6 Execute the Application On IPPO sessirnir a 74 52 OUF FIFStIPP GC Prodam UN OF eee eteen sp acctee eee A sew aes eee ae 75 BZ 1a Greate NCW PlO CCl axis ct2ecie ot beet iietdueiacoicesiioet E ck seienes 76 5 2 2 Specify the Path of PAC Reference ccccceccceeeeceeeeceeeeceseeceeeeseeeenees 78 5 2 3 40d the Controlto the FON ne Secc2ese e E S 80 5 2 4 Add the Event Handling for the Control sasnsnoeannnaennonnnnnennnnnnnnnnnnnnennni 82 52 5 Ubl0ad ING ADDIICAMION TOP RG srna cree tise ceed ieee iee cedars 84 5 2 6 Execute the Application on IPPC cccccccccceececeeeeseeeeseeeeseeeeseeeeseeeenees 86 5 3 Your First IPPG Program in Visual C cccccccccsseceeseseeeeeeeseeeeesseeeesaeeeseeeeenas 87 5 3 Ore alesa NCW I FO CCL scarica 88 5 3 2 Specify the Path of the PAC Reference cccccccseeeceseeceeeeceeeseeeenees 91 5 3 3 Add the Control to the Form asssesencsennnnennnennnnnni nir 96 5 3 4 Add the Event Handling for the Control ccccccccccseeeeeeeeeeeeeeeeseeeeesaees 98 5 3 5 Upload the Application to IPPC ssrin ii 100 5 3 6 Execute the Application On IPPC ccccccccsssceseeeeeceeeeeseeseeseeesenseeeeees 101 6 O Modules and SDK Selecon E 102 7 AP ISMANG SAM Ol CS ieee dees oe sce R merece al A ancncechnncadedtasaadect NEENA RR 107 Tle PAG Standard AP Oranmore le adds suet aredaun 108 7 1 1 V
11. 413 x 359 x 69 Panel Cut Out W x H 309 x 240 1 366 x 290 1 393 x 339 1 Unit mm Installation 3 Panel mounting Ingress Protection Front panel NEMA 4 IP65 Operating Temperature 10 C 60 C Storage Temperature 20 C 70 C Ambient Relative Humidity 10 90 RH non condensing iPPC Series WES7 based PAC User Manual version1 0 0 Page 9 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 3 Overview The iPPC are equipped with 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 Front View 12 1 15 17 TFT LCD LED Indicators Description LED Indicators User Programmable LED Indiators System LED Indicators The two system LED indicators display the status of the IPPC The details are shown as below LED Indicator Color On state Meaning iPPC Series WES7 based PAC User Manual version1 0 0 Page 10 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Right Side View iPPC 5731 WES7 IPPC 6631 WES7 IPPC 7631 WES7 IPPC 6731 WES7 CF Card Slot Rotary Switch Description CF Card Slot The CF card can be used to restore the iPPC system and _ expand the memory up to 32 GB Rotary Switch Rotary Switch is an operating mode selector switch which
12. 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 COM4 RS 232 RS 485 RxD Iso GND4 The COM4 port is a 9 pins RS 232 RS 485 connector The details of the COM4 port specifications are shown to the side 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 COM4 can be configured as either RS 232 or RS 485 that only can select one ata time and its configuration depends on the pin connections as follows RS 232 RXD TXD CTS RTS and GND RS 485 Data and Data No software configuration or hardware jumper needed COMS3 3 wire RS 485 The COMS port is a 3 wire RS 485 connector The details of the COMS specifications are shown to the side iPPC Series WES7 based PAC User Manual version1 0 0 Page 13 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Back View Redundant Power and Ground Expansion I O Slots Description Redundant Power and The iPPC has a terminal with 5 wire there are 4 wire for Ground redundant power input and a wire for frame ground the details are shown as below Expansion I O Slot The expansion I O slots support the high profile 8K and the _1 87K series I O modules IPPC Series WES7 based PAC User Manual version 0 0 Page 14 Copyright
13. 7K or 87K series Al modules which connected through a COM port Shows how to write the AO values to AO module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI values of DI module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the DO values to DO module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI and the DO values of the DIO module This demo program is used by 7K or 87K series Al modules which connected through a COM port IPPC Series WES7 based PAC User Manual version1 0 0 Page 114 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 2 C Samples for PAC IO APIs The PAC SDK includes the following samples that demonstrate the use of the PAC IO APIs in a C language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For C applications these demo programs can be obtained from CD Demo pacsdk charp net lO For iPPC 6631 WES 7 87k basic 87K demo 87k_ai 87k_ao 87k di Explanation Shows how to retrieve the module names and types which plugged in the iPPC Shows how to read the DI values of DI module This demo program is used
14. All Rights Reserved E mail service icpdas com 4 1 PAC Utility PAC Utility is a collection of software applications that enable management and configuration of iPPC system and features 4 1 1 System Information The System Information tab provides functions to monitor necessary device information of iPPC The system information is the most important note of version control for upgrading system J PAC Utility V1 0 1 0 2014 10 13 ol O mo PAC Utility System Information Auto Execution EWF Operation Multi serial Port Module Language Setting List the system information and the module name on slot Module On Slot Pac Information Slot 1 Pac Type iPPC 6000 Slot 2 Serial Number 01 0E 18 1F 16 00 00 55 Slot 3 OS Version 1 0 1 0 2014 10 16 Backplane Version 1 0 12 0 CPU Intel R Atom TM CPU N2600 1 60GHz PacSDK Version 4 2 4 0 10 8 2014 PacNet Version 2 1 0 3 7 7 2014 CPU Board Version 1 0 0 0 iPPC Series WES7 based PAC User Manual version1 0 0 Page 55 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 1 2 Auto Execution The Auto Execution tab provides functions to configure programs running at IPPC startup it allows users to configure ten execute files at most me PAC Utility System Information Auto Execution EWF Operation Multi serial Port Module Language Setting Set the program to execute automatically at system startup File Help 4 At mo
15. Register the multi serial port port Click the Register All button Remove the multi serial port Click the Remove All button iPPC Series WES7 based PAC User Manual version1 0 0 Page 58 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 1 5 Language Setting The Language Setting tab provides functions to change the user interface language AP PAC Utility V1 0 1 0 2014 10 13 Ss lme PAC Utility System Information Auto Execution EWF Operation Multi serial Port Module Language Setting Change the Windows UI languages Language used in menus and dialogs Engist Deutsch Espanol francais italiano A Aaa PX fet 4 Px Se He a ee The tab use to How to use Change the user Click on the drop down arrow and select your preferred interface language language and then click the Apply button iPPC Series WES7 based PAC User Manual version1 0 0 Page 59 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 2 DCON Utility Pro The DCON Utility Pro is a toolkit that help user to search the network easily to configure and test the I O modules via the serial port RS 232 485 or Ethernet port using virtual com port For more information on how to use DCON Utility Pro to configure I O modules please refer to section 2 4 Using DCON Utility Pro to Configure I O Modules IPPC Series WES7 based PAC User Manual version
16. Revision Description November 2014 Initial issue iPPC Series WES7 based PAC User Manual version1 0 0 Page 134 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com
17. SDK provides a complete solution to integrate with IPPC and it s compatible with Visual C Visual Basic net and C In order to use a component in your application you must first add a reference to it To specify the path of PAC reference 1 Get the PACNET dIl and copy it to the project folder The PACNET dll can be obtained separately on the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD SDK PACSDK pacnet For iPPC 6631 WES 7 fto ftp icodas com pub cd ippc wes7 n2600 sdk pacsdk pacnet For iPPC x731 WES7 fto ftp icodas com pub cd ipopc wes7 e3827 sdk pacsdk pacnet PACHET dll 07 24491 F A C WE T Se iPPC Series WES7 based PAC User Manual version1 0 0 Page 78 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 In Solution Explorer right click the References node and then click Add Reference 3 Select Browse tab and add the PACNET dIl Solution Explorer SDK Information A Solution SDKInformation 1 project gt AT FACNET d1 Name PACNETdll w File types Component Files d tb gt olb ocx exe IPPC Series WES7 based PAC User Manual version1 0 0 Page 79 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 3 Add the Control to the Form You can drag various controls from the Toolbox onto the form These controls are not really live th
18. Tools The tools and utilities for operation on PC Update The installation packages related to iPPC IPPC Series WES7 based PAC User Manual version 0 0 Page 17 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 6 Rescue CF Card The iPPC comes with a rescue compact flash card that not only supports rescue mechanism but also contains full usage documents software tools and development resources related to the iPPC All of them are listed below Rescue CF Card Document The technical support documents for installation operation maintenance development and application Rescue Disk The files for system backups and restores The sources for development and application in your application iPPC Series WES7 based PAC User Manual version1 0 0 Page 18 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Getting Started This chapter provides a guided tour of the iPPC installation and configuration that describes the steps needed to download install configure and run the basic procedures for user working with the IPPC 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 distributor ccf IPPC I O Socket 3 Cr COMPACT FLASH Software Utility CD A 8 GB CF Card A A 7 A amp
19. UseMnernonic Time Use VisualsteBackColor True Use Wait uror False El llowDrop False k Text The text associated with the contral iPPC Series WES7 based PAC User Manual version1 0 0 Page 69 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 4 Add the Event Handling for the Control You have finished the design stage of your application and are at the point when you can start adding some code to provide the program s functionality To add the event handling for the control 1 Double click the button on the form Properties Forml vb Design Start Page X E E Check the SDE version J D iPPC Series WES7 based PAC User Manual version1 0 0 Page 70 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Inserting the following code Dim data 30 As Byte PACNET Sys GetSDKVersion data MessageBox Show PACNET MISC WideString data i General v 89 Declarations g Public Class Form Private Sub Button1_Click ByVal sender As System Object ByVal e As 5 Dim dataf3 As Byte PACHET Sys GetSDKVersion data MessageBox Show PACHET MISC WideString data End Sub End Class Tips amp Warnings AN The PACNET of using PACNET is case sensitive IPPC Series WES7 based PAC User Manual version1 0 0 Page 71 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 5 Upload the Applicat
20. based PAC User Manual version1 0 0 Page 6 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 1 Features The IPPC 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 installation configuration and application e LCD Size 12 1 15 17 with Touch Panel e N2600 1 6 GHz or E3827 1 75 GHz CPU e WES7 Windows Embedded Standard 7 e Support eLogger HMI free e 31 0 Expansion Slots e NEMA 4 IP65 Compliant Front Panel e Ultra Rugged Construction and Reliable Design e Operating Temperature 10 C to 60 C iPPC Series WES7 based PAC User Manual version 0 0 Page 7 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 2 Specifications The table below summarizes the specifications of the iPPC IPPC 6631 WES7 Models iPPC 5731 WES7 Le eee ee een een ere iPPC 7731 WES7 3 IPPC 6731 WES7 System Software Microsoft Windows Embedded Standard 7 Framework Support Net Framework 3 5 SP1 4 0 4 5 Embedded Service IE11 FTP Server IIS 7 0 ASP Java Script VB Script SDK Provided DII for Visual Studio Net English German French Spanish Portuguese Russian Italian Multilanguage Support Korean Japanese Simplified Chinese Traditional Chinese CPU Module N2
21. by 8K series DI modules Shows how to write the DO values to DO module This demo program is used by 8K series DO modules Shows how to read the DI and the DO values of the DIO module 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 located as Slots This demo program is used by 87K series modules Shows how to read the Al values of Al module This demo program is used by 87K series Al modules Shows how to write the AO values to AO module This demo program is used by 87K series AO modules Shows how to read the DI values of DI module iPPC Series WES7 based PAC User Manual version1 0 0 Page 115 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo 87k_do 87k _dio 7k8 7k_basic 7k87k_ai 7k8 7k_ao Remote 7k87k_di 7k87k_do 7k87k_dio Explanation This demo program is used by 87K series DI modules Shows how to write the DO values to DO module This demo program is used by 87K series DO modules Shows how to read the DI and the DO values of the DIO module This demo program is used by 87K series DIO modules Shows how to send receive a command response application This demo program is used by 7K or 87K series Al modules which connected through a C
22. for the change to be effective _ ontrol l Pane Devices and Printers Ka E Switch user Default Program Log off Lock Help and Suppo Restart sleep iPPC Series WES7 based PAC User Manual version1 0 0 Page 33 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 4 Using DCON Utility Pro to Configure I O Modules DCON Utility Pro is a tool kit designed to quickly control and manage l 87K series expansion I O modules To use DCON Utility Pro to configure I O module 1 Click the DCON Utility Pro shortcut on the desktop 2 Click the Search P button Double Click the DCON_Utility_Proxxx 3 Click the module name to configure the l 87K series module 18 DCON Liitin Pro Version 2 0 0 0 for PC Platform WF Chonan Start Aaare s 0 End Address 255 im 253m Baud Rate Checksum Format Status Description 5 T 5200 Disable N 8 1 DCON 16 DO a Configura ZO Host WDT About DO Status mo m1 M2 63 4 5 we A7 Ms fs Ao An Ae AB Eu As a Pes Read Power ON Value Read Safe Vai iPPC Series WES7 based PAC User Manual version1 0 0 Page 34 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Security and Risk This chapter provides information of technolo
23. icpdas com 7 1 1 VB NET Samples for PAC Standard APIs The PAC SDK includes the following samples that demonstrate the use of the PAC standard APIs ina VB NET language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For VB NET applications these demo programs can be obtained from CD Demo pacsdk VB Standard For iPPC 6631 WES 7 ftp ftp icodas com pub cd ippc _wes n2600 demo pacsdk vb standard For iPPC x731 WES7 ftp ftp icodas com pub cd ippc _wes e382 demo pacsdk vb standard Folder Explanation Retrieves information about the OS version the CPU version and the SDK version etc deviceinformatio n deviceinformation Retrieves information about the slot count diagnostic diagnostic j and the module inserted in the backplane Retrieves information about the status of the DIP switch Retrieves information about the status of the rotary switch getrotaryid getrotaryid Shows how to read write date values memor memor y y from to EEPROM shows how to read the name of local I O modules via UART Displays information about how to operate watchdo watchdo g the watchdog iPPC Series WES7 based PAC User Manual version1 0 0 Page 109 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 1 2 C Samples for P
24. is a WES7 functionality that allows users to easily change the IPPC user interface with your native language by PAC Utility To change the user interface language 1 Click the PAC Utility shortcut on the desktop 2 Click the Language Setting tab OF PAC oiy vi000 DIOSA me PAC Utility System Information Auto Execution EWF Operation Multi serial Port Modui amp Language Seting Change the Windows UI languages Language used in menus and dialogs English iPPC Series WES7 based PAC User Manual version1 0 0 Page 31 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 In the pop up dialog box click Yes button to save changes to the disk Are you sure to save the change of the disk C 4 Click on the drop down arrow and choose your preferred language that you want to use for iPPC menus and dialogs and then click Apply button AP PAC Utility V1 0 0 0 2014 05 12 ile Help imp PAC Utility System Information Auto Execution EWF Operation Mult serial Port Module Language Setting Change the Windows UI languages Language used in menus and dialogs iPPC Series WES7 based PAC User Manual version 0 0 Page 32 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 Click the Start button click the arrow next to the Shut Down button and click the Log off button to log out immediately and then logon again
25. status 9 Add o Back up your computer ahaa a ener any u Find a waa oblems Appearance and Personalization Change the theme Network and Internet GE v network status and tasks ee und z Choose homegroup and sharing options Adjust s as and ape Clock Language and Region View devic and printer B Change keyboards or other input methods Add a devi Change display language Programs Ease of ei l N Uninstall a program Let Windows suggest settings Optimize ee display Fi Programs and Features k A Uninstall a program la Turn Windows features on or off View installed updates Run programs made for previous versions of Windows How to install a program iPPC Series WES7 based PAC User Manual version1 0 0 Page 129 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Right click the entry for the SDK in the list of installed programs and then click Uninstall G kc e Control Panel Programs Programs and Features Control Panel Home z Uninstall or change a program View installed updates To uninstall a program select it from the list and then click Uninstall Change or Repair jal Turn Windows features on or zij Organize Uninstall Name Publisher Installed On EF DCON Utility Ver 5 2 5 ICPDAS Inc 5 6 2014 EBS Intel R Network Connections 19 1 51 0 Intel 4 29 2014 Wi Intel Graphics Media Accelerator Driver Intel Corporation 4 29 2014 E PenMount Windows
26. 1 0 0 Page 60 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 3 NAPOPCSVR The NAPOPC_ST DA Server is one set of ICP DAS OPC solution It works a on iPPC Based on Windows Embedded Standard 7 Operation System and 2 uses an Explorer style user interface to display a hierarchical tree of modules and groups with their associated tags A group can be defined as a subdirectory containing one or more tags A module may have many subgroups of tags and all tags belong to their module The OPC stands for OLE for Process Control and the DA stands for Data Access Seco Furthermore NAPOPC_ST DA Server package provides not only traditional OPC interface but also two Modbus Slave interfaces to communicate with modbus device The two interfaces play the role of bridge between OPC client and modbus slave to transform the OPC tags to modbus address Users can accept its result of auto mapping or adjust the modbus address by themselves The NAPOPCSVR 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 Tools Napopcsvr For iPPC 6631 WES 7 ftp ftp icodas com pub cd ippc_wes n2600 tools napopcsvr For iPPC x731 WES 7 ftp ftp icodas com pub cd ippc_wes e3827 tools napopcsvr iPPC Series WES7 based PAC User Manual version1 0 0 Page 61 Copyright 2014 ICP DAS Co Ltd All Rights Reser
27. 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 4 Dimensions The diagrams below provide the dimensions and the panel cut out to use in defining your enclosure specifications Remember to leave room for potential expansion if you are using other components in your system All dimensions are in millimeters IPPC 5731 WES7 i r a a ae DoT iPPC Series WES7 based PAC User Manual version1 0 0 Page 15 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com IPPC 7731 WES7 me iPPC Series WES7 based PAC User Manual version1 0 0 Page 16 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 5 Companion CD This package comes with a CD that provides a collection of the software utility documentation drivers demo program and application The CD contains several subdirectories All of them are listed below COR Demo The demo programs for examples of use in the application Document The technical support documents for installation operation maintenance development and application Driver The drivers for the supported hardware OS_image The files and related information for OS releases and technology Rescue_ Disk The files for storage on CF card These files can be used to boot and recover the system from CF card SDK The sources for development and application in your application
28. 600 1 6 GHz 64 bit dual core for iPPC 6631 WES7 E3827 1 75 GHz 64 bit dual core for iIPPC x731 WES7 SDRAM DDR3 2 GB Flash SSD mSATA slot with one 16 GB SSD EEPROM 16 KB Memory Expansion CF slot with a 8 GB CF card support up to 32 GB RTC Real Time Clock i Provide second minute hour date day of week month year 64 bit Hardware Serial i Yes for software copy protection Number Dual Watchdog Timers Yes 0 8 second Rotary Switch Yes 0 9 Communication Ports Ethernet 2 x RJ 45 10 100 1000 Base TX RS 232 RxD TxD are RTS DSR DTR CD RI and GND Non isolated RS 485 Data Data GND 2500 Voc isolated iPPC Series WES7 based PAC User Manual version1 0 0 Page 8 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com RS 232 RS 485 RxD TxD CTS RTS and GND for RS 232 Data and Data for RS 485 2500 Vpc isolated Earphone out Mic in and Earphone out MMI Man Machine Interface Resolution 800 x 600 1024 x 768 1280 x 1024 Brightness cd m2 400 350 Contrast Ratio 500 1 LED Backlight Life hrs 50 000 Touch Panel 3 Yes 5 wire resistive type light transmission 80 LED Indicator 3 4 Run PWR L1 L2 L1 and L2 are user programmable I O Expansion Slots Slot Number 3 for high profile I 8K and l 87K series I O modules Dimensions W x H x D Unit mm 323 x 254 x 88 381x305x88
29. AC Standard APIs The PAC SDK includes the following samples that demonstrate the use of the PAC standard APIs in a C language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For C applications these demo programs can be obtained from CD Demo pacsdk charp net Standard windows_forms For iPPC 6631 WES 7 fto fto icodas com pub cd ipoc wes n2600 demo pacsdk csharp net standard windo ws forms For iPPC x731 WES7 fto ftp icodas com pub cd ipopc wes7 e3827 demo pacsdk csharp net standard windo ws forms Folder Explanation ae Retrieves information about the OS a deviceinformatio deviceinformation 3 version the CPU version and the SDK version etc Retrieves information about the slot count diagnostic diagnostic 9 9 and the module inserted in the backplane Retrieves information about the status of the DIP switch Retrieves information about the status of etrotaryid getrotaryid i the rotary switch shows how to read write date values memor memor from to EEPROM Shows how to read the name of local I O 3 modules via UART Displays information about how to operate the watchdog watchdog watchdog iPPC Series WES7 based PAC User Manual version1 0 0 Page 110 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail serv
30. B NET Samples for PAC Standard APIS ccccccssseeeseeeeseeeeeeeeeeeees 109 7 1 2 C Samples for PAC Standard APIS ccccccccseeceeeeeeeeeeeeeseeeeseeeeeas 110 7 1 3 Visual C Samples for PAC Standard APIS cccccsceeseeeeeseeeeseeeeeees 111 722 PACIO AP Sissies ose haps tse eh andar eaaod aoe eadeg edna dee 112 7 2 1 VB NET Samples for PAC IO APIS vsiscetasietanatensesnurtetususukwtecametubecusetenetawies 113 220E SAMDIES for PAC IQ APIS secrete esate de cncenesacenetacenseentieeencsesecsncsadenuates 115 7 2 3 Visual C Samples for PAC IO APIS ccccccceececeeeeeseeeseseeeseneeeeenes 117 GO TVCSTONS and RGCOVGI Y ororen a a 119 8 1 R c venng the IPPO vaiceasasricedvacatcedsceatdnatataed iaetcedencalisdwaanldeenedabtedwptelcer aa ad 120 0 2 RESIONNO NS REScue GP Caie 123 Fl lg UDGA ES reer Renee eee ae eR CR Ne ere ee Ce RR eC ee 127 IPPC Series WES7 based PAC User Manual version1 0 0 Page 4 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Hs Fes 8 90 f Ko eee reer eee ee en en en ee eee eee 128 Oe FOI PONE S ase taeda otea ace a a 129 Oe i re D wnoad Center va oewameweonssnacenesesuneentsiantacebbensaeussentnaedsbeuimenseuveoeteniseaeseuaneenints 131 PADI COG r E 132 A l 8K Modules and l 87K MOdules ccccccceecceeeeceeeceeeeeeeeseeeseeeeseeseeeseeesaeeess 133 B PROVISION MISION Y ssscswewntyareantadaet aan 134 IPPC Ser
31. C User Manual version1 0 0 Page 99 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 3 5 Upload the Application to iPPC IPPC supports FTP server service You can upload files to IPPC or download files from a public FTP server To upload the application to iPPC 1 On the Build menu click Build Solution Bue Edit few gt broject Debug Tools Test Window Help ES Build Solution Ctl Shift B Rebuild Solution Clean solution 3 Build SDEInfo Rebuild DKInfo Clean sDETinfo Project Only b Profile Guided Optimization P Batch Bvid Configuration Manager ae Compile Ctl F 2 Open the browser and type the IP address of iPPC 3 Upload the SDKInfo exe application to iPPC a SK Tito exe iPPC Series WES7 based PAC User Manual version1 0 0 Page 100 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 3 6 Execute the Application on iPPC After uploading the application to iPPC you can just double click it to execute it a ADE Tnto exe aj SDKInfo x Check the SDK version l TODO Place dialog con 4 240 IPPC Series WES7 based PAC User Manual version1 0 0 Page 101 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 I O Modules and SDK Selection This chapter provides information on how to choose a suitable I O expansion module and the corresponding SDK library to be used for develop
32. Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 In the Project types pane expand Visual C and then click MFC 4 Inthe Templates pane click MFC Application 5 Type a name in the Name field and then click OK Here we will enter the name SDKInfo and a different location for the project if you wish Hew Project e PoE NET Framework 2 5 y E Vival Basic Fisual Studio installed templates Visual C _ Visual C tt MFC Activex Control fy MFC Application ATL H ee Bee MBC DLL MAC My Templates amart Device Test Pinta Other Project Types Test Projects jeeerch Online Templates A project for creating an application that uses the Microsoft Foundation Clas Library Name mL Info Location C Documents and pettiness indowsikty Documents WM _ Windowst My Document Ww Brows olution Name DE Info Create directory for solution iPPC Series WES7 based PAC User Manual version1 0 0 Page 89 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 On the first page of the wizard click Next gt HFC Application Wizard S3DEInfo Welcome to the MFC Application Wizard Overview These are the current project settings Tabbed multiple document interface No database support Application Type Compound Document Support E No compound document support Document Tompiate Ste Customizable menu bar and toolbar interface a
33. ES7 ftp ftp icodas com pub cd ippc_wes _n2600 For iPPC x731 WES7 ftp ftp icodas com pub cd ippc_wes _e3827 OS_Inage SSS gt The files of OS updates gt The files of SDK updates Install PACSDK IPPC Series WES7 based PAC User Manual version 0 0 Page 127 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 9 1 OS Updates ICP DAS will continue to add additional features to OS of iPPC in the future so we advise you to periodically check the ICP DAS web site for the latest updates The information can be obtained from http www icodas com products PAC ippc download download htm Free feel to contact us to get the latest version of OS image E mail service icpdas com iPPC Series WES7 based PAC User Manual version1 0 0 Page 128 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 9 2 SDK Updates The installation file for iPPC SDK can be downloaded directly from ICP DAS web site Before installing the SDK you must remove any previously installed versions To remove the previous version of the SDK 1 Click the Start button and then click Control Panel 2 Click the Programs and then click Programs and Features T z oe e fata ey A gt Control Panel gt rch Control Pane p Adjust your computer s settings View by Category System and Security me nah isin TY Safety AJ Review your computer s
34. INCS xeacctasztcvatnsatcectacnecnatarateentecxesensaaedeataaxsaentauntoiatoeatoeatacuianatmiaisenteixeseacainedents 7 1 225 DOC CIIGA LIONS AEAEE A E EEEE 8 128 OW CIVICW sizccicseacaears eacgeasareameaanenenmaes aucae aeaeucan aeheusaieneaapeie aekawand netcunenswarenaneauucanaaaacas 10 ADIN SIONS sce oe pesca se cence cece cadeanseded A a sas eoes 15 Lo Gompa SD verevicns Jee ctens tepals loratel a alae diule leu ade sateen adie E 17 TG ASS CUS CE istics ate et otyetss cis E A O E 18 ame GENNI aCA meee peter re ene pe ea tence tae na oe ena or Rin eae a Oe eo Dene ee Oe eee ee men eee ee 19 2 Ve MOUNINO Ne AAC AN Csi cic ca lee sree ie carla vena ale selec E REER 20 212 INSerting the W O MOUUIES 252 05 0s02050se aria E 21 2 k2 MOUNN CEN IP acer a er ahah E rh dat hal ha rh eee eee 23 2 1 3 Deploying a Basic IPPC SYSt M cccccccccceeeecseeeeeseeeesseeeeseeeeesaaeeesaaess 26 2 1 4 SUDDIVING POWE lOIPPG sxirseensd ccicct kiki wip ada 27 2 2 Committing EWF to Allow Settings to Be Saved ccceccccseeeeeseeeeeeeeeesaeeeeseaes 29 2 3 Changing the User Interface LAnQuage cccccceeseeeeeeeeeeeeeeeeeeeesaeeeeesaeeesenaees 31 2 4 Using DCON Utility Pro to Configure I O Modules ccccecceesseeeeeeeeseeeeaeees 34 D gt DE CUPILY GING RISK sacs sot Sect nn n e EEr 35 3 1 Creating and Managing User Accounts ccccccceececeeeeseeeeeeeeeseeeseeesaeeesaeeeas 36 32 TUNNO FiIrewallk Nv OF Off oeser
35. IPPC Series User Manual WES7 Based iPPC Version 1 0 0 November 2014 Service and usage information for So Amm eLogger iPPC 6631 WES7 iPPC 5731 WES7 450 671 wee7 iPPC 7731 WES7 Written by Mac 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 2014 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 IPPC Series WES7 based PAC User Manual version 0 0 Page 2 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Contents GOMEN shh ee he ae a Se 3 TNOU 1 0 g ieee meres eee etre eet nee rinre etn er en ee ones tee ery ence cere een er en eee er ae eer 6 TeV CAU
36. Manual version1 0 0 Page 103 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com gt Specified I 8K series modules Module Native SDK NET CF SDK I 8017HW pac_i801 7HW dll pac_i801 7HWNet dll I 8014W pac_i8014W dll pac_i8014WNet dll 8024W pac_i8024W dll pac8024WNet dll 8026W pac_i8026W dll pac_i8026WNet dll 8048W pac_i8048W dl pac_i8048WNet dl 8050W pac_i8050W dl pac_i8050WNet dl 8084W pac_i8084W dll pac_i8084WNet dll s0ssw pac_i8088W dl pac_i8088WNet dll l 8093W pac_i8093W dll pac8093W Net dll Others PACSDK dl 2 PACNET dll CAN bus The Controller Area Network CAN is a serial communication way which efficiently supports distributed real time control with a very high level of security It provides the error processing mechanisms and concepts of message priority These features can improve the network reliability and transmission efficiency Module Native SDK NET CF SDK 1 8120W 18120 dl 18120net_pac dll For full details regarding CAN bus series modules and its demos please refer to CD Demo pacsdk iPPC Series WES7 based PAC User Manual version1 0 0 Page 104 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com amp FRnet FRnet is an innovative industrial field bus technology that uses twisted pair cable as the transmission medium The status of all I O devices is updated on a fixed cycle no matter how many FRne
37. OM port Shows how to read the Al values of Al module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the AO values to AO module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI values of DI module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the DO values to DO module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI and the DO values of the DIO module This demo program is used by 7K or 87K series Al modules which connected through a COM port iPPC Series WES7 based PAC User Manual version1 0 0 Page 116 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 2 3 Visual C Samples for PAC IO APIs The PAC SDK includes the following samples that demonstrate the use of the PAC IO APIs in a Visual C language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For Visual C applications these demo programs can be obtained from CD Demo pacsdk vc lO For iPPC 6631 WES 7 ftp ttp icodas com pub cd ippc _wes 7 n2600 demo pacsdk vc io For iPPC x731 WES 7 ftp ttp icodas com pub cd ip
38. PC Series WES7 based PAC User Manual version1 0 0 Page 76 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 In the Project types pane expand Visual C and then click Windows 4 In the Templates pane click Windows Forms Application 5 Type a name in the Name field and then click OK button Here we will enter the name SDKInfo and a different location for the project if you wish Hew Project Project types Templates NET Framework 3 5 w E isual Basic Fisual Studio installed templates Visual C ee Windows Ej Windows Forme Application chs Library Web c WPF Application x WEF Browser Application eimart Device eh a licati y Pin Office Mi Console Application ea Empty Project 1 Database EH Windows Service dt WPF Custom Control Library Reporting fee WPF User Control Library Ez Windows Forms Contol Library Test WCF Hy Templates Workflow Visual C jeearch Online Templates Other Project Types Test Projects A project for creating an application with a Windows Forme user interface NET Framework 3 5 Name SUE Info Location Documents and Settings imndowsky Documenta WM _ Windowst My Documents s Solution Name SDEInfo Create directory for solution IPPC Series WES7 based PAC User Manual version 0 0 Page 77 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 2 Specify the Path of PAC Reference The PAC
39. Rack alnar Trme Sg Text The text associated with the control iPPC Series WES7 based PAC User Manual version1 0 0 Page 81 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 4 Add the Event Handling for the Control You have finished the design stage of your application and are at the point when you can start adding some code to provide the program s functionality To add the event handling for the control 1 Double click the button on the form Formi cs Design Properties Start Page X Formi m m 1 Check the SDE Version O J O IPPC Series WES7 based PAC User Manual version 0 0 Page 82 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Inserting the following code byte data new byte 30 PACNET Sys GetSDKVersion data MessageBox Show PACNET MISC WideString data public Formi InitializeComponent f private void buttoni_Click object sender Eventrgs e byte data new byte 30 PACHET Sus GetSDKVersion data MessageBox Show PACHET MISC WideString data Tips amp Warnings AN The PACNET of using PACNET is case sensitive iPPC Series WES7 based PAC User Manual version1 0 0 Page 83 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 5 Upload the Application to iPPC IPPC supports FTP server service You can upload files to IPPC or download file
40. Screw Driver Panel Clip 4 M4 x 30L Screw 4 iPPC Series WES7 based PAC User Manual version1 0 0 Page 19 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 Mounting the Hardware IPPC has 3 expansion I O slots to expand the functions of the iPPC allowing it to communicate with external I O devices and before choosing the right I O module you first need to know the I O expansion capacities in order to choose the best expansion module for achieving maximal efficiency There are more than 30 high profile I O modules available for interfacing many different measurements including thermocouple voltage RTD current resistance strain digital etc and these modules have their own manuals so if you are using them you should supplement this manual with the manual specifically designed for the special module For more information about the I O expansion modules that are compatible with the iPPC please refer to http www icodas com products PAC i 8000 8000 IO modules htm IPPC Series WES7 based PAC User Manual version1 0 0 Page 20 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 1 Inserting the I O Modules There is a top case on each I O socket Before inserting the I O module you first need to remove it To insert the I O module 1 Use the screw driver to remove the screw and then remove the top case 2 Hold the I O socket vertical
41. Universal Driver WHOL V2 4 0 3 PenMount 1 11 2010 g TeamViewer 9 TeamViewer 5 26 2014 Wi 7 i ICPDAS Inc Help link http www icpdas com Support link http www icpdas comy To install the new version of the SDK 1 Download the latest version of the iPPC SDK The latest version of the IPPC SDK can be obtained from ICP DAS web site For IPPC 6631 WES7 ftp ttp icodas com pub cd ippc_wes _ n2600 sdk install For iPPC x731 WES7 ftp ttp icodas com pub cd ippc_wes _ e3827 sdk install 2 Double click the Installation file of IPPC SDK 3 Follow the prompts to install the iPPC SDK iPPC Series WES7 based PAC User Manual version1 0 0 Page 130 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 10 IPPC Download Center This chapter provides a brief introduction of the IPPC download center iPPC has a download center where you can access the latest version of the software tools demo programs and related information The iPPC Download Center can be found at http www icpdas com products PAC ippc download download htm IPPC Download Center Note When you download the software programs you should notice ifthe programs conform to your machine The published date and indicated requirement of program can help user to determine the compatibility for your IPAC Before you download any program please read the notes of each online program first to avoid the confused s
42. ag various controls from the Toolbox onto the form These controls are not really live they are just images that are convenient to move around on the form into a precise location After you add a control to your form you can use the Properties window to set its properties such as background color and default text The values that you specify in the Properties window are the initial values that will be assigned to that property when the control is created at run time To add the control to the form 1 From the Toolbox drag a Button control onto the form All Device Controls hm Pointer ta BindingSource A CheckBox ComboBox Form vb Design Start Fage a f ContextMenu S DataGrid ai DataSet TA Date TimePicker 3 DomanUpDown lt 3 HScrollBar al ImageList Ta Server Explorer 3p Toolbox iPPC Series WES7 based PAC User Manual version1 0 0 Page 68 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Right click the Button control and then click Properties Form vb Design Start Page Formi Wiew Code Lock Controls select Form ut Copy Delete Properties 3 In the Properties window type Check the SDK version in the Text item and press ENTER Properties Forml vb Desion Buttoni System Windows Fornns Button atart Fage TX nome a RightToLeft No Check the SDK version v Test4 lien Middle enter Tetmasekelation Oyerlay
43. ange the EWF status the Automatically run EWF Status when log on Windows EWF Control Enable Disable Protected Volume Configuration Type RAM REG State ENABLED Boot Command NO_CMD Param 0 Param2 0 Volume ID 10 80 97 20 00 7E 00 00 00 00 00 00 00 00 00 00 Device Name WDence HarddiskVolumel C Max Levels 1 Clump Size 512 Current Level 1 Memory used for data 10617536 bytes v Tips amp Warnings lf EWF is disabled and iPPC suffers sudden power off the operating system of AN iPPC may be damaged or incomplete iPPC Series WES7 based PAC User Manual version1 0 0 Page 49 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 In the pop up dialog box click Yes button be shut down only by clicking the Start button and then clicking the Shut Down button in order to prevent the OS from being damaged 7 SU shoulc ony urr off the P ac py yn button accessible from the Start menu Ay tcndaoc immer tc Trigg ra system rese he hutdown command Are you sure you want to disable the EWF 4 Click the Start button click the arrow next to the Shut Down button and then click Restart Control Pane Devices and Printers Switch user Default Program Log off Help and Suppo iPPC Series WES7 based PAC User Manual version1 0 0 Page 50 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com To enable the EWF
44. anges that affect other users We recommend that you protect every account with a strong password Why is a standard account recommended ee en ee i mE Scorch conaran e User Accounts Manage Accounts M A A Choose the account you would like to change Userl ee Administrator p Password protected General User Standard user Guest Guest account is off Create a new account What is a user account Additional things you can do Set up Parental Controls Go to the main User Accounts page iPPC Series WES7 based PAC User Manual version1 0 0 Page 39 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com To Make Changes to an Account 1 Click the account that you want to change es foe e SE amp User Accounts Manage Accounts v Search Control Pane pP Choose the account you would like to change jaa User1 a m General User Administrator l Password protected Standard user Guest Guest account is off Create a new account What is a user account Additional things you can do Set up Parental Controls Go to the main User Accounts page iPPC Series WES7 based PAC User Manual version1 0 0 Page 40 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Select the item that you would like to change G D User Accounts Manage Acc
45. ased PAC User Manual version 0 0 Page 74 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 Your First IPPC Program in C The best way to learn programming with iPPC is to actually create a IPPC program The example below will guide you through creating this simple program in C and running them on IPPC To create a demo program with C that includes the following main steps 1 Create a new project 2 Specify the path of the PAC reference 3 Add the control to the form 4 Add the event handling for the control 5 Upload the application to iPPC 6 Execute the application on iPPC All main steps will be described in the following subsection IPPC Series WES7 based PAC User Manual version1 0 0 Page 75 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 1 Create a New Project The C project template is a composite control that you use in this example creates a new project with this user control To create a new project 1 Run the Visual Studio 2008 Visual Studio 2008 2 On the File menu point to New and then click Project Edit View Tools Test _ Window Help New P 3 Project Ctl Shift N Open gt Web Site Shiftt Alt N Close BE ES Chin Project From Existing Code e a e Sie n in n S o on aa a S a g Save All Ctl Shift s pery rererere Recent Files Recent Projects gt iP
46. d with the package or by downloading the latest version from ICP DAS web site CD SDK PACSDK PACSDK For iPPC 6631 WES 7 ftp ttp icodas com pub cd ippc_wes 7 n2600 sdk pacsdk pacsdk For iPPC x731 WES7 ftp ttp icodas com pub cd ippc_wes e3827 sdk pacsdk pacsdk 2 On the Tools menu and then click Options File Edit View Project Build Debug Format Test Window Help Attach to Process Ctlt AltHP Device Security Manager Connect to Device Device Emulator Manager Connect to Database Connect to Server Code nippet Manager ChiE CrhB Choose Toolbox Iteme Add in Manager Macros Find More Extensions Create GUID Dottuscator Community Edition Eror Lookup eDytt WCF Service Configuration Editor External Tools Import and Expor Sethngs Customize Options iPPC Series WES7 based PAC User Manual version1 0 0 Page 91 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 In the left pane expand Projects and Solutions and then click the VC Directories 4 Select Include files in the Show directories for drop down box and then click the New Line button 5 Add a new line to the list of directories Browse to the directory that contains the PACSDK H file Options F fx E Environment show directories for E Projects and solutions Include files ne bo General f xecutable files i Figi rates Tnclude files fees efaults VC
47. emo program is used by 87K series DO modules 3 Shows how to read the DI and the DO values of the DIO module This demo program is used by 87K series DIO modules Shows how to send receive a command response application This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the Al values of Al module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the AO values to AO module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI values of DI module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to write the DO values to DO module This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the DI and the DO values of the DIO module This demo program is used by 7K or 87K series Al modules which connected through a COM port iPPC Series WES7 based PAC User Manual version1 0 0 Page 118 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 8 Restore and Recovery This chapter provides information of the iPPC restore and recovery and a guided tour that describes the steps needed to restore and recovery the iPPC The iPPC come with a recuse CF card that can be used t
48. ey are just images that are convenient to move around on the form into a precise location After you add a control to your form you can use the Properties window to set its properties such as background color and default text The values that you specify in the Properties window are the initial values that will be assigned to that property when the control is created at run time To add the control to the form 1 From the Toolbox drag a Button control onto the form Toolbox All Device Controls hm Pointer tl BindingSource CheckBox z8 ComboBox f ContextMenu J DataGrid ai DataSet T Date TimePicker gt DomamUpDown gt HScrolBar sy ImageList Ta Server Explorer 3p Tool Formi cs Desgn Properties Start Fage X Formi iPPC Series WES7 based PAC User Manual version1 0 0 Page 80 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Right click the Button control and then click Properties Formi cs Design Properties Start Page X View Code Lock Controls select For Cut Copy Delete Froperties 3 In the Properties window type Check the SDK version in the Text item and press ENTER Form cs Desen Properties Start Fage x battonl System Windows Formis Button F Ei none a RightToLeft No Check the SDK Version 7 Text lien MiddleCenter Text imageRelation Overlay UseMnemomic Tie Tle Wasa hrle
49. ft panel e Ow P gt Control Panel System and Security Windows Firewall v Search Control Pane p A Control Panel H ith Wi i i Help protect your computer with Windows Firewall Allow a ee ra feature Windows Firewall can help prevent hackers or malicious software from gaining access to your computer through Windows Firewall through the Internet or a network How does a firewall help protect my computer Turn Windows Firewall on or hat are network locations gv Home or work private networks Not Connected eee settings ry Public networks Connected 4 Troubleshoot my network Networks in public places such as airports or coffee shops Windows Firewall state On Incoming connections Block all connections to programs that are not on the list of allowed programs Active public networks s icpdas com Notification state Do not notify me when Windows Firewall blocks a new program See also Action Center Network and Sharing Center 2 Select the settings for your home work private or public network and then OK Ow E System and Security Windows Firewall Customize Settings v Search Control Pane pP Customize settings for each type of network You can modify the firewall settings for each type of network location that you use What are network locations Home or work private network location settings F Turn on Windows Firewall Block all incoming connections including
50. ge or by downloading the latest version from ICP DAS web site CD Rescue_ Disk For iPPC 6631 WES 7 ftp ftp icodas com pub cd ippc _wes n2600 rescue _ disk For iPPC x731 WES 7 ftp ftp icodas com pub cd ippc _wes e382 rescue disk iPPC Series WES7 based PAC User Manual version1 0 0 Page 123 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Run the Symantec Ghost32 and then click OK button Si ae Buus 11 0 2 Tey aii ii i These iy pennies Euruurs gion All raghts pase rT iy qen Oo a About Symantec Ghost Symantec Ghost 11 0 2 Corporate Edition Symantec Corporation symantec Logo are trademarks or registered trademarks of Symantec Corporation or its affiliates in the U S and other countries Other names may be trademarks of their respective owners The Licensed Software and Documentation are deemed to be commercial computer software and commercial computer software documentation as defined in FAR Sections 12 212 and DFARS Section gerrei 3 Click Function Menu point to Local point to Disk and then click From Image aumantec Ghost LLI Goporioght Oy Vos 200 Somantec Gorporation All rights reserved From Inmage IPPC Series WES7 based PAC User Manual version 0 0 Page 124 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 Select the rescue ghost file rescue gho that you saved and then click Open symantec bho
51. gical security risks and solutions associated with the iPPC services Security is important for iPPC Based on WES 7 iPPC can avoid many security vulnerabilities The following provides some security policy that you should consider before you develop your IPPC gt Windows Firewall gt IIS Internet Information Service gt EWF Enhanced Write Filter The following table provides the default settings of the IPPC security policy Security Item Default Settings User Name Password Firewall Enable anonymous Blank Enable iPPC Series WES7 based PAC User Manual version1 0 0 Page 35 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 1 Creating and Managing User Accounts Based on WES iPPC includes several components for managing user account names groups and passwords e The Administrator Account component allows you to specify the password for the local Administrator account You can only include one Administrator Account component in your configuration e The User Account component allows you to specify the user name group and password for a local user account You must add a separate User Account component for each user in your configuration e Additional components are required if you want to provide end user access to account settings passwords and display names in User Accounts in Control Panel lf you do not add the Administrator Account component the run t
52. i eTA 42 33 COnNguUrnno THE FP SENE asina a a A e 44 24 Conid unotMe EWF Manager r RA 48 A WOON S ANA T ASK S tec le cc EE E EE O E alas ada aie ce ceneehe erence 54 A Vig PAC UI enaa aa a E 55 Atis System NOMA O Nesa a ah ot eh dat had see leet Sees 55 Ase ANO EXC CUO se avadisalexcdinadasadianlenndiuaceradianiesadtapsavadinalescdiepsavedsaneneeneounces 56 A Vsde EVV QDCTAlON ition in aise ele i i 57 4 1 4 Multi serial Port MOUIE cccccccccceseeceseeceeeseeeeceeeeceeesaeeeseeesssenenees 58 4 1 5 Language Setting ccccccccccsescccseseeceseeeceeeeceueeeceucesseusecsaueessueeessaeeessaeess 59 AZ DCON GUMY PO asc35 stesgse ssose ea etasensgadaraabedesenacuumege ay aepsdescnsnasanasdeseenuseseee 60 7G a NY eed el ws Re ee 61 IPPC Series WES7 based PAC User Manual version1 0 0 Page 3 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com DO ad Wa al OO fre 9 penne ree erm entree E eae oe er 62 5 1 YOUR First IPPG Program in VB NET siccccscececteusee deseo dundee adane a aie 63 Sl he Greater NOW Proje l siesaaesceeseaessavenavsnewsoeredaxseisinesssedsuextdeciserioessmereisoneree 64 5 1 2 Specify the Path of PAC Reference ccccccccceececeeeeceseeceeeeeeeeeseeenees 66 SES AGG the controlo US ON scence creconscarceasctescsanstcncserssarcseectexsenceeceeazecs 68 5 1 4 Add the Event Handling for the Control ccccceecseeeeeeeeeeeeeeeeeeeeeeeeeees 70 5
53. ice icpdas com 7 1 3 Visual C Samples for PAC Standard APIs The PAC SDK includes the following samples that demonstrate the use of the PAC Standard APIs in a Visual C language environment The following samples can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site For Visual C applications these demo programs can be obtained from CD Demo pacsadk vc Standard For iPPC 6631 WES 7 ftp ftp icodas com pub cd ippc _wes n2600 demo pacsdk vc standard For iPPC x731 WES 7 ftp ftp icodas com pub cd ippc _wes e382 7 demo pacsdk vc standard Folder diagnostic getdeviceinformati on GetRotaryID uart_sendcmd WatchDog iPPC Series WES7 based PAC User Manual diagnostic getdeviceinform ation GetRotaryID readmemory writememory uart_sendcmd WatchDog Explanation Retrieves information about the slot count _and the module inserted in the backplane Retrieves information about the status of i the DIP switch 3 Retrieves information about the OS 3 version the CPU version and the SDK version etc Retrieves information about the status of i the rotary switch Shows how to read date values from EEPROM Shows how to write date values to EEPROM Shows how to read the name of local I O modules via UART Displays information about how to operate _ the watchdog version1 0 0 Page 111 Copyright
54. ies WES7 based PAC User Manual version1 0 0 Page 5 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 Introduction This chapter provides an overview of the iPPC and its components and introduces the fundamental concepts for user familiar with the iPPC Ae eLogger The iPPC x631 WES7 and iPPC x731 WES 7 series are WES7 based iPPC that combine computing I O and operator interface into a single unit and provide the perfect solution for integrating HMI data acquisition and control in an individual PAC It is equipped with an Intel Atom N2600 E3827 CPU three I O expansion slots TFT LCD and a variety of connectives including dual Gigabit Ethernet USB port RS 232 and RS 485 interface The operating system is pre installed in the built in mSATA SSD and the storage can be expanded from a Compact Flash slot Local I O slots are available to use our I 8K and l 87K series I O modules and remote I O expansion is available to use our Ethernet I O modules and RS 485 I O modules Designed for panel mount installation the front panel is NEMA 4 IP65 rated and can withstand sprayed water humidity and extreme dust Designed to operate over a wide 10 C 60 C ambient temperature range the fan less design offers the ultimate in reliability with no moving parts Since WES7 has the same Win32 API as Windows 7 most popular applications on desktop can run on WES 7 based iPPC iPPC Series WES7
55. ime image is created with a single user account with full administrative privileges The account name is User1 and the password is User1 IPPC Series WES7 based PAC User Manual version1 0 0 Page 36 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com To open the user accounts tool 1 Click the Start button and then click Control Panel Sy Contro Pane T i E EF gt Control Panel v 44 Search Adjust your computer s settings View by Category System and Security User Accounts and Family Safety Va Review your computer s status amp 2 l Add or remove user accounts Back up your computer Set up parental controls for any user Find and fix problems Appearance and Personalization Network and Internet Ay Change the theme Gi View network status and tasks Change desktop background _ Choose homegroup and sharing options Adjust screen resolution J Hardware and Sound Clock Language and Region View devices and printers 1 Change keyboards or other input methods Add a device Change display language Programs Bw Ease of Access l a Uninstall a program oy Let Windows suggest settings Optimize visual display 2 Click the User Accounts and Family Safety User Accounts and Family Safety la Add or remove user accounts st Set up parental controls for any user IPPC Series WES7 based PAC User Manual version1 0 0 Page 37 Co
56. ing programs on iPPC series modules Choosing a SDK Library for an I O Module I O Slot I O Slot 2 S High Profile I 8K I 87K Series R 1 8120W I O Slot 3 FRnet CAN 2000 CAN 8000 1 8172W Z RS 485 PR SaR L FR 2000 SA Ethernet RU 87P4 1 7000 M 7000 ET 87P4 MTCP ET 7000 ET 7200 IPPC Series WES7 based PAC User Manual version1 0 0 Page 102 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Local I O Module I 8K series and I 87K series There are two types of I O modules that can be inserted into local bus of a iPPC device Parallel and Serial Parallel modules l 8K Series are high speed modules and only support an MCU Main Control Unit Serial modules I 87K Series can support either an MCU or an I O expansion unit The following table shows the appropriate SDK library to be used for I O modules gt I 8K series I O modules Native SDK NET CF SDK 8K series PACSDK dll PACNET dl Specified 8K series Specified SDK Specified SDK For full details regarding I 8K series I O modules and its demos please refer to CD Demo pacsdk gt 87K series I O modules Module Native SDK NET CF SDK 87K series PACSDK dll PACNET dll I 87K series with 87088W PACSDK_PWMdll PACNET dII For full details regarding I 87K series I O modules and its demos please refer to CD Demo pacsdk iPPC Series WES7 based PAC User
57. ion to iPPC IPPC supports FTP server service You can upload files to IPPC or download files from a public FTP server To upload the application to iPPC 1 On the Build menu click Build Solution File Edit View Project Debug Data Tools Test Window Help Build Solution Ctrl Shift B Rebuild Solution Clean Solution Build sDETnto Rebuild sDETnto Clean amp DEInto Publish SDE Into Configuration Manager 2 Open the browser and type the IP address of iPPC IPPC Series WES7 based PAC User Manual version 0 0 Page 72 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Upload the SDKInfo exe application and the corresponding PACNET dll files to iPPC Tips amp Warnings For applications programming in C and VB net with net compact framework AN when executing these application on iPPC the corresponding PACNET dll must be in the same directory as the exe file G Ui gt SDKnfo Organize Include in library Share with New folder ir Favorites ma eo ME Desktop sai JQ Downloads PACNET dIl SDKInfo exe at Places iPPC Series WES7 based PAC User Manual version1 0 0 Page 73 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 6 Execute the Application on iPPC After uploading the application to iPPC you can just double click it to execute it SDKInfo exe Ap IPPC Series WES7 b
58. ituation Version 1 0 1 0 Please contact ICP DAS to get OS recovery image E mail senicemicpdas corr iPPC Series WES7 based PAC User Manual version1 0 0 Page 131 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix IPPC Series WES7 based PAC User Manual version1 0 0 Page 132 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com A 1 8K Modules and I 87K Modules This chapter provides a brief overview of the different between the I 8K series modules and I 87K series modules I 8K and l 87K modules provide the option to expand the local I O to expansion I O slots and the bus type for the modules can be either parallel high profile 1 8K series or serial high profile I 87K series The differences between the I 8K series modules and I 87K series modules are as follows 8K Series _ i 87K Series Microprocessor Yes 8051 Communication Interface Parallel Bus Serial Bus Communication Speed Latched DI Function Counter Input for digital input Yes 100 Hz modules Power on Value Safe Value Programmable Slew Rate for AO modules iPPC Series WES7 based PAC User Manual version1 0 0 Page 133 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com B Revision History This chapter provides revision history information to this document The table below shows the revision history
59. l version1 0 0 Page 64 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 In the Project types pane expand Visual Basic and then click Windows 4 In the Templates pane click Windows Forms Application 5 Type a name in the Name field and then click OK button Here we will enter the name SDKInfo and a different location for the project if you wish Hew Project Project tres Templates NET Framework 3 5 w sl isual Basic Fisual Studio installed templates Windows in Web l aE Windows Forme Application ge Class Library i Pe ome rig WEF Application mig WEF Browser Application e Databas SM Console Application E Empty Project Reporting fe Windows Service ave WPF Custom Control Library Test ae WPF User Control Library tel Windows Fooms Control Libra WCF Workflow My Templates Visual C oo Visual ajjecarch Online Templates Other Project Types Test Projects A project for creating an application with a Windows user interface NET Framework 3 5 Name SUE Info Location CDocuments and pettine indowsthty Documenta WM Windowst My Document we bolution Name DE Info Create directory for solution iPPC Series WES7 based PAC User Manual version1 0 0 Page 65 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 2 Specify the Path of PAC Reference The PAC SDK provides a complete solution to integrate with IPPC and it
60. ly and align the IPPC socket and then carefully press the I O socket onto the socket 3 Use screw driver to screw tightly the screw IPPC Series WES7 based PAC User Manual version1 0 0 Page 21 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 Hold the I O module vertically and align the socket and then carefully press the I O module onto the socket a y c 5 Lock the I O module Tips amp Warnings If you do not expand the I O module full please keep the top case of the AN unused slot to protect the backplane from dirt dust and damage from foreign objects IPPC Series WES7 based PAC User Manual version 0 0 Page 22 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 1 2 Mounting the iPPC The iPPC can be mounted on a panel of maximum thickness I 5 mm Adequate access space can be available at the rear Panel thicknoss MER of the instrument panel for wiring and servicing purposes up to 5 mm Tips amp Warnings To ensure proper ventilation for the iPPC leave a minimum of 50 mm space between the top and bottom edges of the iPPC and the enclosure panels To mount the iPPC 1 Prepare the panel and cut the hole tothe en specified size Height The table below shows the dimension of the panel cut out of IPPC Models 3 Panel Cut Out Width x Height iPPC 5731 WES7 309 mmx 240 mm 1 mm iPPC 6631 WES7 366 mm x290 mm 1 mm
61. n VB NET The best way to learn programming with iPPC is to actually create a IPPC program The example below will guide you through creating this simple program in VB net and running them on iPPC To create a demo program with VB NET that includes the following main steps 1 Create a new project 2 Specify the path of the PAC reference 3 Add the control to the form 4 Add the event handling for the control 5 Upload the application to iPPC 6 Execute the application on iPPC All main steps will be described in the following subsection IPPC Series WES7 based PAC User Manual version1 0 0 Page 63 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 1 Create a New Project The Visual VB net project template is a composite control that you use in this example creates a new project with this user control To create a new project 1 Run the Visual Studio 2008 Visual Studio 2008 2 On the File menu point to New and then click Project Edit View Tools Test _ Window Help _ New gt 3 Project Ct ShiftN Open gt Web Site Shiftt Alt N Close 3 Fie Chin Project From Existing Code 1 1 a O g Save All Ctl Shift s ree Pee ee ree eee eee ee ere eere E Recent Files Recent Frojects a m a e a a a a a a e e a a a e a a a e el SEE mses esses T se Exit Ty iPPC Series WES7 based PAC User Manua
62. n about ET 7K and I 8KE4 8 MTCP series modules using Modbus protocol and its demos please refer to CD Demo pacsdk iPPC Series WES7 based PAC User Manual version1 0 0 Page 106 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 APls and Samples This chapter provides a brief overview of PAC APIs and samples that have been designed for IPPC ICP DAS provides a set of samples in different programming languages You can examine the sample codes which includes numerous comments to familiarize yourself with the PAC APIs This will allow developing your own applications quickly by modifying these demo programs For full usage information regarding the description prototype and the arguments of the functions please refer to the PAC Standard API Manual va PAC Standard API Manual 1 0 2 pdf Adobe Acrobat Pro Rer PASRBUM S OVRBBR t a s TR o Ge 745 l B e Tome 2 PAC API Functions LP Contents P About this Guide P 1 Getting Started P 1 1 Introducing the PACSDK P 1 2 Copying the PACSDK EYP 1 3 Setting up the Development Environment EHP 2 PAC APT Functions EHP 2 1 UART API P 2 1 1 uart pen P 2 1 2 uart Close LP 2 1 3 uart_Sendext P 2 1 4 uart Send P 2 1 5 Wart Recvext P 2 1 6 uart Recy P 2 1 7 uart_SendCmdext P 2 1 8 uart_SetTimedut P 2 1 9 uart _EnableCheckSum P 2 1 10
63. nager To commit EWF to allow settings to be saved _ _ TIN 1 Click the PAC Utility shortcut on the desktop 2 Click the EWF Operation tab select the Commit check box and then click Apply button FF PAC Utility V1 0 0 0 2014 05 12 np PAC Utility File Help Automatically run EWF Status when log on Windows EWF Control Enable Disable Protected Volume Configuration Type RAM REG State ENABLED Boot Command NO_CMD Param 0 Param2 0 Volume ID 10 80 97 2D 00 7E 00 00 00 00 00 00 00 00 00 00 Device Name Device HarddiskVolumet C Max Levels 1 Clump Size 512 Current Level 1 Memory used for data 10817536 bytes v iPPC Series WES7 based PAC User Manual version1 0 0 Page 29 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 In the pop up dialog box click Yes button Are you sure to save the change of the disk C be 4 Click the Start button click the arrow next to the Shut Down button and then click Restart Control Pane Devices and Printers Switch user Default Progran Log off Lock Help and Suppo sleep iPPC Series WES7 based PAC User Manual version1 0 0 Page 30 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 3 Changing the User Interface Language The Region and Languages Settings
64. network status and tasks Chan e desktop background lt Choose homegroup and sharing options Adjust screen resolution i ipa and eni Clock Language and Region ew devices and prin A Change keyboards or other input methods Add a devi Change display language F Programs Ease of Access Ka Uninstall a program es a rine cng settings IPPC Series WES7 based PAC User Manual version1 0 0 Page 44 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Click the System and Security and then click Administrative Tools P Administrative Tools FE Free up diskspace Defragment your hard drive W Create and format hard disk partitions W View event logs System and Securrey Review your computer s statix Back up your computer Find and fix problems ay Schedule tasks 3 Click the Internet Information Services IIS Manager a Se Internet Information Services 15 4 In the left pane expand the local machine and right click Sites and then Manager click the Add FTP site 5 Internet Information Services IS Manager OO p VP 6641 Sites File View Help Connections Add Web Site a 4 83 VP 6641 vp 6641 icpdas E Application Pools Gy Sites Filter ID Status Bin gt ie Site Add Web Site Refresh Add FTP Site K Switch to Content View It Web Site 1 Started ht 8
65. o not only boot the iPPC when the OS fails to load but also recover files The recovery file of the recuse CF card 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 Rescue_ Disk For iPPC 6631 WES 7 ftp ftp icodas com pub cd ippc _wes n2600 rescue _ disk For iPPC x731 WES7 ftp ftp icodas com pub cd ippc _wes e382 rescue disk iPPC Series WES7 based PAC User Manual version1 0 0 Page 119 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 8 1 Recovering the iPPC The IPPC comes with a recuse CF card that can be used to restore the iPPC to factory default settings by reinstalling the IPPC OS image If the iPPC crashes and won t start up you can use the rescue CF card to start up the iPPC and then fix the problem that caused the crash To restore the IPPC OS 1 Plug the Rescue CF card into CF slot 2 Restart the iPPC and then enter the BIOS by pressing F2 key IPPC Series WES7 based PAC User Manual version1 0 0 Page 120 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Press the key to highlight the Boot tab and then press key to select ATA HDD1 InnoDisk InnoLite iCF 8GB 4 Press key to move the ATA HDD1 InnoDisk InnoLite iCF 8GB to the top Phoenix SecureCore Tiano Setup Advanced Others Security Item Specific Help Boot Proiority Order Ke
66. oad Project Open Folder in Windows Explorer Properties iPPC Series WES7 based PAC User Manual version1 0 0 Page 94 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 9 In the left pane expand Configuration Properties and then click the Link 10 In the right pane type the PACSDK Iib in the Additional Dependencies item click Apply button and then click the OK button SDEInfo Property Pages Confiswation Active Debug Y Bitton Aetive Wine v E Common Properties Additional Dependencies PACSDE lib Configuration Properties Lenore All Default Libraries No Creneral I Snecific Lib Debuesi gnore specific Library H CA Module Definition File El Linker Add Module to Assembly nis Embed Managed Resource File Manifest File Force Symbol References Debugging Delay Loaded DLLs System Assembly Link Resource Optimization Embedded IDL Advanced Commend Line Manifest Tool Resources H EML Document Generator H Browse Information H Build Events E Custom Build Step Additonal Dependencies Specifies additional iteme to add to the link line ex kemell Lib configuration specific al iPPC Series WES7 based PAC User Manual version1 0 0 Page 95 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 3 3 Add the Control to the Form You can drag various controls from the Toolbox onto the form These controls are not really live they a
67. ommand line tool To control the status of EWF use the EWF Manager Command EWFMGR Windows Embedded Standard 7 includes the Enhanced Write Filter EWF console application command line tool Ewfmgr exe gt Check the EWF status ewfmor c gt Enable the EWF ewimgr c enable it is effective after rebooting gt Disable EWF ewimgr c commitanddisable live For more information about using EWF Manager Commands please refer to Manager Commands http msdn microsoft com en us library ms940853 v WinEmbedded 5 aspx Tips amp Warnings AN Only the disk drive usually c that OS resides can use the feature of EWF iPPC Series WES7 based PAC User Manual version1 0 0 Page 53 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 Tools and Tasks This chapter provides a brief introduction of the iPPC service tools and its benefits There are several tools and utilities built in and designed for use with IPPC Some of these are pre installed on iPPC and can work directly on iPPC and some of these are supporting tools and can help you to manage the iPPC remotely on a PC Tools for working with PC 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 Tools PAC Utility DCON Utility Pro NAPOPCSVR iPPC Series WES7 based PAC User Manual version1 0 0 Page 54 Copyright 2014 ICP DAS Co Ltd
68. on 0 0 Page 47 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 4 Configuring the EWF Manager EWF provides a means for protecting a volume from writes All writes to an EWF protected volume are redirected to an overlay These writes are stored in the overlay and made available as part of the volume In this way it feels like that the volume is writeable The overlay may exist either on disk or in RAM If desired the data stored in the overlay may be committed to the protected volume The following figure is an overview of EWF For more detailed information about Enhanced Write Filter EWF please refer to http msdn microsoft com en us library ms912906 WinEmbedded 5 aspx On iPPC only the C drive that OS resides can be protected In cases of maintenance the disk must be updated to your desired changes There are two way to use one is using the commit function We strongly recommend you to use this way and the other contains three steps 1 disabling EWF 2 updating and 3 re enabling EWF iPPC Series WES7 based PAC User Manual version1 0 0 Page 48 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com To disable the EWF 1 Click the PAC Utility shortcut on the desktop 2 Click the EWF Operation tab select the Disable check box and then click Apply button SF PAC Utility V1 0 0 0 2014 05 12 System Information Auto Exe Ch
69. onnections using a firewall and provide Network Address Translation NAT To open the Windows Firewall tool 1 Click the Start button and then click Control Panel Co Ow g gt Control Panel gt C ay your computer s settings View by Category LJ p n System and Security 2 s User icine pis bial Safety wy Review your computer s status Addo 3 user Back up your computer ag up parental c ee Find and fix problems f Appearance and Personalization _ E Network and Internet Change the theme hen Cartei Pe i View network status and tasks Chan es e desktop background Choose homegroup and sharing options Adjust screen resolution J Hardware and Sound Clock Language and Region View devices and printers ik Change keyboards or other input methods Add a device Change display language 2 Programs MW Ease of Access l 4 Uninstall a program ao ta Windows _ aie i Optimize visua display 2 Click the System and Security and then click Windows Firewall System and Security Review your computer s status Back up your computer Find and fix problems Windows Firewall Check firewall status Allow a program through Windows Firewall IPPC Series WES7 based PAC User Manual version 0 0 Page 42 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com To turn on off Windows Firewall 1 Click the Turn Windows Firewall on or off in the le
70. ounts Change an Account Make changes to General User s account Change the account name Create a password General User Change the picture Standard user Set up Parental Controls Change the account type Delete the account Manage another account gt Click the Change the account name to change the name that appears on the Welcome screen for the account gt Click the Create change a password to create or change the password for the user and create or change the password hint gt Click the Change the picture to change the picture that is used to represent the user account You can use any image file on the computer for the user s picture gt Click the Set up Parental Controls to set up the controls on each child s account gt Click the Change the account type to change the account type to increase or decrease the user s rights on the computer gt Click the Delete the account to delete the user account from the computer When you delete the account you are given the option to save the user s files on the computer gt Click the Manage another account to manage another account IPPC Series WES7 based PAC User Manual version 0 0 Page 41 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 2 Turning Firewall On or Off Based on WES 7 iPPC Firewall with Advanced Security and the related firewall technologies documented here enable user to share Internet connections protect c
71. pc _wes e3827 demo pacsdk vc io Folder Demo find _io 8kdi 8k_do 8k dio 87k_basic 87K demo 87k_ai 87k_ao Explanation Shows how to retrieve the module names and types which plugged in the iPPC Shows how to read the DI values of DI module This demo program is used by 8K series DI modules _ Shows how to write the DO values to DO module This demo program is used by 8K series DO modules Shows how to read the DI and the DO values of the DIO module 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 located as slots This demo program is used by 87K series modules Shows how to read the Al values of Al module This demo program is used by 87K series Al modules Shows how to write the AO values to AO module This demo program is used by 87K series AO modules IPPC Series WES7 based PAC User Manual version 0 0 Page 117 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo 87k_di 87k_do 87k dio 7kK87k_basic 7k87k_ai k87k_ao Remote 7k87kdi 7k87k_do 7k87k_dio Explanation Shows how to read the DI values of DI module This demo program is used by 87K series DI modules Shows how to write the DO values to DO module This d
72. pyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com To create a new use account 1 Click the Add or remove user accounts User Accounts Change your account picture Q a Add or remove user accounts Change your Windows password 2 Click the Create a new account seo S 2B User Accounts gt Manage Accounts 4s Search Contrat Pane 2 7 a aan Choose the account you would like to change PAE Misa Guest rae red ee i i Guest account is off Set up Parental Controls Go to the main User Accounts page iPPC Series WES7 based PAC User Manual version1 0 0 Page 38 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Type the name that you want to use for the account select the desired account type and then click Create Account Search Control Panel Pp z A User Accounts Manage Accounts Create New Account Name the account and choose an account type This name will appear on the Welcome screen and on the Start menu Standard user Standard account users can use most software and change system settings that do not affect other users or the security of the computer S Administrator Administrators have complete access to the computer and can make any desired changes Based on notification settings administrators may be asked to provide their password or confirmation before making ch
73. r inputs that can be connected simultaneously to live DC power sources If one power source fails the other live source acts as a backup and automatically supplies all of IPPC power needs For more information about the supported power supply from ICP DAS web site see http Awww icodas com products Accessories power supply power list htm To supply power to iPPC There are two ways to supply power to the IPPC i Single power supply o 24 Voc Power Supply PGND PGND PAR2 IPPC Series WES7 based PAC User Manual version 0 0 Page 27 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com ii Redundant power supply The redundant power can be used single and used two self governed power to supply to the system PWR1 and PWR2 input at the same time when one power fails the other power acts as a backup and automatically supplies power needs 24 Voc Power Supply IPPC Series WES7 based PAC User Manual version1 0 0 Page 28 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 2 Committing EWF to Allow Settings to Be Saved The EWF is a safety mechanism that provides the ability to control write protection of the iPPC system built in C drive Any changes made to the system are lost when the start restarts while EWF is enabled unless they are committed to the system For more details about the EWF please refer to section 3 4 Configuring the EWF Ma
74. re just images that are convenient to move around on the form into a precise location After you add a control to your form you can use the Properties window to set its properties such as background color and default text The values that you specify in the Properties window are the initial values that will be assigned to that property when the control is created at run time To add the control to the form 1 From the Toolbox drag a Button control onto the form Toolbox Dialog Editor l Pointer CL Button Ix Check Box ab Edit Control SDKInfo re 0 Dialog 7 x EH Combo Box ER List Box Group Box Radio Button Aa State Text WE Piche Control HH Horizontal Scroll Bar Vertical Sevoll Bar de Slider Control Spin Control a TODO Place dialog controls here mm Ca Progress Control lies Hat Farr En iPPC Series WES7 based PAC User Manual version1 0 0 Page 96 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Right click the Button control and then click Properties SDEInfo re IDD Dialog x Add Event Handler Insert ActiveX Contol Add Class Add Variable Size to Content Check Mnemonics 3 In the Properties window type Check the SDK version in the Caption item and press ENTER ae Z Appearance Bitmap Check the SDE Yersion lent Ed ge False Flat False Horizontal Aliens Defa
75. s compatible with Visual C Visual Basic net and C In order to use a component in your application you must first add a reference to it To specify the path of PAC reference 1 Get the PACNET dIl and copy it to the project folder The PACNET dll can be obtained separately on the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD SDK PACSDK pacnet For iPPC 6631 WES 7 fto ftp icodas com pub cd ippc wes7 n2600 sdk pacsdk pacnet For iPPC x731 WES7 fto ftp icodas com pub cd ipopc wes7 e3827 sdk pacsdk pacnet PACHET dll 07 24491 F A C WE T Se iPPC Series WES7 based PAC User Manual version1 0 0 Page 66 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 In the Solution Explorer right click the References node and then click Add Reference 3 Click the Browse tab and then select the PACNET dIl SOlotion Explorer MyPorject P solution MyFonect il project SEE M pim Add Reference Add Web Reference NET Projects Browse Recent Location LO SDEInformation PACNET d Name PACNET All File types Component Files d0 tlh olb gt ocx exe IPPC Series WES7 based PAC User Manual version1 0 0 Page 67 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 3 Add the Control to the Form You can dr
76. s from a public FTP server To upload the application to iPPC 1 On the Build menu click Build Solution File Edit View Project Debug Data Tools Test Window Help Build Solution Ctrl Shift B Rebuild Solution Clean Solution Build sDETnto Rebuild sDETnto Clean amp DEInto Publish SDE Into Configuration Manager 2 Open the browser and type the IP address of iPPC iPPC Series WES7 based PAC User Manual version1 0 0 Page 84 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 Upload the SDKInfo exe application and the corresponding PACNET dll files to iPPC Tips amp Warnings For applications programming in C and VB net with net compact framework AN when executing these application on iPPC the corresponding PACNET dll must be in the same directory as the exe file G Ui gt SDKnfo Organize Include in library Share with New folder ir Favorites ma eo ME Desktop sai JQ Downloads PACNET dIl SDKInfo exe at Places iPPC Series WES7 based PAC User Manual version1 0 0 Page 85 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 2 6 Execute the Application on iPPC After uploading the application to iPPC you can just double click it to execute it SDKInfo exe Ap iPPC Series WES7 based PAC User Manual version1 0 0 Page 86 Copyright 2014 ICP DAS Co Ltd All Rights Re
77. s is complete Please read the following end user license agreement EULA carefully To use this factory restore option you must accept the terms of the EULA LICENSE AGREEMENT TO RESTORE THE IPPC TO THE ORIGINAL OEM FACTORY STATE YOU WILL NEED TO ACCEPT THIS AGREEMENT BY SELECTING THE ACCEPT EULA BUTTON LOCATED ON THE SCREEN O Yes accept the EULA No decline the EULA Start WES7 Recovery Start Cmd Exit the Program 7 Click the Exit the Program button and then repeat the step 2 to 5 to use the ATAHDDO 16GB SATA Flash Drive as a boot drive and restart the iPPC IPPC Series WES7 based PAC User Manual version 0 0 Page 122 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 8 2 Restoring the Rescue CF Card The rescue CF card is rescue equipment that allows you to perform some maintenance tasks on your system in case of failure Once the rescue CF card are partitioned or formatted you must restore the rescue CF card Requirements For restoring the Rescue CF card you should prepare Ghost 11 or later which you could obtain by contacting Symantec hitp Wwww symantec com In this article we will use Symantec Norton Ghost32 V 11 The Symantec Norton Ghost V 11 or above version are recommend to restore the rescue CF card To restore the rescue CF card 1 Get the rescue ghost file rescue gho The rescue gho file can be found on the CD that was provided with the packa
78. sed by 8K series DO modules Shows how to read the DI and the DO values of the DIO module This demo program is used by 8K series DIO modules Shows how 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 located as slots This demo program is used by 87K series modules Shows how to read the Al values of Al module This demo program is used by 87K series Al modules Shows how to write the AO values to AO module This demo program is used by 87K series AO modules iPPC Series WES7 based PAC User Manual version1 0 0 Page 113 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Folder Demo 87k _di 87k_do 87k dio 7kK87k_basic 7k87k ai k87k_ao Remote 7k87kdi 7k87k_do 7k87k_dio Explanation Shows how to read the DI values of DI module This demo program is used by 87K series DI modules Shows how to write the DO values to DO module This demo program is used by 87K series DO modules 3 Shows how to read the DI and the DO values of the DIO module This demo program is used by 87K series DIO modules Shows how to send receive a command response application This demo program is used by 7K or 87K series Al modules which connected through a COM port Shows how to read the Al values of Al module This demo program is used by
79. served E mail service icpdas com 5 3 Your First iPPC Program in Visual C The best way to learn programming with iPPC is to actually create a IPPC program The example below will guide you through creating this simple program in Visual C and running them on iPPC To create a demo program with Visual C that includes the following main steps 1 Create a new project 2 Specify the path of the iPPC reference 3 Add the control to the form 4 Add the event handling for the control 5 Upload the application to iPPC 6 Execute the application on iPPC All main steps will be described in the following subsection iPPC Series WES7 based PAC User Manual version 0 0 Page 87 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 3 1 Create a New Project The Visual C project template is a composite control that you use in this example creates a new project with this user control To create a new project 1 Run the Visual Studio 2008 Visual Studio 2008 2 On the File menu point to New and then click Project Edit View Tools Test _ Window Help New P 3 Project Ctl ShifttN Open gt Web Site Shiftt Alt N Close BE ES Chin Project From Existing Code os e Sie n in n S o on aa a S a g Save All Ctl Shift s pery rererere Recent Files Recent Projects gt iPPC Series WES7 based PAC User Manual version1 0 0 Page 88
80. st 10 programs can be specified to execute automatically at system startup Progam 1 C Users icpdas Desktop PacUtility Release PAC Utility exe Program 2 Program 3 Program 4 Program 5 Program 6 Program 7 Program 6 Program 9 UCU Program 10 Clear All Setting save All Setting Tips amp Warnings The allowed file types are exe and bat and they are executed in order of AN program 1 program 2 etc The tab use to How to use Configure programs running at Click on the Browse button and select the startup execute file which you want and then click the Save All Setting button iPPC Series WES7 based PAC User Manual version1 0 0 Page 56 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 1 3 EWF Operation The EWF Operation tab provides functions to configure EWF PAC Unity v0 00 DIONA nye PAC Utility System Information Auto Execution EWF Operation Multi serial Port Module Language Setting Change the EWF status to enable or disable the system protection Automatically run EWF Status when I log on Windows EWF Control Enable Disable Apply Protected Volume Configuration Type RAM REG State ENABLED Boot Command NO_CMD Param 0 Param2 0 Volume ID 10 80 97 2D 00 7E 00 09 00 00 00 00 00 00 00 00 Device Name WDevce HarddiskVolumel C Max Levels 1 Clump Size 512 Current Level 1 Memory used for data 10617556 bytes The tab use to How to use
81. st DIO Gopgright Ger 1996 200 Somantec Gorporation All rights reserved Image file name to restore from 5 Select the destination to CF card and click then OK Select local destination drive by clicking on the drive number iPPC Series WES7 based PAC User Manual version1 0 0 Page 125 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 Recovery the rescue ghost file rescue gho into CF card and then click OK symantec Ghosh LLE Gopornoht Ob 1996 2000 Somantec Gorporation All rights reserved Destination Drive Details 7 The rescue CF card has been done Symantec Ghost 11 0 2 Copyright CC 1998 2007 Symantec Corporation All rights reserved Local file DF KH2000_Rescue_Disk_v1000 6H0 1905 HE Local drive 3 1839 HE iPPC Series WES7 based PAC User Manual version1 0 0 Page 126 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 9 IPPC Updates This chapter provides information of the iPPC OS and SDKs and a guided tour that demonstrates the steps needed to update the IPPC OS and SDKs ICP DAS will continue to add additional features to IPPC OS and SDKs in the future so we advise you to periodically check the ICP DAS web site for the latest updates Both the files of OS updates and SDK updates can be found on the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD For iPPC 6631 W
82. t I O modules are connected to the FRnet network Module Native SDK NET CF SDK I 8172W pac_i8172W dl pac8172WNet dl RS 485 I 7K series and M 7K series l 7000 M 7000 RU 87Pn and high profile 87K series modules connect to iPPC series devices via a twisted pair multi drop 2 wire RS 485 network gt I 7K series I O modules Module Native SDK NET CF SDK I 7K series PACSDK dl PACNET dll I 7K series with 7088 D PACSDK_PWMdll PACNET dlI For full details regarding I 7K series I O modules and its demos please refer to CD Demo pacsdk gt M 7K series I O modules Module Native SDK NET CF SDK M 7K series Modbus Demo Modbus Demo For more detailed information about M 7K series modules using Modbus protocol and its demos please refer to CD Demo pacsdk iPPC Series WES7 based PAC User Manual version1 0 0 Page 105 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com gt RU 87Pn l 87K series I O modules Module Native SDK NET CF SDK RU 87Pn 87K PACSDK dll PACNET dII gt Other specified I O Module Native SDK NET CF SDK Others PACSDK dl PACNET dII Ethernet ET 7K series and I 8KE4 8 MTCP The Ethernet I O devices available include ET 7000 and I 8KE4 8 MTCP and support either the DCON or the Modbus TCP communication protocol Module Native SDK NET CF SDK Modbus Demo Modbus Demo For more detailed informatio
83. those in the list of allowed programs Notify me when Windows Firewall blocks a new program 8 Turn off Windows Firewall not recommended Public network location settings iy Turn on Windows Firewall Block all incoming connections including those in the list of allowed programs Notify me when Windows Firewall blocks a new program x Turn off Windows Firewall not recommended iPPC Series WES7 based PAC User Manual version1 0 0 Page 43 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 3 3 Configuring the FTP Server Microsoft Internet Information Service IIS is installed in iPPC and enabled as default The IIS includes FTP Server and Web Server It is convenient to use anonymous FTP access as default However it may cause some security problems too Tips amp Warnings lf you can t set up the FTP server this is probably caused by the firewall setting AN turn the firewall off To configure the FTP Server 1 Click the Start button and then click Control Panel Ie E gt Control Panel gt C your computer s settings View by Category i System and Security AJS 4 Revi omputer s statu a man jose oo Safety Add o Set up parental controls Pa iew your c Back up your computer Find a nd fx pre oblems Appearance and Personalization Change the theme ho ot janaa Pa i G Network and Internet Podis erti Pow View
84. uart_S5etTer minator LP 2 1 11 uart_BinSend LP 2 1 12 uart_BinRecy LP 2 1 13 uart_BinSendomd P 2 1 14 uart_GetlineStatus P 2 1 15 uart_GetDataSize P 2 1 16 uart_SetLineStatus P 1 3 1 C C based on Visual Stuz P 1 3 2 Visual c P 1 3 3 VB net P 1 3 4 Visual Basic 6 0 peeeeeeseereneeerenneeneennrneerenneereeneereeeennneenneeenneneeneesennneeenneeneeneerenneenneneeeneneennneneneenneeeeenennnnn S P 2 1 UART API P 2 1 1 uart_Open P 2 1 2 uart_Close P 2 1 3 uart_SendExt P 2 1 4 uart_Send LP 2 1 5 uart_RecvExt 2 1 6 uart_Recv LP 2 1 7 uart_SendCmdext P 2 1 8 uart_SetTimeOut LP 2 1 9 uart_EnableCheckSum P 2 1 10 uart_SetTer minator P 2 1 11 uart_BinSend P 2 1 12 uart_BinRecy P 2 1 13 uart_BinSendcmd P 2 1 14 uart Get i EHP 2 2 PACIO API P 2 2 1 pac_GetBit P 22 2 pac_WritebOypac_WritebO_MPF iPPC Series WES7 based PAC User Manual version1 0 0 Page 107 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 7 1 PAC Standard APIs The diagram below shows the set of each system operation API provided in the PACSDK gt System Information gt Watchdog gt Backplane Access gt UART gt Backlight gt Buzzer gt Interrupt gt LED gt Memory Access System Operation iPPC Series WES7 based PAC User Manual version1 0 0 Page 108 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service
85. ult Icon False Modal Frame False Multiline False Caption species the text displayed bw the control IPPC Series WES7 based PAC User Manual version1 0 0 Page 97 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 3 4 Add the Event Handling for the Control You have finished the design stage of your application and are at the point when you can start adding some code to provide the program s functionality To add the event handling for the control 1 Double click the button on the form E Check the SDK version TODO Place dialog controls here iPPC Series WES7 based PAC User Manual version1 0 0 Page 98 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 2 Inserting the following code char sdk_version 32 TCHAR buf 32 pac_GetSDKVersion sdk_version pac_AnsiToWideString sdk_version buf MessageBox buf 0 MB_Ok E void CSDKInfoDlg OnBnC1lickedButton1 ff TODO Add your control notification handler code here Char sdk_version 32 TCHAR buf 32 pac _GetSDKVersion sdk_version pac_AnsiToWidestring sdk_version buf MessageBox but 8 MB_OK f 3 Inserting the following code into the header area include PACSDK H a7 SDKInfoDlg cpp implementation file ff Hinclude stdafx h include SDKInfo h finclude SDKInfoDlg h Hinclude PACSDK H ifdef _ DEBUG L define iPPC Series WES7 based PA
86. ved E mail service icpdas com 5 Your First iPPC Program This chapter provides a guided tour that describes the steps needed to set up a development environment download install configure for user programming with the IPPC Before writing your first program ensure that you have the necessary development tool and the corresponding iPPC SDKs are installed on your system Development Tools IPPC is a WES7 based unit WES7 is a mature embedded operating system which supports rapid development Three standard development tools are list as follows which are highly integrated with comprehensive support for developing applications of WES7 based IPPC gt Visual Basic net gt Visual C gt Visual C IPPC SDKs The PAC SDK is a Software Development Kit SDK that contains C header files C libraries and documents The IPPC SDK can be obtained from the CD that was provided with the package or by downloading the latest version from ICP DAS web site CD SDK Install For iPPC 6631 WES 7 ftp ftp icodas com pub cd ippc_wes _ n2600 sdk install For iPPC x731 WES 7 ftp ttp icodas com pub cd ippc_wes e3827 sdk install After downloading the installer simply double click the file and follow the step by step instructions to complete installation IPPC Series WES7 based PAC User Manual version 0 0 Page 62 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 5 1 Your First iPPC Program i
87. ys used to view or ATA HDDO 16GB SATA Flash Drive configure devices USB HDD and arrows Select a USB CD device and USB FDD move the device up or down Shift 1 enables or disables a ATAPI CD Other HDD device Del deletes Internal Shell PCI LAN BEV an unprotected device 5 Press the F10 key and then select Yes to save settings and exit the utility The iPPC will restart and then enter to the iPPC WES Recovery Utility IPPC Series WES7 based PAC User Manual version 0 0 Page 121 Copyright 2014 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 6 Select the Yes accept the EULA check box and then click the Start WES7 Recovery button for start the recovery process The process will take a few minutes until this utility is displayed again a at a re i Te f Hh Welcome to the iPPC WES Recovery Utility This program will restore the Windows embedded system on your iPPC During this process ALL DATA currently stored on the Hard Disk will be ERASED and will not be able to be recovered Ensure that all necessary files have been backed up before continuing with the restore process Please do not remove the USB Drive or CF card from your iPPC after starting the Recovery Process Note that the restore process will take several minutes so please wait until the process has finished The iPPC will automatically reboot once the restore proces

Download Pdf Manuals

image

Related Search

Related Contents

  Operating Instructions  Netgear EX6150 Installation Guide  Istruzioni per l`uso  Interior del GT 2X10 LA  User Manual  

Copyright © All rights reserved.
Failed to retrieve file