Home

User`s Manual - ICP DAS USA`s I

image

Contents

1. 2 1 2 1 Step 1 Installing The ISAGRAF Sotftware 2 1 2 2 Step 2 Installing The ICP DAS Utilities For ISaGRAF 2 4 2 3 Step 3 Writing A Simple ISaGRAF Program 2 4 2 3 1 Open ISaGRAF Project Management 2 5 2 3 2 CreatinganlsaGRAFUser sGroup 2 6 2 3 3 Creating a New ISaGRAF Project 2 6 2 3 4 Declaring the ISaGRAF Project Variables 2 7 2 3 5 Creating the Example LD Program 2 11 2 3 6 Editing the Example LD1 Program 2 11 2 e e a e TE essi tera 2 15 2 4 Step 4 Compiling Simulating The Example Project 2 18 2 5 Step 5 Download Debugging The Example Project 2 22 2 6 ISaGRAF Demo Programs List 2 27 2 6 1 Demo Programs List i 7188EG XG amp uPAC 7186EQG 2 27 2 6 2 PC s Visual Basic Demo Programs List 2 28 2 Getting Started uPAC 7186EG EGD amp
2. NOTE 2 6 2 PC s Visual Basic Demo Programs List 1 VB net 2005 using Modbus TCP IP to control ISaGRAF Controllers Please refer to website FAQ Software ISaGRAF 051 http www icpdas com tag isagraf 051 htm 2 VB 6 0 using Modbus TCP IP to control ISaGRAF Controllers Please refer to website FAQ Software ISaGRAF 052 http www icpdas com tag isagraf 052 htm 2 28 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Chapter 3 Hardware System amp Setting Note Please refer to User s Manual Of ISaGRAF Embedded Controllers or CD of napdos isagraf 8000 english_manu user manual 8xx7 pdf for detailed English User s Manual 3 1 Connecting Your PC To COM1 Port The COM1 port of the i 7188EG XG amp uPAC 7186EG is a Modbus slave port which can talk with HMI software or for the ISaGRAF workbench to download the ISaGRAF project COM1 of the i 7188EG uPAC 7186EG is a pure RS232 port while COM1 of the i 7188XG can be used as either a RS232 or a RS485 port COM1 RS 232 One PC HMI can only link to COM1 RS232 port of one i 7188EG XG or uPAC 7186EG PO HMI COM1 RS232 E 19200 N 8 1 COM1 RS 232 Pin Wiring Assignments i 7188EG XG uPAC 7186EG PC 9 Pin D Sub RXD 2 TXD 3 GND 5 For the ISaGRAF Workbench RS 232 communications to operate properly only the RXD TXD and the GND signals are used If your PC is running a hardware device or software program that uses the C
3. HOST COMPU TER POWER SUPPLY 3 16 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Step 2 Set I O module to initial state If the module is a new one factory have set a default settings for user s convenient f you use and old one and you don t know the configuration of the module please set the I O module to initial state To set i 7000 module to initial state is to wire connect the INIT to GND and Power on the module Then the module will become initial state 1 8 K module s initial state is set by the dip switch of Expansion Unit e g I 87Kn For example setting dip 2 to ON and then re cycle the power it means the second slot is in initial state The default state from factory I O Module i 7000 M 7000 87K series mss 1 9600 9600 115200 Disabled Not defined Disabled DCON Protocol Modbus Protocol The initial state after initiation 7000 series det i 7000 and M 7000 DCON Protocol Address Disabled Disabled DCON Protocol DCON Protocol Step 3 Select COM port and baud rate to search Execute the DCON Utility from Start programs DAQPro DCON Utility fi DWP to k n ECON Utility fl DEON Utility 7 Rainlendar k marore K Uninstall DCON Utility D Internet Explorer M VCE Pm i DCON Support Module List El Version Information Programs E OpenOffice org 2 0 K 4 m PDFCreator k start W
4. FARI F3 3HFE Fa Lg FS LH FS iH FP HE FS lal Fa PRP Double click anywhere inside of the new function block and the Function Block assignment window appears Select the BLINK type function block for the type of timer we are using in our example program To learn how the BLINK function operates you can click on the Info button for a detailed explanation of its functionality read byte from array of l Sxx 7 write byte to array of 1 8xx7 read array element Write array element read long from array of 8xx7 write long to array of Lexx get ascii code arc sine arc tangent running average transfer 16 bit to 1 word blinking signal convert to boolean concat messages C function black sample get character comparator close COM3 4 of 8xx7 Now move your cursor to the output coil on the right side of the LD program Click on the F5 Coil icon two times to add two additional outputs in parallel with the first output 3 ISaGRAF SIMPLELD LD1 Quick LD Program File Edit Tools Options Help H SERA BS xb PI aasi PRK PTE F hd FS CW F FR Fa Gl Fa trace RT HE After adding the two additional outputs move your cursor to the left of the timer function block to where the word CYCLE is and double click at that position Select the type Timer and then assign the TMR1 as the variable Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 200
5. 1 Click COM Port menu to select the COM port and baud rate to search You can select multi baud rate protocol or checksum conditions if you do not know the module s setting but it will spend more time to scan the network After selection click OK 2 Click Start Search icon to begin search module Click I when it is searched Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 17 321600 160800 30400 L mi M searching status COM Port ron 2 Address Step 4 Click Searched module ID and ive the new configuration F Configuration for 7050 Module Ferson B104 FJ DCON Utility Ver 4 4 2 E am El 19105 Output 0 000 LSB CH O MSB CH 71 The Found Out I O module u r a a a a a ideal Address Baudrat Ey 010 3600 Power On value of DO Sate Value of DO LSB CHO searching Status COM Port ln 1 Address 7050 Setting Communication Parameters Ok ES Then follow the steps to check the new setting settings Baudrate Checksum or Protocol OK Please do following steps tepl Disconnect INIT pin from GND ping or adjust the dipswitch to Normal side M D bee off then Power on the module Ep search the module again Note Remember to remove the connection of i 7000 s INIT and GND after the setting is well configured Then recycle its power 3 18 Getting Started uP
6. Os 240 600 01 for 7188sG EG Cancel Mote H Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 15 Click on the I O Connection icon as shown in the picture and the I O Connection window will appear as shown in the next illustration In this example if you have a X107 I O expansion board please refer to catalog or section 3 13 you should double click on the 0 slot for X107 or If you dont have X107 just double click on any slot for xboo_ io simulate Boolean I O then Set Board Equipment window will appear Select Equipment and double click on X107 or xboo io IMPORTANT NOTE Slot 0 is reserved for I O expansion boards of the 7188EG XG amp uPAC 7186EG For i 7000 IO module no matter which COM choice the slot after 8 and select Equipments of bus7000 And you can use other slots for additional functionality Connecting Input To connect the Input attributed variables to X107 click on DI6 then double click on channel 1 on the right Then select the name and click on Connect muu sa KAF SIMPLELD M connection File Edit Tools Options Help El 0 tl FK lo em x107 aj mu ref Z1D7A Ev DIG Km E E DOF 4 3 ia Connect LO channel 1 a Free 6 mum La RAF SIMPLELD PO conection File Edit Tools Options Help SSR Q I EA a o m x107 El aman ref 71074 A DI
7. i 7188EG EGD XG XGD V 3 0 Oct 2007 Table of Contents CHAPTER 3 HARDWARE SYSTEM amp SETTING 3 1 3 1 Connecting Your PC To COM1 Port 3 1 3 2 Connecting Your PC To Ethernet Port 3 2 3 3 How to Update Hardware Driver 3 4 3 4 Setting NET ID For Controller System 3 7 3 5 Setting COM1 s Baud Rate a 3 8 3 6 Setting COM1 as None Modbus Slave For i 7188EG uPAC 7186EG 3 9 3 7 Setting COM3 As Modbus RTU slave Port 3 11 3 8 Setting IP amp MASK amp Gateway For i 7188EG amp uPAC 7186EG 3 13 3 9 Deleting An ISaGRAF Project From The Controller 3 14 3 10 Setting i 7000 and i 87K Remote I O by DCON Utility 3 16 3 11 Linking i 7000 and i 87K Modules For Remote I O 3 19 3 12 Creating Two Modbus Master Slave Link 3 19 3 13 Linking To An HMI Interface Device 3 21 3 14 Using I O Expansion Boards X Series boards 3 21 3 15 Backup Restore An ISaGRAF P
8. please refer to website of http www icpdas com products PAC i 8000 isagraf htm then click ICP DAS Utilities For ISaGRAF to download io lib zip 2 3 Step 3 Writing A Simple ISaGRAF Program Note Please refer to User s Manual Of ISaGRAF Embedded Controllers or CD of napdos isagraf 8000 english_manu user manual I 8xx7 pdi for detailed English User s Manual 2 4 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 EXAMPLE OF LD PROGRAM The following is a step by step example on how to create a ladder logic hence forth referred as LD program using the IsaGRAF Workbench software program provided with the i 7188EG XG amp uPAC 7186EG plugged x board X107 controller system Variables Used In the Example LD Program Description SW1 Boolean Input Switch input 1 SW2__ Boolean Input Switch input 2 SHUT Boolean Input Shutdown input OUTO1 Boolean Output Output 1 OUTO2 Boolean Output Output OUTO3 Boolean Output Output 3 TMR1 Timer Internal Time Period of blinking initial value is set at T 1s Ladder Logic Program Outline BUNK RUN Q Process Operation Actions 1 Monitor Switch 1 SW1 normally open amp Switch 2 SW2 normally open 2 Monitor Shutdown Switch SHUT normally closed 3 If either SW1 or SW2 is true and SHUT is closed active Blink Timer TMR1 4 Turn Output 1 2 3 OUT01 03 ON and OFF at one second Interval Rate 2 3 1 Open IS
9. 17188E gt 1sar188e xd ISaGRAF Project Deleted Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 15 3 10 Setting i 7000 and i 87K Remote I O by DCON Utility I 7188EG XG and uPAC 7186EG controller system can link up to 64 pcs ICP DAS s remote I O modules i 7000 and i 87K series remote I O modules TO DO Before linking i 7000 and i 87K modules user must use DCON Utility to pre set each i 7000 and i 87K remote module to has a unique address NET ID and the same baud rate included the controller in this i 718x controller system The DCON Utility is a toolkit that helps user to search the network easily to configure and test the I O modules For DCON Utility program and manual please reach to ftp ftp icpdas com pub cd 8000cd napdosf driver dcon utility Notes 1 i 8 K must be plug in an expansion remote I O unit e g i 87Kn or RU 87Pn when setting their NET ID baud rate or 2 For i 7000 I O module you have to prepare a converter e g i 7520 3 Make sure the hardware connection is correct 4 Search and configure the modules one by one 5 Connect the module s INIT to GND and Power on the module Step 1 Hardware connection A The power supply must be DC power between 10V to 30V B Wiring diagram for connecting to i 7000 one module for each time For other wiring diagram please refer to DCON Utility User s Manual i ee O a 3 3
10. 2007 1 GETTING STARTED OF uPAC 7186EG EGD amp I 7188EG EGD XG XGD 1 TABLE OP CONTENTS TT 2 REFERENCE CUIDE iaa 4 PERFORMANCE COMPARISON TABLE 1 OF ISAGRAF CONTROLLERS 5 PERFORMANCE COMPARISON TABLE 2 6 SPECIFICATIONS uPAC 7186EG 7 SAPECIFICATIONS T 718SECG EGD sra cias 9 SPECIFICATIONS 7188XG XGL D 11 CHAPTER 12 TYPICAL APPLICATION i u u u u rs 1 1 1 1 uPAC 7186EG is better than i 7188EG 1 1 1 2 Multi HMI amp Remotel O aa 1 1 1 3 EKAN LED Nr 1 1 1 4 SMS Short Message Service 1 2 1 5 Data Exchange through Ethernet amp RS485 1 2 1 6 Modbus Converter of i 7000 amp i 87K Remote I O 1 3 1 7 ModbusMaster ae 1 4 1 8 Download amp Monitoring Via Modem Link 1 5 1 9 MENN 1 5 1 10 Active Control Data amp I O Acquisition Data reporting System 1 6 1 11 uPAC 7186EG can send email with an attached file 1 6 CHAPTER 2 SOFTWARE PROGRAMMING
11. CONGRATULATIONS you have successfully created our example LD program Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 15aGRAF SIMPLELD Programs Code Generator No error detected Begin Do you want to exit the Code Generator now 7 f errors are detected during the compilation process just click on the CONTINUE button to review the error messages Return to the Project Editor and correct the errors as outlined in the error message window 2 4 2 Simulating the LD Project A powerful program debugging feature of the ISaGRAF software program is the ability to SIMULATE the program you have developed before loading it into the 1 7188EG XG uPAC 7186EG controller system After successfully compiling the example LD program click on the SIMULATE icon as shown below EA la TS B 9 BRE Programs File Make Project Tools Debug Options Help S S 060 Yr mA Begin D x Begin Ln Ladder Diagram When you click on the Simulate icon three windows will appear The windows are the ISaGRAF Debugger the ISaGRAF Debug Programs and the I O Simulator windows If the I O variable names you have created DO NOT appear in the I O simulator window just click on the Options and Variable Names selection and the variable names you have created will now appear next to each of the I O s in the simulator window In the ISaGRAF Debug Program window double c
12. EGD XG XGD V 3 0 Oct 2007 Pin assignment X109 DOOOOOODOOOOOOO 3 5 5 5 X110 DDDDDDDDDDDDDND X111 O O aaa a O O 0 IDVOVOODODO X111 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Pin assignment X116 Top View X119 CON 8 CON 8 EKSODA 8P EK500A 8P 3 24 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Pin assignment K202 DODDODODDODODDOO X203 DDDDDDDDDDDDOD X203 Pin assignment X303 DODODODOOOOOOOG Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 25 Pin assignment X304 DODODODODDDDDDDO X305 DODDDDODDDDDDODD X308 pppppppppppopopo 3 26 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Pin assignment X310 OM O O0 m O 0 C DODOOODODDDODOOOON X310 Pin assignment X503 LI CI CI Co O fo DD AD DOC DDD E X504 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 27 X505 L L O L CO a fo Cfo 0000000000000 L CTS3 X506 DM cd OOOO COM8 LCOM7 COM6 LCOMS LGOM4 LCOM3 A506 X507 L L OF OF 2 2 Oo ho O aa O O VDDOVOODDDDDDO C 3 28 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Pin assignment X508 L l CC LU Co
13. I O HMI amp SCADA software Ethernet Modbus TCP IP R5 232 Modbus uPAC 7186EG or i 7188EG PC HMI 1 7000 1 87K series Remote I O 1 3 EKAN LED Display EKAN ME 122 Modbus RTU protocol RS 485 2 wire 15 33 mnm Englar 55 26mm Hant an nnn 15 93 mm at uPAC 7186EG i 7188EG XG E 796 326 mm EKAN ME124 Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 1 1 1 4 SMS Short Message Service 7188EG XG uPAC 7186EG 4 Alarm lnformation M 1206 GSM Modem 1 5 Data Exchange through Ethernet amp RS485 Data Exchange Controller to controller data exchange Ethernet 1 8437 8837 8477 8877 amp i 7188EG amp uPAC 7186EG EGD RS485 1 8417 8817 8437 8837 1 7188EG XG amp hie 7186EG EGD 1 2 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 1 6 Modbus Converter of i 7000 i 87K Remote I O I 188XG can be a Modbus RTU serial converter of i 7000 amp 1 87K series I O modules Modbus serial RS232 RS485 RS485 T I 7188XG HMI or SCADA 4 Remote I O Modules I 87K I 7188EG amp uPAC 7186EG can be a Modbus RTU serial amp TCP IP converter of 1 7000 amp 1 87K series I O modules HMI SCADA Modbus TCP IP Ethernet RS485 Modbus serial RS232 1 7188 uPAC paS ssl Remote I O Modules adi mY L I 87
14. ISaGRAF code size Appli x8m must lt 64K Pulse Width Modulation All Xxxx series D O boards support PWM output 8 channels output Counters Parallel D l counter Remote D I counter max for one controller 500Hz max for Off 1 amp On 1 ms Output square curve Off 1 to 32767 ms On 1 to 32767 ms All Xxxx series D I boards support D I counter 8 ch max for one controller Counter value 32 bit 500Hz max Min ON 8 OFF width must gt 1ms All remote i 7000 amp i 87K D l modules support counters 100Hz max value 0 to 65535 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 11 Remote high speed counter Protocols Modbus Slave protocol Modbus master protocol Remote I O Fbus SMS Short Message Service User defined protocol Modem_ Link MMICON LCD Battery backup SRAM Optional i 87082 100kHz max 32 bit Up to 2 COM ports COM1 and COM3 in X board can support Modbus RTU slave protocol for connecting ISaGRAF PC HMI OPC Server amp MMI panels Up to 2 COM ports COM2 and COM3 in X board support Modbus RTU Master or ASCII master protocol to connect to other Modbus slave I O devices 2 ports support up to 64 Mbus xxx function blocks same type One of COM2 or COM3 RS485 if found supports i 7000 I O modules amp i 87K base i 87K serial I O boards as remote I O Max 64 I O modules for one controller Built in COM2 port to exchange data between ICP DAS s ISaG
15. In this type of configuration the i 7188EG XG controller becomes Modbus slave controller For more information about setting up and programming for Modbus slave please refer to Chapter 4 amp Chapters of the User s Manual Of The ISaGRAF Embedded Controllers COM2 supports Modbus Master and can link to other devices that support the Modbus protocol then the i 7188EG XG amp uPAC 7186EG controller Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 19 become the Modbus Master controller For more information about setting up and programming for Modbus master please refer to Chapter 8 of the User s Manual Of The ISaGRAF Embedded Controllers When added an X50x expansion board the added COM3 can support Modbus Master or Slave protocol Using COM1 COM2 COMAS the I 7188EG XG uPAC 7186EG controller can maximum support 2 master 1 slave modbus or 1 master 2 slave linkages If COM2 R5485 is used one 7188EG XG uPAC 7186EG can connect to many other Modbus devices Each device on the link must have a unique NET ID 1 255 address and communicate at same baud rate settings If COM3 RS232 with one of X503 X504 X505 X506 1 O expansion board plugged or COM3 RS485 with X511 I O expansion board plugged is used one i 7188EG XG or uPAC 7186EG can have one more Modbus port COM2 D2 77 R5485 TT RS485 RS485 D2 HRS485
16. R5485 Other PLC Other device support Modbus support Modbus i 7188EG XG uPAC 7186EG NET ID 1 NET ID 2 Other Modbus i 7188EG XG uPAC 7186EG Coma RXD RD RS232 TXD RXD GND GND RIS cts DTR Coma X NNN RX RS422 X D Mp TX RX TX Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 13 Linking To An HMI Interface Device The COM1 RS 232 ports of the i 7188EG XG and uPAC 7186EG controller system can be used to interface with additional Human Machine Interface HMI devices such as touch screen displays ICP DAS provides a full line of touch screen displays such as the Touch series screens The models in the product line include the Touch 506L 5061 and 510T products For detail information please visit web site http www icpdas com products HMI touch Icd man machine list htm RS232 Touch 500 Series J i 7188EG XG RS232 COM1 RS232 TXD 2 TXD RXD 3 RXD GND5 GND CTS7 RTS 8 3 14 Using I O Expansion Boards X Series boards Note I 7188EG XG amp uPAC 7186EG can plug an I O Expansion board inside the main body To install it user has to loosen the screw and remove the shell of I 7188EG XG or uPAC 7186EG I 7188EG XG and uPAC 7186EG does not support the EEPROM and Flash memory of X board Up to Jan 2007 the supported I O expansion boards are as below It will be more Please visit the following website for newest data http www icp
17. bat Xisa 188e exe Xautoexec bat Xisa 188e exe w25 w25 5 Power off the i 7188EG XG connect pin INIT to GND then power up 6 If the connection is Ok 17188E gt messages will appear on the screen 7 Type isa7188e b n Setting baud rate of COM1 n 0 9 isa7188e b n for i 7188EG isa 186e b n for UPAC 7186EG The n is for setting baud rate of COM1 following is the settings 1 2400 2 4800 3 9600 4 19200 5 38400 6 57600 7 115200 8 300 9 600 0 1200 8 Remove the connection between INIT and GND Recycle the power C Copyright ICP DAS CO LTD Taiwan Id 8451 f29r ICP DAS MiniOS for I 7188E Ver 2 01 build 001 Sep 15 2006 17 04 53 SRAM 312K FLASH MEMORY 312K CPU RDC 8820 D Serial number 01 9E BE CS GE 00 00 A3 17188E gt 15a7188e xb 4 3 6 Setting COM1 as None Modbus Slave For i 7188EG amp uPAC 7186EG COM1 of the i 7188EG and uPAC 7186EG support Modbus RTU Slave protocol by default User may change it to a None Modbus Slave port for other usage For example user may write his own defined protocol on COM1 or use COM1 as a Modbus Master port NOTE For7188XG COM1 is for Modbus RTU Slave protocol ONLY can t be free We use 188EG s driver as an example Steps 1 Create a file folder named 7188 in your hard drive For example c 7188 Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 3 9 2 Copy Napdos lISaGRAF 7188EG Driver 7188
18. controllers How 14 Q Can I use 8K parallel D I board to get counter input up to 500Hz How Q How to output something at a time interval For ex Turn ON at 09 00 18 00 on Monday to Saturday while 13 00 20 00 on Sunday 16 Q How to determine a D if it has bouncing problem 17 Q How to trigger something at some seconds later when one event happens O Does the ISaGRAF 256 software have I O Tag limitation Why not using ISaGRAF L Large version 19 O Why my i 8417 8817 8437 8837 or i 7188EG XG stop running 20 Q How to search a variable name in an ISaGRAF project 21 GO When closing my ISaGRAF window it holds for long time Why Q How to Use Proface HMI Touch panel to link to i 7188EG XG i 8xx7 and 22 Wincon 8x37 28 H How to reduce ISaGRAF code size How to directly Read Write ISaGRAF 23 variables by using Network address E How to scale analog input and output of 4 to 20 mA to my engineering format How to scale analog input and output of O to 10 V to my engineering format O How to detect controller Fault 25 26 Q New ISaGRAF retained variable is better than old one 27 Q How to link to Modbus ASCII Slave device og Q How to use multi port Modbus Master in the Wincon 8037 8337 8737 amp Wincon 8036 8336 8736 Q How to send receive message from ISaGRAF controller to remote PCs or Controllers via Ethernet UDP communication Pi Setting special range
19. creating more elaborate and powerful programs Like any other computer development environment practice and experimentation is the key to understanding and success GOOD LUCK Note Please refer to User s Manual Of ISaGRAF Embedded Controllers or CD of napdos isagraf 8000 english_manu user manual I 8xx7 pdi for detailed English User s Manual 2 26 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 6 ISaGRAF Demo Programs List 2 6 1 Demo Programs List i 7188EG XG amp uPAC 7186EG 8000 CD ROM napdos isagraf 7188eg demo or fto fto icodas com pub cd 8000cd napdos isagrat 7 188eq demo Project S O Boards Or Complex Name P Equipment Used Receive message and echo back to Com2 or Com3 X503 4 5 6 Write one string to Com5 amp Comp for X503 X503 Demo 03 Receive message and echo back to Com6 or X503 Com 7 Access to variables as array Convert i 7000 and insert X board to i 7188EG Bus7000b X107 Timer Control TP TON TOF X304 Show a value to S MMI VAL10LED X304 Control X107 amp i 7060D Relay IO Bus7000b X107 Demo 08 Receive message and echo back to Com3 and X507 8 9 control DO for X507 8 9 Demo 09 Using S MMI and Timer to control tStart tStop Reset to O Using S MMI X107 Demo 11 Link to other Modbus RTU devices Demo 12 Convert i 7000 and display Analog Input value to Bus7000b S MMI for training box S MMI for training box a no damn please download to control
20. parameter of temperature input board to get clear Degree Celsius or Degree Fahrenheit input value For ex 1535 means 15 35 degree O Setting a special ADR_ parameter of remote i 7000 amp i 87xxx temperature 31 inout module to get clear Degree Celsius or Degree Fahrenheit input value For ex 8754 means 87 54 degree 320 How to access to ISaGRAF variables as array A demo program of sending string to COM2 or COM3 when alarm 1 to 8 happens 33 Q Setting Up More Modbus RTU Slave Ports in Wincon ISaGRAF Controllers R Compiling error result in different ISaGRAF version Q Slow down ISaGRAF driver speed to work better with Indusoft software in W 8036 8336 8736 W 8046 8346 8746 36 Q Q Redundancy Solution in Winco eee Q Redundancy Solution in Winco eee in Winco EX i 7188EG XG support remotely downloads via Modem Link Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 No English ISaGRAF Ver 3 FAQ 38 Q Setting i 7188EG XG s COM3 as Modbus RTU slave port 39 Q ISaGRAF version 3 4 amp 3 5 Now Supporting Variable Array Q Setting 1 8437 1 8837 1 8437 80 1 8837 80 s COM3 as Modbus RTU slave Dort 41 Q How to connect PC HMI to a Redundancy system with a single IP address 42 Q How to use Wincon connecting to Ethernet I O The I O scan rate is about 30 to 40 msec for 3000 to 6000 I O channels Q How to setup Wincon 8xx7 as TCP IP Client to c
21. plugged inside the 188EG 7188EGD set by software 1 to 255 RS232 TXD RXD GND Speed 115200 bps max Program downloads port RS485 D D 115200 bps max Self tuner ASIC inside 10M bps NE2000 compatible 10 BaseT Program download port IEC61131 3 standard Languages LD ST FBD SFC IL amp FC Accepts max 64K byte ISaGRAF code size Appli x8m must lt 64k All Xxxx series D O boards support PWM output 8 channels max for one controller 500Hz max for Off 1 amp On 1 ms Output square curve Off 1 to 32767 ms On 1 to 32767 ms All Xxxx series D l boards support D l counter 8 ch max for one controller Counter value 32 bit 500Hz max Min ON amp OFF width must gt 1ms All remote i 7000 amp 1 87K D l modules support counters 100Hz max value 0 to 65535 Optional i 87082 100kHz max 32 bit Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 9 Protocols Modbus Slave protocol Modbus master protocol Modbus TCP IP protocol Remote I O Fbus Ebus SMS Short Message Service User defined protocol Modem Link MMICON LCD Battery backup SRAM 10 Up to 2 COM ports COM1 and COM3 in X board can support Modbus RTU slave protocol for connecting ISaGRAF PC HMI OPC Server amp MMI panels Up to 2 COM ports COM1 COM2 and COM3 in X board support Modbus RTU Master or ASCII master protocol to connect to other Modbus slave I O devices 2 ports support up
22. support Max 4 8172 Max 1024 D l and 1024 D O channel W 8x47 8x37 support Max 7 i 8172 Max 1792 D l and 1792 D O channel N Ol 6 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Power suppl Power requirements Protection General environment temperature Humidity ESD Protection System CPU Watchdog timer Real time clock SRAM FLASH Memory NVRAM EEPROM Display for uPAC 7186EGD Expansion I O bus NET ID Serial ports COM1 COM2 Ethernet Development software ISaGRAF Version 3 Max code size PWM output Pulse Width Modulation output Counters Parallel D l counter Specifications uPAC 7186EG 10 to 3OVDC uPAC 7186EG 2W uPAC 7186EGD 3W unregulated Built in power protection amp network protection circuit Operating 25 C to 5 C Storage 30 C to 85 C 5 to 95 non condensed 4KV Contact Discharge for RS 232 RS 485 Power and Ethernet 80186 80MHz or compatible Yes default 0 8 second Gives hour minute sec date of week date of month month amp year 640K bytes 512Kbytes Erase unit is 64K bytes 100 000 erase write cycles 31 bytes battery backup data valid up to 10 years 16K bytes retention gt 100 years 1 000 000 erase write cycles Five 7 Seg Led on the front It can display message amp value One optional Xxxx series I O board can be plugged inside the PAC 7186EG 7186EGD Set by software
23. to 64 Mbus_ xxx function blocks same type Ethernet port supports Modbus TCP IP slave protocol for connecting ISaGRAF amp PC HMI Max 4 connections One of COM2 or COM3 RS485 if found supports i 7000 I O modules amp i 87K base i 87K serial I O boards as remote I O Max 64 I O modules for one controller Built in COM2 port to exchange data between ICP DAS s ISaGRAF controllers To exchange data between ICP DAS s ISaGRAF Ethernet controllers via Ethernet port COM1 or one of COM3 RS232 or COM4 RS232 if found can link to a GSM modem to support SMS User can request data control the controller by cellular phone The controller can also send data amp alarms to user s cellular phone Optional GSM modems M1206 or GM29 GSM 900 1800 User can write his own protocol applied at COM1 COM2 amp COM3 to COMB if found by serial communication function blocks Supports PC remotely download amp monitor the controller through COM4 of X504 One of COM3 RS232 if found supports ICP DAS s MMICON The MMICON is featured with a 240 x 64 dot LCD and a 4 x 4 Keyboard User can use it to display picture string integer float and input a character string integer and float I 7188EG 7188EGD can support up to 1024 retain variables with an X607 X608 plug in the only expansion I O slot Data can be stored in X607 X608 and then PC can load these data via COM1 or Ethernet PC can also download pre defined data to the X607 X608 Option
24. 1 Quick LD Program y gt File Edit Tools Options Help H SES MS xB Pt aasi S JKT FSE F Gel FR CH FRIV FP FS Gl Fae FY l Contact on the left Click on the F4 Parallel contact icon and you will add a parallel input contact below the first input contact that was created ISaGRAF SIMPLELD LD1 Quick LD Program J0 x File Edit Tools Options Help H ras HB lt E Br Q Q sm Fa FR HE Fa fl F5 4 F Fr FR Ql F3 3 Click on the coil contact at the end of the LD rung and then click on the F2 Contact on the left icon SS 15aGRAF SIMPLELD LD1 Quick LD Program D xj File Edit Tools Options Help D YER ME sc Pa e a g FRAME F Gel FS LH FE F dH Fell Fa FREE Contact on the lett A new normally open input contact to the left of the output coil now appears Click on the Coil Contact Type icon to change the normally open contact to a normally closed contact A 1SaGRAF SIMPLELD LD1 Quick LD Program ri xj File Edit Tools Options Help B YER me xB E p Q Q mm 6 pos 24 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Click on the F7 Block on the Right icon to add a function block which will be used for the timer to the right of the normally closed contact me 10 x Bis 15aGR AF SIMPLELD LD1 Quick LD Program File Edit Tools Options Help HE MER we lt Ed R aasi S
25. 1 to 255 RS232 TXD RXD RTS CTS GND Speed 115200 bos max Program downloads port RS485 D D Pull high low resistor jumper 10 100 Mbps NE2000 compatible Auto negotiating Auto MDIX LED indicator IEC61131 3 standard Languages LD ST FBD SFC IL amp FC Accepts max 64K byte ISaGRAF code size Appli x8m must lt 64K All Xxxx series D O boards support PWM output 8 channels max for one controller 500Hz max for Off 1 amp On 1 ms Output square curve Off 1 to 32767 ms On 1 to 32767 ms All X xxx series D l boards support D I counter 8 ch max for one controller Counter value 32 bit Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 7 Remote D I counter Remote high speed counter Protocols Modbus Slave protocol Modbus master protocol Modbus TCP IP protocol Remote I O Fbus Ebus Send Email SMS Short Message Service User defined protocol Modem Link MMICON LCD Retained Variables Battery backup SRAM 500Hz max Min ON amp OFF width must gt 1ms All remote i 7000 amp 1 87K D l modules support counters 100Hz max value 0 to 65535 Optional i 87082 100kHz max 32 bit Up to 2 COM ports COM1 and COM3 in X board can support Modbus RTU slave protocol for connecting ISaGRAF PC HMI OPC Server amp MMI panels Up to 2 COM ports COM1 COM2 and COM3 in X board support Modbus RTU Master or ASCII master protocol to connect to other
26. 188EG uPAC 7186EG by a RS232 cable If your computer has no COM1 COM2 or you use other COM like COM5 to link the i 7188 you can change the C number in the first line of 7188xw ini file EX Using computers GOM5 to link to i 7188 3115200 PO D8 S1 115200 PO D8 S F F Xautoexec bat Xisa 188e exe Xautoexec bat Xisa 188e exe w25 w25 5 Power off the 7188EG uPAC 7186EG connect pin INIT to GND then power it up 6 If the connection is Ok 47188E gt messages will appear on the 7188xw screen 7 Type ip to see the current IP address of the i 7188EG 8 Type ip xxx xxx xxx xxx to set to a new IP address Ex 17188E gt ip 192 168 1 200 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 13 10 11 12 13 14 Type mask to see the current address mask of the i 7188EG Type mask xxx xxx xxx xxx to set to a new address mask Ex 17188E gt mask 255 255 255 0 Type gateway to see the current gateway address 17188E gt gateway Type gateway xxx xxx xxx xxx to set to a new gateway address 17188E gt gateway 192 168 1 1 Press ALT X to exit 7188xw or COM1 COM2 of the PC will be occupied Remove the connection between INIT GND recycle the power of the I 7188EG uPAC 7186EG controller 3 9 Deleting An ISaGRAF Project From The Controller If one ISaGRAF project has been download to the 7188EG or i 7188XG controller User may do
27. 24 retained variables With the optional X 607 608 board plugged inside the uPAC 7186EG data can be stored in it and then PC can load these data via COM1 or Ethernet PC can also download pre defined data to the X607 X608 Optional X607 128kbytes X608 512kbytes Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Specifications 1 7188EG EGD Power suppl Power requirements Protection General environment temperature Humidity System CPU Watchdog timer Real time clock SRAM FLASH Memory NVRAM EEPROM Display for i 7188EGD Expansion I O bus NET ID Serial ports COM1 COM2 Ethernet Development software ISaGRAF Version 3 Max code size PWM output Pulse Width Modulation output Counters Parallel D l counter Remote D I counter Remote high speed counter 10 to 30VDC i 7188EG 2W i 7188EGD 3W unregulated Built in power protection amp network protection circuit Operating 25 C to 75 C Storage 30 C to 85 C 5 to 95 non condensed 80188 40MHz or compatible Yes default 0 8 second Gives hour minute sec date of week date of month month amp year 512Kbytes 512Kbytes Erase unit is 64K bytes 100 000 erase write cycles 31 bytes battery backup data valid up to 10 years 2048 bytes retention gt 100 years 1 000 000 erase write cycles Five 7 Seg Led on the front It can display message amp value One optional Xxxx series I O board can be
28. 3 5 Use 1sar188e s 1 to 255 to set NET ID to 1 to 255 Use 1sa7188e xd to delete ISaGRAF program Use 15a7T188e b 0 to 9 to set baudrate of COM as 1200 2400 Use 1sar188 x 0 9 to set COM3 as Modbus RTU isaf188 wx f to free COM3 C Copyright ICP DAS CO LTD Taiwan Id 8451f29r Upgrade ISaGRAF embedded driver 9 Power off the controller connect pin INIT to GND and then power it up 10 Press F4 to auto download the following files and reboot system autoexec bat isa 188e exe e 060915 img Wait about 60 SEC to update ISaGRAF system DO NOT REMOVE THE POWER IN THESE 60 SEC 11 Type dir to make sure autoexec bat and isa 188e exe are well burned 17188E gt dir 12 Press ALT X to exit 7188xw 13 Remove the connection between INIT GND recycle the power of the controller i7188E gt del y otal File number is 2 do you really want to delete y n 17188E gt LOAD lle will save to 8000 0000 StartAddr gt 7000 FFFF Press ALT E to download file oad file autoexerc bat crc 8116 0000 Send file info total 1 blocks MiniOsf for 7188E Ver 2 01 001 date 09 15 2006 2 01 build 001 Sep 15 2006 17 04 53 CPU RDC 8820 D Serial number 01 9E BE C8 DE 00 00 A3 17188E gt dir O autoexec bat 09 16 2005 23 10 08 15 0000F 18002 0000 8002 000F 1 isa 188e exe 10 26 2006 15 02 21 177349 2B4C518004 000F AB51 0004 Total File number is 2 Free space 281292 by
29. 6 na fa SWI gt DOF ne 2 O SW 3 s SHUT EV EF E LS e 6 ri 2 16 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Connecting Output To connect the Output attributed variables to X107 click on DO7 and then double click on channel 1 on the right Then select the name and click on Connect Once you have completed making the input I O connections remember to click on the SAVE icon to save the I O connections that have been created for the example program am sa RAF SIMPLELD M connection File Edit Tools Options Help Ban tl RK Free o Em x107 2 mm REF 7107B gt DIB EE EB D07 e e La 6 Connect am sa RAF SIMFPLELD M connection File Edit Tools Options Help m Elm G F Ne o Em x107 Fe le DIB ne ol OUTOI Remember E DO7 no o OUTO to click on o OUTO3 save e A a 6 Ja A 6 El IMPORTANT NOTE All of the Input and Output variables MUST be connected through the I O connection as described above for any program to be successfully compiled Only the Input and Output variables will appear in the I O Connections window Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 17 2 4 Step 4 Compiling amp Simulating The Example Project NOTE For ANY AND EVERY ISaGRAF program to work properly with any of
30. 7 2 13 2 14 Ei ISaGRAF SIMPLELD LD1 Quick LD Program O x File Edit Tools Options Help BE SEA HS HL PY Q Q sm Forde FRE F bl FS Fegi FAQ Fell Fae Fa a THA1 Blinking Timer Al e IMAL Blinking Timer pos 3 2 C function cone Now we are ready to assign program variables to each program components Place the cursor over the first normally open switch as shown below then double click on the contact A Select Variable window will now open Sis ISaGRAF SIMPLELD LD1 Quick LD Program P s ioj x File Edit Tools Options Help HE SEA ME EL PA Q g iH F2 3F0 F34HE F bd FS LH FELAH Fr iH F lg Fara I Select variable Switch 1 E C function Shutdown Switch 1 Switch 2 ergency Stop Type Switch Cancel Using the same method as described above now assign the rest of the program variables to the contacts and coils in the example program Lastly remember to click on the Save button to complete the programming of the example LD program Your program should now look like the below illustration Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Sif ISaGRAF SIMPLELD LD1 Quick LD Program u Joj xj File Edit Tools Options a BLINK RUM Q 2 3 7 Connecting the I O The ISaGRAF Workbench software program is an open programming system This allows user to creat
31. 8 gt isa 188e s 3 for MAORA me set the NET ID type isa 186e s Ex3 188 gt isa 186e s 2 8 Remove the connection between INIT and GND Recycle the power EX2 1188x for WIN32 version 1 30 2005 11 29 By ICPDAS Tim Tsai Begin Key Thread Current set Use COM1 115200 N 8 1 AutoRun Autodownload files autoexec bat isarl 8e exe Current work directory C 7188 original baudrate 115200 now baudrate 115200 ICP DAS Min10 7 for I 7188E Ver 2 01 build 001 Sep 15 2006 17 04 53 SRAM 512K FLASH MEMORY 512K CPU RDC 8820 D Serial number 01 SE BE C8 OE 00 00 A3 1 188E gt 1sa71188e s 3 Set Net ID to 3 3 5 Setting COM1 s Baud Rate Steps to Set Baud Rate for COM1 1 2 3 8 Create a file folder named 7188 in your hard drive E g c 7188 Copy Napdos lSaGRAF 7188EG Driver 2 xx 7188xw exe 7188xw ini from the CD_ROM into your 7188 folder Run 7188 7188xw exe For Windows NT Windows 2000 amp Windows XP Link from COM1 of your PC to COM 1 of the 7188EG XG amp uPAC 7186EG by a RS232 cable CAO910 TO PC Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 If your computer has no COM1 COM2 or you use other COM like COM5 to link the i 7188 you can change the C number in the first line of 7188xw ini file EX Using computers COMS to link to i 7188 B115200 PO D8 S1 B115200 PO D8 S1 F F Xautoexec
32. AC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 For 1 87K I O remember to switch the related Dip to OFF then recycle its power 3 11 Linking i 7000 and i 87K Modules For Remote I O I 7188EG XG and uPAC 7186EG controller system can use its COM2 RS485 port to link to ICP DAS s i 7000 and i 87K series of remote I O modules This configuration can be very useful in applications that require distributed remote l O throughout the system COM2 D2 DATA DATA gt DATA RS485 D2 DATA DATA DATA vs 7000 module 87K module 7188EG XG uPAC 7186EG Addr IN 2 Addr 2 Addr 3 4 5 6 Note You can link up to 64 pcs of i 7000 or i 87xxx series remote modules to one I 7188EG XG or uPAC 7186EG controller You must remember to set each i 7000 and i 87K remote module a unique address NET ID and set them and the i 7188EG XG controller all have the same baud rate amp checksum All enabled or all disabled For more information regarding setting up and programming an i 7000 i 87K remote module please refer to Chapter 6 Linking i 7000 and i 87XX Modules of User s Manual of IsaFRAF Embedded Controllers 3 12 Creating Two Modbus Master Slave Link I 7188EG XG and uPAC 7186EG controller can support 2 Modbus Slave or 2 Modbus Master ports at the same time depending on the application You can use the COM1 port as Modbus Slave port to link to PC or other HMI products
33. C code for Intel Application symbols Download Pe Cancel The example LD program will now start downloading to the i 7188EG XG or uPAC 7186EG controller system A progress bar will appear in the ISaGRAF Debugger window showing the program downloading progress 2 24 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 G ISaGRAF SIMPLELD Debugger A ES File Control Tools Options Help OmS bh Mb S 23 39 37 application stopped When the example LD program has successfully completed the downloading process to the 7188EG XG uPAC 7186EG controller system the following two windows will appear I5aGRAF SIMPLELD Debugger IS x File Control Tools Options Help DIS h Mb Oo A RUN allowed 0 current 1 23 39 37 application stopped ISaGRAF SIMPLELD Debug programs D x maximum overflow D File Project Tools Options Help Be m A Example LD Program A d Begin LE Ladder Diagram Running The Example LD Program You can observe the real time I O status from several ISaGRAF windows while you are running the example LD program One of the windows is the VO Connections window which shows each of the inputs and outputs as assigned Click on the I O Connections icon in the ISaGRAF Debugger window to open the I O Connections screen Another VERY helpful window you can open is the Quick LD Program window From th
34. Co KM b MIP D T DO X509 C OF a 0 O O Ho J AA nn DDDDDDDDDDD X510 X510 128 C X510 X510 128 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Pin assignment X511 X511 X518 X518 3 30 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Pin assignment X560 Ta Pin assignment X702 fa E O O x Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 31 Pin assignment X703 1 VCOM1 o z O O q 3 15 Backup amp Restore An ISaGRAF Project For archiving purposes you can Back Up and Restore an ISaGRAF project For example you may want someone to test your program or email to service icpdas com for ICP DAS s ISaGRAF service Backing Up an ISaGRAF Project Open the ISaGRAF Project Management window select Tools from the menu bar click on Archive and then click on Projects An Archive Projects window will open which allows you to designate where you want to save the ISaGRAF project to Click on the name of the ISaGRAF project in the Workbench location you want to backup and then click on the Backup button You can compress the size of the file you have backed up by clicking on the Compress checkbox BEFORE you click on the Backup button ISaGRAF Project Management Aol x File Edit Project Tools Options Help B
35. G XGD V 3 0 Oct 2007 2 3 2 2 Step 2 Installing The ICP DAS Utilities For ISaGRAF The ICP DAS Utilities For ISaGRAF consists of 3 major items VO libraries of i 8xx7 i 7188EG XG uPAC 7186EG amp W 8xx7 Modem_Link utility Auto scan I O utility Note The ISaGRAF Workbench software program must be installed before attempting to install the ICP DAS Utilities for IsaGRAF If you have not installed the ISaGRAF Workbench program please refer to step 1 before continuing There is a CD ROM supplied with each of the i 7188EG XG amp uPAC 7186EG controller with the ICP DAS Utilities for ISaGRAF Please insert the CD ROM into your CD ROM drive Then run CD ROM napdos isagraf setup exe Follow the meye to install it SI ICP DA S Utilities for ISaGRAF ICP DAS Utilities for ISaGRAF Welcome to the ICP DAS Utilities for ISaGRAF Setup program This pr ogra am vil iial CP DAS Li for 15a3GR4F on your It is strongly recommended ake exit all Windows programs before running this Setup program ee deso A SEA close any progra have Click Next to continue with the cans am WARNING This program is protected by copyright law and international treaties Unauthorized reproduc O esas Sone rogram or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum e Nel le cure sk Next gt Cancel If ICP DAS Utilities for ISaGRAF is not in your CD ROM
36. Getting Started of uPAC 7186EG EGD amp i 7188EG EGD XG XGD By ICP DAS CO LTD April 2002 All Rights Reserved This manual is intended for integrators programmers and maintenance personnel who will be installing and maintaining an i 7188EG XG amp a uPAC 7186EG EGD controller system Legal Liability ICP DAS CO LTD assumes no liability for any and all damages that may be incurred by the user as a consequence of this product ICP DAS CO LTD reserves the right to change this manual at any time without notice ICP DAS CO LTD constantly strives to provide our customers with the most reliable and accurate information possible regarding our products However ICP DAS CO LTD assumes no responsibility for its use or for any infringements of patents or other rights of third parties resulting from its use Trademark amp Copyright Notice The names of products are used for identification purposes only and are the registered trademarks of their respective owners or companies Technical Service Please contact local agent or email problem report to service icpdas com New information can be found at www icpdas com Please visit www icodas com gt FAQ gt Software gt ISaGRAF for Frequently Asked Ouestions Written by Chun Tsai Spike Huang amp Eva Li R amp D dept ICP DAS Copyright April 2002 Oct 2007 by ICP DAS CO LTD All Rights Reserved Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct
37. K Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 1 3 1 7 Modbus Master I 7188EG XG amp uPAC 7186EG support up to 2 COM ports of Modbus RTU ASCI master protocol to integrate with other Modbus devices COM2 amp COM3 i 7188EG uPAC 7186EG COM1 2 3 i 7188XG COM2 3 COM2 COM3 Pm l D RS485 Pm9 D RABS RAS RS485 P R5485 NET ID I NET ID 2 1 7188EG XG amp uPAC 7186EG COM3 RS232 RXD TXD or TXD RXD COM1 RS232 GND GND of i 7188EG RTS uPAC 7186EG CTS NET ID I 1 7188EG XG amp UPAC 7186EG Note COM3 COMB is optional from Xxxx I O expansion board Please refer to section 3 14 Using I O Expansion Boards X Series Boards 1 4 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 1 8 Download amp Monitoring Via Modem_Link Modem station COM4 PC 7188EG XG uPAC 7186EG p X504 A Ll C Modem ISaGRAF or Phone Line ya VB6 program No A Phone Line 1 9 Wireless I O Solution y i 7000 I O SST 2450 uPAC 7186EG I 7188EG XG 3XX7 I 7000 I O 551 2450 551 2450 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 1 5 1 10 Active Control Data amp I O Acquisition Data reporting System stable and Cost effective Data Acquisition Auto Report System Provides 4 Level Internet Security protection Pr e Gateway server 718 PC IHMI vw 9 e d in ISP compa
38. Modbus slave I O devices 2 ports support up to 128 Mbus xxx function blocks same type Ethernet port supports Modbus TCP IP slave protocol for connecting ISaGRAF amp PC HMI Max 4 connections One of COM2 or COM3 RS485 if found supports i 7000 I O modules amp i 87K base i 87K serial I O boards as remote I O Max 64 I O modules for one controller Built in COM2 port to exchange data between ICP DAS s ISaGRAF controllers To exchange data between ICP DAS s ISaGRAF Ethernet controllers via Ethernet port Send email to max 10 receivers each time via internet If using X 607 608 it can send email with an attached file and its file size max is about X 607 112K X 608 488K bytes COM1 or one of COM3 RS232 or COM4 RS232 if found can link to a GSM modem to support SMS User can request data control the controller by cellular phone The controller can also send data amp alarms to user s cellular phone Optional GSM modems M1206 or GM29 GSM 900 1800 User can write his own protocol applied at COM1 COM2 amp COM3 to COM8 if found by serial communication function blocks Supports PC remotely download amp monitor the controller through COM4 of X504 One of COM3 RS232 if found supports ICP DAS s MMICON The MMICON is featured with a 240 x 64 dot LCD and a 4 x 4 Keyboard User can use it to display picture string integer float and input a character string integer and float With the optional X 607 608 support up to 10
39. RAF controllers COM1 or one of COM3 RS232 or COM4 RS232 if found can link to a GSM modem to support SMS User can request data control the controller by cellular phone The controller can also send data 4 alarms to user s cellular phone Optional GSM modems M1206 or GM29 GSM 900 1800 User can write his own protocol applied at COM2 COM3 to COMB8 if found by serial communication function blocks Supports PC remotely download amp monitor the controller through COM4 of X504 One of GOM3 RS232 if found supports ICP DASS MMICON The MMICON is featured with a 240 x 64 dot LCD and a 4 x 4 Keyboard User can use it to display picture string integer float and input a character string integer and float Support up to 1024 retain variables with a X607 X608 plug in the only expansion I O slot Data can be stored in X607 X608 and then PC can load these data via COM1 PC can also download pre defined data to the X607 X608 Optional X607 128kbytes X608 512kbytes 12 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Chapter 1 Typical Application 1 1 uPAC 7186EG is better than i 7188EG e Faster than i 7188EG ES about 2 4 times uPAC 7186EG MD e Ethernet 10 100M bps the S e 640K memory for running program advanced i 7188EG 128K more than i 7188EG ISaGRAF based uPAC e Support sending email with an attached file if applying X 607 X 608 1 2 Multi HMI amp Remote
40. TOF OLD Or m E Move up in list top and reset timer TSTART TSTOP ST OLD EE Move down in list stem date amp time SYSDAT R SYSDAT Vy SYSTIM_R SYSTIM PS 7 5 I I T 7 peeraa ee eee Te L ee Tr x A m P Em demo 05 Bl Project comment text x mH demo 06 HEEN i EET gt e Project simpleld Reference sim a Author Comment C A Simple LD Progra gt _ s NN Date of creation 12 Version number 1 Description ance You will now see the name of the new project in the Project Management window Double click on the name of the new project to open the new project ISaGRAF Project Management File Edit Tools Options Help demo 03 RAV system date time SYSDAT SYSDAT VW SYSTIM_R SYSTIM FA demo 04 Calculate empty cycle time TP 1 OLD EH demo 05 Blinking output TP BLINK SLD EH demo 06 Change output mode 1 SFC Reference simpleLD ES Author EI Date of creation 12 1 5720017 Version number 1 15aGHAF 3 41 Description a 2 3 4 Declaring the ISaGRAF Project Variables Before you can start creating an ISaGRAF program you must first declare the variables that will be used in the ISaGRAF program Declaring Boolean First click the Dictionary icon then click the Boolean tab to declare the Boolean variables that will be used in our example program lsd File Make Project Tools Debug Options Help B SK DEN Ex me 29 Dictionary DriEStannsacocanc
41. TS and DSR signals and you will need to wire the RTS CTS and DTR DSR signals together as the figure shown Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 3 1 COM1 RS 485 One PC or HMI can link to COM1 RS485 port of MANY 7188XG if each of them on the same RS485 network has a unique NET ID I 7520R GOM1 RS485 19200 8 N 1 NET ID 1 ID 2 7188XG 7188XG s COM1 RS 485 Pin Assignments I 7520R PC RS232 RS485 i 7188XG i 7188XG i 7188XG RS232 Converter COM1 RS485 COM1 RS485 COM1 RS485 DATA D 1 _ D1 Dis DATA D1 D1 _ D1 Note Please make sure each i 7188XG on the same RS485 network has different NET ID Refer to Section 3 4 to set the NET ID 3 2 Connecting Your PC To Ethernet Port The Ethernet port of the 7188EG amp uPAC 7186EG controller provides Modbus TCP IP Slave protocol It can be used to connect to the PC or HMI software Up to 4 PC HMI can talk to one 7188EG 7186EG at the same time through the Ethernet port Industrial Ethernet Switch NS205 208 PC HMI E Ethernet i 7188EG Port No 502 Before you can download an ISaGRAF application to the 7188EG 7186EG controller using the Ethernet port you must first setup the Ethernet port to properly communicate with the host PC 3 2 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 At the i 7188EG amp uPAC 7186EG Set IP Mask and Gate
42. XGD V 3 0 Oct 2007 5 Performance Comparison Table 2 uPAC Series PAC Series WinPAC Series PACs i 7188 i 7188 PAC i 8417 i 8x37 i 8477 IPAC W 8447 8847 XG EG 7186 8817 80 8877 8x37 W 8437 8837 EG 1 2 Support Ethernet I O i 8KE4 MTCP 1 No Yes 8KE8 MTCP Send E mail Max amount for linking i 7K 87K 94 COME or 3 64 COMB or 4 remote Omodulelsuppori 1 port only support 1 port only Mew mermi Total Total Total Total per port 255 COM3 Available Modbus 2 ports 10 ports Master COM Port COM COM a max amount Maa 1 2 3 kl s AA Avallable Modbus or 5 ports Slave COM Port 4 COM1 3 COM1 3 COM2 or 3 5 8 Support Modbus TCP IP 4 4 connections ER 1 4095 1 4095 1 8191 ange Data Exchange Fbus amp Ebus Fbus 8 Ebus Ebus FRNET I O Yes 5 Yes Annotations 1 1 8x37 80 represents the products of i 8437 8837 8437 80 8837 80 2 IPAC 8x37 represents the products of IPAC 8437 8837 that will be available about Q1 2008 3 1 8477 8877 has to use an extra S 256 S 512 battery SRAM expansion module uPAC 7186EG has to use an extra X 607 608 battery SRAM expansion card for sending Email with an attached file or it can only send Email without attached file 1 8000 s COM5 20 W 8x47 8x37 s COM5 14 resides at the i 8112 8114 8142 8144 8142i expansion modules i 7188 uPAC 7186 s COM3 8 resides at the X 5xx expansion boards 1 8x77 PAC 8x37
43. a fixed Ethernet port No 502 Up to 4 PCs can link to one 7188EG 7186EG throughout Ethernet Modbus TCP IP protocol Another PC or MMI can link to COM1 RS232 port Modbus protocol Therefore the max number of clients can be linked is 5 Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 3 3 PC HMI IP 1 3 3 How to Update Hardware Driver Our newly released driver can be obtained from the below website http www icpdas com products PAC i 8000 isagraf htm Steps We use version 2 14 of 7188EG s driver as an example to show how to know the current driver version and how to upgrade the new driver 1 Create a file folder named 7188 in your hard drive For example CN7188 2 Copy the following listed files under INapdosllsaGRAFWV188eg Driver 2 14 from CD or download the i 7188EG version 2 14 zip file from website of http www icpdas com products PAC i 8000 isagraf link htm into your 7188 folder If you download zip file from web please extract the file 1 188xw exe 2 188xw f4 3 7188xw ini 4 autoexec bat 5 e 060915 img e 060915 img for 7188EG Ver 2 14 xb060614 img for 7188XG Ver 2 12 xb060614 img for 7186EG Ver 2 01 6 isa7188e exe isa7188e exe for 7188EG isa 188 exe for7188XG isa 186e exe for 7186EG Future version may not use the same img file 3 Run 7188 7188xw exe in your hard drive A 7188xw screen will appear Press F1 for help 4 Link COM1
44. aGRAF Project Management Starting amp Running the ISaGRAF Workbench Program Click on the Windows Start button then click on Programs then click on ISaGRAF 3 x then click on Projects as shown below Jasc Software Logitech Mouseware oak Macromedia Dreamweaver 4 Macromedia Extension Manager Master Converter b Matrikon OPC MCSD Training K Microangelo b b b b K Microcim Micro IDE Microsoft MET Framewor k SDK L LU Microsoft Developer Network Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 2 5 2 3 2 Creating an ISaGRAF User s Group Click on the Select Program Group then click on New Group then type in the name for the new user s group you wish to create and last click on OK 3 1SaGRAF Project Management Joj x File Edit Project Tools Options Help BEDER Me t 1 Us ma blinkseg same implementation weith var fa bottlef Flow Chart Simulation of bottle producto demo demo with Quick LD programming EH runstop First Project From Manual seg DemoPrg simple Ladder Program EH ra ray demonstatres array management functions fo rfbars demonstrates graphic bra graphs FA r bool demonstrates SFC boolean actions EH rfchart Flow Chart Sample application Reference Demo Feite 2 x Author ICP DAS I Date of creation 10 27 Select Version number 1 05 lUS us Description Simple New project grou
45. al X607 128kbytes X608 512kbytes Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Specifications 1 7188XG XGD Power supply Power requirements Protection General environment temperature Humidity System CPU Watchdog timer Real time clock SRAM FLASH Memor NVRAM EEPROM Display for i 7188XGD Expansion I O bus NET ID Serial ports COM1 COM2 Development software ISaGRAF Version 3 Max code size PWM output 10 to 30VDC 1 7188XG 2W i 7188XGD 3W unregulated Built in power protection amp network protection circuit Operating 25 C to 75 C Storage 30 C to 85 C 5 to 95 non condensed 80188 40MHz or compatible Yes default 0 8 second Gives hour minute sec date of week date of month month amp year 512Kbytes 512Kbytes Erase unit is 64K bytes 100 000 erase write cycles 31 bytes battery backup data valid up to 10 years 2048 bytes retention gt 100 years 1 000 000 erase write cycles Five 7 Seg Led on the front It can display message amp value One optional Xxxx series I O board can be plugged inside the 1 7188XG 7188XGD Set by software 1 to 255 Can be used as RS232 or RS485 Speed 115200 bps max RS232 TXD RXD RTS CTS GND RS485 D D self tuner inside Program downloads port RS485 D D 115200 bps max Self tuner ASIC inside IEC61131 3 standard Languages LD ST FBD SFC IL amp FC Accepts max 64K byte
46. als can be found at http www icpdas com products PAC i 8000 isagraf htm Industrial Ethernet Switch NS 205 NS 208 Best choice for Industrial Ethernet Communication http www icpdas com products Switch industrial ethernet switch htm Model NS 205 Model NS 208 FAO Please visit www icodas com FAQ Software ISaGRAF for Frequently Asked Question or visit http www icpdas com fag isagraf htm 4 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Performance Comparison Table 1 of ISaGRAF Controllers Normal Normal Memory running Speed for gn ass for PACs CPU floating point running limitation scan time scan time IPAC 8437 is a About 0 8 IPAC 8837 10 125ms compatible m About 0 8 E 10 125ms compatible i 8437 80 i ities About 0 8 i 8837 80 compatible 10 125ms 1 8437 gn About 1 About 0 2 1 port GAK About i 8837 compatible 5 100ms 25 500ms 10 Mbps 512K 80188 40M About 1 About 0 2 Hz or compatible 5 100ms 25 500ms uPAC zor About 0 8 aaae compatible 10 125ms 640K i 7188EG m ban About 1 About 0 2 About compatible 100ms 25 500ms K i 7188XG ae Kon About 1 About 0 2 eis compatible 5 100ms 25 500ms 519K br ll About 10 20 About 10 20 Nu compatible 3 15ms 3 15ms 20 40M Strong ARM About 10 20 About 10 20 About 206 MHz or compatible 3 15ms 3 15ms 20 40M Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG
47. arget controller MUST be set to the same serial communication parameters for the development PC For 1 7188EG XG uPAC 7186EG controllers serial port communications the default parameters for COM1 port are Baud rate 19200 Parity none Format 8 bits 1 stop Flow control none Important Note It may be necessary to change the COM port settings for the development PC Depending on which computer operating system you are using you will need to make sure that the COM port can properly communicate to the I 7188EG XG uPAC 7186EG controller system 2 5 1 Downloading the Example LD Project Before you can download the LD project to the 7188EG XG amp uPAC 7186EG controller system you must first verify that your development PC and the 7188EG XG uPAC 7186EG controller system are communicating with each other To verify proper communication click on the Debug icon in the ISaGRAF Programs window as shown below T5aGRAF SIMPLELD Programs m x File Make Project Tools Debug Options Help amp HSE Cat amp Xie mA Begin Begin LD4 Ladder Diagram a If the development PC and the i 7188EG XG amp uPAC 7186EG controller system are communicating properly with each other the following window displayed below will appear or if a program is already loaded in the I 7188EG XG amp uPAC 7186EG controller system the name of the project will be displ
48. ayed with the word Active following it Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 23 If the message in the ISaGRAF Debugger says Disconnected it means that the development PC and the i 7188EG XG uPAC 7186EG controller system have not established communications with each other The most common causes for this problem is either the serial port cable not being properly configured or the development PC s serial port communications DO NOT match that of the i 7188EG XG amp uPAC 7186EG controller system You may have to either change the serial port communication settings for the development PC which may require changing a BIOS setting or change the Serial Link Parameters in the ISaGRAF program Gi ISaGRAF SIMPLELD Debugger s D Xi le Control Tools Options Help DINSA Nahaon lication 23 Stor lication stopped E K oocoo ooo cc If there is a program already loaded in the i 7188EG XG uPAC 7186EG controller system you will need to stop that program before you can download the example LD program Click on the STOP icon as illustrated above to halt any applications that may be running Starting the Downloading Process From the ISaGRAF Debugger window click on the Download icon then click on ISA86M TIC Code For Intel from the Download window as shown below PDU I ools Options Help KK ae AP rd Var ISABGM TI
49. can install X5xx expansion board to have a COM3 COM3 of i 7188EG XG uPAC 7186EG supports Modbus RTU slave protocol by user define since the i 7188EG driver version of 2 10 amp I 7188XG driver version of 2 08 I 7188EG XG amp uPAC 7186EG must install X5xx expansion board for applying this application with communication Please visit the web site to get the controller new driver version Web site http Awww icodas com products PAC I 8000 isagraf htm We use i 7188EG as an example 1 Create a file folder named 7188 in your hard drive For example c 7188 2 Copy Napdos ISaGRAF 7188EG Driver 7188xw exe 7188xw ini from the CD_ROM into your 7188 folder 3 Run 7188 7188xw exe in your hard drive A 7188xw screen will appear 4 Link from COM1 or COM2 of your PC to COM1 of the i 7188EG controller by a RS232 cable If your computer has no COM1 COM2 or you use other COM like COM5 to link the i 7188 you can change the C number in the first line of 7188xw ini file Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 11 3 12 EX Using computers COMS to link to i 7188 B115200 PO D8 S1 B115200 PO D8 S1 F F Xautoexec bat Xisa 188e exe Xautoexec bat Xisa 188e exe w25 w25 5 Power off the i 7188EG controller connect pin INIT to GND and then power it up 6 If the connection is Ok 17188E gt messages will appear on the 7188xw screen 7 Typ
50. das com products PAC i o expansion x list htm X107 6 D amp 7 D O X109 7 PhotoMos Relay X110 14 D X111 13 D O X116 6 Relay amp 4 D I X119 7D AL amp 7 D O Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 21 X202 7 A D 0 20mA 12 bit X203 2 A D 0 20mA 12 bit 2 D l amp 6 D O X303 1 A D 5V 12 bit 1 D A 5V 12 bit 4 D l amp 6 D O X304 3 A D 5V 12 bit 1 D A 5V 12 bit 4 D amp 4 D O X305 7 A D 4 5V 12 bit 1 A 5V 12 bit 2 D l amp 2 D O X308 4 A D 0 10V 12 bit 6 D O X310 1 A D 0 10V 12 bit 1 A D 0 20mA 12 bit 2 D A 0 10V 12 bit 4 3 D I amp 3 D O X503 1 RS232 5 pin RTS CTS RXD TXD GND COM3 X504 1 RS232 5 pin COM3 amp 1 RS232 9 pin COM4 X505 3 RS232 5 pin COM3 COM4 COM5 X506 6 RS232 3 pin RXD TXD GND COM3 COM8 X507 1 RS422 TXD TXD RXD RXD COM3 4 D l amp 4 D O X508 1 RS232 5 pin COM3 4 D l amp 4 D O X509 2 RS232 3 pin COM3 4 D I amp 4 D O X510 1 RS232 3 pin RS485 COM3 5 D l amp 5 D O X510 128 1 RS232 3 yee COM3 5 D I amp 5 D O X511 3 RS485 D D COM3 COM4 COM5 X518 1 RS232 5 pin COM3 8 D O X560 1 RS232 3 pin COM3 COM4 COM5 X607 128KB NV SRAM X608 512KB NV SRAM X702 2 axis 24 bit encoder X703 3 axis 24 bit encoder Pin assignment X107 3 22 Getting Started uPAC 7186EG EGD amp i 7188EG
51. e isa7188e x n Setting COM3 Baud rate and defining COM3 as Modbus RTU port n 0 9 default value is not Modbus RTU port isa7188e x n for i 7188EG isa 188 x n for i 7188XG The n is for setting baud rate of com3 following is the settings 1 2400 2 4800 3 9600 4 19200 5 38400 6 5 600 7 115200 8 300 9 600 0 1200 8 Type isa7188e x f to free the COM3 of i 7188EG 9 Press ALT_X to exit 7188xw and close the DOS SHELL or COM1 COM2 of the PC will be occupied 10 Remove the connection between INIT GND reset the i 7188EG controller EX ICP DAS Mini0S7 for I 7188E Ver 2 01 build 001 Sep 15 2006 17 04 53 SRAM 512K FLASH MEMORY 512K CPU RDC 8820 D Serial number 01 9E BE C8 DE 00 00 AZ 17188E gt 15a7188e xx 4 Com3 1s defined as Hodbus RTU ICP DAS Min105r for I 7188E Ver 2 01 build 001 Sep 15 2006 17 04 53 SRAM 512K FLASH MEMORY 512k CPU RDC 8820 D Serial numbers 01 9E BE C8 BE 00 OG AZ 17188E gt 15a7188e xx f Com3 1s free now Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 8 Setting IP amp MASK 8 Gateway For i 7188EG 8 uPAC 7186EG Steps 1 Create a file folder named 7188 in your hard drive For example cN 188 2 Copy Napdos ISaGRAF 7188EG Driver 7188xw exe 7188xw ini from the CD_ROM into your 7188 folder 3 Run 7188 7188xw exe We use 7188EG s driver as an example 4 Link from COM1 of your PC to COM1 of the i 7
52. e Input Module choices for uPAC 7186EG and i 7188EG XG 1 7018Z ipay as d i rue Advantages 1 Itis special designed for thermocouple inputs The innovative design makes the thermocouple measurement more accurate than the previous design 2 It supports voltage and current inputs The voltage input ranges can be 15mV to 2 5V The current input ranges can be 4 to 20mA 0 to 20mA and 20mA 3 Upto 10 analog inputs of different types can connected to one module 4 Upto 240Vrms over voltage protection is provided 5 It features per channel open wire detection for thermocouple and 4 to 20mA inputs For more details please visit the web site listed below i 7018Z http www icodas com products Remote IO i 7000 i 7018Z g htm I 87018Z http www icpdas com products Remote I1O i 87k i 87018z htm Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 i
53. e an ISaGRAF program that can operate a large number of different PLC controller systems It is the responsibility of the PLC hardware manufacturer to embed the ISaGRAF kernel in their respective controller for the ISaGRAF program to operate properly The ICP DAS product line of i 7188EG XG uPAC 7186EG amp i 841 7 881 7 8437 8837 amp Wincon 8xx7 series of controllers have the ISaGRAF kernel embedded creating a powerful and flexible industrial controller system You have created the ISaGRAF example program now you must connect the LD1 example program to the 7188EG XG amp uPAC 7186EG I O controller system Connecting I O Equipment _TsaGRAF SIMFLELD Programs File Make Sa Tools Debug Options Help gr 1 connection ma Sa GRAF SIMPLELD 10 connection File Edit Tools Options Help aasen til FAS bo NNN Select board eguipment mbus Modbus ATU master mbus asc Modbus ASCII master mmicon Connect MMICON by Com or Con modem ps Set Password of Com Modem rdn Redundant System For Wincon ty slaw nd Sth Modbus ATU slave port 256 512 Battery backup SRAM for l 999 7 sms Short Message Service top ole Setup to 4 TCP IP Client tcp para TCP communication parameter Library udp ip Set up a UOP IF socket Ip Permissive IP via Modbus TCP IP p 10 EDI amp D for the F198xG G Boards 2116 401 600 for the 71805 G EG Equipments 2119 Dl FDO for the 71 Dz G EG E
54. e procedure CTFMON EXE of Windows 2000 To avoid this problem you may create a short cut for the ISaGRAF project manager And then check on run in separate memory space option in the shortcut property 2 2 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Projects Properties W x General Shortcut Security Projects Ed Target type Application Target location EXE Target CISAWINSEXE SWiSPMIEDT EXE e Runin separate memory space Y Run as different user A Stark in fc SAWIN ere Shortcut key None Rur Mormal window zi Comment Find Target Change Icon Important Notice for Windows NT Users If your computer is using the Windows NT OS you will need to add one line to the file in the ISaGRAF Workbench folder C isawin exe isa ini You can use any ASCII based text editor to open the isa ini file Locate the WS001 header in the file it should be at the top of the file Anywhere within the WS001 header portion of the file add the entry shown below WS001 NT 1 lsa C ISAWIN IsaExe C ISAWIN EXE Group Samples lsaApl c isawin smp lsaTmp C ISAWIN TMP Important setting for using variable arrays Please add two more lines on the top of the c isawin ese isa ini file to enable the usage of variable arrays Add two lines on the top of c isawin exe isa ini file DEBUG Arrays 1 Getting Started uPAC 7186EG EGD 4 i 7188EG EGD X
55. e variables that are sequentially ordered Click on the Quick Declaration icon and enter in the output number that you will start with in the Numbering from and To field e g from 1 to 3 Enter the Symbol name for the output variables being declared and lastly set the attribute to Output ISaGRAF SIMPLELD Global booleans b x File Edit Tools Options Help OM s lt t Booleans lintegers Reals Timers Messages FB Instances Defin Name Sn tti Add Comment input 0000 Switch 1 Shutdown Emergency Stop Type Switch xi EA el Cancel Attributes jo 51101 12 Internal Input Constant C Output gt Other Belam Formal Integer lt Heal Leon Eazy Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 2 9 When you click on the OK button all three outputs will be immediately added to the Global Boolean window ISaGRAF SIMPLELD Global booleans a s Of XI File Edit Tools Options Help 8006 sm ks Booleans mteyersirenis ESTA FB instances Defined wards Mame Addr comment OUTO cutpul N E Shutdown Emergency Stop Typer Switch w 40000 output falsetrue Declaring Timer To declare the timer TMR1 variable used in this example program click on the Timers tab in the Global project setup screen Double click on the c
56. econnrceguanscennnacecers ELLER TEL EEE ceceeamagennrecceren ceegamscesnnceeeueyseeteamaceanscceeeneceeQnawenenan 1551353311511513 31RI ta E 9 ISaGRAF SIMPLELD Global booleans AA ES File Edit Tools Options Help a OW eer ed xa Booleans IntegersiResis Timers Messages FB instances Defined words j gt i Add o Comment lt Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 2 7 Note Note 2 8 To declare the program variables for the ISaGRAF project double click on the colored area below the Boolean tab and a Boolean Variable window will open Enter in the name of the variable to be used in the project For the purpose of this example program the variable Boolean Variable Name is SW1 and Switch 1 is added to the Comment Section The next item that must be declared is what type of Attribute the variable will possess In this example program SW1 s attribute will be an Input Lastly oress the Store button to save the Boolean variable that has been created SaGRAF SIMPLELD Global booleans x File Edit Tools Options Help Jee sm 4 xe Booleans lintegersiReals Timers Messages FB instances Defined words o Addr Comment Network Address 1 K Internal oka Cancel Tue Dutput Next N C Constant set to true at init E hasa Previous Extended The new Boolean variable
57. et How to fix it 69 Q Why my PC can not run ftp to connect W 8347 or W 8747 70 Q How to do Time Synchronization and record state of many ISaGRAF PAC Q Application Record 10 Ch temperature value into a file in W 8xx7 every minute When 24 hour recording is finished send this record file by email every day Q Application Record Voltage Current input by W 8xx7 every 20 ms for 1 to 10 minutes Then send this record file by email Q Why does the i 7017 or i 87017 s Current Input reading value become double or incorrect Application Record 10 ch temperature value into a file in 1 8477 8877 every 10 mimutes When 24 hour recording is finished send this record file by e mail every day Application Record Voltage Current input in i 8477 8877 every 50 ms for 1 5 mimutes Then send this record file by e mail Application Record 10 ch temperature value into a file in UPAC 7186EG every 10 mimutes When 24 hour recording is finished send this record file by e mail every day 4 4 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 A 1 A 2 A 3 1 87018Z Appendix 10 channel Thermocouple Input Module 10 channel Thermocouple input module is a brand new designed module different from the 8 channel normal module in the industrial area ICP DAS supply 7018Z and i 870182 of 10 channel Thermocouple Input Module and they all meet the RoHS Standard They are the best Thermocoupl
58. has now been declared The other information areas are provided for the programmer to fully explain how the variable will be handled ISaGRAF SIMPLELD Global booleans iolz Fil Edit Tools Options Help OOS 2 s Booleans IntegersiFe 3 E Messages m Uan le sl Defined words 0000 5 witch 4 You MUST make sure that the variable you have declared has the desired Attribute assigned If you decide that you want to change a project variable s attribute just double click on the variable name and you can reassign the attribute for the variable Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Using the same method described above declare the additional Boolean variables for this example program SW2 and SHUT When you have completed the Boolean variable assignments the Global Boolean window should look like the example below ISaGRAF SIMPLELD Global booleans lol x File Edit Tools Options Help E Z Booleans Integers Reals Timers Messages FB instances Defined words Mame Attrib Ader Comment input 0000 input 0000 input 0000 Shutdown Emergency Stop Type Switch SHUT gt Shutdown Emergency Stop Type Switch OOOO input false true Quick Declaration There are three outputs used in this example program named OUT01 OUT02 and OUTO3 ISaGRAF provides a quick and easy way to declare lik
59. is window you can observe the LD program being executed in real time ISaGRAF SIMPLELD Debug pi g as Ioj gt File Project Tools Options Help D ms mk Begin N sak I 11 Program TT E Begin LD1 Ladder Diagram In the window below the SW1 switch is pressed which is creating a true logic state for the outputs to be turned on and off blinked at a one second interval The Quick LD Program window shows the entire ladder logic program in REAL TIME and is an excellent diagnostic tool for development and troubleshooting Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 25 m ISaGRAF SIMPLELD I O connection 3 D x File Tools Help r kinn 181 eJ SW1 TRUE Switch 1 a O SW2 FALSE Switch 2 SHUT FALSE Shutdown Emergency Stop Type S ES ini x 44 112 1 Fil Edit Options Help BS aasi aw SHUT GUTOY U RUN SVY I TMR Els OLTOZ2 OLTU pos 0 0 Though there are numerous steps involved in creating and downloading an ISaGRAF program each step is quick and easy to accomplish and the end result is a powerful and flexible control development environment for the I 7188EG XG uPAC 7186EG controller systems Practice Practice Practice Now that you have successfully created and ran your first ISaGRAF program with the i 7188EG XG uPAC 7186EG controller system you should practice
60. le Project The last step required to running the example LD program on the I 7188EG XG uPAC 7186EG controller systems is to download the project to the controller frequently referred to as the Target platform Before this download can be accomplished you must first establish communications between your development PC and the i 7188EG XG and uPAC 7186EG controller ISaGRAF SIMPLELD Programs R x File Make Project Tools Sri Y T B en I Begin Ln Ladder Diagram To begin this process click on the Link Setup icon in the ISaGRAF Programs window When you click on the Link Setup icon the following window will appear PC PLC link parameters x Target Slave Number CS Communication port com2 JEL Cancel COM number of PC Tim m Serial link parameters XI Parity Cancel Format Flow contro A The Target Slave Number is the NET ID address for the 1 7188EG XG uPAC 7186EG controller system Default NET ID is 1 If you have more than 2 22 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 one controller in the same RS 485 network you have to change the NET ID to be unique in that system To change the NET ID please refer to Section 9 4 The Communication Port is the serial port connection on your development PC and this is normally either COM1 or COM2 The communication parameters for the t
61. ler Demo 21 Write one string to Com3 amp Com4 Xbi8 Virtual D l X50x Receive message and echo back to Com3 or Com4 X50x Receive a user defined protocol from PC Demo 35a Time Synchronization 35A used with demo 35B Fbus m Update Date amp Time at this controller will synchronize date amp time at 35B Demo 35b Time Synchronization 35B used with demo 35A Get driver version of i 7188EG Demo 41 Record Alarm text to X607 X608 amp PC can load it X607 608 by ICPDAS UDloader Xbi8 Virtual D I Xbo8 Virtual D O SMS demo Please declare your own phone No in the dictionary message type or more mobile phones Xbo8 Virtual D O Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 27 Name P Equipment Used PWM I O demo Pulse Width Modulation X107 Demo 48a Redundant i 7188XG redundant Master Bus7000b Ebus m Demo 48b Redundant i 7188XG redundant slave Bus7000b Ebus s Redundant i 7188EG redundant Master Bus7000b Ebus m Demo 5ib Redundant i 7188EG redundant slave Bus7000b Ebus s Demo 61 DI counters using DI CNT i 7188 X107 Do something when DI signal happens Sending String to COM2 COM3 When Alarm 1 to 8 NNN happens Access variables as array Demo 18 uses PID AL which is provided by CJ International for evaluation Please refer to ftp ftp icpdas com pub cd 8000cd napdos isagraf 8000 english manu pid al complex pid algorithm implementation pdf
62. lick on the LD1 where the cursor below is positioned This will open up the ISaGRAF Quick LD Program window and you can see the LD program you have created Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 19 lnaiRAF sIMPLELD Debugger File Control Toole Options Help KL N G Ae salt AF SIMFLELD Debug programe File Project Toole Options Help Begin LOT Ladder Diagram 2 4 3 Running the Simulation Program When you double click on LD1 in the ISaGRAF Debug Programs window the follow window should appear SB halt RAF SIMPLELD LDI Quick LD Program File Edit Options Help Important Tip 2 20 Note the colors of the I O in the example above SW1 and SWe are normally open switches that have not been energized so their color is blue but the SHUT is a normally closed switch and its color is red because it is energized by default To see the example LD program run in the simulator window click on either the SW1 or SW2 button in the I O Simulator window Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 fie 188 GRAF SIMPLELD LDI Quick LD Program File Edit Options Help File Tools Options Help SOUTO In the example above you see that SW1 button has been turned on which allows the logic power flow to go true for the example LD prog
63. ng Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 33 for i 7188EG i 7188XG ing d Mount Imension an D 3 16 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 34 2 SCREW M3 Back View Side View Unit mm 10 50 From View Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 35 Chapter 4 Frequently Asked Questions User Manual of IsaGRAF Embedded Controller is an advanced manual for using ISaGRAF as the embedded controller software Please refer to this manual for more and detail information about how to use the ISaGRAF Embedded Controller uPAG 7186EG amp i 7188EG XG For manual please refer to http www icodas com products PAC i 8000 isagraf htm gt In this chapter we will list the frequently asked questions in a FAQ table Their answers and demo programs can be found and downloaded in the ISaGRAF FAQ on our website Please find your questions from the FAQ Table listed in section 4 2 and follow our website direction listed in the section 4 1 for more download information 1 ISaGRAF FAQ Website Direction There are some frequently asked questions listed in the ISaGRAF FAQ on the website For demo programs please download them from the CD or website indicated below 1 http www icpdas com gt MEN gt risa 3 SaGRAF or 2 http www icodas com faq isagraf htm or 3 http www icpda
64. ny Mi E 3 T nm la 2 Send Command or Time City A Synchronization L T188EG Auto Report Ny igj HPAC 7186 2 Locatien C i 7000 110 Location B L G 7188EG Lome UPAC 7186EG WP uPAC 7186EG q N Gateway server in ISP company va E 85 i 7000 I O Modbus RTU device 87K 10 1 11 uPAC 7186EG can send email with an attached file If applying with the X 607 X 608 it could send Email with an attached file and the maximum file size is about X 607 112K bytes X 608 488K bytes EH Vv RU 8 Pn Y i 7000 M 7000 Remote 1 0 1 6 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Chapter 2 Software Programming Note Please refer to User s Manual Of ISaGRAF Embedded Controllers or CD of napdos isagraf 8000 english_manu user manual 8xx7 pdf for detailed English User s Manual 2 1 Step 1 Installing The ISaGRAF Software The user has to install two kinds of software before he can program on the I 7188EG XG uPAC 7186EG amp 1 84 17 8817 8437 8837 amp W 8xx7 controller system They are A ISaGRAF Workbench B ICP DAS Utilities for ISaGRAF User has to purchase at least one pcs of ISaGRAF workbench Version 3 ISaGRAF 256 to install on his PC to edit download monitor amp debug the controller system Item B is free and it is burned inside the CD ROM which Is delivered with the i 7188EG XG
65. olored area and enter the Name as TMR1 set the Attributes to Internal the Initial Value to T 1s then click on the Store button gt ISaGRAF SIMPLELD Global timers i D gt File Edit Tools Options Help daa OOS Se Se Booleans vm Messages FB instances Defined words Adar Comment z Internal r Constant File Edi Tools Options Help Mee ed Booleans IntegersReals Timer Defined words Previous Extended internal 000 j Bink ing Timer N Status Information For The Timer At Project Startup TMRT Blinking Timer 0000 internal t 1s Once all of the timer variable characteristics have been properly setup click on X at the top right of the Global timers window to close the variable dictionary for this example project 2 10 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 3 5 Creating the Example LD Program Once all of the variables have been properly declared you are now ready to create the example LD program To start this process click on the Create New Program icon and the New Program window will appear Enter the Name as LD1 our example program name next click on the Language scroll button and select Quick LD Ladder Diagram and make sure the Style is set to Begin Main Program You can add any desired text to the Comment section for the LD
66. ommunicate to PC or other 43 TCP IP Server device Or Wincon automatically report data to PC via TCP IP 44 Q Wincon 8xx7 8xx6 automatically report data to PC InduSoft or PC HMI 45 Q ISaGRAF controllers display message to EKAN Modview LED 45 H How to Write 16 bits to Modbus RTU devices by Modbus function call No 6 47 Q How to Read or Write Floating Point Value to Modbus RTU Slave device 48 Q How to use i 8477 8877 amp Wincon 8xx7 to control FRNET I O Q Setting a special CODE_ parameter of MBUS_R 8 MBUS_R1 to get a 49 clear Degree Celsius or Degree Fahrenheit input value of M 7000 temperature module For ex 3012 means 30 12 degree 50 Q How to connect an ISaGRAF controller to M 7000 remote I O O VB net 2005 Demo program using Modbus TCP IP protocol to control 51 ISaGRAF controllers se VB 6 0 Demo program using Modbus TCP IP protocol to control ISaGRAF controllers 53 Q Performance Comparison Table of IsaGRAF Controllers 54 Q iPAC 8xx7 and uPAC 7186EG support Data Logger function How to connect i 7018z to get 6 channels of 4 to 20 mA input and 4 channles of Thermo couple temperature input And also display the value on PC by VB 6 0 program 56 Q How to do periodic operation in ISaGRAF controllers O How to record i 8017H s Ch 1 to Ch 4 voltage input in a user allocated RAM memory in the Wincon 8xx7 The sampling time is one record every 0 01
67. or COM2 of your PC to COM 1 of the controller through a RS232 cable 3 4 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 CA0910 If your computer has no COM1 COM2 or you use other COM like COM5 to link the i 7188 you can change the C number in the first line of 7188xw ini file EX Using computers COMS to link to i 7188 B115200 PO D8 S1 3115200 PO D8 S1 F F Xautoexec bat Xisa 188e exe Xautoexec bat Xisa 188e exe w25 w25 5 Power off i 7188EG XG or uPAC 7186EG connect pin INIT to GND and then power it up 6 If the connection is Ok 17188E gt messages will appear on the screen 7 Type ver to see the current OS version amp date 1 188E gt ver 8 Type isa7188e p to see the current driver version No and setting of the controller 17188E gt isa 188e p for i 7188EG 17188xb gt isa 188 p for i 7188XG 17186E gt isa 186e p for uPAC 7186EG 17188E gt ver ICP DAS Hini0ST for I 7188E Ver 2 01 build 001 Sep 15 2006 17 04 53 SRAM 512K FLASH MEMORY 512K CPU RDC 8820 D Serial numbers 01 9E BE C8 GE 00 00 A3 17188E gt 1sa7188e xp Driver I 7188EG 1sa7188e exe 2 14 Oct 25 2006 Min10 7 Must use e 060915 1mg Licence is OK NED ID 3 COM1 is free COM3 is Free Use 15a7188e xf 1 to free COM1 isar188e x f 0 to set COM as Modbus RTU Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007
68. ort Note1 You must install the hardware protection device dongle provided with the ISaGRAF software on your computers parallel port for ISaGRAF program to achieve fully authorized functionality File Edit Project Tools Options Help E ma IS aGAAF Workbench Versi m R rsion 3 41 9 Copyright 1990 2000 CJ International Configuration Reference ADO Maximum number of D rarablez 32 While using ISaGRAF and the dongle is plugged well if the Help About says Maximum number of lO variables 32 it means ISaGRAF workbench cannot find the dongle well Please reset your PC and then check the Help About again Note2 If it still displays Maximum number of IO variables 32 the dongle driver may not be installed well Please execute the ISaGRAF CD ROM Sentinel5382 setup exe for ISaGRAF 80 while Sentinel setup exe for other ISaGRAF version and then reset the PC again Note3 Since ISaGRAF 3 51 it is using USB protection key To make your PC recognize the ISaGRAF USB protection key please un plug the USB key from your USB port first then run Sentinel SSD5411 32bit exe in the ISaGRAF 3 51 3 55 CD ROM after you have installed the ISaGRAF Then you have to plug on the USB protection key before you executing ISaGRAF Projects every time Important Notice for Windows 2000 Users If you close some ISaGRAF windows it holds about 20 to 40 seconds No response This may caused by th
69. p Hame Ga sun Location Note that the name that you give the New Project Group also creates a new sub directory corresponding to the project group name in the c isawin To start the new project either double click on the new project name or click on the new project name to select the new project group and click on the Select button 2 3 3 Creating a New ISaGRAF Project To start a new ISaGRAF project click on the Create New Project icon then enter the name for the new project You can enter additional information for your project by clicking on the Edit then Set Comment Text 2 I5aGRAF Project Management gt ls x File Edit Project Tools Options Help ja Het IAT 5 vem e m demo 11 imer control TP TON TOF OLD m d create new project and reset timer TSTART TSTOP ST OLD FA d 303 RAN system date amp time S SDAT_F SYSDAT W SYSTIM_R SYSTIM m demo 04 Calculate empty cycle time TP 1 OLD EH demo 05 Create new project 3 3 x a demo 06 E m demo 07 Name k SimpleLD gt SimplelD 3 Heference Author ICPC 9 configuration Date Of Creatio 3 Version Numbe pone bi 2 6 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 E ISaGRAF Project Management II O xj File Edit Project Tools Options Help set comment text 3 JL DemoFgm Em tee Ps ate TP TON
70. program but it isn t required PISE File Make Project Tools Debug Options Help PR AAN x Hame O TES Comment Example LD Program Language Quick LD Ladder Diagram Rall Style Begin Main program T zA The LD1 program has now been created To open the LD1 program double click on the LD1 name ISaGRAF SIMPLELD Programs eal Fie Make Project Tools Debug Options Help A HMS DEN yemi Aes Begin HE Example LD Program Begin LD1 Ladder Diagram 2 3 6 Editing the Example LD1 Program When double click on the LD1 then the Quick LD Program window will appear To start programming our LD program click on Edit from the main menu bar and then click on Insert Rung as shown below Insert Rung means to insert a basic LD rung just above the current position Bis ISaGRAF SIMPLELD LD1 Quick LD Program aj x File Edit Tools Options Help do et agag F24 Cut Chi FAG Fa raan Copy CLIC Paste CNY Paste special Delete Del Set symbolftext Enter Change coilfcontact type Space Find Replace Find matching name Alt F2 al Find matching coil Alk FS pos Copy drawing metafile Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 11 2 12 Or you may just simply click on the F2 Contact on the left icon and the following will appear within the Quick LD Program window S ISaGRAF SIMPLELD LD
71. ram When either SW or SW2 IS energized their respective green buttons are pushed in the I O Simulator window and the SHUT switch button IS NOT on button 3 remains off this creates a true state for the logic to flow through the example LD circuit Now OUT1 OUT2 and OUT3 will now turn on and off in one second intervals as defined by the TMR1 variable You can adjust the TMR1 variable while the program is running To accomplish this click on the Dictionary icon in the ISaGRAF Quick LD Program window which will open the ISaGRAF Global Variables window as shown in the first two pictures below Ei lak AE SIMPLELD LDI Quick LD Program File Edit Options Help OUTO File Tools Options Help File Edit Tools Options Help Write timer variable TMF l EN iri variable THR Enter new value ET Start Stop Cancel Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 2 21 When the ISaGRAF Global Variables window opens click on the Timers tab and then double click on the TMR1 name this will open the Write Timer Variable window Change the Enter New Value from t 1s to t 500ms and click on the Write button Now when you click on either SW1 or SW2 button in the I O simulator the outputs will be turned on and off every 500 milliseconds 1 2 second versus the previous setting of every 1 second 2 5 Step 5 Download amp Debugging The Examp
72. roject 3 32 3 16 Dimension and Mounting for i 7188EG amp i 7188XG 3 34 CHAPTER 4 FREQUENTLY ASKED QUESTIONS 4 1 4 1 ISaGRAF FAQ Website Direction 4 1 4 2 ISaGRAF FAQ TADIS naaa 4 1 APPENDIX OO OA PO o I A 10 channel Thermocouple Input Module FF A 2 1 870182 eerranrnnrnarnnnrnnrnannnnrnarnnnrnnrnannnnenarnnsnnnnnnrnannnnrnasnnnnnnnnannnernunnnnnnnenasnnennennnsnneen AA Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 Reference Guide English User s Manual of ISaGRAF Embedded Controllers CD ROM napdos isagraf 8000 english_manu user manual i 8xx7 pdi or http www icodas com products PAC i 8000 getting started manual htm ISaGRAF Hac FH FI Chinese Manual napdos isagraf 8000 chinese_manu chinese user manual 8xx7 pdf or http www icodas com products PAC i 8000 getting started manual htm Hardware Manual I 7188XG XGD CD NAPDOS 7188Xabc 7188xb document 7188xb pdf or at http ftp icodas com tw pub cd 8000cd napdos 7188xabc 7188xb document I 7188EG EGD CD NAPDOS 7188E document 7188ehh pdf or at http ftp icopdas com tw pub cd 8000cd napdos 7188e document ISaGRAF Resource on the Internet Newly updated ISaGRAF IO libraries drivers and manu
73. s Oe H st exam m sic exam amp role En ETSIN A Simple LD Program Reference simple LD Project E Author ICP DAS USA Inc A Date of creation 12 15 2001 Version number 1 I5aGRAF 3 41 Description Simple Example Of An LD Program 3 32 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Archive Projects E xi Workbench Archive demo 15a a Backup demo_15b EE L demo_16 demo 17 Hestar fbd exam Il exam indld simpleld Help co Browse st_inter work O1 work 023 work 02b rg LYE You will now find the backed up ISaGRAF project file in the Archive location you have designated In the example above the name of the backed up file Is simpleld pia Restoring an ISaGRAF Project To restore an ISaGRAF project from a backed up file use the same method as above to access the Archive Projects window click on the name of the project you want to restore from the Workbench window then click on the name of the backed up file from the Archive window then click on the Restore button The ISaGRAF project will now be restored to the sub directory you designated Archive Projects x Workbench Archive Backup Restore Close Help Compress Archive location EXSEDTTA Browze x You can now open edit and download the restored ISaGRAF project file Getti
74. s com products PAC i 8000 isagraf htm gt 4 2 ISaGRAF FAO Table a English ISaGRAF Ver 3 FAQ Ha How to get counter value built in i 7000 amp i 87xxx remote I O modules Q How to search I O boards and declare variables automatically for i 8xx7 controllers EN Q How to build a Q How to build a HMI screen by using ISAGRAF O gt G screen Q How to build a HMI screen by using ISAGRAF O gt G using ISaGRAF 4 Q Can create my own functions inside ISAGRAF s C Can useme ban 2 O ny SARAF pr onthe ISaGRAF 256 or ISaGRAF L 6 Can use ISaGRAF controller i 8417 8817 8437 8837 i 7188EG XG as a Modbus Master controller to iad data from other Modbus devices 7 Q Can write my own protocol or third party protocol to apply on ISaGRAF controllers Q What is the limitation of program size of i 8417 8817 8437 8837 1 7188EG amp 1 7188XG 9 Q Can not fine I O boards in the ISaGRAF I O connection window 7 109 I Want to email my ISaGRAF program to someone How can I archive one ISaGRAF project to a single file 11 Q How can implement motion control in i 8417 8817 8437 8837 Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 No English ISaGRAF Ver 3 FAQ Q My HMI software want to access to float values and long word values inside the i 8417 8817 8437 8837 7188EG 7188XG How Q PWM Can generate D O square pulse up to 500Hz with I 841 7 881 7 8437 8837 7188EG amp 188XG
75. tes 17188E gt _ 3 6 Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 4 Setting NET ID For Controller System Each i 7188EG XG uPAC 7186EG has a NET ID No The valid No can be assigned Is from 1 to 255 The default No is 1 Net ID must be unique in the same RS 485 network To change the NET ID No please follow below steps Steps to Set NET ID No 1 Create a file folder named 7188 in your hard drive For example c 7188 2 Copy Napdos lSaGRAF 7188EG Driver 2 xx 7188xw exe 7188xw ini from the CD_ROM into your 7188 folder 3 Run 7188 7188xw exe For Windows NT Windows 2000 Windows XP 4 Link from COM1 of your PC to COM 1 of the i 7188EG XG amp uPAC 7186EG XG by a RS232 cable If your computer has no COM1 COM2 or you use other COM like COM5 to link the i 7188 you can change the C number in the first line of 7188xw ini file EX Using computers COM to link to i 7188 3115200 PO D8 S1 3115200 PO D8 S1 F Xautoexec bat Xisa 188e exe Xautoexec bat Xisa 188e exe w25 w25 5 Power off the i 7188EG XG connect pin INIT to GND then power it up 6 If the connection is Ok 7188x messages will appear on the 7188xw screen Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 3 7 T For MAKE set the NET ID type isa7188 s Ex1 7188 gt isa 188 s 2 For Wakisi ie set the NET ID Type isa7188e s Ex2 18
76. the I 7188EG XG uPAC 7186EG i 841 7 881 7 8437 8837 amp Wincon 8xx7 8xx6 controller systems it is the responsibility of the programmer to properly select the correct Compiler Options You MUST select the ISA86M TIC Code For Intel option as described below To begin the compilation process first click on the MAKE option from the main menu bar and then click on Compiler Options as shown below SaGRAF SIMPLELD Programs i Make application Bedir verify Touch Application run time Options The Compiler Options window will now appear Make sure to select the options as shown below then press the OK button to complete the compiler option selections Compiler options xj Targets gt SIMULATE Workbench Simulator Select ISAGSM TIC code for Motorola gt ISABEM TIC code for Intel Unseloct CCBGM C source code 3 04 Use embedded SFE engine TE MaKe SURE Upload Optimizer HESE BOXES ARE l Run two optimizer me pt kvaluate constant expressiof You may check on all items to make better code Build binary decision diagrams BDD 2 4 1 Compiling the LD Project 2 18 Now that you have selected the proper compiler options click on the Make Application Code icon to compile the example LD project If there is no compiler errors detected during the compilation process
77. uPAC 7186EG amp 8417 8817 8437 8837 Operating system Requirements One of the following computer operating systems must be installed on the target computer system before you can install the ISaGRAF Workbench software program Windows 95 Windows 98 Windows NT Version 3 51 or Windows NT Version 4 0 Windows 2000 or Windows XP Or future compatible Windows OS Steps to Install the ISaGRAF Workbench 1 Insert the ISaGRAF Workbench CD into your CD ROM drive If your computer does not have the auto start feature active use the Windows Explorer and go to the CD ROM drive where the Workbench CD is installed 2 Double click on the install bat file listed on the ISaGRAF CD If the install bat file is not found on your ISaGRAF CD then double click on the ISaGRAF exe file to start the installation process ISaGRAF 3 41 Xj p Install Cancel 15aGRAF Documentation 15aGRAF Workbench select the language Recommend to use English because this manual Acrobat Reader 4 0 c 1990 Dad P N n using English version I5aGRAF is a trademark of EJ International Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 2 1 3 To begin the ISaGRAF 3 x software program click on the Windows Start button then on Programs and you should see the ISaGRAF program group as illustrated below Diagnasis us Libraries ES Projects Read Me E Rep
78. way address Refer to the Section 3 8 At your PC First open an ISaGRAF project and select a program you wish to communicate between your PC and the 7188EG 7186EG controller system Next select the Link Setup button on the project screen as shown below TS5aGRAF TEST Programs Ioj x File Make Project Tools Debug Options Help Almega D B 2 Mie me A G s Begin HH EE Simple Test Program Begin i Test Ladder Diagram i A PC PLC Link Parameters dialog box will appear as shown below From here select the Ethernet communications option and click on the Setup button x Communication port ETHERNET gt Cancel COM1 Control COM Setup COM3 Time out seconds COMA ETHERNET Retries Once you have clicked on the Setup button an Ethernet Link Parameters dialog box will appear Set the Port Number to 502 and enter in the Internet address IP of your 7188EG 7186EG controller xl Internet address 192 168 1 1 Port number 02 The Workbench uses the WINSOCK_BLL library for TCP IP communications Ensure that this file is correctly installed on the ard disk Once you have entered the appropriate information click on the OK button and now you have configured your PC to communicate with the 7188EG 7186EG through the Ethernet port Multi Clients Connection to 7188EG uPAC 7186EG Each 7188EG 7186EG has an IP address and with
79. wi second Ihe record period is to 10 minutes Then PC can download this record and display it as a trend curve diagram by M S Excel Q How to record i 8017H s Ch 1 to Ch 4 voltage input in 5 256 512 in 58 8437 80 or i 8837 80 The sampling time is one record every 0 05 second Ihe record period is to 10 minutes Then PC can download this record and display it as a trend curve diagram by M S Excel 59 Q Some skill to operate RS 232 422 485 serial COM Port by COM functions 60 Q How to read write file data in Wincon 61 Q How to connect RS 485 remote i 7000 and i 87xxx I O modules in i 8xx7 Getting Started uPAC 7186EG EGD 4 i 7188EG EGD XG XGD V 3 0 Oct 2007 English ISaGRAF Ver 3 FAQ I 7188EG XG and Wincon 8xx7 controller How to program RS 485 remote i 7 017RC i 87017RC and i 7018Z Q Why my RS 485 remote i 7000 and i 87K Output module s host watchdog 63 function doesn t work to reset its output channels to safe output value while the RS 485 communication cable is broken 65 Q ICP DAS Release Stable and Cost effective Data Acquisition Auto Report oystem VC 6 0 and VB 6 0 and ISaGRAF demo program are available Q How to process the Integer or Real value coming from the RS 232 RS 485 device Like the device of Bar Code reader or RS 232 weight meter 67 Q How to send email with attached file by Wincon 8437 8747 or W 8037 8337 8737 Q Why the W 8xx7 or i 8xx7 or i 7188EG or i 7188XG always res
80. wnload a new ISaGRAF project to replace the old one by using ISaGRAF workbench Or by some reasons user may want to delete the ISaGRAF project from the i 7188EG or i 7188XG controller Steps to Delete an ISaGRAF Project From Controller 1 3 14 Create a file folder named 7188 in your hard drive For example c 7188 Copy Napdos ISaGRAF 7188EG Driver 7188xw exe 7188xw ini from the CD_ROM into your 7188 folder Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 3 Run 7188 7188xw exe For Windows NT Windows 2000 Windows XP 4 Link from COM1 of your PC to COM1 of the i 7188EG XG by a RS232 cable CA0910 If your computer has no COM1 COM2 or you use other COM like COM5 to link the i 7188 you can change the C number in the first line of 7188xw ini file EX Using computers COMS to link to i 7188 B115200 PO D8 S1 B115200 PO D8 S1 F F Xautoexec bat Xisa 188e exe Xautoexec bat Xisa 188e exe w25 w25 5 Power off the i 7188EG XG connect pin INIT to GND then power it up 6 If the connection is OK messages will appear on the 7188xw screen 7 For MAKISYSE to delete project type isa7188 d Ex1 7188 gt isa7188 d For AKE to delete project type isa 188e d Ex2 188 gt isa 188e d For MAAKE to delete project type isa 186e d Ex3 188 gt isa 186e d 8 Remove the connection between INIT and GND EX2
81. xw exe 7188xw ini from the CD_ROM into your 7188 folder 3 Run 7188 7188xw exe 4 Link from COM1 of your PC to COM1 of the i 7188EG uPAC 7186EG by a RS232 cable CA0910 f your computer has no COM1 COM2 or you use other COM like COM5 to link the i 7188 you can change the C number in the first line of 7188xw ini file EX Using computers COMS to link to i 7188 3115200 PO D8 S1 B115200 PO D8 S1 F F Xautoexec bat Xisa 188e exe Xautoexec bat Xisa 188e exe w25 w25 5 Power off 7188EG 7186EG connect pin INIT to GND then power up 6 If the connection is Ok 17188E gt messages will appear on the screen 7 Type isa7188e f 1 to free COM1 set COM1 as none Modbus Slave port 17188E gt isa 188e f 1 for 1 7188EG 17188E gt isa7186e f 1 for uUPAC 7186EG 8 Press ALT Xto exit 7188xw or COM1 COM2 of the PC will be occupied 9 Remove the connection between INIT GND recycle the power of the controller 17188E gt 1s5a7188e f 1 Coml 15 free now Getting Started uPAC 7186EG EGD amp i 7188EG EGD XG XGD V 3 0 Oct 2007 Important Note f user wants COM1 to be back to a Modbus RTU Slave port again follow the same steps as above amp then type isa 188e f 0 as below Ext i 7188E gt isa7188e f 0 fori 7188EG Ex2 i 7188E gt isa7186e f 0 for uPAC 7186EG 3 7 Setting COM3 As Modbus RTU slave Port Note Steps I 7188EG XG or uPAC 7186EG

Download Pdf Manuals

image

Related Search

Related Contents

ESP-r course notes (version 11.7)    ® 0 d 3 YARD STAKE TIMER`IN TRUCTIONS  user manual water kItes . Bar system - JN  

Copyright © All rights reserved.
Failed to retrieve file