uPAC-7186

The .zip file contains the required header files, libraries and a lot of useful demos.

FILE NAME DESCRIPTION VERSION SIZE DOWNLOAD
upac-7186ex_demo.zip upac-7186E SDKs and Demo Samples - 6.97 MB

File Structure

upac-7186ex_demo.zip

Basic

This folder contains a 7186E_DemoList.html file that describes all the demos contained in bc_tc subfolder within this folder.

The table below lists the required header files and libraries for uPAC-7186E that are also contained in bc_tc subfolder.

uPAC-7186 Libraries

FILE NAME DESCRIPTION
lib Required Header Files and Libraries
header file: 7186E.H
library: 7186EL.LIB
---------------------------------------------
Other Header Files and Libraries
For MiniOS7 File System (MFS)
header file: MFS.h
library:MFS_V224.LIB

Demo Samples for System Operation and Local I/O Expansion

The table below lists the useful demos for uPAC-7186E system operation and I/O expansion that are also contained within the bc_tc subfolder.

FILE NAME DEMO DESCRIPTION
File Config_1_Basic Reads information from text files(basic).
File Config_2_Advanced Reads config file (text file)(advanced).
Hello Hello_C Reads library version and flash memory size.
Hello Hello_C++ Reads library version and flash memory size.
MISC Reset Software's reset.
MISC Runprog To select item and run it.
MISC Serial To get 64-bit hardware unique serial number.
MISC Watchdog Enabled WDT or bypass enable watchdog.
Memory EEPROM To write a value to EEPROM and show it on monitor.
Memory EEPROM-r To reading the data you write to EEPROM.
Memory EEPROM-w Inputting a value to write to EEPROM block 1 peer address (value will auto-plus 1).
Memory Flash To read, write and erase Flash memory.
Memory Flash-r To read the value that is wrote to the flash memory.
Memory Flash-w Inputting a value and write to flash memory. (value will auto-plus 1)
Memory NVRam-r To read the value that is wrote to NVRAM.
Memory NVRam-w To write a value to NVRAM (value will auto-plus 1).
Memory Demo5 To read and write data to NVSRAM
DATETIME - User can read and write the date & time of RTC.
Timer DEMO90 It’s a demonstration for using Timer function.
Timer DEMO91 To use CountDownTimer channel 0 for LED ON/OFF.
Timer DEMO92 To use StopWatch channel 0 for LED ON/OFF.
Timer DEMO96 To use User timer function for 5DigitLed.
Timer DEMO97 To use DelayMs function for LED ON/OFF.
Timer DEMO98 To use I-7188 timer function to send/receive data to/from 7000's modules.
LED LED To control red led and 7-segment display.
LED Seg7led To control red led and 7-segment display.
COM_Ports C_Style_IO 1. Show how to write a function for input data.
2. To get a string.
3. To use C function: sscanf,or just use Scanf().
COM_Ports Receive Receive COM Port
Slv_COM.c is non-blocked mode.
Receive.c is blocked mode.
COM_Ports Slv_COM Slave COM port demo for (request/reply) or (command/response) application.
COM_Ports ToCom_In_Out How to Read/Write the byte data via COM port.
7K87K_Module 7K87K_demo_for_com User can use com port to connect and control 7k or 87k modules.
7K87K_Module 7K87K_DI_for_Com User can use com port to connect and control 7k or 87k modules.
7K87K_Module 7k87K_DO_for_Com User can use com port to connect and control 7k or 87k modules.
7K87K_Module 7K87K_DIO_for_Com User can use com port to connect and control 7k or 87k modules.
7K87K_Module 7K87K_AI_for_Com User can use com port to connect and control 7k or 87k modules.
7K87K_Module AO_024_for_Com User can use com port to connect and control 7k or 87k modules.
7K87K_Module AO_22_26_for_Com User can use com port to connect and control 7k or 87k modules.

Demo Samples for MiniOS7 File System (MFS)

The table below lists the useful demos for MiniOS7 File System that are also contained within the bc_tc subfolder.

FILE NAME DEMO DESCRIPTION
7186FD Utility Utility for the MiniOS7 File System. Operations Include Dir, Read, Write, etc.
7186FD MFS_QA Quality assurance program for the MiniOS7 File System.
Including function test, read/write performance test.
7186FD Puts How to write a string to a file in the 64MB flash memory.
7186FD Gets How to get a string from a file in the 64MB flash memory.

Refer to the MiniOS7 File System Library for more information about MiniOS7 File System.

Libraries and Demo Samples for Ethernet

The bc_tc subfolder contains an Ethernet subfolder that contains the required header files and libraries for enabling Ethernet communication. It is also contains a lot of useful demos

▎Required Header Files and Libraries

FILE NAME DESCRIPTION
lib Required Header Files and Libraries
header file: Tcpip32.h
library: tcp_dm32.lib

▎Demo Samples

FILE NAME DEMO DESCRIPTION
TCP TCP Connection support client and server for TCP
TCP TCP_Client Connection support client and server for TCP
TCP SMTP Connection support client and server for TCP
TCP ICMP Connection support client and server for TCP
TCP FTP Connection support client and server for TCP
TCP DHCP Connection support client and server for TCP
UDP UDPPrint Connection support client and server for UDP
UDP UDP10 Connection support client and server for UDP
UDP UDP02 Connection support client and server for UDP
UDP UDP01 Connection support client and server for UDP
UDP UDP_Server Connection support client and server for UDP
UDP UDP_Client Connection support client and server for UDP

Framework

This folder contains a Framework_Demo_List.htm file that describes all the demos contained within this folder.

It is also contains the required header files and libraries for MiniOS7 framework that are contained in lib subfolder within this folder.

Libraries and Demo Samples for MiniOS7 Framework

Please refer to the Framework_Demo_List.htm file for more details.

Xserver

This folder contains a xserver.htm file that describes all the demos contained in Demo subfolder within this folder.

It is also contains the required header files and libraries for Xserver that are contained in lib subfolder within the Demo subfolder.

Libraries and Demo Samples for Xserver

Please refer to the xserver.htm file for more details.

Related Resources

uPAC-7186EX User Manual

uPAC-7186/I-7188 Overview

uPAC-7186/I-7188 Modbus Gateway Overview