background image

 

 

 

 

ICP DAS 
I-8000 Series Family (for C Language) 

User Manual 

 

 

 

 

 

 

 

 

 

 

Service and usage information for 

I-8411/I-8811 

I-8431/I-8831 

I-8431-80/I-8831-80 

 

 

 

 

Summary of Contents for I-8411

Page 1: ...ICP DAS I 8000 Series Family for C Language User Manual Service and usage information for I 8411 I 8811 I 8431 I 8831 I 8431 80 I 8831 80...

Page 2: ...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 DA...

Page 3: ...31 I 8831 9 1 1 3 I 8431 80 I 8431 80 10 1 2 Features 11 1 3 Specification 14 1 4 Overview 16 1 5 Dimension 21 1 5 1 I 8411 I 8431 I 8431 80 22 1 5 2 I 8411 I 8831 I 8831 80 23 1 6 Companion CD 24 2 G...

Page 4: ...thernet to Establish a Connection for Ethernet Series Controller only 49 2 5 2 Uploading and Executing Programs 52 2 5 3 Making programs start automatically 53 3 Hello World Your First Program 55 3 1...

Page 5: ...4 API for Flash Memory 97 4 5 API for NVRAM 100 4 6 API for 5 Digital LED 103 4 7 API for Timer 105 4 8 API for WatchDog Timer WDT 107 5 I 8000 Updates 109 Appendix A What is MiniOS7 114 Appendix B W...

Page 6: ...ze the unit to specific applications The main central processing module CPM is based on the powerful AMD 80188 80186 series of microprocessors The CPM can be considered to be an integrated PC comprisi...

Page 7: ...e I 8000 are serial Ethernet controllers designed for data acquisition remote measurement and control applications Equipped with MiniOS7 an embedded OS similar to DOS can boot The I 8000 series family...

Page 8: ...cond It has built in hardware diagnostic function and supports the full functions to access all 8K and 87K series I O modules such as DI DO DIO AI AO Counter Frequency motion modules etc The I 8411 I...

Page 9: ...program developing process we designed a XServer architecture It is a reliable opened expandable all purposed and easily to be used library The Xserver implements 90 functionalities of Ethernet commun...

Page 10: ...IP program developing process we designed a XServer architecture It is a reliable opened expandable all purposed and easily to be used library The Xserver implements 90 functionalities of Ethernet com...

Page 11: ...is equipped with the MiniOS7 a friendly DOS like OS Users can use C compilers that can create 16 bit executable file exe to develop their own program then download it to I 8000 Provides API Functions...

Page 12: ...avoid illegal software copy Innovation design on reliability flexibility expansibility and stretch The i 8411 i 8811 is equipped with 4 8 I O slots and multi serial ports It not only supports i 8K and...

Page 13: ...processing module is isolated from external signals in three ways This is achieved through I O isolation of 3KV power isolation to 3KV and network isolation to 2KV High performance integrated power s...

Page 14: ...0 I 8431 80 CPU Module CPU 80188 or compatible 8 bit and 40 MHz 80186 or compatible 16 bit and 80 MHz SRAM 512 K Bytes Flash 512 K Bytes EEPROM 2 K Bytes NVRAM Yes RTC real time clock Yes Hardware Ser...

Page 15: ...umidity 10 90 RH non condensing Power Protection Power reverse polarity protection Power requirement 10 30 VDC Power Supply 20 W Power Consumption 3 9 W 5 1 W 3 9 W 5 1 W 3 9 W 5 1 W Accessories Model...

Page 16: ...P DAS Co Ltd All Rights Reserved E mail service icpdas com 1 4 Overview I 8000 consists of several different components that integrate with ICP DAS system Here is an overview of the components and its...

Page 17: ...I 8000 Series C Language Based User Manual Version 1 0 1 Page 17 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com I 8431 I 8431 80 I 8431 I 8431 80...

Page 18: ...crew terminal block with 6 screw downs The table below describes the terminal block designations and its functions Screw Terminal Signal Description 1 VS Power Input 2 GND 3 INIT Initial Mode 4 INIT C...

