Table of Contents

Advertisement

Quick Links

iPPC-IoT Series
User Manual
V1.0.0 May 2024
iPPC-4801-IoT/iPPC-6801-IoT/iPPC-6831-IoT
iPPC-4901-IoT/iPPC-6901-IoT/iPPC-6931-IoT
Written by Jeffery
Hong
Edited by Mac Cho

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the iPPC-IoT Series and is the answer not in the manual?

Questions and answers

Summary of Contents for ICP DAS USA iPPC-IoT Series

  • Page 1 Series User Manual V1.0.0 May 2024 iPPC-4801-IoT/iPPC-6801-IoT/iPPC-6831-IoT iPPC-4901-IoT/iPPC-6901-IoT/iPPC-6931-IoT Written by Jeffery Hong Edited by Mac Cho...
  • Page 2 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.
  • Page 3: Table Of Contents

    Contents 1. Introduction ............................5 1.1. Features ............................6 1.2. Specifications ..........................9 1.3. Overview ............................ 15 1.4. Dimensions ..........................21 1.5. Rescue CF Card........................... 23 2. Getting Started ............................. 24 2.1. Mounting the Hardware ......................25 2.1.1. Inserting the I/O Modules (for iPPC-6831-IoT/iPPC-6931-IoT) ........26 2.1.2.
  • Page 4 5.2.3. Add the Control to the Form ..................82 5.2.4. Add the Event Handling for the Control ................. 84 5.2.5. Upload the Application to iPPC-IoT ................86 5.2.6. Execute the Application on iPPC-IoT ................88 5.3. Your First iPPC-IoT Program in Visual C++ ................. 89 5.3.1.
  • Page 5: Introduction

    This chapter provides an overview of the iPPC-IoTand its components, and introduces the fundamental concepts for user familiar with the iPPC-IoT. The iPPC-IoT series is Windows 10 IoT Enterprise based Panel PC 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 iPPC.
  • Page 6: Features

    1.1. Features The iPPC-IoT offers the most comprehensive configuration and remote system upgrade solutions to meet specific application requirements. The following list shows the software and hardware features designed to simplify installation, configuration and application. Software Features ● Windows IoT (Windows 10 IoT Enterprise LTSC 2021) Windows 10 IoT is a member of the Windows 10 family that brings enterprise-class power, security, and manageability to the Internet of Things.
  • Page 7 15" (1024 x 768) TFT LCD with Touch Panel for iPPC-6801-IoT/iPPC-6831-IoT/ iPPC-6901-IoT/iPPC-6931-IoT Memory Size: SDRAM (4 GB DDR3) Flash (128 GB SSD) CF Card (support up to 32 GB) 64-bit Hardware Serial Number The 64-bit hardware serial number is unique and individual. Every serial number of iPPC-IoT PAC is different.
  • Page 8 Dual Ethernet Ports (for iPPC-6801-IoT/iPPC-6831-IoT/iPPC-6901-IoT/iPPC-6931-IoT) iPPC-IoT provides two Gigabit Ethernet ports. The two Ethernet ports can be used to implement redundant Ethernet communication and separate Ethernet communication (one for a global Internet, one for private Ethernet). Dual Watchdog Timer A system could be hanged up when the OS or the AP fails. There are two watchdogs (CPU watchdog and Backplane watchdog) designed to automatically reset the CPU/Backplane when the situations happen.
  • Page 9: Specifications

    1.2. Specifications The table below summarizes the specifications of iPPC-IoT. Models iPPC-4801-IoT iPPC-4901-IoT iPPC-6801-IoT iPPC-6901-IoT System Software Windows 10 IoT Enterprise (64-bit) Framework .Net Compact Framework 3.5~4.8 Support SDK Provided Dll for VC, Dll for Visual Studio.Net Multilanguag English, German, French, Spanish, Portuguese, Russian, Italian, Korean, Japanese, e Support Simplified Chinese, Traditional Chinese CPU Module...
  • Page 10 Rotary Yes (0 ~ 9) Switch Display Size 10.4" (4:3) 15" (4:3) Resolution 800 x 600 1024 x 768 Brightness 400 cd/m2 Contrast 500:1 700:1 Ratio Backlight Life 50,000 hours Touch Panel 5-wire, resistive type; light transmission: 80 % Communication Ports Ethernet 1 x RJ-45, 10/100/1000M Base-TX 2 x RJ-45, 10/100/1000M Base-TX...
  • Page 11 Storage -20 °C to +70 °C Temperature Ambient 10 % to 90 % RH (non-condensing) Relative Humidity Power Input Range +10 V to +30 V Isolation 1.5 kV Redundant Power Inputs 22 W Consumption iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 11 Copyright ©...
  • Page 12 Models iPPC-6831-IoT iPPC-6931-IoT System Software Windows 10 IoT Enterprise (64-bit) Framework .Net Compact Framework 3.5~4.8 Support SDK Provided Dll for VC, Dll for Visual Studio.Net Multilanguag English, German, French, Spanish, Portuguese, Russian, Italian, Korean, Japanese, e Support Simplified Chinese, Traditional Chinese CPU Module E3950 (1.6~2.0 GHz, 64bit quad core) E3845 (1.91 GHz, 64-bit quad core)
  • Page 13 Brightness 400 cd/m2 Contrast 700:1 Ratio Backlight Life 50,000 hours Touch Panel 5-wire, resistive type; light transmission: 80 % I/O Expansion I-8K, I-87K series Slots Communication Ports Ethernet 2 x RJ-45, 10/100/1000M Base-TX Port USB port USB 2.0 x 3 COM2 RS-232 COM3...
  • Page 14 Ambient 10 % to 90 % RH (non-condensing) Relative Humidity Power Input Range +10 V to +30 V Isolation 1.5 kV Redundant Power Inputs 25 W Consumption iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 14 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 15: Overview

    1.3. Overview The iPPC-IoT Series modules are equipped with several interfaces and peripherals that can be integrated with external systems. Here is an overview of the components and its descriptions. iPPC-4801-IoT iPPC-6801-IoT iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0...
  • Page 16 iPPC-6831-IoT Tips & Warnings The iPPC-IoT on the side has a cover to protect the interior components. Before starting any work with these components, first open the cover. LED Indicators LED Indicator Label State (Color) Meaning Programmable LED Indicators L1 and L2 Programmable LED indicators System LED indicator Green...
  • Page 17 ● DIP Switch The iPPC-IoT has 2 COM ports that provide versatile communication types: RS-232, RS-422 and RS-485. The two DIP switches are used for assigning the communication types. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 17 Copyright ©...
  • Page 18 Redundant Power (PWR1 and PWR2) The iPPC-IoT has a terminal with 5-wire; there are 4-wire for redundant power input and a wire for frame ground, the details are shown as below. ● Mic-in & Earphone-out The iPPC-IoT has a microphone-in and an earphone-out that can be used to process the input and the output of sound.
  • Page 19 ● COM1, Expansion I/O Slot for iPPC-6831-IoT/iPPC-6931-IoT The iPPC-IoT has 1/3/7 I/O slots that can be used to integrate high performance parallel I/O modules (I-8K Series) or serial I/O modules (I-87K series). ● COM2 /COM3 for iPPC-4801-IoT/iPPC-4901-IoT/iPPC-6801-IoT/iPPC-6901-IoT The iPPC has 2 COM ports that provide versatile communication types: RS-232, RS-422 and RS-485.
  • Page 20 COM3 (2-wire RS-485) for iPPC-6831-IoT/iPPC-6931-IoT The COM3 port is a 3-wire RS-485 connector. The details of the COM3 specifications are shown to the side. ● COM4 (RS-232/RS-485) for iPPC-6831-IoT/iPPC-6931-IoT 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...
  • Page 21: Dimensions

    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-4801-IoT/iPPC-4901-IoT iPPC-6801-IoT/iPPC-6901-IoT iPPC-IoT (Windows 10 IoT based PAC) User Manual...
  • Page 22 iPPC-6831-IoT/iPPC-6931-IoT iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 22 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 23: Rescue Cf Card

    1.5. Rescue CF Card The iPPC-IoT comes with a rescue compact flash card that supports rescue mechanism for the iPPC-IoT. All of them are listed below. Rescue CF Card Recovery The files for system backups and restores. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 23 Copyright ©...
  • Page 24: Getting Started

    2. Getting Started This chapter provides a guided tour of the iPPC-IoT installation and configuration that describes the steps needed to download, install, configure, and run the basic procedures for user working with the iPPC-IoT 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.
  • Page 25: Mounting The Hardware

    2.1. Mounting the Hardware iPPC-6831-IoT/iPPC-6931-IoT has 3 expansion I/O slots to expand the functions, 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.
  • Page 26: Inserting The I/O Modules (For Ippc-6831-Iot/Ippc-6931-Iot)

    2.1.1. Inserting the I/O Modules (for iPPC-6831-IoT/iPPC-6931-IoT) 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.
  • Page 27 4. Hold the I/O module vertically and align the socket and then carefully press the I/O module onto the socket. 5. Lock the I/O module Tips & Warnings If you do not expand the I/O module full, please keep the top case of the unused slot to protect the backplane from dirt, dust and damage from foreign objects.
  • Page 28: Mounting The Ippc

    2.1.2. Mounting the iPPC The iPPC can be mounted on a panel of maximum thickness 5 mm. Adequate access space can be available at the rear of the instrument panel for wiring and servicing purposes. iPPC-4801-IoT/iPPC-4901-IoT iPPC-6831-IoT/iPPC-6931-IoT iPPC-6801-IoT/iPPC-6901-IoT Tips & Warnings To ensure proper ventilation for the iPPC-IoT, leave a minimum of 50 mm space between the top and bottom edges of the iPPC-IoT and the enclosure panels.
  • Page 29 To mount the iPPC-IoT 1. Prepare the panel and cut the hole to the specified size 2. Attach the iPPC-IoT to the cut-out hole Models Depth iPPC-4801-IoT/iPPC-4901-IoT 274 mm x 211 mm, ±1 mm iPPC-6801-IoT/iPPC-6901-IoT 364 mm x 288 mm, ±1 mm iPPC-6831-IoT/iPPC-6931-IoT 366 mm x 290 mm, ±1 mm 3.
  • Page 30 4. Screw the panel mounting clips to the panel. Tips & Warnings Recommended Screw Torque: 3.4 ~ 4.5 kgf-cm. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 30 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 31: Deploying A Basic Ippc-Iot System

    2.1.3. Deploying a Basic iPPC-IoT System The iPPC-IoT provides a variety of interfaces to suit a range of applications. The following illustration shows a simple application. To deploy a basic iPPC-IoT system As the above illustration shows, the interfaces of iPPC-IoT can be used to perform the following ...
  • Page 32 iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 32 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 33: Supplying Power To Ippc-Iot

    2.1.4. Supplying Power to iPPC-IoT The iPPC-IoT has two power 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-IoT power needs. For more information about the supported power supply from ICP DAS web site, please refer to https://www.icpdas.com/en/product/guide+Accessories+Power__Supplies+Power__Supply To supply power to iPPC-IoT...
  • Page 34 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. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 34...
  • Page 35: Disable Uwf To Allow Settings To Be Saved

    2.2. Disable UWF to Allow Settings to Be Saved The UWF is a safety mechanism that provides the ability to control write protection of the iPPC-IoT system built in C: drive. Any changes made to the system are lost when the start restarts while UWF is enabled, unless they are committed to the system.
  • Page 36 4. Click the Start button , click the power button , and then click Restart for changes to take effect. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 36 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 37: Using Dcon Utility Pro To Configure I/O Modules

    2.3. Using DCON Utility Pro to Configure I/O Modules DCON Utility Pro is a tool kit designed to quickly control and manage I-97K series expansion I/O modules. 1. Click the DCON Utility Pro shortcut on the desktop 2. Click the Search button 3.
  • Page 38: Security And Risk

    3. Security and Risk This chapter provides information of technological security risks and solutions associated with the iPPC-IoT services. Security is important for iPPC-IoT. Based on Windows 10 IoT, iPPC-IoT can avoid many security vulnerabilities. The following provides some security policy that you should consider before you develop your iPPC-IoT.
  • Page 39: Creating And Managing User Accounts

    3.1. Creating and Managing User Accounts Based on Windows 10 IoT, iPPC-IoT includes several components for managing user account names, groups, and passwords. ● 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.
  • Page 40 To open the user accounts tool 1. Click the Start button , find Control Panel then click it. 2. Click the User Accounts and Family Safety iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 40 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 41 To create a new use account 1. Click user accounts 2. Click the Manage another account iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 41 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 42 3. Click Add a user in PC settings 4. Click Add someone else to this PC iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 42 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 43 5. Click I don’t have this person’s sign-in information 6. Click Add a user without a Microsoft account iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 43 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 44 7. Type the name that you want to use for the account, if you want to set password, please enter it then click next. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 44 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 45 To Make Changes to an Account 1. Back to Manage Accounts, click the account that you want to change. 2. Select the item that you would like to change: iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 45 Copyright ©...
  • Page 46  Click the Change the account name to change the name that appears on the Welcome screen for the account.  Click the Create/change a password to create or change the password for the user and create or change the password hint. ...
  • Page 47: Turning Firewall On Or Off

    3.2. Turning Firewall On or Off Based on Windows 10 IoT, iPPC-IoT Firewall with Advanced Security and the related firewall technologies documented here enable user to share Internet connections, protect connections using a firewall, and provide Network Address Translation (NAT). To open the Windows Firewall tool 1.
  • Page 48 2. Click the System and Security, and then click Windows Defender Firewall iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 48 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 49 To turn on/off Windows Firewall 1. Click the Turn Windows Firewall on or off in the left panel 2. Select the settings for your home/work (private) or public network, and then OK iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 49 Copyright ©...
  • Page 50: Configuring The Uwf Manager

    3.3. Configuring the UWF Manager UWF provides a means for protecting a volume from writes. All writes to an UWF‐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.
  • Page 51 To disable the UWF 1. Click the PAC Utility shortcut on the desktop 2. Click the UWF Operation tab, select the Disable check box, and then click Apply button Tips & Warnings If UWF is disabled and XP-9000-IoT/iPPC-IoT suffers sudden power off, the operating system of XP-9000-IoT/iPPC-IoT may be damaged or incomplete.
  • Page 52 3. In the pop-up dialog box, click Yes button 4. Click the Start button , click the power button , and then click Restart for changes to take effect. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 52 Copyright ©...
  • Page 53 To enable the UWF 1. Click the PAC Utility shortcut on the desktop 2. Click the UWF Operation tab, select the Enable check box, and then click Apply button Tips & Warnings UWF only takes effect on hard drive C (where the operating system resides), it is recommended to download your programs to Compact Flash or USB‐HDD.
  • Page 54 3. In the pop-up dialog box, click OK button 4. Click the Start button , click the power button , and then click Restart for changes to take effect. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 54 Copyright ©...
  • Page 55 How to use the UWF console application command-line tool To control the status of UWF, use the UWF Manager Command “UWFMGR”. Windows 10 IoT includes the Unified Write Filter (UWF) console application command-line tool, Uwfmgr.exe.  Enable the UWF: uwfmgr filter enable (it is effective after rebooting.) ...
  • Page 56: Tools And Tasks

    4. Tools and Tasks This chapter provides a brief introduction of the iPPC-IoT service tools and its benefits. There are several tools and utilities built-in and designed for use with iPPC-IoT. Some of these are pre-installed on iPPC-IoT and can work directly on iPPC-IoT, and some of these are supporting tools and can help you to manage the iPPC-IoT remotely on a PC.
  • Page 57: Pac Utility

    4.1. PAC Utility PAC Utility is a collection of software applications that enable management and configuration of iPPC-IoT system and features. 4.1.1. System Information The System Information tab provides functions to monitor necessary device information of iPPC-IoT. The system information is the most important note of version control for upgrading system.
  • Page 58: Auto Execution

    4.1.2. Auto Execution The Auto Execution tab provides functions to configure programs running at iPPC-IoT startup, it allows users to configure ten execute files at most. Tips & Warnings The allowed file types are .exe and .bat, and they are executed in order of program 1, program 2, etc.
  • Page 59: Uwf Operation

    4.1.3. UWF Operation The UWF Operation tab provides functions to configure UWF. The tab use to How to use Enable/disable the UWF function Enable the UWF function: Select the Enable option, and then click the Apply button. Disable the UWF function: Select the Disable option, and then click the Apply button.
  • Page 60: Multi-Serial Port Module

    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-IoT. Item RS-232 RS-422/RS-485 Isolation Connector I-8112-iW 2500 Vrms DB-9 x 2 I-8114W DB-37 x 1...
  • Page 61: Dcon Utility Pro

    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.3.
  • Page 62: Your First Ippc-Iot Program

    5. Your First iPPC-IoT 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-IoT. Before writing your first program, ensure that you have the necessary development tool and the corresponding iPPC-IoT SDKs are installed on your system.
  • Page 63: Your First Ippc-Iot Program In Vb.net

    5.1. Your First iPPC-IoT Program in VB.NET The best way to learn programming with iPPC-IoT is to actually create an iPPC-IoT program. The example below will guide you through creating this simple program in VB.net and running them on iPPC-IoT. To create a demo program with VB.NET that includes the following main steps: 1.
  • Page 64: Create A New Project

    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. 1. Run the Visual Studio 2008 Visual Studio 2008 2. On the File menu, point to New, and then click Project iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 64...
  • Page 65 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 iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 65...
  • Page 66: Specify The Path Of Pac Reference

    5.1.2. Specify the Path of PAC Reference The PAC SDK provides a complete solution to integrate with iPPC-IoT 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.
  • Page 67 2. In the Solution Explorer, right-click the References node, and then click Add Reference… 3.1. Click the Browse tab, and then select the PACNET.dll iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 67 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 68 3.2. Add the UniDAQ.vb declaration file by clicking the name of the file and then clicking the Add button. (Only uses for e-9K module.) iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 68 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 69: Add The Control To The Form

    5.1.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 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.
  • Page 70 2. Right-click the Button control, and then click Properties 3. In the Properties window, type Check the SDK version in the Text item, and press ENTER iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 70 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 71: Add The Event Handling For The Control

    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. 1. Double-click the button on the form iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 71...
  • Page 72 2. Inserting the following code Dim data(30) As Byte PACNET.Sys.GetSDKVersion(data) MessageBox.Show(PACNET.MISC.WideString(data)) Tips & Warnings The “PACNET” of “using PACNET” is case- sensitive. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 72 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 73: Upload The Application To Ippc-Iot

    5.1.5. Upload the Application to iPPC-IoT iPPC-IoT supports FTP server service. You can upload files to iPPC-IoT or download files from a public FTP server. ……… ……… …..1. On the Build menu, click Build Solution 2. Open the browser and type the IP address of iPPC-IoT iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 73...
  • Page 74 3. Upload the SDKInfo.exe application and the corresponding PACNET.dll files to iPPC-IoT Tips & Warnings For applications programming in C# and VB.net with .net compact framework, when executing these application on iPPC-IoT, the corresponding PACNET.dll must be in the same directory as the .exe file. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 74...
  • Page 75: Execute The Application On Ippc-Iot

    5.1.6. Execute the Application on iPPC-IoT After uploading the application to iPPC-IoT, you can just double-click it to execute it. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 75 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 76: Your First Ippc-Iot Program In C

    5.2. Your First iPPC-IoT Program in C# The best way to learn programming with iPPC-IoT is to actually create an iPPC-IoT program. The example below will guide you through creating this simple program in C# and running them on iPPC-IoT. To create a demo program with C# that includes the following main steps: 1.
  • Page 77: Create A New Project

    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. 1. Run the Visual Studio 2008 Visual Studio 2008 2. On the File menu, point to New, and then click Project iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 77...
  • Page 78 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 iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 78...
  • Page 79: Specify The Path Of Pac Reference

    5.2.2. Specify the Path of PAC Reference The PAC SDK provides a complete solution to integrate with iPPC-IoT 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.
  • Page 80 2. In Solution Explorer, right-click the References node, and then click Add Reference… 3.1. Select Browse tab and add the PACNET.dll iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 80 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 81 3.2. Add the UniDAQ.cs declaration file by clicking the name of the file and then clicking the Add button. (Only uses for e-9K module.) iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 81 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 82: Add The Control To The Form

    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"; 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.
  • Page 83 2. Right-click the Button control, and then click Properties 3. In the Properties window, type Check the SDK version in the Text item, and press ENTER iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 83 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 84: Add The Event Handling For The Control

    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. 1. Double-click the button on the form iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 84...
  • Page 85 2. Inserting the following code byte []data = new byte[30]; PACNET.Sys.GetSDKVersion(data); MessageBox.Show(PACNET.MISC.WideString(data)); Tips & Warnings The “PACNET” of “using PACNET” is case- sensitive. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 85 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 86: Upload The Application To Ippc-Iot

    5.2.5. Upload the Application to iPPC-IoT iPPC-IoT supports FTP server service. You can upload files to iPPC-IoT or download files from a public FTP server. ……… ……… …..1. On the Build menu, click Build Solution 2. Open the browser and type the IP address of iPPC-IoT iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 86...
  • Page 87 3. Upload the SDKInfo.exe application and the corresponding PACNET.dll files to iPPC-IoT Tips & Warnings For applications programming in C# and VB.net with .net compact framework, when executing these application on iPPC-IoT, the corresponding PACNET.dll must be in the same directory as the .exe file. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 87...
  • Page 88: Execute The Application On Ippc-Iot

    5.2.6. Execute the Application on iPPC-IoT After uploading the application to iPPC-IoT, you can just double-click it to execute it. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 88 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 89: Your First Ippc-Iot Program In Visual C

    5.3. Your First iPPC-IoT Program in Visual C++ The best way to learn programming with iPPC-IoT is to actually create a iPPC-IoT program. The example below will guide you through creating this simple program in Visual C++ and running them on iPPC-IoT. To create a demo program with Visual C++ that includes the following main steps: 1.
  • Page 90: Create A New Project

    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. 1. Run the Visual Studio 2008 Visual Studio 2008 2. On the File menu, point to New, and then click Project iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 90...
  • Page 91 3. In the Project types pane, expand Visual C++, and then click MFC 4. In the 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 iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 91...
  • Page 92 6. On the first page of the wizard, click Next > 7. On the next page of the wizard, select Dialog based, select Use MFC in a static library, and then click Finish iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 92 Copyright ©...
  • Page 93: Specify The Path Of The Pac Reference

    5.3.2. Specify the Path of the PAC Reference The PAC SDK provides a complete solution to integrate with iPPC-IoT 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.
  • Page 94 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.
  • Page 95 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 New Line button iPPC-IoT (Windows 10 IoT based PAC) User Manual...
  • Page 96 8. In the Solution Explorer windows, right-click the project name, and then click Properties iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 96 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 97 9. In the left pane, expand Configuration Properties, and then click the Link 10. In the right pane, type the PACSDK.lib in the Additional Dependencies item, click Apply button, and then click the OK button iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 97 Copyright ©...
  • Page 98: Add The Control To The Form

    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 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.
  • Page 99 2. Right-click the Button control, and then click Properties 3. In the Properties window, type Check the SDK version in the Caption item, and press ENTER iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 99 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 100: Add The Event Handling For The Control

    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. 1. Double-click the button on the form iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 100...
  • Page 101 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); 3.1. Inserting the following code into the header area #include “PACSDK.H” 3.2. Inserting the following code into the header area (Only uses for e-9K module.) #include "UniDAQ.h" #pragma comment(lib,"UniDAQ.lib") iPPC-IoT (Windows 10 IoT based PAC) User Manual...
  • Page 102: Upload The Application To Ippc-Iot

    5.3.5. Upload the Application to iPPC-IoT iPPC-IoT supports FTP server service. You can upload files to iPPC-IoT or download files from a public FTP server. ……… ……… …..1. On the Build menu, click Build Solution 2. Open the browser and type the IP address of iPPC-IoT 3.
  • Page 103: Execute The Application On Ippc-Iot

    5.3.6. Execute the Application on iPPC-IoT After uploading the application to iPPC-IoT, you can just double-click it to execute it. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 103 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 104: I/O Modules And Sdk Selection

    6. I/O Modules and SDK Selection This chapter describes how to select a suitable expansion I/O module and the corresponding SDK library to be used for developing programs on iPPC-IoT. iPPC-IoT provides the following I/O expansion buses: 1. Local I/O Module (I-8K series and I-87K series) for iPPC-6831-IoT/iPPC-6931-IoT There are two types of I/O modules that can be inserted into local bus of a iPPC-IoT device, Parallel and Serial.
  • Page 105  I-87K series I/O modules Module Native SDK .NET CF SDK I-87K series PACSDK.dll PACNET.dll I-87K series with I-87088W PACSDK_PWM.dll Specified SDK For full details regarding I-87K series I/O modules and its demos, please refer to: https://www.icpdas.com/web/product/download/pac/wes/software/sdk/xpac_iot_wes7_sdk_de mo.zip  Specified I-8K series modules Module Native SDK .NET CF SDK...
  • Page 106 .NET CF SDK I-8172W pac_i8172W.dll pac8172WNet.dll 4. RS-485 (I-7K series and M-7K series) I-7000, M-7000, RU-87Pn and high profile I-87K series modules connect to iPPC-IoT series devices via a twisted-pair, multi-drop, 2-wire RS-485 network  I-7K series I/O modules Module Native SDK .NET CF SDK...
  • Page 107  RU-87Pn + I-87K series I/O modules Module Native SDK .NET CF SDK RU-87Pn + I-87K PACSDK.dll PACNET.dll  Other specified I/O Module Native SDK .NET CF SDK Others PACSDK.dll PACNET.dll 5. 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...
  • Page 108: Apis And Demo Programs

    7. APIs and Demo Programs This chapter provides a brief overview of PAC APIs and demo programs that have been designed for iPPC-IoT. ICP DAS provides a set of demo programs in different programming languages. You can examine the demo 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.
  • Page 109: Pac Standard Apis

    7.1. PAC Standard APIs The diagram below shows the set of each system operation API provided in the PACSDK.  System Information  Watchdog  Backplane Access  UART  PAC I/O  Buzzer  Interrupt  LED  Memory Access System Operation PAC Standard API Manual (EN) https://www.icpdas.com/en/download/show.php?num=2527...
  • Page 110 C# Demo Programs for PAC Standard APIs The PAC SDK includes the following demo programs that demonstrate the use of the PAC Standard APIs in a C# language environment. The following demo programs can be found by downloading the latest version from ICP DAS web site. For C# applications, these demo programs can be obtained from: https://www.icpdas.com/en/download/show.php?num=2540&model=AXP-9051-IoT#expansion1 xpac_iot_wes7_sdk_demo.zip...
  • Page 111: Pac Local Io Apis

    7.2. PAC Local 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 demo programs provided by the expansion I/O modules, please refer to chapter 6. I/O Modules and SDK Selection PAC IO Local I/O Remote I/O...
  • Page 112 VB.NET Demo Programs for PAC Local IO APIs The PAC SDK includes the following demo programs that demonstrate the use of the PAC IO APIs in a VB.NET language environment. The following demo programs can be found by downloading the latest version from ICP DAS web site. For VB.NET applications, these demo programs can be obtained from: https://www.icpdas.com/en/download/show.php?num=2540&model=AXP-9051-IoT#expansion1 xpac_iot_wes7_sdk_demo.zip...
  • Page 113 Fold Demo Explanation 87K_ai 87K_ao 87k_ao_poweron_sa 87k_basic 87k_count 87k_di(mf) 87k_di_cnt(mf) https://www.icpdas.com/en/download/show.php?num=2775&m 87k_di_latch odel=I-9014#aio 87k_dio(mf) I-97K (PAC I/O) User Manual 87k_dio_latch 87k_do(mf) 87k_do_poweron_sa fe(mf) 87k_pwm Loca 8k_87k_di(mf) 8k_87k_dio(mf) 8k_87k_do(mf) 8k_di https://www.icpdas.com/en/download/show.php?num=2775&m odel=I-9014#aio 8k_dio 8k_do I-9K (PAC I/O) User Manual pac_i8014w_demo https://www.icpdas.com/en/download/show.php?num=2775&m pac_i8017hwdemo odel=I-9014#aio pac_i8024wdemo...
  • Page 114: Pac Remote Io Apis

    7.3. PAC Remote 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 demo programs provided by the expansion I/O modules, please refer to chapter 6. I/O Modules and SDK Selection PAC IO Local I/O Remote I/O...
  • Page 115 C# Demo Programs for PAC Remote IO APIs The PAC SDK includes the following demo programs that demonstrate the use of the PAC IO APIs in a C# language environment. The following demo programs can be found by downloading the latest version from ICP DAS web site.
  • Page 116 Folder Demo Explanation Shows how to send/receive a command/response application. 7k87k_basic This demo program is used by 7K, 97K series AI modules which connected through a COM port. Shows how to read the AI values of AI module. 7k87k_ai This demo program is used by 7K, 97K series AI modules which connected through a COM port.
  • Page 117: Restore And Recovery

    8. Restore and Recovery This chapter provides information of the iPPC-IoT restore and recovery, and a guided tour that describes the steps needed to restore and recovery the iPPC-IoT. The iPPC-IoT come with a rescue CF card that can be used to not only boot the iPPC-IoT when the OS fails to load, but also recover files.
  • Page 118: Recovering The Ippc-Iot

    8.1. Recovering the iPPC-IoT The iPPC-IoT comes with a rescue CF card that can be used to restore the iPPC-IoT to factory default settings by reinstalling the iPPC-IoT OS image. If the iPPC-IoT crashes and won’t start up, you can use the rescue CF card to start up the iPPC-IoT and then fix the problem that caused the crash.
  • Page 119 4. Press Enter on Boot Option #1, and select [CF card name] 5. Press the F4 key, and then select Yes to save settings and exit the utility. The iPPC-IoT will restart and then enter to the iPPC-IoT PAC Recovery Utility. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 119...
  • Page 120 6. Check Yes and click Start iPPC-IoT Recovery button for start the recovery process. The process will take a few minutes until this utility is displayed again. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 120 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 121 7. Click the Exit And Restart button, and then repeat the step 2 to step 5. In step 4, the [SATA PM: InnoDisk Corp. –mSA] option need be selected for using the restored disk as a boot drive. After completing the configuration process, restart the iPPC-IoT. iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 121...
  • Page 122: Restoring The Rescue Cf Card

    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 Clonezilla, which you could obtain by contacting Symantec (http://www.symantec.com)
  • Page 123 2. Run the Symantec Ghost32, and then click OK button 3. Click Function Menu, point to Local, point to Disk, and then click From Image iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 123 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 124 4. Select the rescue ghost file, rescue.gho, that you saved and then click Open 5. Select the destination to CF card and click then OK iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 124 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 125 6. Recovery the rescue ghost file, rescue.gho, into CF card and then click OK 7. The rescue CF card has been done iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 125 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 126: Ippc-Iot Updates

    9. iPPC-IoT Updates This chapter provides information of the iPPC-IoT OS, SDKs and tools, and a guided tour that demonstrates the steps needed to update the iPPC-IoT OS, SDKs and tools. ICP DAS will continue to add additional features to iPPC-IoT OS, SDKs and tools in the future, so we advise you to periodically check the ICP DAS web site for the latest updates.
  • Page 127: Updating The Ippc-Iot Os

    9.1. Updating the iPPC-IoT OS ICP DAS will continue to add additional features and improve performances to iPPC-IoT OS 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: https://www.icpdas.com/en/download/index.php?model=iPPC-6801-IoT Free feel to contact us to get the latest version of OS image.
  • Page 128: Updating The Ippc-Iot Sdk

    9.2. Updating the iPPC-IoT SDK ICP DAS will continue to include more functionality and API calls to iPPC-IoT SDK in the future, so we advise you to periodically check the ICP DAS web site for the latest updates. To update the iPPC-IoT SDK 1.
  • Page 129 2. Click the Start button , click the power button , and then click Restart for changes to take effect. 3. Download the latest version of the pacsdk.dll file The latest version of the pacsdk.dll file can be obtained from ICP DAS web site. https://www.icpdas.com/en/download/index.php?model=iPPC-6801-IoT Copy the downloaded file, pacsdk.dll into the C:\Windows\System32\ folder.
  • Page 130: Updating The Ippc-Iot Tools

    9.3. Updating the iPPC-IoT Tools ICP DAS will continue to add more functionality and support to the PAC utility in the future, so we advise you to periodically check the ICP DAS web site for the latest updates. To update the PAC Utility 1.
  • Page 131 3. Plug the Rescue CF card into CF socket of iPPC-IoT 4. Run the PAC Utility, and then disable the UWF overlay iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 131 Copyright © 2016 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 132 5. Click the Start button , click the power button , and then click Restart for changes to take effect. 6. Copy the file folder into C:\icpdas\, and then delete the older, existing file folder iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 132 Copyright ©...
  • Page 133: Ippc-Iot Download Center

    10. iPPC-IoT Download Center This chapter provides a brief introduction of the iPPC-IoT download center. iPPC-IoT has a download center where you can access the latest version of the software, tools, demo programs, and related information. The iPPC-IoT Download Center can be found at: https://www.icpdas.com/en/download/index.php?model=iPPC-6801-IoT iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0...
  • Page 134: Appendix

    Appendix A. I-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 I-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 I-8K series) or serial (high profile I-87K series).
  • Page 135: Revision History

    B. Revision History This chapter provides revision history information to this document. The table below shows the revision history. Revision Date Created By Description V1.0.0 May 2024 Jeffery Initial issue iPPC-IoT (Windows 10 IoT based PAC) User Manual version 1.0.0 Page: 135 Copyright ©...

Table of Contents