Page 19: ...232 or RS 485 that only can select one at a time and its configuration depends on the pin connections as follows RS 232 RXD TXD CTS RTS and GND RS 485 Data and Data There is no software configuration...

Page 20: ...nsion I O slot in each type of I 8000 I 8411 I 8431 I 8431 80 4 I O slots I 8811 I 8831 I 8831 80 8 I O slots 7 SMMI Small Main Machine Interface SMMI consists of 5 digital LED displays 4 programmable...

Page 21: ...n The following information provides the dimensions of I 8000 to use in defining your enclosure specifications Remember to leave room for potential expansion if you are using other components in your...

Page 22: ...anual Version 1 0 1 Page 22 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 5 1 I 8411 I 8431 I 8431 80 Front View Top View Side View Back View DATA DATA RS 485 Initializ...

Page 23: ...anual Version 1 0 1 Page 23 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 5 2 I 8411 I 8831 I 8831 80 Top View Back View Side View DATA DATA RS 485 Initialize 10 30VDC...

Page 24: ...ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 1 6 Companion CD This package comes with a CD that provides drivers software utility and all of the required documentations etc and the la...

Page 25: ...it includes a guided tour that provides a basic overview of installing configuring and using the I 8000 Before starting any task please check the package contents If any of the following package conte...

Page 26: ...ut voltage range of the power supply and the type of communication interfaces For more information about the hardware details see section 1 2 Specifications For more information about the hardware dim...

Page 27: ...CP DAS Co Ltd All Rights Reserved E mail service icpdas com There are two ways for mounting the I 8000 1 To mount the I 8000 on a DIN rail 1 Hook upper tab over upper flange of DIN rail 2 Tilt the mod...

Page 28: ...ll control circuits power circuits and the ground lead must be properly connected to earth ground by either installing a ground rod in close proximity to the enclosure or by connecting to the incoming...

Page 29: ...for supplying power from the power supply Step 1 Connect to the power supply The I 8000 requires a 10 to 30 VDC power supply to operate i Connect the Vs of the I 8000 to the positive of the power sup...

Page 30: ...560 USB to RS 232 converter for connection between I 8000 and PC Laptop Before using the I 7560 converter you must install the USB driver The USB driver can be obtained from ftp ftp icpdas com pub cd...

Page 31: ...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 exp...

Page 32: ...2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Insert the I O module into I 8000 Align circuit card with slot and press firmly to seat module into connector and then Pull top...

Page 33: ...talling Software The Companion CD includes complete sets of APIs demo programs and other tools for developing your own applications 2 2 1 Installing the I 8000 header and libraries files The I 8000 he...

Page 34: ...stem monitor communication manager file manager and OS loader Step 1 Get the MiniOS7 Utility The MiniOS7 Utility can be found separately on the CD that was provided with the package or by downloading...

Page 35: ...stem monitor communication manager file manager and OS loader Step 1 Get the MiniOS7 Utility The MiniOS7 Utility can be found separately on the CD that was provided with the package or by downloading...

Page 36: ...E mail service icpdas com 2 3 Configuring the Boot Mode The I 8000 has two modes of operation normal mode and initialize mdoe Normal Mode Normal mode is the default mode of operation and the one you...

Page 37: ...com Initial Mode Initial mode is used to update the OS image and upgrade the firmware If dip switch is set as Init mode and reset the power the I 8000 cannot boot up with autoexec bat and will enter O...

Page 38: ...controller has which comes with a default IP address If you want to add a I 8000 to your network you must assign a new IP address subnet mask and gateway to your I 8000 The factory default IP settings...

Page 39: ...service icpdas com Step 2 Click the Search from the Connection menu you need to wait for the process to be done Step 3 Choose the OS image name of I 8000 module which comes with a default IP address 1...

Page 40: ...C Language Based User Manual Version 1 0 1 Page 40 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Configure the IP settings and then click the Set button Step 5 Cli...

Page 41: ...das com 2 5 Uploading I 8000 Programs MiniOS7 Utility is a suite of tool for managing MiniOS7 devices I 8000 PAC 5000 iPAC 8000 PAC 7186 etc Before uploading programs make sure that MiniOS7 Utility is...

Page 42: ...grams ensure that iPAC 8000 is connected to PC For more information on how to connect iPAC 8000 to PC see section 2 1 2 Wiring the I 8000 The connection can be divided into the following three types a...

Page 43: ...DAS Co Ltd All Rights Reserved E mail service icpdas com 2 5 1 1 Using RS 232 to Establish a Connection Below are step by step instructions on how to connect to PC using a RS 232 connection Step 1 Boo...

Page 44: ...2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Run the MiniOS7 Utility Step 4 Click the New connection function from the Connection menu Step 5 On the Connection tab of the C...

Page 45: ...8000 Series C Language Based User Manual Version 1 0 1 Page 45 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 The connection has already established Connection Stat...

Page 46: ...USB to Establish a Connection Below are step by step instructions on how to connect to PC using an USB connection Step 1 Boot the I 8000 into Initial mode Step 2 Use the USB cable to connect to PC Be...

Page 47: ...2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Run the MiniOS7 Utility Step 4 Click the New connection function from the Connection menu Step 5 On the Connection tab of the C...

Page 48: ...8000 Series C Language Based User Manual Version 1 0 1 Page 48 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 The connection has already established Connection Stat...

Page 49: ...ghts Reserved E mail service icpdas com 2 5 1 3 Using Ethernet to Establish a Connection for Ethernet Series Controller only Below are step by step instructions on how to connect to PC using an Ethern...

Page 50: ...ll Rights Reserved E mail service icpdas com Step 3 Run the MiniOS7 Utility Step 4 Click the New connection function from the Connection menu Step 5 On the Connection tab of the Connection dialog box...

Page 51: ...8000 Series C Language Based User Manual Version 1 0 1 Page 51 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 The connection has already established Connection Stat...

Page 52: ...uting I 8000 programs you must firstly establish a connection between PC and I 8000 for more detailed information about this process please refer to section 2 5 1 Establishing a connection Step 1 On P...

Page 53: ...to achieve it to create a batch file called autoexec bat and then upload it to the I 8000 the program will start automatically in the next start up For example to make the program hello run on start u...

Page 54: ...ograms to I 8000 using MiniOS7 Utility For more detailed information about this process please refer to section 2 5 2 Uploading and Executing programs Tips Warnings Before restaring the module for set...

Page 55: ...ory introduction to the language s syntax and output 3 1 C Compiler Installation C is prized for its efficiency and is the most popular programming language for writing applications Before writing you...

Page 56: ...reated on the companion CD Tips Warnings Before compiling an application you need to take care of the following matters Generate a standard DOS executable program Set the CPU option to 80188 80186 Set...

Page 57: ...d All Rights Reserved E mail service icpdas com 3 1 1 Installing the C compiler If there is no compiler currently installed on your system installation of the compiler should be the first step Step 1...

Page 58: ...Version 1 0 1 Page 58 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Enter the letter of the hard drive you wish to install the software Step 4 Enter the path to t...

Page 59: ...nguage Based User Manual Version 1 0 1 Page 59 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Select Start Installation to begin the install process Step 6 Press an...

Page 60: ...000 Series C Language Based User Manual Version 1 0 1 Page 60 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 Press any key to continue Step 8 Installation is comple...

Page 61: ...ng the compiler several compilers will be available from the Windows Command line You can set the path environment variable so that you can execute this compiler on the command line by entering simple...

Page 62: ...S Co Ltd All Rights Reserved E mail service icpdas com Step 2 On the System Properties dialog box click the Environment Variables button located under the Advanced sheet Step 3 On the Environment Vari...

Page 63: ...S Co Ltd All Rights Reserved E mail service icpdas com Step 4 Add the target directory to the end of the variable value field A semi colon is used as the separator between variable values For example...

Page 64: ...standard features and integrating with other applications devices and services For more detailed information regarding I 8000 APIs please refer to CD NAPDOS 8000 Common MiniOS7 demo LIB http ftp icpd...

Page 65: ...rst Program in I 8000 Here we assume you have installed the Turbo C 1 01 as the section 3 1 C Compiler Installation and the I 8000 APIs as the section 2 2 Installing Software under the C driver root f...

Page 66: ...ser Manual Version 1 0 1 Page 66 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 At the command prompt type TC and then press Enter Step 3 Select New from the File m...

Page 67: ...rved E mail service icpdas com Step 4 Type the following code Note that the code is case sensitive include stdio h include demo Lib 8000E h Include the header file that allows 8000E lib functions to b...

Page 68: ...service icpdas com Step 5 Save the source file i Select Save from the File menu ii Type the file name Hello iii Select OK Tips Warnings You can write the code as shown below with your familiar text e...

Page 69: ...User Manual Version 1 0 1 Page 69 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Create a project PRJ i Select Open project from the Project menu ii Type the projec...

Page 70: ...hts Reserved E mail service icpdas com Step 7 Add the necessary function libraries to the project LIB i Select Add item from the Project menu ii Select the source file HELLO CPP and then click the Add...

Page 71: ...on 1 0 1 Page 71 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 Set the memory model to large i Select Compiler from the Options menu and then select Code generatio...

Page 72: ...Rights Reserved E mail service icpdas com Step 9 Set the Floating Point to Emulation and the Instruction Set to 80186 i Select Compiler from the Options menu and then select Advanced code generation i...

Page 73: ...Ltd All Rights Reserved E mail service icpdas com Step 10 Set the TC compiler include and library directories i Select Directories from the Options menu ii On Include Directories option specify the he...

Page 74: ...00 Series C Language Based User Manual Version 1 0 1 Page 74 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 11 Select Build all from the Compile menu to build the pro...

Page 75: ...process please refer to section 2 3 Configuring the Boot Mode Step 13 Create an autoexec bat file i Open the Notepad ii Type the HELLO exe iii Save the file as autoexec bat Step 14 Upload programs to...

Page 76: ...d demo source code which includes numerous functions and comments to familiarize yourself with the MiniOS7 APIs and quickly develop your own applications quickly by modifying these demo programs The f...

Page 77: ...the core API MiniOS7 API which is integrated into the I 8000 API set Functions Library 8000e lib This file contains the MiniOS7 API Application Programming Interface and has hundreds of pre defined f...

Page 78: ...All Rights Reserved E mail service icpdas com For full usage information regarding the description prototype and the arguments of the functions please refer to the MiniOS7 API Functions User Manual l...

Page 79: ...simple and easily Led To control red led and 7 segment display Memory S256 To read or write 256K bytes battery backup DateTime DateTime User can read and write the date time of RTC Timer Please refer...

Page 80: ...87040 87051 etc 87024 This demo program is used by the 87024 AO module more demo programs I 7K and I 87k series modules for RS 485 Network Applications Folder Demo Explanation 7K 87K_for_Com 7K87K_DI...

Page 81: ...Based User Manual Version 1 0 1 Page 81 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 4 1 API for COM Port The I 8000 provides four built in COM ports COM1 COM2 COM3 and...

Page 82: ...d COM port functions only can be used with the COM1 if you use the COM1 port you ll have the alternative of MiniOS7 COM ports functions or C style Standard COM port functions If you choose the ones th...

Page 83: ...t be called to release the COM Port driver API for checking if there is any data in the COM port input buffer 3 IsCom Before reading data from COM port the IsCom must be called to check whether there...

Page 84: ...COM1 include stdio h include 8000E h void main void int quit 0 data InitLib Initiate the upac5000 library InstallCom 1 115200 8 0 1 Install the COM1 driver while quit if IsCom 1 Check if there is any...

Page 85: ...ntCom Functions such as printfCom in the C library allow data to be output from COM ports For example showing data from the COM1 port include stdio h include 8000E h void main void int i Initiate the...

Page 86: ...the COM1 port the following configurations of the COM1 port are fixed Baudrate 115200 bps Data format 8 bits Parity check none Start bit 1 Stop bit 1 API for checking if there is any data in the input...

Page 87: ...rt 3 Puts For sending a string Before sending data to standard I O port the Puts must be called to send data to COM Port 4 Putch For sending one character Before sending data to standard I O port the...

Page 88: ...das com For example reading and receiving data through COM1 include stdio h include 8000E h void main void int quit 0 data InitLib Initiate the upac5000 library while quit if Kbhit Check if any data i...

Page 89: ...0 1 Page 89 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com For example showing data through COM1 include stdio h include 8000E h void main void int i Initiate the upac500...

Page 90: ...unsigned char item InitLib InstallCom 1 115200 8 0 1 printCom 1 Hits any key n printCom 1 Hit the ESC to exit n for if IsCom 1 item ReadCom 1 if item q return else printCom 1 n r printCom 1 char ToCo...

Page 91: ...I 8000 Series C Language Based User Manual Version 1 0 1 Page 91 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Delay 10 RestoreCom 1...

Page 92: ...ication is very typical protocol architecture If you want to design a command set of communication protocol as table below you can refer to slave_com demo Request Response c1 Debug information Command...

Page 93: ...485 communication interface COM2 to access I 7K series I O modules for a wide range of RS 485 network application as shown below Steps for communicating with i 7K series I O modules Step 1 Use Instal...

Page 94: ...000E h void main void unsigned char InBuf0 60 InitLib Initiate the 8000E library InstallCom 1 115200 8 0 1 Initiate the COM1 driver InstallCom 2 115200 8 0 1 Initiate the COM2 driver SendCmdTo7000 2 0...

Page 95: ...ated as shown below API for writing data to the EEPROM 1 EE_WriteEnable Before writing data to the EEPROM the EE_WriteEnable must be called to write enable the EEPROM 2 EE_WriteProtect After the data...

Page 96: ...t 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com include stdio h include 8000E h void main void int data 0x55 data2 InitLib Initiate the 8000E library EE_WriteEnable EE_MultiWrite 1...

Page 97: ...user programs or data Each bit of the Flash memory only e can be written from 1 to 0 and cannot be written from 0 to 1 Before any data can be written to the Flash memory the flash must be erased first...

Page 98: ...Memory 1 EraseFlash The only way to change the data from 0 to 1 is to call the EraseFlash function to erase a block from the Flash memory API for writing data to the Flash Memory 2 FlashWrite The Fla...

Page 99: ...E h void main void int data 0xAA55 data2 char dataptr int dataptr2 InitLib Initiate the 8000E library EraseFlash 0xd000 Erase a block from the Flash memory dataptr char data FlashWrite 0xd000 0x1234 d...

Page 100: ...ot lost its information when the module is power off NVRAM has no limit on the number of the re write times Flash and EEPROM both have the limit on re write times If the leakage current is not happene...

Page 101: ...Co Ltd All Rights Reserved E mail service icpdas com include stdio h include 8000E h void main void int data 0x55 data2 InitLib Initiate the 8000E library WriteNVRAM 0 data data2 ReadNVRAM 0 Now data...

Page 102: ...rvice icpdas com include stdio h include 8000E h void main void int data 0xAA55 data2 char dataptr char data InitLib Initiate the 8000E library WriteNVRAM 0 dataptr Write the low byte WriteNVRAM 1 dat...

Page 103: ...y numbers IP addresses time and so on API for starting the 5 Digit 7 SEG LED 1 Init5DigitLed Before using any LED functions the Init5DigitLed must be called to initialize the 5 Digit 7 SEG LED API for...

Page 104: ...P DAS Co Ltd All Rights Reserved E mail service icpdas com include stdio h include 8000E h void main void InitLib Initiate the 8000E library Init5DigitLed Show5DigitLed 1 8 Show5DigitLed 2 0 Show5Digi...

Page 105: ...curacy of 1 ms API for starting the Timer 1 TimerOpen Before using the Timer functions the TimerOpen must be called at the beginning of the program API for reading the Timer 2 TimerResetValue Before r...

Page 106: ...e the following code can be used to read the main time ticks from 0 include stdio h include 8000E h void main void Unsigned long time iTime InitLib Initiate the 8000E library TimerOpen While quit If K...

Page 107: ...of system is 1 ms The Watch Dog Timer is always enabled and the system Timer ISR Interrupt Service Routine refreshes it The system is reset by WatchDog The timeout period of WatchDog is 0 8 seconds A...

Page 108: ...t 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com For example to refresh the Watchdog Timer include stdio h include 8000E h void main void Unsigned long time iTime InitLib Initiate t...

Page 109: ...tes services provides a software update service for iPAC 8000 It can be divided into two categories OS updates and firmware updates Both the OS updates services and SDK updates services can be found s...

Page 110: ...CD that was provided with the package or by downloading the latest version from ICP DAS web site For I 8411 I 8811 serial embedded controller CD NAPDOS 8000 841x881x OS_image 40M http ftp Icpdas com...

Page 111: ...8831 80 ethernet embedded controller CD NAPDOS 8000 843x883x TCP Xserver OS_image 80M http ftp Icpdas com pub cd 8000cd napdos 8000 843x883x tcp xserver os_image 80m Step 3 Establish a connection For...

Page 112: ...ries C Language Based User Manual Version 1 0 1 Page 112 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Select the latest version of the MiniOS7 OS image Step 6 Cli...

Page 113: ...es C Language Based User Manual Version 1 0 1 Page 113 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 7 Click the Info from the Command menu to check the version of t...

Page 114: ...commands or code that tells the computer how to process information DOS runs programs manages files controls information processing directs input and output and performs many other related functions...

Page 115: ...00E etc through the Ethernet Functions Supported connection ways 1 COM port connection RS 232 2 Ethernet connection TCP UDP Supported since version 3 1 1 Maintenance 1 Upload file s 2 Delete file s 3...

Page 116: ...1 Page 116 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Appendix C More C Compiler Settings This section describes the setting of the following compilers Turbo C 2 01 Co...

Page 117: ...ou have a couple of choices here you can 1 Using a command line For more information please refer to CD 8000 NAPDOS 8000 841x881x Demo hello Hello_C gotc bat tcc Ic tc include Lc tc lib hello1 c lib 8...

Page 118: ...e 118 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Save the project and entering a name such as LED prj Step 4 Load the Project Step 5 Change the Memory model Lar...

Page 119: ...I 8000 Series C Language Based User Manual Version 1 0 1 Page 119 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Building the project...

Page 120: ...al Version 1 0 1 Page 120 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 2 BC 3 1 IDE Step 1 Executing the Borland C 3 1 Step 2 Creating a new project file prj Step 3 Ad...

Page 121: ...Page 121 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 4 Change the Memory model Large for 8000e lib Step 5 Set the Advanced code generation options and Set the Floa...

Page 122: ...Version 1 0 1 Page 122 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Set the Entry Exit Code Generation option and setting the DOS standard Step 7 Choosing the Deb...

Page 123: ...I 8000 Series C Language Based User Manual Version 1 0 1 Page 123 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 Make the project...

Page 124: ...S Co Ltd All Rights Reserved E mail service icpdas com C 3 MSC 6 00 Step 1 In the source file folder create a batch file called Gomsc bat using the text editor Tip Warnings C Don t strip comments GS N...

Page 125: ...Based User Manual Version 1 0 1 Page 125 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 2 Run the Gomsc bat file Step 3 A new executable file will be created if it i...

Page 126: ...6 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com C 4 MSVC 1 50 Step 1 Run MSVC exe Step 2 Create a new project mak by entering the name of the project in the Project Name...

Page 127: ...er Manual Version 1 0 1 Page 127 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 3 Add the user s program and the necessary library files to the project Step 4 Set the...

Page 128: ...I 8000 Series C Language Based User Manual Version 1 0 1 Page 128 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 5 Change the Memory model large for 8000e lib...

Page 129: ...ser Manual Version 1 0 1 Page 129 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 6 Remove the xcr afxcr library from the Input Category Step 7 Remove the OLOGO option...

Page 130: ...I 8000 Series C Language Based User Manual Version 1 0 1 Page 130 Copyright 2012 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com Step 8 Rebuild the project...

Reviews: