Home

User`s Manual of ISaGRAF Embedded Controllers

image

Contents

1. ssessseeeeesses 35 ic CAL ORS 2 OM OS SNOW TIMO ete aestu ene ee ee lead ee ee a 35 CHAPTER 4 PROGRAMMING A WEB HMI EXAMPLE eere eee 36 4 1 WRITING A SIMPLE ISAGRAF PROGRAM c 0cccseceseeeeeeeeeeeeseeeseeeeeueeaeeesaeeseueeseeeseeeseneeas 36 4 1 1 Open ISaGRAF Project Management cccccceecseecceecsecceesceecseeeseesseeeeesseeeecenesens 37 41 2 Creaung An ISaGRAF User S Group i2 mice atone eee ea ieieieiec ie tdial 38 4 1 3 Creating A New ISaGRAF Project ccccccsesceeccuecseensnccsecceessuetauensueseesauensneneeeaes 38 4 1 4 Declaring The ISaGRAF Project Variables cesses eese 39 4 1 5 Assign Modbus Network Address No to Varlables cccccccccsecsecceesseeceensesseenees 43 44 0 Create The LDS EDT Progra ecu otesSt etna on tea E a Soho ooi oRo Sese aho odas RADAR 45 414 EO TIO EDT FOJ aM sieis eee e onu Len oes icono stessa danse ai 46 2 1 9 CORTIC CHAO The ose teat nen IRE tc RUNE suu ute uu ute e eu amore eU 50 4 2 COMPILING amp SIMULATING THE EXAMPLE PROJECT ccccecccseeceeceeeeeseeeseeeeeeeeseeseeeeaeeenes 52 4 2 1 Compiling Error Result In Different ISaGRAF VeSrsiOn ccccccccceceecseecseceseeenesees 52 4 3 DOWNLOAD amp DEBUG THE EXAMPLE PROJECT c ccccssccceeeceeeceseecseceaeecseesegeeneeeseeeseeens 56 44 DESIGN THE WEB PAGE socciodittsco io EHE a EUR Ra EUR KU ceca Eu ED 61 4 4 1 Step 1
2. DODSDDDDEE ors oS pue uu uu E p p p S S cum 01010000100 ll 2ml o o S ee BM m UUU UUU T SS SS CR OE EEE WURDE S C C o eer i IIU O I iG S V VS SS SSMAVV V SX XS ERE VU He He ERE Shnika Taian dnd 11 3 3 2 i i He fete EER m H He He He He He 1 d VIUTEI j cox eee eee eR 2 E S S pu e a E p mu E S a z o x gg J VJ c a 2S SS Sa ee Sea ae cee uu He He d HE He He He He He He 5 He He He 1 ig Wes ae B PEHE s ee di ze d d RE E S S EEE E E S ASEENA EES TR OECD zem WV JJ J 97 V VV 9 v o O a ii ESSEN e ER RERE ERREEN EN DEAS ul E z pu UE x anaes gt cum e Wu N e 3 mue Eum III UT poppoo ononon inca ten ivncnctvniencn b S E ERR RU EUER ERR p EEE Soe eee E SSeS Ae Se ee PUE ee ee E E hae E E a p a EERE SB RE RS RBar D ee o NAIS po NEW UE IIa R VIAM AAMATAMMAMTAE DU MERO E STIMA MR T INIMA M ae j muU VUDNUNUNU m C o ee p oo iu RSEN Ep EE MEG x os pivot Prosen FiletbMieroenft Vie Click on Browse to O00 Yog search QuickerNet dll amp NU Mu p T c 3 2 Files Microsoft Vis Files Microsoft Vis Fi icrosoft Vis T erm Files Microsoft Vis n snnn diemenft Vie qui TR RD E DRE cu hho m Qs Ms Hu Pm p OPERE i d d CHEERS SE RES R ESE ASR ate ERERER ENS a VUBBRRRBRBRRRRURRARE
3. Event Settings Array Size Description 8077 DI channel 1 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 109 This demo uses a DIO module I 8077 an AO module I 87024 and one internal variable defined as follow Please create these tags one by one Web Data Boolean DI O 8077 DI channel 1 1 E 8077 DO channel 1 Output Integers 87024 AO channel 1 Output Integers Interior E Internal variable Internal Create main screen Click mouse right button in the file folder of Screen of the Graphics tab in the Workspace then the Screen Attributes window appears Setting screen attributes such as Size Location Runtime Properties and Background Picture then press OK to edit screen InduSoft Web Studio 060 gt File Edit View Insert Project Tools Window Help ag EHE taa 2 2 ERAS EDCA a chs BO PH 2 OR We lx Q 9mH b c C eeNL Uyucdihii 55 EJ vf N BERR a ER Ge Workspace v gi Project Demo 02 APP screens Brito Click mouse right button in the file folder of Screen Bow x Name ex amp gt DB1 4DB2 ADB2 B Log lt XRef Insert new screen NUM iX 7 Y 188 Description M ainP age Background Picture i i Security Enable Background s qp Width 320 D Shared image Height 240 Runtime Properties Titlebar System Menu l Manimiza Bo
4. Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 153 After the configuration succeed The COM port No for the expansion board is COMD to COM 14 in the ISaGRAF definition The relation between WinCE and ISaGRAF definition for COM10 to COM14 is WinCE ISaGRAF COM10 COM 1 1 MSP5 COM14 Pin assignment of i 8142 8144 81421 i 8112 8114 J Te Diw DT TxDH1 D1 Rx Oi RxD1 LE 5 RTS14 B RTS1 CTSi 8 CTS B8 j 1 RS 422 R 5 485 Tar 8112 and 8114 D1 RS485 D1 RS485 RS232 s signal GND is Pin 4 or 7 Note 1 Please refer to section 8 4 of ISaGRAF User s Manual for multi ports Modbus Master 2 Please refer to Appendix A 4 of ISaGRAF User s Manual for COM OPEN COM READ functions to read write COM ports Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 154 Appendix F Slow Down ISaGRAF Driver s Speed You may wonder Why The fatser speed is not good The reason to slow down the speed of ISaGRAF driver is when you running some other HMI program For example Indusoft or VB net program with ISaGRAF at the same time Because the CPU is the only one CPU all program running in Wincon must share execution time of the same CPU If you feel the HMI program behavior is not so smooth or slow you may use ISaGRAF function PLC Mode to slow download the speed of the ISaGRAF driver PLC Mode plc mode n I 8417 8817 o l 8437 883
5. Note Please check whmi exe listed in section 10 1 has been installed for non ISaGRAF solution Set boolean value to Web HMI unsigned char UserSetCoil unsigned short iUserAddress unsigned char iStatus iUserAddress 1 to 1024 Web HMVI s boolean data base 2001 to 3024 indicates if Internet Explorer post writing command to W 8x37 iStatus 0 set boolean to False 1 set boolean to True for ex long temp val please set starting amp ending Addr No of each type at the beginning of your C program temp val 100 UserSetReg 2001 amp temp val 0 set boolean s starting addr To 100 temp val 200 UserSetReg 2002 amp temp val 0 set boolean s ending addr To 200 UserSetCoil 100 1 set boolean at network addr 100 as True Note The boolean s Address No 2001 to 3024 indicates if the IE on the PC gives writing command to the Web HMIl s data base For example If IE gives writing command to set Address 1 amp 2 s boolean value to True or False and set Address 100 s float value to 1 234 or any float value and set Address 1009 s word value to 456 or any word value then the boolean value in Address 2001 amp 2002 amp 2100 amp 3009 will set to 1 by the Web HMI This means IE has given writing command to address 1 amp 2 amp 100 amp 1009 User s EVC program can get the information by using UserGetCoil to get boolean value in address 2001 to 3024 to know if IE on the PC want to
6. Click on End Driver to stop it Wincon ISaGRAF Driver Setting web About Current Application iwhmi 03 Elapsed Time Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 145 2 Set up Wincon s IP Mask FTP directory amp Auto execute A Please create a folder ISaGRAF inside CompactFlash folder in your Wincon controller Then it will be CompactFlash ISaGRAF B For W 8x37 8x36 please run Start Setting Control Panel then double click on Network and Dial up Connections Then click on LAN90001 Set your Wincon s IP address amp its Subnet Mask For W 8x47 8x46 please refer to Appendix D LANSOOO0 Network Compatible Adapter Settings IP Address An IP address can be Obtain an IP address via DHCP automatically assigned to this computer If your network does not automatically assign l IF addresses ask your network IP Address administrator for an address Subnet Mask and then type it in the space E provided Default Gateway 3 C Please run Start Programs Wincon Utility WinCon Utility 1 OK Save Registry System Config Suto execute Version Update About WinCon Utility 1 Testing It will take several seconds to save your settings to registry and settings you changed will take effect after system reboot Save and Reboot Set FTP directory here MIENNE For ex CompactFlash lISaGRAF agistry Rem
7. ea Jen CELLS wo BEES Sh Beach ejfe BE ae Mes OTS This is a Web HMI sample page K1 K2 o Error K1 K2 o Error OUTO1 OUT02 T1 5000 ms OUTO1 OUT02 T1 5000 ms o Hon e000 Enter Q How eoo Enter ON ON Hello Welcome to the Web HMI Sample bod mE 6 Hello Welcome to the Web HMI Sample e Asak P Ethernet Wincon 8x37 8x47 l 87K Remote IO Free HMI No extra software to be installed on the PC Just Running Microsoft Internet Explorer Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 16 1 7 Wincon Web HMI On The Internet Welcome Mic Internet Ex e BRO RHO HAD RREA IA HAU E Welcome Mic Internet Ex e BRO RHEO HAD RREA IA HAU H E gt 0AA Que arima Owe JE amp 3 eic9c H E gt 0AA Ars uses gue 3D 3a 3849867 AHED S http 10 0 0 103 0gin A1 CBE ae a orton AntiVims E FED amp http 10 0 0 103A0gin al i OBE E i orton AntiVirus B This is a Web HMI sample page K1 K2 Error OUTO1 OUTO2 T1 5000 ms Hon 5000 Enter ON This is a Web HMI sample page Error OUTO01 OUT02 T1 3000 ms K2 Hox 000 Enter ON E Hello Welcome to the Web HMI Sample ag Asak 7 Ethernet Wincon 8x37 8
8. lt body onLoad init gt The layout or location of the image object B2 is defined here by the lt div lt div gt tags lt div style position absolute width 100px height 100px z index 5 left 242px top 164px gt cursor hand will display the mouse arrow as a hand when entering the image area img style cursor hand name B2 onclick ON_OFF form_B2 form B2 B2 boolean val 2 src img cmdO jpg Nameeribedem Name of the image object The onclick will call ON OFF when the mouse click on it form name form B2 method post action main dll gt input name BEGIN type hidden gt lt input name B2 type hidden value 0 gt lt input name END type hidden gt The first parameter is the name of the form Here is form B2 The second paramenter is the lt form gt input name inside the form Name of lt input gt inside the form Here is Here is form B2 B2 lt div gt B2 Because it is inside form B2 then i es we must use the name of form B2 B2 to The last is the current boolean lt body gt identify it value Here is boolean val 2 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 89 B To post by buttons Demo example whmi 02 amp whmi 05 section 3 1 function ON form obj obj flag firm turn ON fag HIER ON function is used for posting boolean value f as True to the controller
9. Apr 2006 by ICP DAS 21 1 15 Modbus Master RTU or ASCII RS232 or 485 or 422 COM2 RS232 or COM3 RS485 or COMS to COM14 if i8112 8114 8142 8144 81421 is found in Slot 1 to 5 may link to other Modbus PLC or devices Modbus devices Modbus devices W 8x37 8x47 1 16 Download amp Monitoring Via Modem_Link Modem Station COM2 Modem W 8x37 8x47 eec ISaGRAF Phone Line Or VB6 program ey S p N Phone Line Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 22 Chapter 2 Software Installation Important Please always set a fixed IP address to the Wincon No more DHCP Please always set W 8x47 8x46 s LAN2 as disabled if not using it refer to appendix D Please use NS 205 or NS 208 Industrial Ethernet Switch for Wincon 8x46 8x47 Please refer to below location for detailed ISaGRAF English User s Manual Wincon ISaGRAF CD napdos isagraf wincon english_manu user manual i 8xx7 pdf NOTE W 8xx is the abbreviation for the W 8037 8337 8737 and W 8047 8347 8747 controller W 8xx6 is the abbreviation for the W 8036 8336 8736 and W 8046 8346 8746 controller W 8x37 8x36 is the abbreviation for the W 8037 8337 8737 and W 8036 8336 8736 controller W 8x47 8x46 is the abbreviation for the W 8047 8347 8747 and W 8046 8346 8746 controller The Wincon 8037 8337 8737 8036 8336 8736 amp Wincon 8047 8347 8747 8046 8346 8746 supports ISaGRAF programming method amp provides W
10. Getting Started Ctl F4 Ll Save Cilts nave As E save Az HTML amp b Print 1 MamPage scr 2 MODBUOO DRY 3 MODBUOOL MOY 4 MOTCPOO DRY Exit InduSoft Web Studio Display 008 Fie Edit View Insext Project Toole Window Help Bi of amp DEAE xo ANR gt h L Open Project New a Location D Pro gram FilesIndusoft Web Studio v60 Projects Brows Configuration D Pro gram FilesIndusoft Web Studio vo 0 Projects Demo 01 Demo 01 app Ej CEView PRO Hetite Plus NTView PRO Lite Interface CE View Standard Project Wizard O Template Empty Application Resolution O 240 x 320 320 x 240 O 640 x 240 640 x 480 800 x 600 1024 x 768 1280 x 1024 Shared Tags OK Cancel Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 108 Now you could see the new project shown on the Workspace window as below Project Demo U1 APP Screens OUD Screen Web Pages Define application tags Select Insert gt Tag on the main menu bar or click on the right button of the mouse in the Database tab of the Workspace orkspace a X v gh Project Demo 01 APP 3 Application T File Edit View Insert Project Tools Wint oe ki hos BH aR Document emi Driver ee Oe i User orkepace User z ER security Group 3h Project Em Applica E screen v Class
11. Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 117 Note Users must install SSymbol control layer in a remote station at first time The procedure to install ISSymbol in each operation system is described below Windows NT 2K XP Copy the files ISSymbolReg exe and ISSymbol cab from the BIN sub folder of Indusoft Web Studio v6 0 and paste them in any directory of the Web Thin Client station Make sure that both files are stored in the same directory Run ISSymbolReg exe to register ISSymbol control in the Web Thin Client station Windows 9x ME Copy the files ISSymbolReg exe and ISSymbolA cab from the BIN sub folder of Indusoft Web otudio v6 0 and paste them in any directory of the Web Thin Client station Make sure that both files are stored in the same directory Run ISSymbolReg exe to register ISSymbol control in the Web Thin Client station Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 118 Chapter 9 ISaGRAF Example Program Please refer to CD ROM napdos isagraf wincon english_manu user manual i 8xx7 pdf for detailed English User s Manual 9 1 Get On Line help If you have question you may email to service icpdas com On line help of ISaGRAF standard functions amp function blocks S ISaGRAF Project Management File Edit Project Tools Options Help Be DG m Uer eie ET EB creation gt Language reference m wdemo O1 VWincon demo _Ltbrary Eg wdemo 02 Wincon demo Atout l
12. found here that means the compiler 2 JN wp pplication stepped option ISA86M TIC code for Intel WEE is not checked Please refer to section Sa ee IENEI m 4 2 to check it amp re compile the project Application symbols again Download k Cancel The example project will now start downloading to the W 8xx7 controller system A progress bar will appear in the ISaGRAF Debugger window showing the project downloading progress ISaGRAF SIMPLELD Debugger smi xj Fie Control Tools Options Help Onplm ru d ae 23 39 37 0 application stopped When the example project has successfully completed the downloading process to the W 8xx7 controller system the following two windows will appear ISaGRAF EXAMPLEI Debugger File Contol Toole Optons Help Qi ru S AS RUN allowed 0 current 2 43 1003 0 application stopped maximum 4 overtlow 0 ISaGRAF EXAMPLE1 Debug programs To terminate the communication File Projet Tools Options Help between your PC amp the controller please click on X Bj 4 um i Begin 7 Begin LD1 Ladder Diagram Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 59 RUNNING THE EXAMPLE LD PROGRAM You can observe the real time I O status from several ISaGRAF windows while you are running the example project One of the windows is the I O Connections window which shows each of the inputs and outputs as assigned Click on the I O Connect
13. init as O not blink EKKEKKEKKEKERERERERERERERERERERERED function to blink object s var blink step 0 The Error symbol will blink when the K2 function blink obj True in this example Please un mask the E code inside these 3 areas if blink_step 1 blink_step 0 display your object here blink B12 For example RREKRKKZ X MAKEKKEKEKERERE B12 innerText Error font B12 color red kkkkkkkkkkkkkkkkkkkkkkkkkkkkk kkk else blink step 1 un display your object here blink B12 For example k kkkkkkkkkkkkkkk B12 innerText font_B12 color red kkkkkkkkkkkkkkkkkkkkkkkkk kkkkkk setTimeout blink_obj blink period Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 71 We need a function Check L21 to check the entered T1 value and post it to the Wincon Please un mask the sample code to be as below form sample to check value of L21 amp then post val to controller For example kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk var val form_L21 L21 value if val gt 12000 val lt 4000 alert T1 s value should be in the range of 4000 to 12000 return Check form L21 post value to the controller kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk And also inside the refresh data function please insert below code To refresh disp
14. 95px id layer2 gt form name form1 action login dll method post gt lt input type hidden name key lt input type submit name Submit value Enter style cursor hand onClick return validate this form gt lt form gt form1 is necessary e a lt div gt formt is necessary You may modify Enter to your own word For example fait This may require to modify the related charset at the beginning of this page lt body gt lt To ensure no cache work gt lt head gt lt meta http equiv pragma content no cache gt lt head gt This code is only for the Login htm please do not apply to other pages For example the menu htm amp main htm amp other htm pages That s all the login htm need You can insert more images or text to it Only remember to keep its basic code 5 3 menu htm Note If you want to know more about the multi page application there are two demos in the Wincon 8xx7 CD ROM napdos isagraf wincon WebHMI_ Demo demo_05 amp demo 05a Demo O5 place its page menu on the left while Demo 05a on the top Menu htm defines the Page menu of the Web HMI especially for the multi page application The page menu can place only on the left or on the top a Welcome Microsoft Internet Explorer E l 1 E lanl xl ef RHE RERO RBA TA KAH er 8B Qi aa oss user Gee GS 48 O0R 4987 On the lef
15. A 3 Setting The IP Address For The W 8xx7 On your PC First open an ISaGRAF project and select a program you wish to communicate between your PC and the W 8xx controller system Next select the Link Setup button on the project screen as shown below ISaGRAF TEST Programs File Make Project Tools Debug Options Help amp m iet 4 xr umk aoe Begin inc tae Simple Test Program A Test Begin Test Ladder Diagram 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 PC PLC link parameters E Am x Target Slave Number Ho Communication port ETHERNET Cancel Control CUMT COM Setup Time out seconds COMS COM4 ETHERNET Retnes 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 the W 8xx7 controller ETHERNET link parameters Internet address 192 168 1 1 Port number 02 EN GM m The Workbench uses the WINSOCK DLL library for TCP IP communications Ensure that this file is correctly installed on the hard disk Once you have entered the appropriate information click on the OK button and now you have configured your PC to communicate with the W 8x37 through the Ethernet port Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by I
16. Copy The Sample Web HMI PaQes cccccccsccsecceccseccecceectereeceectesseenees 61 442 SED 2 B ldihg ne VANTIN athe ate tus caca tra laus E pases mde 62 4 4 3 Step 3 Adding Control Code To The Main htm eeeeeeeeseeseesees 67 4 4 4 Step 4 Download Web HMI Pages To The Controller 14 CHAPTER 5 WEB HMI BASICS a aannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn 77 Dee BASICTEIBES FOR EHE WEB FIMI dai usi cuti uu n beau od ont S aed be eee deus ae Tf cM Nec SS RE D LL TNI LUNES 78 So mg zig eR eee oe eee oer eer ee ere ee eee A 19 SAS MAINHTM E O OX P 81 941 SIMIC WEIN TUT EXampleiss net d ioo EATUR TA EHHEAEDU A AERA ARR Peek teu 81 5 4 2 More About The refresh data Function And Dynamic Data 83 D403 FoOst Data TO NE Con Oler isinin oai theta etnies Kota don ones os 88 SRSHMIUIU UE e zc PERS 92 9 9 1 LEVE Z ADOJOVOl JJ 300mm E E saa uet Mo ep UE PD EE EM EE E 92 5 5 2 Switch One Page To One Another Page esses sesenta 93 5 0 WEB SECURITY ernerik ai Nenni NT dus veter ee Seatendr note io etes e t elatese A munde MU Ue E ae 94 CHAPTER 6 VB NET PROGRAM RUNNING IN WINCON ACCESS TO ISAGRAF J i iiM lone M beset 96 O JM GREATEA NEW SDE PROJECT miae eaaet eoece lecce eoo e eine acean ies iRe eine ie bind 96 6 2 ADD PROJECT R
17. E bine jpg EY circle medl jpg ER square ER OFFICE Fj B J gf civcle_yellow jpg E wincor BRS LENSER Sato gt C FIP GE fe Ae FTP es HS E REST I TABLE DE EEEIES Ez ERO go BET EAD BAO TE ET zr pre ea aH Q gg idd eME VIA Ra A IO b vx B pk lunes New Roman 3 l2 pt B IU Z iia main him x 1 eto iv t a This is a Web HMI sample page m etl Bests awa EFA 6 bps RAP O01 Th 538x191 ABE BET x Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 64 Please follow the similar steps to insert one another Layer5 and one Layer6 with a K2 symbol inside it and also a Layer with a OK symbol inside it as below E Microsoft FrontPage D Chun Der Manual WinCons 0DWeb HhIdenolexemplet main ht pn loj xl CEH RED RAC MAD E20 IAM 84 BAO ERR REON HAH AJCES Ld u d 3 B 7 U E Bz H Times New Re x B Pal Web rft REG BA E R FEAU j First click here to insert Layers and ei then follow the similar steps as Bex 191 REE BET 7 former to insert Layer6 amp Layer inside the Layer5 iai Microsoft FrontPage DAChm_DiUser_Manual_WinCon 000 eb_HMTdemolexamplel im ain ht m A x BAE IREE Cnm HRAT dO TAT tet BED WERE mes Em BHH ODO Gs d mim VIIX 53 A IO bh pees Hn Times New Roman 3 fl2 pt B 7 U ZZZ Aa main
18. Fo Se tF Soir aM Copy Chec z Paste top Paste special Delete De 4 Insert rung s pos setewumbaolltext Enter ES I md 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 zug ISaGEAF EXAMPLELI LDI Quick LD Program File Edit Tools Options Help Aa MBA mp Edl PH QQgaeil ee F2 JEUNRS JHE Fd GH FS 4H Fe Hi F7 J F8 EY Fo tPF We are going to write the first line of the LD1 program Move the cursor to the first contact and then click on cut to delete it File Edit Tools Optons Help Aa B2 Bes eed Pr Qaeikh a ane Move the cursor to the first contact and then click on cut to delete it Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 46 Click on the F6 Block on the left icon and you will create a block on the left of the coil zie ISaGRAF EXAMPLELLDI Quick LD Program ENS In I File Edit Tool Optons Help amp xgzx mgl Edl elga F2 dEE FA HE Fd Gel FS 4H Fe Qe FP Je Fe Fo Fae pU Block on the lett Now we are going to assign the associated variable amp constant to each item Double click anywhere inside of the block and the Function Block assignment window appears Select the BLINK type function block To learn how the BLINK function operates you can click on the Info button for a detailed explanation of it
19. IMPORTANT NOTICE 1 I O Slots 1 through 7 are reserved for REAL I O boards that will be used in the W 8xx7 You can use slot No 8 and above for additional functionality 2 All of the variables with Input and Output attribute MUST be connected through the I O connection as described above for any program to be successfully compiled Only the Input and Output attributed variables will appear in the I O Connections window In this example we have only 2 boolean output variables OUTO1 OUTO2 and 2 boolean input variables K1 amp K2 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 51 4 2 Compiling amp Simulating The Example Project For ANY AND EVERY ISaGRAF program to work properly with any of the I 7188EG 7188XG 1 8417 8817 8437 8837 Wincon 8xx7 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 ISaGRAF SIMPLELD Programs E Bl x File Make Project Tools Debug Options Help Make application M de EI 24 a zA Beuiir Verify Touch Application run time Options Begi Resources The Compiler Options window will now appear Make sure to select the options as shown below then press the OK butto
20. absolute width 100px height 100px z index 5 left 242px top 164px id layer1 1 gt div style position absolute width 71px height 31px z index 1 left 4px top 8px id layer12 gt OUT02 lt div gt lt div style position absolute width 61px height 48px z index 2 left 5px top 45px id layer13 gt lt img style cursor hand namez B2 onclick ON_OFF form_B2 form B2 B2 boolean val 2 border 0 src img cmd0 jpg width 50 height 40 gt lt div gt lt form name form_B2 method post action main dll gt lt input name BEGIN type hidden gt lt input namez B2 type hidden value 0 gt lt input name END type hidden gt lt form gt Please insert Style cursor hand name B2 onclick ON OFF form B2 form B2 B2 lt p gt amp nbsp lt div gt boolean val 2 just after the img tag Please insert lt form name form B2 method post action main dll gt input name BEGIN type hidden gt lt input name B2 type hidden value 0 gt lt input name END type hidden gt lt form gt Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 69 T1 Area Layer14 to Layer17 div style position absolute width 181px height 90px z index 6 left 374px top 162px id layer14 gt lt div style position absolute width 119px height 28px z index 1 left 4px top 7px id layer15 gt T1 b id T1 gt xxx ms lt
21. and Dial up Connections Then click on LAN90001 Set your Wincon s IP address amp its oubnet Mask LANSOOO0 Network Compatible Adapter Settings IP Address An IP address can be Obtain an IP address via DHCP automatically assigned to this computer If your network does not automatically assign l IF addresses ask your network IP Address administrator for an address Subnet Mask and then type it in the space E provided Default Gateway Please run Start Programs Wincon Utility click on Save and Reboot WinCon Utility 1 OK Save Registry Systern Config Suto execute Version Update About WinCon Utility 1 Testing It will take several seconds to save your settings to registry and settings you changed will take effect after system reboot Save and Reboot Any setting changed could be pre viewd View Registry Change all settings to factory default settings Recover to Factory Settings Change FTF default directory to Change HTTP default directory to Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 138 A 4 Connecting Your PC To The W 8xx7 Ethernet Port Before you can download an ISaGRAF application to the W 8xx controller system using the Ethernet port you must first setup the Ethernet port to properly communicate with the host PC On the W 8xx7 Set IP Mask and Gateway address Refer to former section
22. http 10 0 0 103Iogindll Hee i C Norton AntiVir A moving word is display here ogou i Logout meno This is because the action of calling show_scroll_world Hello Welcome to the Web HMI Sample 7 lg CEREREM al User may try to plug out the Ethernet cable of the Wincon or of your PC You will see it show Communication is temporary break now in about 10 seconds When you plug the cable back the communication will be recovered in about 10 to 45 seconds ay Welcome Microsoft Internet Explorer SEXE HE MOD BAREA Iam HAU t A OMA Ars Genet One C Eh S a HEAS att Do E http 10 0 0 103 6n d1l PE Be Norton AntiVirus E Logout Hello 2 Communication it temporary break now Meme If the communication break time exceeds 120 seconds it will show the below message You have to close the Internet Explorer amp open it again to re login Microsoft Intemet Explorer Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 82 5 4 2 More About The refresh data Function And Dynamic Data Note The code amp variable name amp function name is case sensitive For example refresh data is correct however Refresh data is not correct The refresh data function must always apply in the main htm and other multi pages It is called when the Internet Explorer has received the requested data from the controller The calling period is ab
23. iStatus A pointer to a long type which stores the data to set iIDType 0 type is word 1 data type is float 2 data type is long use long for Timer value in ISaGRAF unit is ms for ex float float val long word val long val long temp val set word val 32768 to 32767 to ISaGRAF variable with network address 1 word val 20000 temp val long amp word val UserSetReg 1 temp val 0 setfloat val to ISaGRAF variable with network address 2 float val 1 2345 temp val long amp float val UserSetReg 2 temp val 1 setlong val to ISaGRAF variable with network address 4 long val 12345678 temp val long amp long_ val UserSetReg 4 temp val 2 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 104 Get boolean value unsigned char UserGetCoil unsigned short iUserAddress unsigned char iStatus iUserAddress 1 to 8191 Variable s network address in ISaGRAF project iStatus 0 boolean is False 1 boolean is True for ex unsigned char bVal UserGetCoil 5 amp bVal get boolean value at network addr 5 Get word or float or long value unsigned char UserGetReg unsigned short iUserAddress long iStatus unsigned char iDType iUserAddress 1 to 8191 Variable s network address in ISaGRAF project iStatus A pointer to a long type which stores the data returned iIDType 0 type is word 1 data type is float 2 data type is long use long for Timer val
24. it means that the development PC and the 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 W 8xx 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 If there is a project already loaded in the controller system you will need to stop that project before you can download the example project Click on the STOP icon as illustrated above to halt any applications that may be running ISaGRAF EXAMPLEI Debugger me Lini xi File Contol Toole Optons Help mts bh Me oae test 4 active Stop application 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 D ISaGRAF EXAMPLE Debugger 3 E ziBl xl File Contol Toole Optons Help Qis rum Sl Ae No appi cation 20 16 Download pplication stopped Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 58 ISaGRAF SIMPLELD Debugger File Con cools Options Help Pi AM P o BT If ISA86M TIC code fort Intel is not No i owricea
25. must be run every time when user has modified any file in the W 8xx7 s CompactFlash Temp HTTP WebHMI wf Recycle Bin Microsaft WordPad pem d IER Internet Computer Explorer EA POF ia E a WinCon 8000 PDF Viewer rs_whrmi exe Slr Ed tale Image LT i EEr Windows CE net LE Se Le ES EE T CRM Pe m s LM E gt jui fe IF hh 1 i Et Lem uu cL T x Y Eum H impe T Show Time Please run Internet Explorer Rev 6 0 or higher key in the IP address of your W 8xxT For example 61 218 42 10 or http 61 218 42 10 Th Login Microsoft Internet Explorer TESCO Ampe umo FERED Lect RERBHORD f e Qs Gases ace ED K 61 218 42 10 CE SERE gt Norton AntiVirus L msi ORS sEm ES OMEARME v Hotmail ah Messenger Wincon The Web PAC Please click on Enter to login Enter El E FIRES EES E Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 75 If there is something wrong with the web page You may enable the below item to display the debug message every time it has error ay Welcome Microsoft Internet Explorer M E P BJ x fase ame tO HAEA TAT AH er H Q dose uri Que Jp S28 O0R9 6 BLD Emons ess m amp searcn Hotbar Ge CARE EF RT BATT EA REE TARE PES Double click here to display the error message FE 3 Enable it and then click geen HARAP AIC F
26. obj value 1 if GetUserlD form_obj true form_obj submit function OFF form obj obj OFF function is used for posting boolean flag confirm turn OFF value as Fasle to the controller if flag obj value 0 if GetUserlD form_obj true form obj submit Display the current boolean image In this example function refresh data 0 img big Tcircle redO jpg 1 img big Tcircle red1 jpg B2 src img big Tcircle red boolean val 2 jpg The layout or location of the image object B2 is defined here by the lt div lt div gt tags body onLoad init gt div style position absolute width 56px height 40px z index 5 left 82px top 69px gt img name B2 src img big Tcircle redO jpg lt div gt div style position absolute left 85px top 124px width 42px height 27px input type button value ON style cursor hand onClick ON_ form B2 form B2 B2 form name form B2 method post action main dll gt input name BEGIN type hidden value gt A button to call ON lt input name B2 type hidden value 1 gt First parameter is the name of lt input name END type hidden value gt the form Here is form B2 lt form gt The second is the name of the lt div gt Name of lt input gt inside the form Here is B2 Because it is inside form B2 then we must input inside the form H
27. set long s starting addr To 21 temp val 21 UserSetReg 2007 amp temp val 0 set long s ending addr To 30 temp val 30 UserSetReg 2008 amp temp val 0 set word val 32768 to 32767 to network address 1 word val 20000 long pt long amp word val UserSetReg 1 long pt 0 setfloat val to network address 11 float val 1 2345 long pt long amp float val UserSetReg 11 long pt 1 setlong val to network address 21 long val 0 12345678 long pt long amp long val 0 UserSetReg 21 long pt 2 setlong val to network address 23 long val 1 4567 long pt long amp long val 1 UserSetReg 23 long pt 2 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 132 Get word or float or long value from Web HMI unsigned char UserGetReg unsigned short iUserAddress long iStatus unsigned char iDType iUserAddress 1 to 1024 Web HMI s analog data base iStatus A pointer to a long type which will store the data returned iIDType 0 type is word for ex Getting Started 1 data type is float 2 data type is long float float val long word val long val 2 long ret val unsigned char flag float val flag word val flag long val 2 get word val 32768 to 32767 of network address 1 UserGetCoil 2001 amp flag word val get information flag of addr 1 UserSetCoil 2001 0 clear the information flag of
28. t 0 00 00 O52 E mistask ese 696 an 0 00 00 3 272 E SYMPROERYS l 720 an 0 00 00 8 500 E Win egnt exe ann au 0 00 06 220 E eychostexe OvO EN 0 00 02 O 672 E inetmfo exe ana 03 0 00 00 9 688 E NISSERV EXE 0 00 D 0 00 0 Ed PEM ddr 2 n RIETBR MEM FA 17788585E 12782504K HEF 32 ICPU HA 19 E 2 1 2 One Quick way to avoid the hold problem on windows 2000 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 Projects Properties d 2 x General Shortcut Security E Projects Ed Target type Application Target location EXE Target CASAWINSEKE Yw SPMIEDT EXE M Runin separate memory space y Run as different user SS ee Start in ESISAWIN Sese 0000000000 Shortcut key None Run Normal window o Comment DO Find Target Change Icon Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 26 2 2 Step 2 Installing The ICP DAS Utilities For ISaGRAF The ICP DAS Utilities For IS SaGRAF consists of 3 major items I O libraries of 8417 881 7 8437 8837 188EG I 7188XG amp W 8x37 8x47 Modem Link utility Auto scan l 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 already installed the ISaGRAF Workbench program please refer to ste
29. 3 eae E y e e IMG EA EA AETA A EEA AEA EEEE EAT EAT EAEE E ETATE TAEA Es T us cer CC B kh S C a qu T o LUUD DES c a a E rap creer PP ms E d poo pcc eS EVA HEU d c Q i d p LOL 9 2s oem S es zu cce S umm ES p pp UO IU V V UU UV UU UU U xv e uu Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 6 2 Add Project Reference for an Application The QuickerNet library contains all modules functions Before you use the Quicker keyword in the program design you must add the QuickerNet dll into the reference list of your application Please follow the below process to import DLL into the project reference 1 Open the Add Reference dialog by choosing Project Add Reference There are two libraries we have to add One is mscorlib dll and the other is QuickerNet dll Select the mscorlib in the list box and click the button Select the component mscorlib must appear in the Selected Components area A AA A AB ARARANAAAANANAAAANANANAAAANANAAA SS TESTES E VUE 1505500000 QU U V V V V UU I UU U U IU I U U IU I I I I I I I jI p p nuu d p ES E m nuu ee ee SESS penn Wm wv venue SSSSSESS SEES SS SSS ESS SSS se ee UU CS x uuum mulum D x p S mcum Ulm vvv SS m 2 E we
30. Address 1 UserGetReg 1 amp ret val 0 if ret val 0 amp amp ret val 32767 word val ret val else word val ret val OxFFFFO0000 get float value of network address 11 UserGetCoil 2011 amp flag float val get information flag of addr 11 UserSetCoil 2011 0 clear the information flag of Address 11 UserGetReg 11 amp ret val 1 float val float amp ret val get long value of network address 21 UserGetCoil 2021 amp flag long val 0 get information flag of addr 21 UserSetCoil 2021 0 clear the information flag of Address 21 UserGetReg 21 amp ret val 2 long val 0 ret val get long value of network address 23 UserGetCoil 2023 amp flag long val 1 get information flag of addr 23 UserSetCoil 2023 0 clear the information flag of Address 23 UserGetReg 23 amp ret val 2 long val 1 ret val Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 133 Set string value to Web HMI unsigned char UserSetReg Str unsigned short iUserAddress char iStatus iUserAddress 1 to 1024 Web HMI s string data base iStatus A pointer to a char which stores the string to set Max string len is 255 bytes Get string value from Web HMI unsigned char UserGetReg Str unsigned short iUserAddress char iStatus iUserAddress 1 to 1024 Web HMI s string data base iStatus A pointer to a char which will store the string returned Max string len is 255 byte
31. Beaune eae st ps us 2 EBB EREEREREEEEERER EERE DEDE DEOR 2 PER BEREREERERE ERE DEDE DEDE EE EORR SS i E EEREN RENNES E Mn Sd uM uds i SE Uu 3 ERR ER Uncut TEE SERS i t vopepecbebE vob nu REER SR RR REREREEEERSEDERESEEEE hana ERRER 2 Wen Bone MVRDSDORODORISRODID DPORORIDOROOEOEID SERE IETDEUR pm ppp ad i I RR AREE AREA DER DR NRN ET SUSSSNUESSNUE SNUBS DE DUE TUE UU pones pue UU D UD pa i anann Si MD B Boves E E E ARERR ADA REAR AD AREA RAD RENERE ASE OD ODODDODS NS ERE S E unm punue i um m nae qe i ic e IT PERREN RDUM p I I EEESEREEE p Qu DUMUPREDEERRNE e p pn nn plum e RE EEEREN quee i v S un uu epR E us eR Ganesan E m d e ae cues dp d en DS DURO sR I pepe SESE ESE SES SEO ESSE guns E M NNNM E MEN E E NEN SER M NNNM SENSES SGEES SENSES E E MINE NE NERA SES M NENNEN NM NARN NNNM M MM NM NN EE NE SONUS NNUS Eig 2 S SS SS SS SS S p UE Du non RR sen UU UT um c s ud o os HL R EN E 2 enum uen n v U S IS S omm dq SESS SEI TT p ooo s o o o eee Qu x en m T m E E m CORSE 2 x E T Epi cU cu dup UNE pm 2 E n cue p puo s e m pm us i S cce m Spp us e UU UE pem p T zm A E EEE E EEEE ETETEA oh i RERNE E TUO r E E EE E EEEE EEE NEE pm bebe m oS uS cum cum 3 m oS cum 3 m oS uum uum s EE c ae a e ee SS erc Sxsccenpccceu esca uu SSAA ep PC CU PDC UC S CT DUC CU PU CU PUT U ECC C PUT UT DUCTU TUTTO T eM TTE z Nem zm BERR x U cucccit 5olc ccc ccI cTT C IITIMP TcHAAAA
32. Cend To Target YOnly newer files tatus Application was started Send File Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 116 Configuration Web directory of WinCon Run WinCon Utility and change default Web directory to CompactFlash InduSoft Demo_01 Web Click Change and Save and Reboot to finish this configuration Winton Utility 1 ver 2 1 4 0 save Registry System Config Auto execute Version Update Com About wincon Utility 1 It will take several seconds to save your settings to registry and settings you changed will take effect after system reboot Gave and Reboot Change all settings to factory default settings Resolution 800 x 600 300x600 I Recover to Factory Settings Bop 16 16 S Frequncy 75 Hz Hu wl E Any setting changed could be pre viewd View Registry Change M Change FTP default directory CompactFlash to CompactFlash change Change HTTP default directory CompactFlashiindusot Demo O1Veb to JcampactFlash ndusoft Dema D19Weh a A0 d Visualize your project in a remote station Run Internet Explorer and type http 10 0 0 80 MainPage htm l http 10 0 0 80 MainPage html Microsoft Internet Explorer SEF RHE PAW HBB Tam HAH ay O xf Ox yane A Z2 E SED d hitp 10 0 0 80 MainPage html Ejus sa C 8077 DI 0 1 8077 DOO 1 87024 AO O JA Interior 0 Getting Started
33. English UTF 8 A 11 main htm amp other function refresh data min Pages Chinese gb2312 Traditional Chinese big5 ifrrun at pc 71 return or other language lt SCRIPT gt lt head gt body onload start1 gt start1 is the entry point of the menu htm Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 80 lt Logout button gt form name form logout method post action login dll gt input style cursor hand name CMD type submit value Logout onClick return logout this form gt lt form gt lt body gt form logout is for the logout button lt html gt Note lf you want to Know more about the multi page application there are two demos in the Wincon 8xx7 CD ROM napdos isagraf wincon WebHMI_Demo demo_05 amp demo 05a Demo O05 place its page menu on the left while Demo 05a on the top 5 4 main htm 5 4 1 A Simple Main htm Example Before going further in the main htm first take a look at a simple main htm example This example only display a Hello message when successfully login nothing else html Please apply your charset here For example English UTF 8 head Chinese gb2312 Traditional Chinese big5 or other language title Title1 title meta http equiv Content Type content text html charset UTF 8 gt This line is necessary for menu htm main htm amp other multi pages SCRIPT LANGUAGE JavaScript
34. ISaGRAF please refer to section 4 1 to 4 3 The ISaGRAF variables to be exchanged with Indusoft must be declared with a Modbus Network Address as below EX ISaGRAF EXAMPLE2 Programs BE nl xl Ede Make Project Tools Debug Options Hel D mew nE Zxr Oe Rm Begin c2 MEE empty program Name m MUNI Import true false definitions Modbus SCADA addressing map EB x File Edit Options Help it tc Map Hexadecimal Please set No as Decimal Segment MEESTE 0000 Feserveech In this example Please assign No 1 to DI 1 No 11 to DO 1 No 21 to AO 1 No 31 to Interior 00011 Variables not magped Booleans pr qersiReals Timers Messages Please save amp compile the ISaGRAF example project amp then download to the W 8336 If you are not familiar with it please refer to Section 4 1 to 4 3 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 107 Step 2 Create an Indusoft project Select File gt New from the InduSoft Web Studio main menu the New window will appear and click on Project tab Then type in the name for the new user s project in the Application name and select CEView Lite in the Target Press OK and the Project Wizard window will appear Select Empty Application on the Template 320 x 240 on the Resolution and None on the Shared Tags L indusoh Web Studro
35. ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 29 3 2 Steps To Set Up A Web HMI Demo 3 2 1 Step 1 Setup The Hardware A Please have a W 8337 8737 or W 8347 8747 amp plug one l 8077 board in its slot 1 If you don t have the l 8077 8 IN amp 8 OUT simulation board please follow the same steps as below however your Web HMI demo may be replaced to whmi 01 not whmi 05 B Prepare one VGA monitor one USB mouse one Keyboard and one ethernet cable and then connect them to the Wincon C Power the Wincon up 3 2 2 Step 2 Make Sure The Right ISaGRAF Driver Installed To run a Web HMI Demo please make sure the ISaGRAF driver installed in the Wincon 8x37 8x47 is version 3 24 or high If the version is lower than 3 24 please upgrade it The procedure is listed in Appendix B or in the CD ROM Wincon ISaGRAF CD napdos isagraf wincon english_manu Update w8xx7 pdf Note If you have upgraded the driver please recycle the power of your Wincon Computer e Recycle Bin WinCon 8000 r A sA m cro WordPad Wincon ISaGRAF Driver Windows uL is running double click on it incon psn Al Driver Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 30 3 2 3 Step 3 Setting The Web Options A Please set a fixed IP address to the Wincon No more DHCP B Check on Enable Web HMI and then click on Setting Please check on Enable Account oecurity and then click on E
36. Set as Fbus slave Isolated 16 CH BI amp 156 CH DO 16 Eh selectable 170 Isolated 8 CH DI amp 8 CH DO 8 CH DI amp 8 CH DU DEd ae ibus reri I arenae prenne b 870134 4 CH RTO Input with Alarm Gru A 8 EH Analog Input with Alarm Gruss 8 EH Thermocouple with Alarm C Boards Equipments Then we have mu ISaGRAF EXAMPLEI I O connection EN _ lol x File Edit Tools Options Help amp me mmm tlre a m m i 8077 Lr DIB n DOB ne If you don t have l 8077 I O board you may click on Real Virtual board to make this I O board become virtual Then you can simulate it Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 50 To map input variables K1 amp K2 to the input channel No 1 amp 2 of the l 7077 double click on the channel 1 and then click on Connect Then click on Connect again to connect channel 2 aa SaGRAF EXAMPLE O ER _ ol x File Edit Tools Options Help amp 2 SPBrn tlre SG 4 mmj ref 807 Connect PO channel 1 Previous By the same way please connect OUTO1 OUTPUTO2 to output channel 1 to 2 Then we have below window Click on Save and then exit om SGRAF EXAMPLEI IO connection E Io File Edit Tools Options Help QpBsem oct S pA EJ maj ref 8077B gm i 8077 e OUTO1 E DI8 n re Vw OUTO Bebo y n EB 4 b EN 7 hd
37. UDP send amp UDP recv functions Users don t need to care about the ethernet communication Wincon may send the received string to other device via RS232 485 422 Note Please refer to Chapter 19 2 of the ISaGRAF User s Manual for more information 1 3 Get Clear Temperature value of temperature IO ICPDAS provides many temperature input modules as below With broken line detection or called wire opening detection Thermocouple type I 87018R 87019R 7018R 7018BL 7019 7019R RTD type I 87013 87015 7013 7015 7033 Thermister type I 87005 7005 Without broken line detection Thermocouple type I 87018 7018 7018P User can directly get a clear temperature integer value in Degree Celsius or Degree Fahrenheit for example 2567 means 25 67 Degree Please refer to Chapter 3 2 2 amp 6 3 2 of the ISaGRAF User s Manual for more information Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 13 1 4 Up To 5 Modbus RTU Slave Ports RS232 485 or 422 W 8xx7 8xx6 can support up to Five Modbus RTU slave ports at COM2 or COM3 Or COM5 COMG COM7 COM8 if 8112 8114 8142 81421 8144 is plug in slot 1 or slot 2 Please refer to Appendix G of this manual for more information W 8xx7 8xx6 also supports Modbus TCP IP slave port Max 8 Modbus TCP IP connections ER 080 8 Modbus Master Devices HMI SCADA bep Ethernet Ethernet RS422 peeve Wincon 8xx7 8xx6 Multi serial
38. WordPad d E jin Internet Explorer Bh WinCon 8000 PDF Viewer rs whmi exe Windows CE net whmi exe is running click on it Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 127 Check on Enable Web HMI and then click on Setting Please check on Enable Account Security then click on Edit to set username password Then remember to click on OK Note If Enable Account Security is not check any user can easily get access to your Wincon through the Internet Explorer Wincon Web HMI Driver Setting wik Abas Ophions s ia ae ES Preity Low To set up advanced security User Mame Settings 3 Password Priority Middle User Mame Password Priority High User Mame uper Password esee 10 2 4 Step 4 Download And Run EVC Demo Program Please download EVC Demo program form the Wincon ISaGRAF CD ROM napdos isagraf wincon non_isagraf_demo EVC whmi_c01 c armv4rel whmi_c01 exe to Wincon CompactFlash lISaGRAF and then run it Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 128 10 2 5 Step 5 Download Web Pages To The Wincon A Please copy all files in the CD ROM napdos isagraf wincon non_isagraf_demo EVC whmi_c0O1 whmi to Wincon CompactFlash Temp HT TP WebHMI B Since the Web Pages are modified or new copied please run rs whmi exe to reset
39. a Password Confirm hd asimum Value Security 1 E Sign Disable 0 Check on it means user may input its value at run time Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 111 Workspace x v gi Project Demo 01 APP Drivers ORC TCPIIP Create Modbus TCP workspace Click Comm in the Workspace and in the folder of Drivers click right mouse button and select Add Remove drivers to open Communication Drivers window as below Workspace x v gi Project Demo 01 APP fie p Drivers Add Remove drivers Click mouse right button on Drivers Click Comm Available drivers DLL Description MISTE OFTO22 MISTIC Protocol OPTO22 Controller NT 2000 MITSA MITSUBISHI Protocol Maelsec amp MT 2000 3 CE Bb 5h MITSU MITSUBISHI Protocol Fs Senes M T 2000 9 CE Sb 5h MODBU MODBUS Protocol ATUAASCH N T 2000 9 CE 85 5 h37 MODPL MODBUS PLUS Protocol H T 9 v1 3 MODELS Protocol RTL wia TEPIP INT 20DD 3e CE TRBE n a EN Ww k SIEMENS MPI Green Cable Protocol 3964A MT 201 3 Selected drivers DLL Description d OK j d Cancel Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 112 Click MOTCP driver then click Select and click OK to close this window Expanding file folder of Drivers and it will show a file folder named MOTCP Click right mouse button a
40. amp nbsp lt div gt Please insert name B11 just after the lt img K2 Area Layer5 to Layer lt div style position absolute width 101px height 93px z index 3 left 241px top 51px id layer5 gt div style position absolute width 47px height 26px z index 1 left 6px top 4px id layer6 gt K2 lt div gt lt div style position absolute width 92px height 35px z index 2 left 7px top 38px id layer gt lt font id font_B12 color blue sizez 3 b idz B12 OK lt b gt lt font gt lt div gt Please modify OK lt div gt to become lt p gt amp nbsp lt div gt lt font id font_B12 color blue size 3 gt b id B12 gt OK lt b gt lt font gt lt div gt OUTO 1 Area Layer8 to Layer10 lt div style position absolute width 82px height 79px z index 4 left 71px top 168px id layer8 gt lt div style position absolute width 60px height 31px z index 1 left 3px top 6px id layer9 gt OUT01 lt div gt lt div style position absolute width 37px height 31px z index 2 left 6px top 42px id layer10 gt lt img namez B1 border 0 src img circle blueO jpg width 19 height 20 gt lt div gt lt p gt amp nbsp lt div gt Please insert name B1 just after the lt img Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 68 OUTO2 Area Layer11 to Layer13 div style position
41. can get access to your W 8xx7 via Modbus TCP IP protocol If vip is connected and No IP is entered DENT File Edit Tools Options Help B ap gt SPrn to FAE um i 8077 E DIB DOs select board equipment ES 8 53 Isolated 4 CH DI amp 4 CH DO i 87063C B CH 1 0 amp Cnt Max 100Hz 6 87082c 2 Counter amp 2 read back DO Gr BzF 2 Frequency amp 2 DU I diab 4 CH DI amp 2 CH Relay DO e I dio8 4 CH DI amp 4 CH DO 3 Iv kew Keypad Input mbus Modbus master oni COM or CO M4 MMICON Connect MMICON by Com ar Cc mm I5aGRAF WHMI OS LO connection modem ps Set Password of Com4 Modem Library mbtcpS000 Link ta MTCP 8430 8830 S256 B1z Battery backup SRAM for I Bxs SMS Short Message Service vip Permissive IP via Modbus TCP IP amp 1U7 BO amp IDE Fer the 1898 SB EG x113 FOL amp FDO for the 188 SB EG C Boards v Em File Edit Tools Options Help E mmm to RK Ga gm i 8077 ae IP 1 10 0 0 2 Dig m IP 2 10 0 0 4 DOS m mum P AE m IP 4 N A mu IP 5 NIA a mn IP 6 NYA wn IP 7 NJA e su IP_8 NiA e gm vip i Es ip ns w a vj all assigned as N A No HMI and ISaGRAF can get access to it anymore aw SaGRAF WHMI_O5 IO connection Se CI xj ait Please re compile your ISaGRAF project and download it to the controller if you have modified the IO connection Getting Start
42. htm kitchen htm u2 page4 htm If u2 appear in front of the page name the page will become a Level 2 page For example the u2 Page4 htm in the whmi 05 demo If u3 appear in front of the page name the page will become a Level 3 page For example the u3 time htm in the whmi_ 05 demo What is a Level2 page Only users login with the Middle or High priority can get access to it To access to the Level3 page users have to login as a High priority user The page name without u2 and u3 is identified as Level 1 page That means any user successfully login can access to it For example the main htm The other rules for multi pages are almost the same as main htm section 5 4 Recycle Bin def WinCon 8000 Wincon ISaGRAF Driver OK Setting Web About Be Security Settings OK Options Account Modus List IP Setting N Setting user name amp JADE ACCUEIL SECUN password here Prionty Low Disable Telnet Serveice User Marne Ta set up advanced security click on Settings Settings Password Priority Middle Wiser Mame Password Priority High User farne ac 3 80 PM Password Note If Enable Account Security is not check any user can easily get access to your Wincon through the Internet Explorer Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 92 5 5 2 Switch One Page To O
43. program napdos isagraf wincon non_isagraf_demo VB NET whmi_vb01 vb01 bin release vb01 exe Web pages napdos isagraf wincon non_isagraf_demo VB NET whmi_vb01 whmi Note Please check whmi exe section 10 1 has been installed for non ISaGRAF solution User can write his VB NET application to access to the Web HMI The Address rule is the same as the former section The Address No for each type must not conflict with each other Web HMI boolean data base Address No 1 to 1024 Web HMI word data base Address No 1 to 1024 Web HMI float data base Address No 1 to 1024 Web HMI long data base Address No 1 to 1024 Web HMI String data base Address No 1 to 1024 Information Flag boolean Address No 2001 to 3024 Word Address No of 2001 starting Address No of boolean data base to send to the IE on PC 2002 End Address No of boolean data base 2003 starting Address No of word data base to send to the IE on PC 2004 End Address No of word data base 2005 starting Address No of float data base to send to the IE on PC 2006 End Address No of float data base 2007 starting Address No of long data base to send to the IE on PC 2008 End Address No of long data base Please refer to section 6 6 for the VB NET function to access to Web HMI UserSetCoil UserGetCoil to access to Web HMI s boolean data UserSetReg short amp UserGetReg short to access to Web HMI s word data UserSetReg float am
44. program one time in each PLC scan cycle Programs in the begin area will run first then the Sequential area and last the End area An ISaGRAF cycle run in the way as the below scheme Scan all inputs Process Sequential area Reflash all outputs ISaGRAF Cycle Click on the Create New Program icon and the New Program window will appear Enter the Name as LD1 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 program but it isn t required ISaGRAF EXAMPLE Programs E inl xi File Make Project Tool Debug Options Help iil Te IBI ES fm Pai a gt Em New Pro Create new program Comment Begin LD1 Ladder Diagram Language Style Fie Make Project Tool Debug ptons Help E m 43 HE0 Zxr um zee Begin Begin LOY Ladder Diagram Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 45 4 1 7 Edit The LD1 Program When you double click on the LD1 name the Quick LD Program window will appear To start programming our LD program click on Edit from the main menu bar then click on Insert Rung Insert Rung means to insert a basic LD rung just above the current position B x File Edit Tools Options Help Unde che x t AQalk e F241 Cut Che HE Fs Ig
45. same step to declare one another boolean variable K2 Then you will have as below ISsGRAF EXAMPLEI Global booleans EEUU ux File Edit Tools Options Help amp j oee eK ds KS Booleans IntegersiReals Timers Messages FB instances Defined words Mame Attrib Addr Comment K 1 Input 1 in the l 5077 board EEREEEEECDCB OPPCSSEDUSHHHPPPPSERHoILLTLEIL A uquuo Xko K2 Input 2 in the l 6077 board w000 input false true There are two outputs used in this example program named OUT0O1 and OUTO2 ISaGRAF provides a quick and easy way to declare like variables that are sequentially ordered To begin this process click on the Quick Declaration icon and enter in the output number that you will start with in the Numbering from and To field this example uses from 1 to 2 Enter the Symbol name for the output variables being declared and lastly set the attribute to Output ISaGE AF EXAMPLEI Global booleans File Edit Tools Options Help CdS COM Ole Kad xa Booleans inteqersiReals Timers Messages FB instances Define word Mame Attrib Addr Comment auuick declaration K 1 Input 1 in the l 5077 board Cancel C Internal Constant Other Retain otra C nteger f Heal Length Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 41 When you click on the OK button all two outputs will be imme
46. the Web server The rs whmi exe must be run every time when user has modified any file in the W 8xx7 s CompactFlash Temp HT TP WebHMI EP amp L a Li Lr Microsoft Computer WordPad H Recycle Bin Internet xplorer 2T PDF ue Ni WinCon 8000 PDF Viewer u c rs whmi exe ok E i Image Viewer Fi Microsoft oi Windows CE net E xce n i euer 10 2 6 Step 6 Show Time Please run Internet Explorer Rev 6 0 or higher key in the IP address of your W 8xx7 For example 61 218 42 10 or hittp 61 218 42 10 E Lozin Microsoft Internet Explorer EE mPa CE fem Fea EECA CAD RARA DO Ola d Qe Wiens Ose EDK 61 21 4210 2 O H imd Monon AntiVirus Gl msi OS v AEAT ER OSCRTURHRRHES v Hotmail d Messenger Wincon The Web PAC Please click on Enter to login Enter E E EE d Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 129 10 3 EVC Function To Access To The Web HMI User can write his EVC 4 0 application to access to the Web HMI The include file and library are WinConAgent h and Quicker lib CD ROM napdos isagraf wincon EVC _LIB The DLL at run time is the Quicker dll which is in Wincon CompactFlash ISaGRAF Please copy and run your EVC application at Wincon CompactFlash SaGRAF The below functions are used for access to the Web HMI data base You may refer to CD ROM napdos isagrafiwincon non_isagraf_demo EVC for example programs
47. the Microsoft Office FrontPage 2003 or higher version and open the main htm E Mic rosott FrontPage DChun D User Manual WiancenS n0 reb HiiDdemotexeamnplelunsnohim B ARD HRHD te IBAD AO IAD RHA BD EE Re 1 g i d am iaa Tixaayio c Suridio taa D i Times New Roman 3 270 B ZZZ i m main him k X E D ah This is a Web HMI sample page You may switch from these three items E38 ERRE Ae 4 IEH SoKbps RER OD Sb 566x204 REE BET 7 Please switch the window to design the page Please insert a layout object Layer as below R Mi rosott FrontPage DAC hun DAMTser Manual _ Minc onti0ieb_HMemnierample imam nin E E 4 dE EF RD WATO AD dll IAD xe RAD ERR Ra PRICAAT ER TI VE ee B y e BADANE NEREA we SSE B H TimeoNew Riot BEO ye P3 ES E main him gt R Mi rosoft FrontPage D hon DAUser Manual WintCons000Web HMIWemowxesmplelunsm hin E Ta CE AER WAO fA dx LA RA AAD FER ROD n Th LD dd d mm 6 134534 BANE WERE TE d prama D A m J m ee zr A z zz zz H Times New Roman S327 Bm aanne na F main him x o his is a Web HMI sample page C Be AE ID of this Layer object Layer2 EE E rjerst E Ae Site Ae ak EF S6Kbps RAR 0 01 585x292 Mar BEI z Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 b
48. the dongle is plugged well if the Help About says Maximum number of IO variables 32 it means ISaGRAF workbench cannot find the dongle well Please reset your PC and then check the Help About again If it still displays Maximum number of IO variables 32 the dongle driver may not be installed well Please execute the ISaGRAF Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 24 CD ROM Sentinel5382 setup exe for ISaGRAF 80 or Sentinel setup exe for other ISaGRAF version and then reset the PC again If your ISaGRAF Key Pro is USB type please follow below steps to install the proper USB driver 1 To make your PC recognize the ISaGRAF USB protection key please un plug the USB protection key from your USB port first then run MSentinellSSD5411 32bit exe in the ISaGRAF 3 51 SP6 CD ROM after you have installed the ISaGRAF Then please reset your PC 2 To run ISaGRAF Ver 3 51 please always plug the USB protection key in the PC s USB port Important Notice For Window NT Users If your computer is using the Windows NT operating system you will need to add one line to the isa ini file in the ISaGRAF Workbench EXE subdirectory C isawin exe isa ini You can use any ASCII based text editor such as Notepad or UltraEdit32 to open the isa ini file Locate the WS001 header in the isa ini initialization file it should be at the top of the file Anywhere within the WS001 header por
49. udp IB sel up DPF socket Library i Htu 5lave Port4 0 Baud Port4 19200 ame reserved magn ru Slave Porth gm rtu slav B remot n Pa The 4 ch boolean inputs indicate the 119 7DI amp 7D0 for the 7188 EG 4203 24D EDO 2DI for 7188 G EG 4303 1D 1AD EDO 4DI for 71886G EG related port is well RTU Slave Port2 5 defines the COM Port Pees eels cae number to enable Value can be 0 5 6 7 or 8 Value of 0 means not enable it Baud rate setting can be 600 1200 2400 4800 9600 19200 38400 57600 115200 C Boards Equipments False disabled Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 156 Appendix H Compiling Error Result In Different ISaGRAF Version In the recent four years since 2003 all the ISaGRAF example programs provided in the ICP DAS CD ROM amp Web site are written in ISaGRAF workbench version of 3 46 If your ISaGRAF workbench is version of 3 51 or later version it may geneate error when you re compile these example programs To erase this kind of error in different IS SaGRAF workbench version please run Make Touch once And then re compile this example project S8aGRAF DEMO 04 Programs mI x File Make Project Tools Debug Options Help Make application x e unie gog Bedir Verity Application run time Optio Compiler options Resources S8aGRAF DEMO 04 Programs E mi x
50. 047 has no COM RS232 full modem signals Speed 115200 bps max RS 485 Speed 115200 bps max D D 10 100M bps NE2000 compatible 10 BaseT Program download port Please use NS 205 NS 208 Industrial Ethernet Switch W 8347 8747 integrate with one I 8091 2 axes or two 8091 4 axes can do motion control 8 channels max 250Hz max for Off 2 amp On 2 ms Output square curve Off 2 to 32766 ms On 2 to 32766 ms Optional D O boards i 8037 8041 8042 8054 8055 8056 8057 8060 8063 8064 8065 8066 8068 8069 Relay boards can not generate fast square curve 8 ch max for 1 controller Counter value 32 bit 250Hz max Min ON amp OFF width must gt 2ms Optional D I boards i 8040 8042 8051 8052 8053 8054 8055 8058 8063 8077 Counter input 100Hz max Counter value O to 65535 16 bit Optional serial I 87K D I boards i 87040 87051 87052 87053 87054 8 055 87058 87063 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 8 Remote D l counter High speed counter Protocols Modbus serial protocol Modbus TCP IP Web HMI protocol All remote l 7000 amp I 87K D I modules support counters 100Hz max value 0 to 65535 i 8 7082 100kHz max 32 bit i 8080 450kHz max 32 bit Up to 5 COM ports COMO 3 5 6 7 or 8 can support Modbus RTU slave protocol for connecting ISaGRAF PC HMI OPC Server amp HMI panels Supports Modbus TCP IP slave protocol for ISaGRAF amp PC HMI Ether
51. 2px gt L15 b id L15 gt xxxx lt b gt lt div gt div style position absolute width 196px height 29px z index 3 left 45px top 82px gt F17 lt b id F17 gt xxxx lt b gt lt div gt div style position absolute left 47px top 131px width 204px height 60px gt lt form name form1 method post action main dll gt lt input name BEGIN type hidden value gt text input L15 amp F17 input name L15 type text value Enter long val L15 gt inside the form input name F17 type text value Enter float val F17 gt if data is timer please input name END type hidden value gt use L And W for lt form gt word S for string lt div gt div style position absolute width 74px height 31 px left 234px top 150px gt input type button style cursor hand onClick return Check form1 value Enter gt lt div gt cursor hand will display the When mouse click on this button it calls mouse arrow as a hand when Check to post to the controller entering the button area lt body gt Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 91 5 9 Multi Pages The Web HMI in the Wincon 8xx 7 supports multi pages application You may refer to Chapter 3 to setup the multi page demo whmi 05 to see how it work 5 5 1 Level 2 And Level 3 Page The multi page name can be any valid html file name For example page2
52. 6 by ICP DAS 31 Backing Up An ISaGRAF Project Open the ISaGRAF Project Management 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 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 T Iacaat A d amp Book Diagnosis zd Libraries Projects e Read vA 2 Report 4 ISaGRAF Project Management File Edit Project Tools Options Help n fa st exam fo il exam Hn sfc exam H J HE ELEH 4 Simple LO Program i Reference Simple LD Project E Author ICP DAS USA Inc ju Date of creation 12 15 2001 Version number 1 lsaGRAF 3 41 Description Simple Example Of An LD Program Archive Projects E x Workbench Archive demo 15a Backup demo 15b demo 15 demo 17 Hestore fbd exam it pee Close ome E simpleld Help gend work O1 work 2a work 2b Compress gt Archi 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 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 32 Rest
53. 7 no l 7188EG no l 7188XG m W 8XX7 W 8XX6 MODE E Description Function Change the ISaGRAF driver speed Argument MODE integer Can be 0 1 2 or3 0 Fast Mode Default setting the minimum PLC scan time is 4 ms 1 Slow Mode the minimum PLC scan time is about 6 to 7 ms 2 Slower Mode the minimum PLC scan time is about 9 to 11 ms 3 or other value Slowest Mode the minimum PLC scan time is about 19 to 21 ms Return Q boolean always return True Note 1 The PLC mode is supported since driver of version 3 24B 2 The system s default setting is Fast Mode 3 User may call PLC mode in the first PLC scan to change the PLC speed 4 The reason to slow down the PLC speed is to improve the speed performance of other HMI program running with ISaGRAF driver at the same time For example running Indusoft with ISaGRAF in the same Wincon Example TMP is declared as Boolean internal variable INIT is declared as Boolean internal variable and init at TRUE if INIT then INIT False Only do it once in the 1st PLC scan TMP PLC mode 2 Set PLC speed to 2 slower mode end if Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 155 Appendix G Setup More Modbus RTU Salve Ports The Wincon 8xx7 8xx6 can setup up to five Modbus RTU slave ports in COM2 or COMG or in COM5 COM6 COM7 COM8 multi serial ports in slot 1 or 2 refer to appendix E since the driver version of 3 25 Note 1
54. 7188EG or e I W 8x37 8x47 PC HMI l 7000 amp 1 87K series Remote I O 1 11 SMS l 8xx7 I 7188EG XG W 8x37 8x47 Alarm Information M1206 GSM Modem Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 19 1 12 Data Exchange through Ethernet amp RS485 Data Exchange Controller to controller data exchange Ethernet W 8x37 8x47 1 8437 6837 amp I 7188EG RS485 8417 8817 8437 8837 7188EG amp I 7188XG 1 13 Motion Control One l 8091 can control 2 axes X Y plane or 2 axes independent Two l 8091 can control 4 axes X Y plane 2 axes independent or 4 axes independant Wincon 8x37 8x47 l 8091 2 axes l 8090 3 axes Encoder Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 20 1 14 Modbus Converter Of I 7000 amp I 87K I O 1 7188XG amp 1 8417 8817 can be a Modbus RTU serial converter of l 7000 amp I 87K series I O modules Modbus serial RS232 RS485 um p I 7188XGD or 8x17 HMI or SCADA RS485 m Remote I O Modules Um d l 87K W 8x37 8x47 I 7188EG amp l 8437 8837 can be a Modbus RTU serial amp TCP IP converter of l 7000 amp I 87K series I O modules HMI SCADA Modbus TCP IP Ethernet RS485 9 c E Modbus serial RS232 I 198EGD EEUU W 8xx or l 8x37 HMI SCADA e Remote I O Modules I 7000 w l 87K Getting Started Wincon ISaGRAF PAC Ver 2 0
55. ATMITHT IT E m z E jv ees m m eS sen a i d Ses x S xe ze cree tec ten Co o o C oS SS SS oS uu E ipu E v vvv vj o o o vvv vvv oo E v v v v v v v vv vvv Uo So Se Se U E m v vv v v o Se ee ee ee o o ee U o qp p U UU JU y eS oe p v v v C C C o z UUU So zm m p essai UU E eee SERIES A E cue n e TT sees SESS cq MU S p i d uc E AR n es S S a P zs pe 7 1 UT 3 nu MUR Ru d P x p a x j 5 i n i i n 5 uus jp imn us RRR Sny P I I A A EEES EEES ES ES E S S E E E E E EEEE E E ETE E EEEE EE EEEE EEE EEE EEEE EEE E EELEE EEE EEE O EEEE 3 un is Su of s i af 5 iu af MUS ps a ae I m OBOBDRDODOBORAEE EE RN E ARRENE ores repete AED SSeS p S C pnepRenEe E 3 EN as 2 us Se H E SHEE SEER IED DS Habre uc GUESS EERE EEN ae ee So kc X 2i E pure E EE Em E E E He UT pe m UE E E E e nn AO KORR is ME gt RE S RO gt R EEEEE E ME MRNA TTL a E E E E e LEE a e e E ARI ze i E imLnmumuiiDii SS Se 8 AA 3 i i L C a ea ea 3Cnti 8 GG 3522 59 ue vocc USUS Wet t UU UU UU UU UU UU UU UU D UU RU RU DU D UD D D ODER H is We E UC iiid ji ineei EERIE SESS EI EEREN ENEN RN EENEN n 2 Click the Browse button Select the QuickerNet dll from Wincon 8xx7 CD napdos ISaGRAF W
56. Archive ETZE m bottle Libraries Common dat EH bottlef E demo Import IL program EH rfa rray emonstatres array management functions EH rfbars demonstrates graphic bra graphs EH rfbonl demonstrates SFC boolean actions z Reference Hf Imr FB ES Author CJ international E Date of creation 3 2 94 When you click on the Projects selection the Archive Projects window will open Click on the Browse button to select the drive and the sub directory where the demo files are located ANapdos ISaGRAF Wincon Demo on the CD ROM Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 124 Archive Projects ER x Backup Hestore Close Help Workbench Archive Archive location File name Falders backup ps SCOTT DESKTOP IER To install all of the Demo files click on the wdemo_01 file then press and hold down the Shift key continue to hold down the Shift key and use your mouse to scroll down to last file in the Archive window Click on the last file name from the demo file location and that will select the entire group of demo files Lastly click on the Restore button in the Archive Projects window and all of the demo files will be installed into the sub directory you have created Archive Projects 7 E xj Backup Hestore Close Help Workbench Archive work 2h Compress Archive location XDOCHME 7 155 COTTXDE
57. BROD AD EO TS E BAD ERR Ra AH Web TC D G HAS B 14G8 7 4 BAS 9 l aR M n Times New Roman 23 12 pf B Z Uj First Click inside the Layer2 and then insert Jess EE the Layer4 inside it LIIVLI LII Please place Layer4 just below the Layer3 BA Biss ae BFA S6Kbp Sees 001 538x191 EX 3 i Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 63 Inside the Layer4 we are going to insert one image file to it as below The image file name is img big Tcircle redO jpg Please browse to the correct folder in your hard driver Here we use in this BED EED 773 EU HAO EN Em rcm ECW HAH PBL O HAS B geo B yio jp vxEBER E H Times Mew Re HEERE i B J U laa SX Web FC FAR CS FEET Bh mE ChK Y ET CS IBY big Taquare_greent 3 jpg If m n an Image P 3 358p A ellewljpg BY big Tequare red jpg gif cmd lj cm RHE C bMue jpg E biz Teyusre mdljpg Efloginl E Fe DO blueljpg Bf big_Tsquare_yellowO jpg BY square Chun D greenDjpg Bf big Tesquare vellowljpg Bf square User Manual WinConS U0 reeni jpg eff circle blueb jpe if square Web HMI red jpe gf circle bluel ipg f square demo ted jpg Bf circle gxeenD jpg f square exemple yellow ype gf cile greenl ipe ER square Ga yellow jpe Bf circle red jpg if square 4S RE
58. CP DAS 139 A 5 Multi Clients Connection to The W 8xx7 Ethernet Port Each W 8xx has an IP address and with a fixed Ethernet port No 502 Up to 8 PCs can link to one W 8xx throughout Ethernet Modbus TCP IP protocol Other PC or HMI can link to COM 2 RS232 port or COM3 RS485 or COM5 6 7 8 appendix G amp E Modbus RTU slave PC HMI PC HMI PC HMI LEN Modbus TCP IP Modbus RTU PC HMI MMI IP2 A 6 Connecting Your PC To The W 8xx7 COM2 or COM3 The default Modbus RTU slave port is None when product is shipped out User may change it to COM2 RS232 or COM3 RS485 or None please refer to A 2 Modify The NET ID amp Modbus RTU port setting Please refer to appendix G amp E for more Modbus RTU ports Default communication parameter is 19200 8 N 1 Pin assignment of the Wincon s COM2 RS232 is the same as PC s COM 1 So the cable should be 2 3 cross PC W 8x37 3 Pin D Sub COM CD 1 Rad e n c RAD 2 TAD 3 TaD 3 DTRA GAD 5 GND 5 DSR B RTS 7 CTS 6 RI8 If connecting PC to Wincon s COM3 RS485 a l 7520 RS232 485 converter is need as below PC W 8x3 9 Pin D Sub COM3 ED l 7520 T p3 Rs232ms485 Pt E GND 5 Convetor D D Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 140 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 hardw
59. DRRDD S SSSSSSSS5S555555555555555555 5 OTT c pc set RRN SHIT UMEN e Se E S UU UU UI I E E E R E ERRER EREEREER Wen e r D D E P EE S ooo oo 7777 5 n c S juges m I tecum cue Lu o o Se sere a SS oom ooo S zem EE zem zem oom i RPARRMAM p S5S9 b D se zn Sas 000 5 p p E D E e n ka aN f EE S UR DEAS s Se e mE m quud ons TE zur cm EE Please aa uS us duree c c 100 100 grote o pu E nns 3 s D ucc 5 I zit 4 iiie ren iiti SER 233 Ri ui on oU IS nu p 1 penu Qm ir NIXUS NY hd Ir QU AA X Eod E RE E eR e uq ees p DN DS puc c em NE cem boe once eem bosse en PS eN PPS ESENES ENNEN xe ir irirna m ESSER CESSES HRS n Dp S LEE S S i Eee EREM pousnem 3 dm 2 EEEE EENES E EUERE NERENN UREN up E ONES m uu uu uu SRS eee MEM eec E S O e um NES p ES Tc WT ens rs secrete EDEN up E UE ix p v v OC Q V V d p aseessa pepe Mu L LL 1 o SERERE i E uem m itt E 3 oag VV PRESE Er Et PNE D RES VOREPEEEEDEEEEEEE UNE t E Mtm e em m ud d E EX E e o e o T V V SEES ED EES SSD EES EEE OEE pp S QV o vU VU U AEAEE n DN ende Re UNE QC o o o o ON oo j p p D S S E S te EEE T a
60. E You can see outputs OUTOT1 will blink in the period of 8 seconds Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 54 You can adjust the T 1 variable while the program is running To accomplish this click on the Dictionary icon which will open the ISaGRAF Global Variables window as shown in the first two pictures below Click on Timer tab and then double click on T1 to change the timer value to TZ4000ms this means 4000 ms Then click on Write File Edit Options Help HI LT nun ISaGR AF EXAMPLE Global timers Fie Edit Tools Options Help e E L lobe Booleans Integers Reals Timer r instances Defined worda Aftrib Addr Value Comment ITTITTTITITITITITITTITITTITITITITIIIIDIIIIIIEIIIIIEEIDI ITETITITTTITTTTTITTTTTTTTTTTTTTTTTTTTTITTITTTTTTTTTTTTTTITTTTTTTTITITTTTITTTTTTTITITTITTITITTTTTITITTTHITTTITITTITITTETTHITHITTTTTHITITIIIIIIIIIIIEIP w000 internal t os Enter new value T HALO ms Eo 4 Start Stop Cancel Now we are going to simulate the K1 amp K2 input Click on K1 using the right button of the mouse JH examplel E File Tools Options Help AXE Click c on K1 using the right button of the mouse Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 55 To exit simulation please close the debugger window ISaGRAF EXAMPLEI Debugger E File Contol Toole Optons Help N Pr o A
61. E RE AE Rts Met E AEEA EEEE EEEE E BS n iE x ppp REEERE raana Perenn ns pn oe xS vu vum vens ves ERP RE EERE EERE R REE EROR eR URN DRE ERU unn i e 4 3 UD M xu s E nbn v V S U V V H NT o I nyy 2 i s seeette ceaectcesscte UD ie rere sa m 5 cuum Monenenm s d uu p v v c p vv v c RRN pup DE 5 S S pc JJ UU D UUU 2 S p IT mm Em is Hm m ss n SESS SOOO In the toolbox menu select Combo box ndows CE NET Device from the Development Device ee BESES SESS E RERE U WU gnopoa arity ess SSS PM uU i ae um MS p S OO UU Hu 00000000000 S 2 S vU S UU v v S CES S UU v 2 V v QU SS S QU y v UU S p S SSUES GEASS 8 I S DARRER jesse cnr TA Ji i iii a SS S D CESESE Fy BA aac poy o Fee we x un mS DPI PU E 13 zu Wenn mnn zi Wu um RR ARTI is VINE s PRONUS E Sm pus eee n Wen M Y tey E E a v1 E SER Buusu su neu au NAMEN RRRA BS aus NAME NNNM AM ABMnMRM aM Munn RMEMA AME MY y pU E s gt Serene Bs DURER UNUS nh eU tU tU tU tU td D 31 AEN s AR HSSHASHSSSSSHSSSSHSSHSSHSSSSHSSSS BSS RIA SAM SARI AIR ASA RAI A MASA RS IRA aes lt pi bd USSESSSSSSSSHSSASHUSSH SSS MIRA SAN SA ARIA SAM SA IRA MM MSMGAMOME M s MONS UNNOS NNNUNN sa v ETT p v o c C v Vo pee ene TIEDDDEDEEEEEEEEEE DEDE EE EEEEEEEEEEEEEEEEE eee Eee ee eee eee eee eee eee eee eeEd s SSS See ee SS SS ee ee v bU OU UOV V S V SS S SSS S
62. EAF Project Management BG x File Edit Project Tools Options Help gg logge separator redundant Master 192 158 3 199 com 7043 4 H ont redundant Slave FEE aar redundant Slave ET redundant Slave 192 153 3 138 come 0430 Mowe up in list Move down m list mb HE demo 47b F Project comment text a Reference exa Author Project examnle Cms 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 m ISaGRAF Project Management E 3 ioj x File Edit Project Tools Options Help DE tet Melt 9 tes 2 Eg demo bla T188EG redundant Master 192 166 3 199 com lt gt 7043 f demo 46b 7188 G redundant Slave Eg demo 49b 8437 8837 redundant Slave Eg demo 451b T188EG redundant Slave 182 158 3188 com2 7043C E examplel fi demo 4 b Heterence exa Author Double click on the project name to get into the project window T 4 1 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 To begin this process first click on the Dictionary icon and then click on the Boolean tab to declare the Boolean variables that will be used in our example program ISsGRAF EXAMPLE Programs ENS ini xl File Make Project Too
63. ECT FROM THE W 8XX7 cccccececcecccccccecceusccacsueaceneacs 141 A 8 LINKING l 7000 AND I 87K MODULES FOR REMOTE I O enm Imm 142 A 9 LINKING TO AN HMI INTERFACE DEVICE ccceccecceccecceccacccccccceececueccecuecceaneaueaneases 143 A 10 LINKING TO OTHER MODBUS DEVICES cccccceccccecceccececccceccaceueaceaecueaesneauearstaneaeass 144 APPENDIX B UPDATE WINCON S ISAGRAF DRIVER TO HIGHER VERSION 145 APPENDIX C DIMENSION entend EU ett en LUE T0010 5sueoPco oid DP c DINI IcP s Io ds RUD OIEII A0COIeDes 149 C 1 WINCON 8037 8036 8047 8049 0 ccc ccccccccccccccccccccccccaccceaceuecceacenesueaesneateaeeneaueannes 149 2 2 WINCON 6337 6356 834 7 6346 scinccsvsctecnissatoaaiusedeoantascieatientdeathsbutatetabetalenaesaaeubesubaueds 150 C 3 WINCON 8737 8736 874 7 8 74G ccc ccccccccccccccccccccccccceccececceccccecneceeaesueaesneaeeueenegueanenes 151 APPENDIX D HOW TO ENABLE DISABLE W 8X47 S LAN enIn I 152 APPENDIX E USING EXPANSION RS 232 OR 485 OR 422 een 153 APPENDIX F SLOW DOWN ISAGRAF DRIVER S SPEED ern 155 PLO MOUQQus didis ir Hara d HD edible e db dil d tle mb a a fe n 155 APPENDIX G SETUP MORE MODBUS RTU SALVE PORTS een 156 APPENDIX H COMPILING ERROR RESULT IN DIFFERENT ISAGRAF VERSION 157 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 4 Reference Guid
64. EFERENCE FOR AN APPLICATION seeseseee nennen nennen nn nennen 97 6 9 BUIEDING AN APPEICGATION PROGRAM ausis du nia iae s dina ud utt secs ur ctos exor uus cioe e xd ndee nues 99 6 4 EXECUTE THE APPLICATION IN THE WINCON 8XX7 PLATFORM eren 100 D O EXAMPLES cceesur entes ieu te ski E an eiutidtueiuboisoe strato f Ge toe sete bod Mise pe dame patct Du Copa Ene Sa 100 6 0 QUICKERNET DEI a inh EU io RIA EUIS RA UMS atu tet oe atu oe OEC Dee cu o ea 100 6 6 T Digital WW FUNCION S s tiae coto Soa b obs bad e b Rn du ed ER ERO EMEN ee 100 onov AINGIOO R W FUNCION ur 102 CHAPTER 7 EVC PROGRAM RUNNING IN WINCON ACCESS TO ISAGRAF VARIABLE S m 104 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 3 CHAPTER 8 INDUSOFT PROJECT amp WEB SERVER RUNNING IN WINCON ACCESS TO ISAGRAF VARIABLES 1 crie erru unen ru rhe a manam na arra RR RSEN SERERSRARRRER EROR ERE ENSE rurA 106 CHAPTER 9 ISAGRAF EXAMPLE PROGRAM nnnm nnne nnn 119 9 17 GET ON LINE Peces tatto ca nn aa ae ee ene ee eR RN eR IS ee eee eT 119 9 2 INSTALLING THE ISAGRAF PROGRAMMING EXAMPLEG 2 sccececceccececcccecceccaceceaceaeanss 122 CHAPTER 10 PROGRAMMING W 8XX7 BY NON ISAGRAAF ern 126 10 1 SET WHMI EXE TO BE FIRST AUTO EXECUTE PROGRAM enm mener nnn 126 10 2 SETTING UP AN EVC WEB HMI DEMO c cccccececcececc
65. EO on OK HAAN dn And also check if your ISaGRAF project already download to the controller Section 4 3 or or section 3 2 4 Wincon ISaGRAF Driver Setting Web about Configuration slave Number mmm Current running ISaGRAF project name is listed here One Modbus ATU Slave Port Baud Rate 9200 HKH 8 1 Project Current Application fexample1 Elapsed Time o 0 44 18 And do you assign the correct Modbus Network address to the respective ISaGRAF variables Section 4 1 5 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 76 Chapter 5 Web HMI Basics Important Please always set a fixed IP address to the Wincon No more DHCP Please always set W 8x47 8x46 s LAN2 as disabled if not using it refer to appendix D Please use NS 205 or NS 208 Industrial Ethernet Switch for Wincon 8x46 8x47 Note 1 This chapter describes the programming basics for the Web HMI We will not focus on the HTML programming basics If you want to know more about the HTML programming the best way is to buy a HTML related book from the bookstore There are a lot of books doing this job 2 The Web HMI only supports the basic HTML tags It doesn t support ASP PHP or JSP or other Page Server language 3 Please do not use lt frameset gt lt frameset gt frame lt frame gt in the Web HMI 4 Note The object name amp object ID amp code amp variable name amp function n
66. F Ver 3 4x or Ver 3 5x IEC61131 3 standard LD ST FBD SFC IL amp FC or Non ISaGRAF Microsoft EVC 4 0 or VS NET 2003 VB NET C net Reference Guide ISaGRAF English User s Manual Wincon ISaGRAF CD napdos isagraf wincon english_manu user manual i 8xx7 pdf ISaGRAF Hace H FH Wincon ISaGRAF CD napdos isagraf wincon chinese_manu chinese user manual i 8xx pdf Resource on the Internet http www icpdas com products PAC i 8000 isagraf htm Technical Service Please contact local agent or email problem report to service icpdas com FAQ on the Web http www icpdas com fag isagraf htm Copyright Apr 2005 by ICP DAS CO LTD All Rights Reserved Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 1 Table of Contents GETTING STARTED WINCON ISAGRAF PAC enne nnne nnn 1 TAO CITA s COPINE IN OU CO erreira EE aeta Ree Ma eu Ro Ru Ra a e Rue RAUCHEN SD 1 FABLE OOFACONTENLTS ctitestass tae Eot es EE Peut UE itus EsD ni raso qe Es E coros P E esU REI ON roni E PERS best d 2 REFERENCE GUIDE ae ae EAE 5 NEW FUNCTIONS WILL BE AVAILABLE IN THE NEAR FUTURE 6 HOW TO SELECT BETWEEN W 8X47 W 8X37 1 8XX7 I 7188EG amp I 7188X9G 7 SPECIFICATIONS W 8047 8347 8747 DUAL ETHERNET unes 8 SPECIFICATIONS W 8037 8337 8737 1 ee eere err err rer nn rer nnnm 10 CHAPTER T TYPI
67. F Close debugger will end RUN mmm simulation 4 3 Download amp Debug The Example Project We have 2 ways to download the project to the Wincon One is using Ethernet cable the other one is using RS232 cable Here will show you the RS232 way Please refer to section 3 2 4 1 if you would like to download the project via ethernet To begin this process please install the hardware as below The RS232 cable wiring should be 2 3 cross as below figure Please make sure the Modbus RTU Slave Port is set as COM2 refer to Appendix A 2 or it can only be download via ethernet COM 2 RS232 W 8xxT7 8xx6 PC W 8x37 3 Pin D Sub COM CD 1 RAD dino RAD 2 TAD 3 TAD 3 DTR 4 GAD 5 GND 5 DSR B RTS 7 CTS E RI8 This section lists how to download the ISaGRAF program via RS232 cable However user may also use Ethernet cable to download prgram to the Wincon 8xx7 please refer to section 3 2 4 1 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 56 Click on the Link Setup icon in the ISaGRAF Programs window When you click on the Link oetup icon the following window will appear Please set the proper value ini x ISaGRAF EZAMPLEI Programs File Make Project Tool Debug Optone Help Begin mm PC PLC link parameters Net ID of the W 8xx7 Default is 1 E Target Slave Number Cancel Setup Communication port Control B audrate DK Parity Eee No flow co
68. File Make Project Tools Debug Options Help x de Ow RouGt m Make application Begin Ventw Touch Application run time Options Compiler options Resources The Make Touch command will reset all files that have been successfully compiled to become Not compiled yet Then the next Make Make application command will re compile all of them Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 157
69. GAL APPLIGA TION ciini se eoi eoe eR Ee pe E Eo E ve dep vp Pene evo dedo epo eec iwE Ee 12 1 1 REDUNDANT SYSTEM TWO WINCON 8X4 7 8X46 ccc ccccccccccccccccccccccccceueaccaeccecesueaeeneass 12 1 2 DELIVERING MESSAGE VIA ULIS 2 oi ctckescnicchatacusaies ssi osas db eked e byke estas eese ema oak aaa mae 13 1 3 GET CLEAR TEMPERATURE VALUE OF TEMPERATURE IO 2 cceccececceccececceccceeceacsceaceneacs 13 1 4 UP To 5 MODBUS RTU SLAVE PORTS RS232 485 OR 422 cece cece eccseceseeee esse eeneeeaes 14 1 5 INDUSOFT WEB FEATURE IN WINCON 8X36 8X46 1 0 0 cc cccccececceccececccccececceccceececesueaceneass 15 1 6 WINCON WEB HMI ON THE LOCAL ETHERNET 2 cceccececcececccceccececccaceceaccaueceatsneaeeneass 16 1 7 WINCON WEB HMI ON THE INTERNET 2 0ceccececcecccceccccececcccececcececceacsneaceaeacectsneaeentass 17 1 8 DOWNLOAD DATA FILE FROM THE WINCON CONTROLLER ceccececcececceccecccceceacsneaceneass 18 1 9 PLC WITH LARGE STORAGE MEMORY cccceccececcecccceccccececcecceceacecuaueacsneateesueatseaeentass 18 1 107 MUTEAMI amp REMOTE VO ecce cactcnancarectentadechanddehoeduascadhasasdhckdacsdadhdsataadhdadedackaasesnuueranduns 19 i D Di eid Saha cre bakes ORE ORDRE nor eT PERDERE 19 1 12 DATA EXCHANGE THROUGH ETHERNET amp RS485 2 0 0 cc cc cccccccceccccccccccececcccccecceaesueaceneass 20 Tee LB MOTON OON TRO 2 ibat Leva vaca uiedauis dane e UE Berk E ote veas eben vb uva lume PUE aS 20 1 14 MODB
70. Getting Started Wincon ISaGRAF PAC Important Please always set a fixed IP address to the Wincon No more DHCP Please always set W 8x47 8x46 s LAN2 as disabled if not using it refer to appendix D Please use NS 205 or NS 208 Industrial Ethernet Switch for Wincon 8x46 8x47 ICP DAS CO LTD would like to congratulate you own your purchase of our Web Programmable Automation Controller Web PAC Wincon 8037 8337 873 support ISaGRAF 10M ethernet port x 1 Wincon 8036 8336 8736 support ISaGRAF amp Indusoft 10M ethernet port x 1 Wincon 8047 8347 8747 support ISaGRAF 10 100M ethernet port x 2 Wincon 8046 8346 8746 support ISaGRAF amp Indusoft 10 100M ethernet port x 2 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 and name of company are used for identification purposes only and are the registered trademarks of their respective owners or companies Development Software Two options ISaGRA
71. Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 34 3 2 5 Step 5 Download Web Pages To The Wincon Please copy all files in the CD ROM Wincon ISaGRAF CD napdos isagraf wincon WebHMIdemo whmi_05 to the W 8X37 8X47 s CompactFlash TempWMTTPWebHMN whmi 05 demo need one I 8077 If you don t have the l 8077 8 IN amp 8 OUT simulation board you may download whmi 01 CD ROM napdos isagraf wincon WebHMI_demo whmi_01 B Since the Web Pages are modified or new copied please run rs whmi exe to reset the Web server The rs whmi exe must be run every time when user has modified any file in the W 8xx7 s CompactFlash TempYHTTPWebHMI iri Microsoft Wore rdPad s El Internet Explorer r oo WinCon 8000 IF Viewer rs_whmi exe Windows CE net 3 2 6 Step 6 Show Time Please run Internet Explorer Rev 6 0 or higher key in the IP address of your W 8xx7 For example 61 218 42 10 or http 61 218 42 10 E Login Microsoft Internet Explorer EE ME fem Fae BCA CAT HH E Ques Hp Tee J L owe Se ST NN C 61 218 42 10 Norton AntiVirus Gl msn l wes ESB 018 OGDRTDEREREAaMEH Hotmail QB Messenger Wincon The Web PAC Please click on Enter to login Enter Ed E EE E Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 35 Chapter 4 Programming A Web HMI Example Important Please always set a fixed IP address to the Wi
72. I Quick LD P EN iol x File Edit Tools Options Help Be GR Be KOs br QQea kh FO JHE F3 3HE Fa GH F5 40H Fe HE F7 3H Fe dy F3 tie UU Integer H eal Timer Message Program C functor bd k Input 1 in the l 8077 board Ez Input 2 in the I BU 7 board OUT DUI TU File Edit Tools Options Help X GR 88 Bd Eal aaa a F2 4Hi FONE F4 GH F5 40H Fe HE F7 3H F8 y Fa ta Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 49 4 1 8 Connecting The I O We have defined variables name of OUTO1 OUTO2 as output attribution while K1 amp K2 as input attribution in step 4 1 4 These input amp output variables should be map to physical I O in the controller before they can work To do that click on I O connection to get into the I O connection window Double click on the No 1 slot Please make sure your l 8077 I O board is plug in slot 1 amp then check on the Equipments amp double click on the I 8077 8 CH DI amp 8 CH DO simulator ISaGRAF EXAMPLE Programs ES File Make Project Tool Debug Options Help ajgem Le A WO connection Begin iBl x File Edit Tools Options Help B gt SBrPrn tt RK amp Click on Note to get explanation of this I O device ag E eh io Link to Modbus TCP IP ILI bus m Mew gt Set as Fous Master fous_ amp Mew
73. ICON The MMICON is featured with a 240 x 64 dot LCD amp a 4 x 4 Keyboard to display picture string integer float amp input a char string integer amp float Deliverngi Message Ethernet port can setup to send receive message via UDP IP protocol to commnunicate with PC or other device Redundant Solution Two controllers to be one redundant system One is redundant Master one is redndant slave Master handles all inputs amp outputs of the remote RS 485 I O I 7k amp I 87K at run time If master is dead Slave will take over the control of remote I O All Outputs should be configured as RS 485 remote I O Inputs can locate at slot 1 to 7 or configured as RS 485 remote I O Change Over Time lt 500 ms Synchronization lt 75ms Battery Backup SRAM W 8337 8737 supports up to 4096 retain variables with a S8256 8512 plug in the socket of the new back plane ver 3 slot 2 6 7 slot 2 8 Optional S256 256kbytes S512 512kbytes Note W 8037 doesn t support S 256 S 512 File Access The Compact Flash card can be used for storing run time data amp any controller setting with file operation by f xxx function block The CF card size default is 128Mbytes can be more Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 11 Chapter 1 Typical Application 1 1 Redundant System Two Wincon 8x47 8x46 Redundant with RS 485 l 7000 amp I 87K modules At least one RS 485 l 7000 or I 87K module should be use
74. ICP DAS s MMICON The MMICON is featured with a 240 x 64 dot LCD amp a 4 x 4 Keyboard to display picture string integer float amp input a char string integer amp float Ethernet port can setup to send receive message via UDP IP protocol to commnunicate with PC or other device Two controllers to be one redundant system One is redundant Master one is redndant slave Master handles all inputs amp outputs of the remote RS 485 I O I 7k amp I 87K at run time If master is dead Slave will take over the control of remote I O All Outputs should be configured as RS 485 remote I O Inputs can locate at slot 1 to 7 or configured as RS 485 remote I O Change Over Time lt 500 ms Synchronization lt 75ms W 8347 8747 supports up to 4096 retain variables with a 8256 8512 plug in the socket of the new back plane ver 3 slot 2 6 7 slot 2 8 Optional S256 256kbytes S512 512kbytes Note W 8047 doesn t support S 256 S 512 The Compact Flash card can be used for storing run time data amp any controller setting with file operation by f xxx function block The CF card size default is 128Mbytes can be more Will be available W 8047 8347 8747 s second ethernet port will support connecting to Modbus TCP IP IO modules Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 9 Specifications W 8037 8337 8737 Development software ISaGRAF Version 3 Max code size Non ISaGRAF Web HMI security Po
75. ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 73 4 4 4 Step 4 Download Web HMI Pages To The Controller The steps are similar as listed in Section 3 2 If you havn t practiced Setting Up A Web HMI Demo listed in the Chapter 3 it s better to do it once to get familiar with it First set the web options Check on Enable Web HMI and then click on Setting Please check on Enable Account Security and then click on Edit to set username password Then remember to click on OK Note If Enable Account Security is not check any user can easily get access to your Wincon through the Internet Explorer Recycle Bin My Documents a H F a Microsoft WordPad Microsoft Settings Please don t Disable Ftp Service at design time because we need it to download the Web pages Windows CE net To set up advanced security click on Settings WinCon 8000 Wincon ISaGRAF Driver is running double click on it Wiser Hame Password Priority Middle User Mame superd Password Priority High User Mame Password Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 74 And then please copy all files in this example1 to the controller lt your hard drive gt example1 to the Wincon 8xx7 s CompactFlash TempWHTTPWebHMMN Since the Web Pages are modified or new copied please run rs whmi exe to reset the Web server The rs whmi exe
76. Keyboard ij MAIN DRIVER SHEET SA Resize Border OPC M Status Line Te a CJ TCPAP n Ero mali is nett Enable ToolTips Hide Taskbar Auto Screen Scaling Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 114 Web Thin Clients Select Project gt Settings to open Project Settings window On the Web tab select Data Server IP Address then type W 8xx6 s correct IP address and click OK InduSoft Web Studio HainPage scr Rue Ed View Ins Presect lb Too y E Settings JE UI 2 i a d ER We aol b s E E Ix es ee a be es ee ee ee ee ss Se ee aE rcs e d icm 2 1000 IF Security Disable Remote Client Commands Auto Screen Scaling HEJ Screens fi MeinPage s 1g Group Screen BH stop display test E Run Application STOP stop Application send Period ms EF Execution Environment of Symbols g Logon Enable ToolTips Enable File Compression Log Virtual Keyboard _ Enable Download and run the project Select Project gt Execution Environment to open Execution Environment window On the Target tab select Network IP then type W 8xx6 s correct IP address and click Connect 35 File Edit View Insext Project Tools Window Help Pea Bd rig 10 20K pi ET pajege ae 24 zt DERE S Fle UG o gt ES Run Application LEGGO Q E
77. Master protocol Please refer to Chapter 8 of the User s Manual Of The ISaGRAF Embedded Controllers for more information RS232 COM2 RXD 2 TXD 3 GND 5 RS485 Getting Started Wincon ISaGRAF PAC Modbus device RS232 TXD RXD GND RTS Modbus device RS485 485 485 Ver 2 0 Apr 2006 by ICP DAS Modbus device RS485 485 485 144 Appendix B Update Wincon s ISaGRAF Driver to Higher Version Note If you have purchased W 8x37 8x36 or W 8x47 8x46 the Wincon ISaGRAF Driver is already installed with license when shipping out You don t need to install it However if you want to upgrade to higher version you may upgrade it by yourself The Wincon ISaGRAF driver can be obtained at Wincon ISaGRAF CD W 8x37 napdos isagraf wincon driver w 8x37 lt version Number W 8x47 napdos isagraf wincon driver wincon 8x47 lt version Number For example version 3 25 is located at W8x37 napdos isagraf wincon driver w 8x37 3 25 W8x37 amp W8x47 driver are different W8x47 napdos isagraf wincon driver wincon 8x47 3 25 Or you may download it from http www icpdas com products PAC i 8000 isagraf htm 1 If your Wincon is W 8xx7 W 8xx6 please stop Wincon ISaGRAF Driver first However if it is W 8x31 8x39 or W 8x41 8x49 Wincon without ISaGRAF license please goto step 2 WinCon 8000 Microsoft z ok Microsoft Wincon ISaGRAF Driver Windows CE net is running double click on it
78. Modbus RTU slave port 1 can be COM2 or COMS which can be set on the Wincon s monitor by mouse refer to appendix A 2 2 User may enable 2nd 3rd 4th or 5th Modbus RTU slave port in COM5 COM6 COM7 or COMB only No support other COM port number 3 Before using this function please make sure COM5 COMG or COM COM8 does exist and well configured refer to appendix E 4 Via 2nd 3rd 4th or 5th Modbus RTU slave port user may use ISaGRAF to Debug Set val to the controller however user can not Stop Download Update the ISaGRAF program 5 To Debug Set val Stop Download Update the ISaGRAF program please use Ethernet port or Modbus RTU slave port 1 COM2 or COMS if enabled COM5 to COM68 is not for ISaGRAF to Stop Download Debug How to setup Please connect Rtu slav in the ISaGRAF IO connection window as below Re compile the project and download to the Wincon via Ethernet or first Modbus RTU port if it is enabled lox Fie Make Project Tool Debug ptons Help B mem Dg m m xe H ROG lt s T1 170 connection loj x s Edit Tools Options Help aegset tlr AlE Select board equipment E X 4 pel sel 21 m s Htu Slave Port 5 mw Baud Port2 19200 mbus asc Modbus ASCII master mmican Connect MMICON by Com or Corr me reserved 0 mus Rtu Slave Port 0 modem ps Set Password of Corm Modem Baud Port3 19200 Cancel EET ERSTES TY jm N Note sms Short Mszsage Service
79. P IP Supports Modbus TCP IP slave protocol for ISaGRAF amp PC HMI Web HMI protocol Ethernet port for connecting PC running Internet Explorer l 7000 amp I 87K Remote COMS supports l 7000 I O modules amp l 87K base I 87K serial I O I O boards as remote I O Max 255 l 7000 87K remote I O modules for one controller M 7000 series Modbus Max 10 R 485 ports COM3 amp COM5 to COM 14 if l 8142 81421i 8144 I O are found can support M 7000 series Modbus I O Each port can connect up to 247 M 7000 Modules Modbus master Supports multi ports of Modbus RTU ASCII master protocol to connect protocol to other Modbus slave devices COM2 COM3 or COM4 to COM14 if l multi port 8112 8114 8142 8142i 8144 are found Ebus to exchange data between ICP DAS s ISaGRAF Ethernet controllers via Ethernet port SMS Short Message One of COM2 or COMS if 1 8112 8114 is found can link to a GSM Service modem to support SMS User can request data control the controller by cellular phone The controller can also send data amp alarms to cellular phone Optional GSM modems M1206 or GM29 GSM 900 1800 User defined protocol User can write his own protocol applied at COM2 COM3 amp COM5 to COM 14 if multi serial port boards are plugged by serial communication function blocks Modem Link COM supports PC remotely download amp monitor the controller through a normal modem MMICON LCD COM or COM5 if 1 8112 8114 is found supports ICP DAS s MM
80. RS 485 remote I O Inputs can locate at slot 1 through 7 or configured as RS 485 remote I O Redundant Change Over Time lt 500 ms Synchronization lt 75ms Ethernet considerations Up to now only W 8047 8347 8747 s ethernet is 10 100 Mbyte type and dual ports I 7188EG W 8037 8337 8737 amp 8437 8837 is 10 Mbyte type All of them support Modbus TCP IP slave protocol I 7188XG amp 8417 8817 no supports Ethernet 2 W 8037 8337 8737 amp W 8047 8347 8747 or future advanced ISaGRAF controllers support sending receiving user s defined message string via UDP IP or TCP IP to PC or other devices However I 7188EG amp 1 8437 8837 no support them Windows considerations Only W 8037 8337 8737 amp W 8047 8347 8747 or future advanced ISaGRAF controllers support Window CE The W 8036 8336 8736 amp W 8046 8346 8746 support both ISaGRAF driver amp Indusoft driver Size considerations The controller size is W 8747 8737 gt 8817 8837 gt W 8347 8337 gt 8417 8437 gt W 8037 8047 gt 7188EG XG Price considerations Please consult with your local agent Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 7 Specifications W 8047 8347 8747 Dual Ethernet Development software ISaGRAF Version 3 Max code size Non ISaGRAF Web HMI security Power supply Protection General environment Temperature Humidity System CPU Watchdog timer Real time clock SDRAM amp FLASH Compa
81. S 100 Return Value None Example Set the output variable of Modbus Network Address 1 to True ocanKernel UserShare UserSetCoil Convert ToUInt16 1 1 Demo program WINCON ISaGRAF CD ROM A napdos isagraf wincon VB NET Demo vbdmo_ 01 napdos isagraf wincon VB NET Demobdmo 02 napdos isagraf wincon VB NET Demobdmo 03 m UserGetCoil Description This function is to get the value from a boolean variable by Modbus network address Syntax ScanKernel UserShare UserGetCoil IUserAddress As System Ulnt16 ByRef iStatus As byte Parameter iUserAddress Specify the Modbus Network Address of Variable 1 to 8191 iStatus Get the variable status iStatus 1 for True iStatus O for False Return Value None Example Get the variable status of Network Address 1 Dim iStatus As Byte ocanKernel UserShare UserGetCoil Convert ToUInt16 1 iStatus Demo program WINCON ISaGRAF CD ROM A napdos isagraf wincon VB NET Demo vbdmo_02 napdos isagraf wincon VB NET Demo vbdmo_03 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 101 6 6 2 Analog R W Functions mUserSetReg short mUserSetReg long mUserSetReg float Description These functions are to set 16 bit short integer 32 bit long integer amp 32 bit float value to the specified Modbus network address Syntax ScanKernel UserShare UserSetReg Short ByVal jUserAddress As System Ulnt16 ByRef iStatus As Integer As By
82. S S S S SS SS 8 2 585LF RR Ran jn Un PEE VL I 5 i Bitte is prie VIT RAV TDI nup E S Se o ee ee ee 7 e gp p p p p Uo o o 7 o o o o o o op o oo oo E E e RE RAT ET E ence RECETA i ndun muss on i i Wm i 5 i i i E i j a i i i j j j uuu nanan i VEMM nup jn jn jn nup NIEh RARAN 5 5 it ite race il f SS a a EES E A E E A SSS SESS SESS SS EEEE OSSES S pul IO AAA eT UT UU e m uo oom d MALA HAIR a a a a me Ha me me me Pr iit S e E E E Sea nine enh ate 3 On the Build menu choose Build Demo 4 If you have finished the step 1 4 you will obtain the following message in the Output window which means the execution application is built Otherwise you will get error messages Therefore you need to debug the source code and rebuild the application Build v ssnEseE Meere es oer esee merece exe es Rebuild ll 1 succeeded O failed O skipped Task List E Omtput E Index Results far Dim keyword 5 You can find the Demo exe file in Your VB net Project folder gt bin Release demo exe Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 6 4 Execute The Application In The Wincon 8xx Platform When you have finished the building process for Demo exe You can apply the developed executio
83. SB mouse 1 reset button amp 1 power Led 64 bit hardware unique serial number From 1 to 255 set by software Internal use for I 87K boards of W 8337 8737 W 8037 has no COM1 RS232 full modem signals Speed 115200 bps max RS 485 Speed 115200 bps max D D 10M bps NE2000 compatible 10 BaseT Program download port W 8337 8737 integrate with one I 8091 2 axes or two 8091 4 axes can do motion control 8 channels max 250Hz max for Off 2 amp On 2 ms Output square curve Off 2 to 32766 ms On 2 to 32766 ms Optional D O boards i 8037 8041 8042 8054 8055 8056 8057 8060 8063 8064 8065 8066 8068 8069 Relay boards can not generate fast square curve 8 ch max for 1 controller Counter value 32 bit 250Hz max Min ON amp OFF width must gt 2ms Optional D I boards i 8040 8042 8051 8052 8053 8054 8055 8058 8063 8077 Counter input 100Hz max Counter value 0 to 65535 16 bit Optional serial l 87K D I boards i Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 10 8 040 87051 87052 87053 87054 87055 87058 87063 Remote D I counter All remote l 7000 amp I 87K D I modules support counters 100Hz max value 0 to 65535 High speed counter i 8 082 100kHz max 32 bit i 8080 450kHz max 32 bit Protocols Modbus serial protocol Up to 5 COM ports COMO 3 5 6 7 or 8 can support Modbus RTU slave protocol for connecting ISaGRAF PC HMI OPC Server amp HMI panels Modbus TC
84. SKTUPSI BSEX 771 Browse Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 125 Chapter 10 Programming W 8xx7 By Non ISaGRAF 10 1 Set Whmi exe To Be First Auto execute Program The Wincon 8xx supports ISaGRAF programming method amp provides Web HMI solution by default by auto running the isawincon exe when controller is booting up If user prefer to program Wincon 8xx by using Microsoft EVC 4 0 or VS net 2003 VB net amp C net and access to the Web HMI it is also possible In such a case user don t need to purchase any ISaGRAF Software ISaGRAF 256 C or ISaGRAF 256 E Please run Start Programs Wincon Utility and then modify auto execute to run whmi exe Please make sure your Wincon CompactFlash SaGRAFY has at least 5 files whmi exe rs whmi exe mscorlib dll QuickerNet dll Quicker dll These files can be found at CD ROM napdos isagraf wincon driver w 8x3 version No CD ROM napdos isagraf wincon driver wincon 8x4 version No Or http www icpdas com products Software Web HMIAWeb HMl htm WinCon Utility 1 OK x Save Registry System Config Auto execute Yersion Update Shout Winton Utility 1 Testing Program 1 compact FlasFAISaGR AF isawincon exe Program 2 Browse Program 3 Browse Browse Browse Browse Browse Browse Browse Program 10 Browse Save Setting Then save Reg
85. Style Replace Partial a Don t redraw CK Cre Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 110 Select Text icon then clink on the main screen where want to establish a text and type 8077 DI O0 And select Text again following the previous text and type then select Text I O z4 CoOD Lies g nAF4 E Workspace X288 ww s BERSEL 2o oo LL a4 Project Demo O1 APP JB too o o n n t t t n M mE J Screens oss BORN DICE EN oo ee ee Ea Group Sereen PC Ce ee EE e IAE J OMEN Click on Text again to add Ga Symbols Click on Text first to adda a label and then click on label 8077_DI_0 Text 1 0 Double click the object and the Object Properties window will show as below then type DI in the Tag Expression I Replace Hint Text 10 H Tag E pressis C Input Enabled sre Password Canfirm Repeat former method to create other objects and click Save icon on the main menu to save this main screen page as MainPage scr Select File gt Save As HTML to create this screen that can be visualized in a remote station using a regular web browser Note For the Output object as 87024 AO 0 and 8077 DO O the Input Enabled of the Text I O should be checked as below Hg Replace Hint Tex 1 0 Tag Expression AO 1 A Minimum Salue V Input Enabled
86. The long integer amp timer amp float variable s Network Address No must occupy 2 No in the ISaGRAF project refer to section 4 2 of User s Manual of ISaGRAF Embedded Controllers or in the CD ROM napdos isagraf wincon english_manu User Manual l 8xx7 pdf That means if you assign a Network Address No 11 to a Real type variable or Timer or integer will have 32 bit value larger than 32767 or smaller than 32768 the next No 12 should not assigned to any other variable in the ISaGRAF project However you may assign No 13 to one another variable Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 83 5 4 2 1 Displaying Dynamic Boolean Data Demo example whmi 02 amp whmi 05 section 3 1 Let s look back to the refresh data function If user want to display the dynamic boolean value the below code can be used LANE The action of the image object B1 is defined here function refresh data B1 src img circle blue boolean val 1 jpg j if boolean val 1 71 it display image B1 as img circle blue1 jpg if boolean val 1 0 it display image B1 as img circle blueO jpg body onLoad init gt div style position absolute width 214px height 53px z index 2 left 102px top 79px gt img name B1 src img circle blueO jpg div The layout or location of the image object B1 is defined here by lt body gt the lt div lt div gt tag
87. US CONVERTER OF l 7000 amp I 87K I O eessseseern Hmmm 21 1 15 MODBUS MASTER RTU OR ASCII RS232 OR 485 OR 422 22 1 16 DOWNLOAD amp MONITORING VIA MODEM LINK c ccccecceceeeeceeeeeeseeeeeteeesueeeeeeeeeeeeeeenees 22 CHAPTER 2 SOFTWARE INSTALLATION enne 23 2 1 STEP 1 INSTALLING THE ISAGRAF SOFTWARE cececcccececcaceccccaceccacececeacsceaeacseeneauenss 23 2 1 1 When closing my ISaGRAF window on windows 2000 it holds Why 25 2 1 2 One Quick way to avoid the hold problem on windows 2000 26 2 2 STEP 2 INSTALLING THE ICP DAS UTILITIES FOR ISAGRAF rmm 2f 2 3 STEP 3 INSTALLING THE WEB PAGE EDITOR c ccceccececcececcecccccacccecceceaccaesceaesneaneneass 28 CHAPTER 3 SETTING UP A WEB HMI DEMO eenrnnmmHmHHH nn 29 GN ER 3B zx IMMO RUNTIME 29 3 2 STEPS TO SET UP A WEB HMI DEMO 0 cccccececcccecececceccacaceccacacsucaeacseeauaceneauseeneanas 30 3 2 1 Step 1 Setup The Hardware aa E EE AEEA EaP T 30 3 2 2 Step 2 Make Sure The Right ISaGRAF Driver Installed 30 9 2 9 otep 3 oet hg Ie WED ODUONS od guieexn ge boe petendo Iu AE ATI S Ed bai 31 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 2 3 2 4 Step 4 Download ISaGRAF Project esses seen 31 3 2 5 Step 5 Download Web Pages To The Wincon
88. Ver 2 0 Apr 2006 by ICP DAS 42 4 1 5 Assign Modbus Network Address No to Variables The Web HMI will exchange the variable value with the ISaGRAF project if they have assigned the proper Modbus network address The Web HMI only recognize Modbus No from 1 to 1024 However other SCADA software may R W the Modbus No from 1 to 8191 in the W 8xx7 Variables without assigning Modbus No will not be available by Web HMI and other SCADA software or HMI devices Please refer to CD ROM napdos isagraf wincon english_manu user manual i 8xx7 pdf for section 4 1 amp 4 2 for detailed information about assigning Modbus network address Please get into the dictionary then click on Tools Modbus SCADA addressing map ISaGRAF EXAMPLE Programs ee lol i File Make Project Tool Debug Optone Help LL Begin Begi i BE ini xl File Edit Tools Options Help Chuck declaration Modbus SCADA addressing map Eg xa stances Defined words omment ITETTTTITTTITTITTITTITTTTITTTTTTITTTTTTTTTITTTITTTITTITTITTTTTITITTTITITTITTTITITTITITITTTITITITTTTTTTITITTITTIIITTITITITITTITTIITTRETEIEIIIIIEIIIIIIIEIII EIIIIIIIIZM Import text Export text 8 mem ARR REER AER EA EE RRIA RRL L LR LNA RT N L R RIRU i Import irue false definitions r sort UU ir Renyumber addresses Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 43 Please click on Options Decimal or it will use Hexa
89. ame is case sensitive For example refresh data and Refresh data is different 5 There are more than 10 Web HMI examples in the Wincon 8xx s CD ROM Please refer to section 3 1 5 1 Basic Files For The Web HMI The basic Web HMI files includes 2 folders and 3 DLL files and 4 htm files as below Jimg default image files jpg bmp gif msg default message files wincon js amp xxerror htm whmi filter dll three DLL files login dll main dll index htm first default page login htm the Web HMI welcome page menu htm the page menu page normally on the left on the Internet Explorer main htm first page when successfully login User may put his own image files into the folder named as user img And put user defined javascript file or css file into the folder named as user msg Other folder name is not acceptable by the Wincon Web HMI The index htm file is the default entry page of the web server User should not modify it The index htm re directs to the login htm file in 1 to 2 second when someone visits the Wincon 8xx via the Internet Explorer User may modify the login htm menu htm amp main htm to fit his own need Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 77 9 2 Login htm Login htm is the first welcome page when a user visiting It can be modified Below is the basic code for the login htm lt html gt This line is only for
90. are device or software program that uses the CTS and DSR signals you will need to wire the RTS CTS and DTR DSR signals together as shown below PC 9 Pin D Sub DD MR TAO 3 GMD 5 WH DTE 4 DSR 6 EIS CIS A 7 Deleting the ISaGRAF Project From The W 8xx7 For some reasons user may delete the ISaGRAF program in the Wincon 8xx7 8xx6 controller WinCon 8000 M Microsoft Windows CE net Wincon ISaGRAF Driver is running double click on it Click on Setting amp then click on Delete ISaGRAF Project Wincon ISaGRAF Driver OK r Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 141 A 8 Linking l 7000 and 1 87K Modules For Remote I O The W 8xx controller system can use its COM3 port to link to ICP DAS s I 000 and I 87K series of remote I O modules This configuration can be very useful in applications that require distributed remote I O throughout the system You can link up to 255 l 7000 or l 87K series remote modules to one W 8xx controller system It is better not to link up to 40 I 7000 or I 87K You must remember to set each l 7000 and l 87K remote module must have a unique address and be set to the same baud rate as the W 8xx controller system For more information regarding setting up and programming an l 7000 87K remote module please refer to Chapter 6 Linking To l 7000 and I 87K Modules of the User s Manual Of The ISaGRAF Embedded Controlle
91. b gt lt diy gt Please modify T1 xxx ms lt div gt to become T1 lt b id T1 gt xxx ms lt b gt lt div gt lt div style position absolute width 98px height 28px z index 2 left 4px top 45px id layer16 gt lt form namez form L21 method post action main dll gt lt input name BEGIN type hidden gt lt input name L21 type text size 8 value xxx gt lt input name END type hidden gt a lt form gt Please insert below code inside Layer16 SnD SP aN lt form name form_L21 method post action main dll gt lt input name BEGIN type hidden gt lt input name L21 type text size 8 value xxx gt lt input name END type hidden gt lt form gt lt div style position absolute width 67px height 33px z index 3 left 106px top 44px id layer1 7 gt lt input type button value Enter onclick Check_L21 gt amp nbsp lt div gt lt p gt amp nbsp lt div gt Inside the Layser17 please insert lt input type button value Enter onclick Check_L21 gt We have finished the code in the lt body gt lt body gt area Now please go to the head area Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 70 In the head area please modify the sample code to be as below variable to record object s blink state O not blink 1 blink For example kkkkkkkkkkkkkkkkkkkkkxkx kkkkkkkkkk var B12_blink 0
92. ccecececceccccaceceueaeacecueceneaeas 127 10 2 17 Step 1 Setup The HardWGaFfe sini eism pe hien a ek eat ngu oes Eus R ape ak RR E RX E REA dA 127 10 2 2 Step 2 Make Sure Whmri exe Installed esses 127 10 2 3 Step 3 Setting The Web Options lseeseeseessesseeeee eene nnn nnn 127 10 2 4 Step 4 Download And Run EVC Demo Program eese 128 10 2 5 Step 5 Download Web Pages To The Wincon eeeeeeeeessees 129 102 eMe SCD 0 GNOW TINE T EE 129 10 3 EVC FUNCTION TO ACCESS TO THE WEB HM 0 ceccececcecccceccececceceecceaeanes 130 10 4 VB NET FUNCTION TO ACCESS TO THE WEBHMI1 ccccccecceccecccceceeceeceeceaeeaes 135 APPENDIX A HARDWARE SYSTEM amp SETTING enn HH nnn 136 A 1 APPLYING CORRECT POWER SUPPLY cccsccececcecccceccaccceaceaceccacenecceneaueaesuesueacsneasentass 136 A 2 MopDiFY THE NET ID amp MopBUS RTU PORT SETTING eem 137 A 3 SETTING THE IP ADDRESS FOR THE W 8XX7 2 ccceccececcecceccccaccccaceaecccacsneacsneaeeeeaeans 138 A 4 CONNECTING YOUR PC To THE W 8xx ETHERNET PORT 2 cccecccceccccececeacsceaceaeacs 139 A 5 MULTI CLIENTS CONNECTION TO THE W 8xx7 ETHERNET PORT cce 140 A 6 CONNECTING YOUR PC To THE W 8xx7 COM2 OR COMB ccccceccecececcececeueeeenenss 140 A 7 DELETING THE ISAGRAF PROJ
93. con isagraf napdos isagraf wincon english manu email net pdf W 8xx CD ROM napdos isagraf wincon english manu email net pdf Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 6 How to select between W 8x47 W 8x3 l 8xx7 l 7188bEG amp I 7188XG Memory considerations 1 The l 8417 8817 8437 8837 7188EG and I 7188XG has memory limitation The ISaGRAF code size can not exceeds 64K bytes size of the appli x8m file 2 W 8037 8337 87 37 and W 8047 8347 8747 has code size limitation of 1M bytes It is 16 times of the size of l 8xx7 amp I 7188EG XG CPU speed considerations The CPU of I 8417 8817 8437 8837 7188EG and l 7188XG is 80188 or compatible It is a 16 bit cpu It is not good at doing floating point value calculation If your application will do lots of floating point value calculation it is better to use W 8037 8337 8737 and W 8047 8347 8747 or future advanced ISaGRAF controllers The CPU is 32 bit and its speed is about 10 to 20 times compared to the l 8xx7 amp I 7188EG XG especially for floating point value calculation Redundant considerations Wincon 8047 8347 8747 supports redundant solution Two controllers to be one redundant system One is redundant Master one is redndant slave Master handles all inputs amp outputs of the remote RS 485 I O I 7k amp I 87K at run time If master is dead Slave will take over the control of the remote I O All Outputs should be configured as
94. ct Flash Card EEPROM I O slots VGA Port Two USB ports Reset Button amp Led Unique Serial Number NET ID Serial ports COM1 COM2 COM3 Two Ethernet ports Motion PWM output Counters Parallel D I counter Serial D I counter IEC61131 3 standard Languages LD ST FBD SFC IL amp FC accepts max 1M bytes ISaGRAF code size Appli x8m must 1M Options Microsoft EVC 4 0 or VS NET 2003 VB NET C NET PC running Internet Explorer can access to the Wincon 8047 8347 8747 via Local Ethernet or Internet or dial Modem monitoring and Control Three Level username and password protection 10 to 30VDC unregulated 20W when I O slots are empty Built in power protection amp network protection circuit Operating 25 to 75 C Storage 30 to 85 C 5 to 95 non condensed Intel Strong ARM CPU 206MHz or compatible Yes Gives hour minute sec date of week date of month month amp year SDRAM 64M bytes FLASH Memory 32M bytes for OS image One Compact Flash slot CF memory card is 128M bytes or more 16K bytes retention gt 100 years 1 000 000 erase write cycles I O slots W 8047 0 W 8347 3 W 8747 7 accept I 8K amp I 87K boards 1 VGA port resolution 320x240x16 to 1024x 68x16 USB 1 1 Host ports for USB drive or USB mouse or USB Key board 1 reset button amp 1 power Led 64 bit hardware unique serial number From 1 to 255 set by software Internal use for l 87K IO boards of W 8347 8747 W 8
95. d All Output channels should be at RS 485 l 7000 amp I 87K modules Input channel can locate at Slot 1 to 7 or at RS 485 l 7000 amp I 87K IO Redundant Master RS 485 COM3 I 87K I O Ethernet LAN2 Cross Y COMS Redundant Slave Redundant with Modbus device amp RS 485 l 7000 amp I 87K modules At least one RS 485 l 7000 or I 87K module should be used All Output channels should be at Modbus devices or RS 485 l 7000 amp I 87K modules Input channel can locate at Slot 1 to 7 or at Modbus devices or RS 485 l 7000 amp I 87K IO Redundant Master RS 485 COM3 Ethernet 87K HO LAN2 Cross i COM3 Redundant Slave 1 89142 0144 RS 485 COM5 to COM14 Modbus IO Modbus IO Note Please refer to Chapter 20 of the ISaGRAF User s Manual for more information Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 12 1 2 Delivering Message Via UDP 4 cc RS232 485 422 Other device Wincon 8x36 8x37 or Wincon 8x47 8x46 e Each Wincon can send string to other Local or Internet IP Can send to max 4 IP e Each Wincon can receive string from remote IP storing strings in the buffer then pull out each one by one First In First Out e Using UDP IP Can be PC lt gt Wincon or Wincon lt gt Wincon or Wincon lt gt other device which supports UDP e Easy to program in ISaGRAF software by using
96. decimal format as default First click on 00001 on the top window and then double click on ST to attatch it to the Modbus No 1 Modbus SCADA addressing map Lb D E X File Edit Options Help n Map NE Segment Kal ized DOCU Reserved anat Variables not mapped Booleans IntegersiReals Timers Messages K1 Input in the l 2077 board xs zig D 2i in the l o0 board J Please follow the same method to assign OUTO1 to No 2 K1 to No 11 K2 to No 12 and then Timer variable T1 to No 21 Then we have below window SaGRAF EXAMPLEI Global booleans Lini xil m EHE TEE Tuis Caters Et ISaGRAF EXAMPLEI Global CI x ER m D 4 XL et File Edit Tools Options Help Booleans integersiReals Timers Messages FB ir m Booleans Integers Reals Timers Messages FE ir ei e Se J phen ttt D ie Booleans IntegersReals Timers MegSages FB instances t Oo I jus In Name Attrib Addr Comment TI internal o015 The Modbus Addr No display here are always in hexidecimal format Very Important If assign Modbus No to Long integer or Float or Timer variables they should occupy two Modbus No Please refer to CD ROM napdos isagraf wincon english_manu user manual i 8xx7 pdf Section 4 2 for detailed information Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 44 4 1 6 Create The LD LD1 Program ISaGRAF will run every
97. diately added to the Global Boolean window Click on Save to store them saltRAF EHAMPLEI Global booleans File Edit Tools Options Help amp oe6e ada Booleans Integers Feals Messages FB instances Defined words Marne Attrib A ddr Comment K gogg K2 oooo OUTO1 o vt wut 0000 QUTOU 2 E iili OUTO w000 output false true Input 1 in the l 5077 board ie Input 2 in the eo board To declare the timer T1 variable used in this example program click on the Timers tab in the setup screen Double click on the colored area and enter the Name as T1 set the Attributes to Internal the Initial Value to T 8s then click on the Store button Then please click on X to close the dictionary window S ISacRAF EXAMPLE Global timers File Edit Tools Options Help PC BOOS w d XS Booleans IntegersiRealz Timer Messages FB instances Defined words _ Mame Attrib Addr Comment E Timer Variable Marne Attributes Store Civi S 7 value have E intemal Constant Retain Lenee ISaGE AF EXAMPLEI Global timers File Edit Tools Options Help BOOS Ee KES KE Booleans IntegersiReals Timers Messages FB instances Defined words Marne Attrib f Addr Comment Ti internal 0000 E T1 w000 internal t os Getting Started Wincon ISaGRAF PAC
98. dit to set username password Then remember to click on OK Note If Enable Account Security is not check any user can easily get access to your Wincon through the Internet Explorer Wincon ISaGRAF Driver Disable ETP Serveice Disable Telnet Serveice User Marne To set up advanced security click on Settings Password Edit Settings Priority Middle ser Hame Password Edit Priority High Iser Mame uper Password esee 3 2 4 Step 4 Download ISaGRAF Project Please download ISaGRAF project whmi 05 to the W 8X37 8X47 This project is in the CD ROM napdos isagraf wincon demo whmi_05 pia whmi_05 demo need one I 8077 If you don t have the l 8077 8 IN amp 8 OUT simulation board you may download whmi 01 CD ROM napdos isagraf wincon demo whmi 01 pia If you know how to restore whmi O5 pia to your ISaGRAF Workbench and download it to the controller please go ahead to section 3 2 5 However if you don t know it please refer to the below steps Please make sure the ISaGRAF Workbench is already installed to your PC refer to section 2 1 amp 2 2 Steps To Backing Up amp Restoring 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 technical service Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 200
99. 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 then 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 x Language E Cancel M Install 5SaGRAF Workbench C SaGRAF Documentation Acrobat Reader 4 0 Select the language Recommand to use English because this manual using English version c 1990 2000 CJ International IS aGHAF is a trademark of CJ International 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 LB EE d amp Book Diagnosis d Libraries Projects e Read Me EX Report NOTE You must install the hardware protection device dongle provided with the ISaGRAF software on your computers parallel port to for the ISaGRAF program to achieve fully authorized functionality m ISaGRAF Project Management File Edit Project Toole Options Help Ey c Gel f XE ae User s guide m Language reference IS aGHAF Workbench Wersion 3 41 Copyright 1990 2000 International Configuration Heference WOO Z2 Maximum number of IO vanables 372 While using ISaGRAF and
100. e ISaGRAF English User s Manual Wincon ISaGRAF CD napdos isagraf wincon english_manu user manual i 8xx7 pdf ISaGRAF aris ASEH Wincon ISaGRAF CD napdos isagraf wincon chinese_manu chinese user manual i 8xx7 pdf Resource on the Internet Newly updated ISaGRAF IO libraries drivers and manuals 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 FAQ Please visit www icpdas com FAQ Software ISaGRAF for Frequently Asked Question or visit http www icpdas com faq isagraf htm Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 5 New functions will be available in the near future Delivering message via TCP IP Around Jun 30 2006 Manual will be available at ftp icpdas com pub cd wincon isagraf napdos isagraf wincon english manu msg tcp pdf W 8xx CD ROM napdos isagraf wincon english manu msg tcp pdf W 8xx7 8xx6 connect to Modbus TCP IP slave IO or devices Around July 31 2006 Manual will be available at ftp icpdas com pub cd wincon isagraf napdos isagraf wincon english manu mtcp io pdf W 8xx CD ROM napdos isagraf wincon english manu mtcp_io pdf Sending email via ethernet Around July 31 2006 Manual will be available at ftp icpdas com pub cd win
101. e m E T3 E ARPEI TRILQOMO SARS eA Project create REC GEIB EEERCER ISaGRAF e 003712715 1 Language reference Project architecture Common objects Fi language D FBD language i AT ST language i IL language Standard operators function blocks and functio Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 119 On line help of ICP DAS add on functions amp function blocks A ISaGRAF Project Management File Edit Project Tools Options Help Halten te User s guide Em creation Language reference fi wdemo O1 Wincon demo Eg wdemo 02 Wincon demo Atout Lia To output at s mmmemerrr by SDAT W SYSTIM R Technical nates Em Project i 2003 12 IO boards Funchons Function blocks f sample teger analog addition ERTE Ww oOo Pie UE a e array rread byte value from array aray wowe byte value to arra tar f rread Hoat value fram array any owore float value to array an n rread long value from array an n wrwrite lang value to array arn w rread short value from array any Ww wowe short value to array BCO W Lanvert BCD to decimal value read float value 32 bit f Target s5 803 7 033 Call NUM Integer whit n 16 bit ta 1 word ADR integer read comar rwrite byte ta COM port camay wrwrite byte to COM port camay nmw write integers ta COM port comay wiwrwri short int ta COMM port camclear apen COM port camc
102. eb HMI solution by default If user prefer to program Wincon 8x37 8x47 by using Microsoft EVC 4 0 or VS net 2003 VB net amp C net and access to the Web HMI it is also possible In such a case user don t need to purchase any ISaGRAF Software ISaGRAF 256 C or ISaGRAF 256 E Please refer to Chapter 10 If user would like to program W 8x37 8x47 by using both ISaGRAF amp EVC or VS net it is also possible Please refer to Chapter 6 or Chapter 7 2 1 Step 1 Installing The ISaGRAF Software The user has to install two kinds of software before he can program on the W 8x37 8x4 controller system They are A ISaGRAF Workbench amp B ICP DAS Utilities For ISaGRAF User has to purchase at least one pcs of ISaGRAF Ver 3 4x or Ver 3 5x ISaGRAF 256 E or ISaGRAF 256 C 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 W 8x37 8x47 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 e Windows 95 e Windows 98 e Windows NT Version 3 51 or Windows NT Version 4 0 Windows 2000 Or Windows XP Steps To Installing The ISaGRAF Workbench Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 23 Insert the ISaGRAF Workbench CD into your CD ROM drive If your computer
103. ed Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 95 Chapter 6 VB net Program Running In Wincon Access To ISaGRAF Variables This chapter lists the procedure for creating the first demo program by Visual Studio NET development tool The ISaGRAF driver of the Wincon 8xx supports QuickerNet dll amp Web HMI since Rev of 3 12 6 1 Create a New SDE Project Let s start with the traditional Demo application which while clearly trivial still illustrates in a nutshell the entire development process We will assume you have installed both of Visual Studio NET and the Smart Device Extensions SDE development tool Furthermore you are trying to develop the user program for applied in Wincon 8000 controller target device The following steps illustrate in detail for the developing process n Microsoft Visual Studio NET 2003 software And then in the New and select the project item to open the New Project In the first users need to o enu of File please click th ialog Open the New Project dialog and select development tool as following Here we provide two ways for developing application for Wincon 8000 2a Select from Visual Basic Projects and the Smart Device Application tem m e x ee ee d UU a E um 7 Pp E E ilem m S RETE m 25 ze Wee iSi V IBI p E o eS cum cs cum uu m zr eil Pepi beh TT ccc ccc VTRERSDRSDRR
104. ember to click on Change Then click on Auto execute to do next step factory default Recover to Factory Settings Change FTP default directory to q M ampact FlashAISaGRAF Change HTTP default directory to Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 146 Winton Utility 1 Save Registry System Config i version Update About WinCon Utility 1 OK x Program 6 Program 7 SS Program o O O Program 9 o O O Program 10 azz Gave Setting Program 1 JCompact Flash ISaGRAFsawincoan exe Program 2 CompactFlash ISaGRAF isawin Then click on Save Setting each program Save Registry This step will re boot your Wincon controller Winton Utility 1 Save MM Config amp uto execute version Update About WinCon Utility 1 It will take several seconds to save your settings to registry and settings you changed will take effect after system Save and Reboot Any setting changed could be pre viewd View Registry Change all settings to factory default settings Recover to Factory Settings Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 147 3 Download isawincon exe rs whmi exe mscorlib dll QuickerNet dll Quicker adll amp license bin if your Wincon is W 8x31 8x39 or W 8x41 8x49 from your PC to your Wincon controller Then please copy
105. ere is form B2 B2 use the name of form B2 B2 to identify it div style position absolute left 85px top 166px width 47px height 31px input type button value OFF style cursor hand onClickz OFF form B2 form B2 B2 lt div gt A button to call OFF lt body gt First parameter is the name of the form Here is form_B2 The second is the name of the lt input gt inside the form Here is form B2 B2 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 90 5 4 3 2 Post Word amp Long amp Float amp Timer amp String Value to The Controller function Check form obj Check is used for posting any form flag confirm Are you sure if flag if GetUserlD form_obj false return false form obj submit return true Demo example else whmi_03 amp whmi 04 amp whmi 05 amp whmi 06 amp Whmi_07 section 3 1 return false L I function refresh data Display dynamic value here L15 innerText get long val 15 If data is word please use word val F17 innerText float val 17 If data is timer please use timer val If data is string please use string val The layout or location of the text object L15 amp F17 are defined bod Load init gt id pe here by the lt div lt div gt tags div style position absolute width 195px height 25px z index 2 left 45px top 5
106. get access to the Wincon 8xx via its ethernet port 1 Using Modbus TCP protocol at port No 502 ISaGRAF and other HMI can do this 2 Using ftp for example keyin ftp 10 0 0 103 on the Internet Explorer 3 Using telent for example keyin telnet 10 0 0 103 in the command window 4 Using the Web server The Web HMI does For safety recommand to disable item 2 and 3 at run time Wincon ISaaGRAF Driver Setting Web about Options V Enable Web HMI Check it to disable To set up advanced security click on Settings Settings And about item 4 please set proper username amp password for the Web HMI Wincon ISaGRAF Driver Setting W About PE nd ents Account Modbus List IP Setting Security Settings Setting user name amp Dable FTF Serveice Disable Telnet Serveice Prignty Low password here User Marne To set up advanced security click on Settings Password Priority Middle Iser farne Password Priority High User Hame Password About item 1 user may set up to 8 IP address for ISaGRAF or other HMI to get access to the W 8xx via the Modbus TCP IP protocol as below Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 94 On the IO connection window of ISaGRAF Please connect vip and entering the IP which can get access to the W 8xx via Modbus TCP IP protocol If vip is not connected any remote IP
107. he project on the PC to see how the program works without the controller To do that click on the Simulate icon S43R AF EXAMPLEI Programs EE S _ loi xl File Make Project Tool Debug Optone Help JE MEE S Begin Begin LO1 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 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 53 In the ISaGRAF Debug Program window double click 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 File Control Tools Options Help N b bh Sia i Close the debugger window Will exit the simulation i examplel EXAMPLE Programs E Project Toole Debug Options Help P D E ux de mm 6 2a Ladder Diagram A Running The Simulation Program When you double click on LD1 in the ISaGRAF Debug Programs window the follow window should appear File Edit Options Help TRE TRE TRE TRE
108. himt x Jea Layer6 This is a Web HMI salle page SO O A Layer5 Layer7 rEHISE Ass Ae We will use K1 to display the state of the first input of the l 8077 board and K2 for its second input Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 65 Please follow the similar steps to insert OUTO1 amp OUTO2 as below The OUTO1 uses Jimg circle blueO jpg as its image source while OUTO2 using img cmdO j Jpg amp Microsoft FrontPage D VChon_Di0ser_Manual_WinConS000 Web Hhidenoesenplelnstm hin Inl Tax E ARPE WCO GAD feel LA tA BAD HERE RED an BH ED d u id md S vixcadg JIo Cc pivcESeSR M fr Times New Roman 2 27 Fare M0 pa shed sive ear B Layer11 Layer10 Layer12 ugras ay Layera EFA S6Kbps SERRE 0 01 7 581x285 Me BET y We will use OUTO 1 to display the state of the first output of the l 8077 board while OUTO2 is for controlling and displaying the second output of the l 8077 Now please insert one another Layer14 Inside the Layer14 please insert one Layer15 with a T1 xxx ms symbol And two empty Layers Layer16 amp Layer17 just below the Layer15 We will use T1 to display the Timer value T1 in the ISaGRAF project Microsoft FrontPage D Chun_D User_Manual_WinCon8000 Web_HMIdemolexample li
109. incon 8x36 8x46 supports InduSoft and ISaGRAF logic running in the same controller A simple example to run InduSoft amp ISaGRAF logic in the same controller Step 1 Create a new ISaGRAF project as below This demo uses a DIO module l 8077 in slot 1 of W 8336 8436 and an AO module 1 87024 in slot 2 and one internal variable defined as follow Variable Type Name Network Comment Attributes Address 1 8077 Dichannel1 Input Boolean DO 11 8077DOchanel Output Integers AO 21 87024AOchannel 1 Output Integes Interior 34 Internalvariable Internal f ISaGRAF EXAMPLE2 Programs Lr 3 EN r1 x File Mlake Project Tools Debus Options Help Ey Ba m XX 3 E fb xr mk Rum Begin nh aM E empty program E e x File Edit Tools Options Help E mtm tIl EFRA G An empty Ladder al E Ka ref BOTTA Em program is just fine am i_8077 amp DI 1 B DIB DOB mu 2 18 7024 3 4 ma SaGRAF EXAMPLE2 VO connection ml x A File Edit Tools QOptons Help u ol x s bm TS BO ty mia ew hh4J w t E d File Edit Tools Cptions Help o gt a ref 80778 _8 amp 2 P gt Beo tl R S am i 8077 a DO 1 ra ref 87024 DIB 4 mw range 33 B DOs e AO 1 E i 87024 t A 2 E i 87024 T E Ls l 12 a Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 106 If you are not familiar with
110. incon ISaGRAF CD napdos isagraf wincon WebHMI_Demo example1 4 4 1 Step 1 Copy The Sample Web HMI pages These is a sample Web HMI pages in the Wincon 8xx 7 CD ROM napdos isagraf wincon WebHMI_Demo sample Please copy this sample folder to your drive and rename it for example example1 The basic Web HMI files includes 2 folders and 3 DLL files and 4 htm files as below Jimg default image files jpg bmp gif msg default message files wincon js amp xxerror htm whmi filter dll three DLL files login dll main dll index htm first default page login htm the Web HMI welcome page menu htm the page menu page normally on the left on the Internet Explorer main htm first page when successfully login User may put his own image files into the folder named as user img And put user defined javascript file or css file into the folder named as user msg Other folder name is not acceptable by the Wincon Web HMI The index htm file is the default entry page of the web server User should not modify it The index htm re directs to the login htm file in 1 to 2 second when someone visits the Wincon 8xx via the Internet Explorer User may modify the login htm menu htm amp main htm to fit his own need We will only modify the main htm in this example Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 61 4 4 2 Step 2 Building The Main htm Please run
111. incon VB NET_Demo VbDmo_01 Demo_1 subfolder or from your own location Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 3 Click OK to close the Add Reference dialog Note If the The reference QuickerNet dll may or may not be valid for the active platform JDR Demo 0 Bs You should delete old 5 Bf Demo 1 Bede Demo 1 al QuickerNet dll reference and then a add new QuickerNet dIl reference Zw oe again with care to ensure your application 2a I TUN COMECEI x If QuickerNet dll is not valid right click on it to delete it and then add it to the reference again 4 You have completed adding mscorlib and ZOUE Demo QuickerNet dll reference for your application now a expand the Demo and References folders in the JDR Demo_l H 4 Solution Explorer tab to make sure the El J ERI QuickerNet dll has been added into the project P aio references b e t3 DUE Data o System Drawing CJ System Windows C9 System KML a bin b 4 d 5 Right click on the Form1 and select View Code from the pop up Move cursor to top and insert the Imports Quicker in the first statement Forml vb db x in 8 in cer gB EPublic Class Demol Inherits S stem Windows Forms Form Al Windows Form To output boolean please use Quicker lserShare lserSetCoilt Private Sub Buttonl ClickiB
112. ions icon in the ISaGRAF Debugger window to open the I O Connections screen You may switch ON OFF the D I on the front panel of the l 8077 I O board to see what happens about K1 amp K2 Rete Anemos You may also click on Dictionary to File liad feats Cm LI acRAF EXAMPLELI 140 connection 5 Rz TRUE 4 6 FALSE FALSE 5 EB FALSE Another VERY helpful window you can open is the Quick LD Program window From this window you can observe the LD program being executed in real time ISsGRAF ELAMPLEL Debug programs ERE ini xl File Project Toole Options Help amem Begin Ss ISaGRAF EXAMPLELLDl Gmck LD Program Begin File Edit Options Help TRAGE TRE TREE TRE UC Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 60 4 4 Design The Web Page After finishing the ISaGRAF project amp download it to the Wincon 8xx7 we are going to design the Web Page for this ISaGRAF project If you havn t practiced Setting Up A Web HMI Demo listed in the Chapter 3 it s better to do it once to get familiar with it We will use Microsoft Office FrontPage 2003 or higher version to build web pages in this manual User may choose your prefer web page editor to do the same thing You may refer to the finished web pages of this example in the W 8xx7 CD ROM at design time However it is better to do it one time by yourself to get more understanding W
113. istry This step will re boot your Wincon controller At most 10 programs can fate So iho oo 2 ey For EVC or VS net solution please modify to CompactFlash lISaGRAF whmi exe Then click on Save Setting Program 9 wrin C on Utility 1 and settings w It will take several seconds to save your settings to registry OL changed weil take effect after system oot Any setting changed could be pre viewrd wiew Registry Change all settings to factory default settings Recover to Factory Settings Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 126 If user would like to program W 8xx by using both ISaGRAF amp EVC or VS net it is also possible Please refer to Chapter 6 or Chapter 7 10 2 Setting Up An EVC Web HMI Demo 10 2 1 Step 1 Setup The Hardware A Please have a W 8337 8737 or W 8347 8747 amp plug one l 8077 or l 8055 or l 8054 board in its slot 1 B Prepare one VGA monitor one PS2 mouse one Keyboard and one ethernet cable and then connect them to the Wincon C Power the Wincon up 10 2 2 Step 2 Make Sure Whmi exe Installed A Please set a fixed IP address to the Wincon 8xx7 No more DHCP B Please refer to section 10 1 to set whmi exe to be first auto execute program amp then reboot your Wincon 10 2 3 Step 3 Setting The Web Options a9 Microsoft
114. itf Blz blink 1 i 1 lt head gt ff wy Blz innerText if font_Bl color rq ffi 7 FREE TTETT EEE TEE EE EE Y lt SCRIPT LANGUAGE JavaScript gt lt SCRIPT gt JavaScript code is E normally placed inside e Check igghecessary wh head the head aes Git Ge E stas ae 4 aa Z2AT Rl setTimeout blink obj j lt body gt The body area describes the lt body gt behavior of this page lt html gt Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 67 Please go to the body area and then modify the code as below Caption Area Layer1 A Layer is starting with lt div amp ending with lt div gt tag lt Caption ont goler blue size 4 gt aiv style position absolute width This is a Web HMI sample page lt font gt 53px height 24px z index 1 left 73px top 12px id layer1 gt K1 Area Layer2 to Layer4 lt div style position absolute width 102px height 93px z index 2 left 75px top 52px id layer2 gt lt div style position absolute width 44px height 24px z index 1 left 3px top 10px id layer3 gt K1 lt div gt lt div style position absolute width 58px height 46px z index 2 left 1px top 38px id layer4 gt img namez B11 border 0 src img big Tcircle redO jpg width 43 height 41 gt lt div gt lt p gt
115. l Debug Optone Help Emi I Oem 5 a6 de um 4 Re 3 5s Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 39 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 K1 and Input 1 in the l 8077 board 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 K1 s attribute will be an Input Then press the Store button to save it The new Boolean variable has now been declared SalRAF EX AMPLEI Global booleans File Edit Tools Options Help amp O 6 st d Booleans linteqers Redls Tiers Messages FB instances Defined words Mame Attrib Addr Comment POC XE K1 in put Dan Input 1 in the l 5077 board S LZ IK1 oC Input 1 inthe l 6077 board BO000 input false true NOTE 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 Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 40 Please follow the above
116. lase close COM port comapern apen COM port return Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS ar f rread float value from array binzeng z s Complement to engin Format 120 On line help of ICP DAS add on I O boards amp I O complex equipments ISaGRAF WOEMO 03 Programs D Mim X File Make Project Tools Debug Options Help a gel Aem xrl yk aas Begin mA get time SYSDAT_R SYSNET vv SYSTIM_R SYSTIME VV cal time calculate time a WO connection FH n T Control output ow DsaGEA F WDEMQ O03 MO connection File Edit Toole Options Help Ea 2 mmm tll A e Technical note 2 al ru d 1 i_ On line help of ISaGRAF languages 339 ISaGRAF Project Management P 3 Bl x File Edit Project Tools Options Help BS DE Mm We Ters guide g Language reference mm creation u E nix PRAE BHEE EIM HMA AH SC f zs S SEB BERERCRR T ISaGRAF Language reference E Project architecture Common objects SFC language a FC language FBD language I Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 121 9 2 Installing The ISaGRAF Programming Examples The ISaGRAF programming examples are installed on the same CD ROM that you receive with the Wincon controller system You will find the programming example files in the Wincon ISaGRAF CD ROM Napdos ISaGRAF Wincon Demo sub direc
117. layed data this function is called by IE about every 1 5 sec later B1 src img circle blue boolean val 1 jpg B2 src img cmd boolean val 2 jpg B11 src img big Tcircle red boolean val 11 jpg if boolean_val 12 0 i B12 innerText Ok font B12 color blue i B12_blink 0 else B12_blink 1 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 72 Now we have finished all the code Please save it amp Microsoft FrontPage DCTun D User Manual WinConB8OD0iWreb HiIdemoexenmplel uns TRUE AREHUED WRO AD fe IAD RA BAD TES Ham HAH Bl src BZ src img circle blue boolean val l jpg img cmd boolean val z jpg Bll src img big Tcircle red boolean val ll jpq ifibonlean val le 0 i Blz innerText Ek font Blz color hlue Ble blink 0 EF else he ts BAe nsa a ges Sit E 4 E RR BE 4 You may click on Preview to simulate its run time behavior amp Microsoft FrontPage D XChun DWUser Manual WinCon8000VWWeb HMIWemolexemplelunsindim SG iE MAW MAO BAO IBM FRA BAO WLR RO RAD D e ld d 0 13 71 X4 Ga 9180 09 19 ES PCI L vxERSSHA D Lo ESSN EEE Ag ae main him This is a Web HMI sample page K1 K2 OK a Hello Welcome to the Web HMI Sample 677 x 354 gaz EST A Gist AS E112 3385 Getting Started Wincon
118. n BN Stop Application E he E T3 Se Execution Environment ws Workspace T at Project Demo LU vC Drivers vy MOTCP gal MAIN DRIVER SHEET OFC _ ICRP gm o i S a a Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 115 arget Application Import CE License TargeNtation Local 10 0080 O Serial Port Inf Please type in the IP address of your Wincon 8x36 8x46 i Only newer files If connection is fine click on the tab of Application then click Send to Target When download finished click RUN to start the project Identification Options F Titlebar Application Name M Minimize Box Active area indication B Maximize Bo O Show Object Edge M Clos Box O Change Mouse Cursor Em Ele sl EBD a E L0 Oy A pn BG Stop Application E 4c d T8 Execution Environment Workspace T 3h Project Demo fl M ry Drivers mi e tert Maximized vi Mouse Cursor yy MOTCP M Menu Options O Virtual Keyboard im MAIN DRIVER SHEET M Resize Border Mi Status Line Default ocale Enable ToolTips Auto Screen Scaling fey TCP IP Eiern eL pend ei nd e e rette e BEI n b en te tin nt ste e d _ Hide Taskbar Execution Environment o Target Application Import CE License Application Path Loa PROGR A LYINDUSsO1 O Projects Demo O1 Target Compact FlashindusoftDemo 01 Target
119. n file Demo exe into the Wincon 8xx target controller device 1 Copy the Demo exe Mscorlib dll Quicker DLL and QuickerNet DLL to your prefer folder of Wincon 8000 If you are copying file to the CompactFlash SaGRAFV it already has Mscorlib dll Quicker DLL and QuickerNet DLL please do not replace them just copy your demo exe into it 2 Double click on the Demo exe file to excute it 6 5 Examples There are several VB NET example demo in the Wincon 8xx7 CD ROM napdos ISaGRAF Wincon VB NET Demo User can copy the files to your hard drive and open the sln file to run the project by Microsoft Visual Studio Net 2003 6 6 QuickerNET DLL This section we will focus on the description of the application example of QuickerNET DLL functions There are some functions that can be used to R W data from to the ISaGRAF softlogic The functions of QuickerNET DLL can be clarified as 2 groups as depicted as below 1 Digital RAW Functions 2 Analog R W Functions 6 6 1 Digital R W Functions m UserSetCoil Description This function is to set the value to a Boolean variable by Modbus network address Syntax ScanKernel UserShare UserSetCoil iUserAddress As System Ulnt16 iStatus As byte Parameter iUserAddress Specify the Modbus Network Address of Variable 1 to 8191 iStatus Set the status For instance iStatus 1 for True iStatus O for False Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DA
120. n may need a message to blink when the boolean value changes For example If boolean val 12 is False it means OK However if boolean val 12 is True it means Error User may want to make this Error blink to attract viewer s attention The below code can do this job The blinking period unit is ms var blink period 500 setTimeout blink obj blink period Setup a timer to handle the blinking action var B12 blink 0 init as O not blink function blink obj if blink_step 1 blink step 0 if B12_blink 1 Blink step 1 To display Error in red color B12 innerText Error font B12 color red TENES else oe Blink step 2 ee ee eee To display nothing in red color if B12_blink 1 B12 innerText font B12 color red setTimeout blink_obj blink period Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 86 function refresh data The action of the Text object B12 is defined here if boolean_val 12 0 If boolean val 12 0 not blink However If boolean val 12 71 blink B12 innerText Ok font B12 color blue B12 blink 0 j else B12_blink 1 lt body onLoad init gt The layout or location of the Text object B12 is defined here by the lt div lt div gt tags lt div style position absolute width 214px height 53px z index 2 left 102px top 79px gt lt fo
121. n to complete the compiler option selections Compiler options a E yj X Select b Unselect Upload Targets gt SIMULATE Workbench Simulator ISAB8HM TIC code for Motorola CC86M C source code Y3 04 i Run two optimizer passes Evaluate constant expressioh You may check on all items to make better code Optimize boolean operations Build binary decision diagrams BDDs ON Cancel 4 2 1 Compiling Error Result In Different ISaGRAF Version Please refer to appendix H of this manual Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 52 TIME TO COMPILE THE PROJECT Now that you have selected the proper compiler options click on the Make Application Code icon to compile the example project If there are no compiler errors detected during the compilation process CONGRATULATIONS you have successfully created our example program I aGRAF EXAMPLE Programs EET MDEE File Make Project Tool Debug Optons Help ide umm ABs 32 R 252 EON d No error detected Do vau want to exit the Code Generator now Continue lf 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 TIME TO SIMULATE THE PROJECT If the compilation is Ok you may simulate t
122. nami hin ef HE RAW MAO BO TAD RA BAD ERR REW SiL 99H BETERA F agaa Y Bag JI dp mE z Ht Times New Roman 302p BlU SE222 main bin x body lt div gt This is a Web HMI sample page E1 K2 eo Layer14 OUTOl Ouro TI xxrins e ET BREDAS Gest Ae em 6 B FH 5d averl 285 fair CTE Layer1 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 66 Click on Save to save this page R Micro xosoft FrontPage D hin DMTser Manual WintconsS0n Web HhDwdenmolexemplebunsmotm E HAE RHE WHAO AD Am IAD iA BAD HESEGED meon an BAH IB i48 7 4 Bad 1O C pi teem BM T S H imes New Eoman 3 l2 pt r B U d Se Al Ill i main him E This is a Web HMI sample page OUTO1 E EI Giese ae EFA S6Kbps Sieg 0 01 581x285 FRE EET z 4 4 3 Step 3 Adding Control Code To The Main htm Please switch the window to the source code A valid HTML document will contain the basic objects as below Tia ae wesc If you want to know more about the Web EC amp HD HED HAD SAO TAC HMI s source code please refer to Chapter 5 Ham aA Tl 4 adi Times Hew Roman 3 l2 pt lt html gt blirk_step 1 lt title gt Your Title here lt title gt un display your obja f blink Blz For exam EELELELELELLELEELE EEEE EE f f
123. ncon No more DHCP Please always set W 8x47 8x46 s LAN2 as disabled if not using it refer to appendix D Please use NS 205 or NS 208 Industrial Ethernet Switch for Wincon 8x46 8x47 This chapter show you how to build a simple ISaGRAF project and its Web HMI pages Please refer to CD ROM napdos isagraf wincon english_manu user manual i 8xx7 pdf section 2 1 for detailed ISaGRAF programming basics The Wincon 8xx supports ISaGRAF programming method amp provides Web HMI solution by default If user prefer to program Wincon 8xx by using Microsoft EVC 4 0 or VS net 2003 VB net amp C net and access to the Web HMI it is also possible In such a case user don t need to purchase any ISaGRAF Software ISaGRAF 256 C or ISaGRAF 256 E Please refer to Chapter 10 If user would like to program W 8xx7 by using both ISaGRAF amp EVC or VS net it is also possible Please refer to Chapter 6 or Chapter 7 4 1 Writing A Simple ISaGRAF Program We are going to use ISaGRAF Workbench to write a simple ISaGRAF example program then download it to the W 8xx7 controller with one l 8077 I O board in it to make it work If you havn t installed ISaGRAF amp ICP DAS Utilities for IS SaGRAF please back to chapter 2 This example contains one Ladder program A ISaGRAF Project Management E P Name of your project group File Edit Project Tools Options Help Bu mm S t 2 Brest ES Hg creation Eg touti gg tb link
124. ncon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 102 mUserGetReg short mUserGetReg long mUserGetReg float Description These functions are to get 16 bit short integer 32 bit long integer amp 32 bit float value from the specified Modbus network address Syntax ScanKernel UserShare UserGetReg Short ByVal jUserAddress As System Ulnt16 ByRef iStatus As Integer As Byte ScanKernel UserShare UserGetReg Long ByVal iUserAddress As System Ulnt16 ByRef iStatus As Integer As Byte ScanKernel UserShare UserGetReg Float ByVal iUserAddress As System Ulnt16 ByRef iStatus As Single As Byte Parameter iUserAddress Specify the Network Address of Variable 1 to 8191 iStatus Get the short or long integer or float value Example Dim float val As Single Dim short val As Int16 Dim long val As Int32 Get float value of the variable of Modbus Network Address 7 ocanKernel UserShare UserGetReg float Convert ToUInt16 7 float val Get long value of the variable of Modbus Network Address 9 ocanKernel UserShare UserGetReg long Convert ToUInt16 9 long val Get short value of the variable of Modbus Network Address 11 ocanKernel UserShare UserGetReg short Convert ToUInt16 11 short val Demo program Please refer to WINCON ISaGRAF CD ROM 1 napdos isagraf wincon VB NET Demowbdmo 05 amp vbdmo 06 for RAW Analog Input Output 16 bit short 2 napdos isagraf wincon VWB NET Demoivbdmo 0 7 for R W l
125. nd select Insert to add a workspace of Modbus TCP When a MOTCP001 DRV window appears fill in following data as corresponding field Workspace x v gl Project Demo 02 APP B MOTCPOD1 DRY What does 127 0 0 1 502 1 mean 127 0 0 1 is the local host IP address It Aere means send data to the same controller 502 Sonne is the Modbus TCP IP port No the last 1 is DI the Net ID of the W 8xx7 Read Trigger Enable Reaahen Ide Read Completed Read Status ne ee Write Trigger Enable Write on Tag Change write Completed Write Status Station Header l Tag Name Addess Div Add 1 DI 1 1X 0 is for reading Boolean data OX 0 is for writing Boolean data 3X 0 is for reading short integer data 16 bit integer Word 32768 to 32767 4X 0 is for writing short integer data 16 bit integer Word 32768 to 32767 DW O0 is for reading amp writing long integer 32 bit integer Double Word FP 0 is for reading amp writing floating point data 32 bit REAL For more details please refer form as below Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 113 Data sample Valid Range of Initial a Type Syntax Addresses per Worksheet Coil Status Read and write events using Modbus ox oxi Varies according to the equipment Mist chons Ol 05 and do Dax xs Vosicemecordineto he cau pment m Status Read events using Modbus instructions 3X 3X 4 Varies according
126. ne Another Page Please take a look at the menu htm of the whmi 05 demo as below The goto R page function can be used for switching to other page lt top or left O scrolling 0 width 110 resize 1 gt html head title Title 1 lt title gt lt meta http equiv Content Type content text html charset big5 gt SCRIPT LANGUAGE JavaScript src msg wincon js gt lt SCRIPT gt SCRIPT LANGUAGE JavaScript gt function start1 A 110 function refresh_data if run_at_pc 1 return if simulate at the PC just return I lt SCRIPT gt lt head gt lt body onload start1 gt lt Logout button gt lt form name form_logout method post action login dll gt lt input style cursor hand name CMD type submit value Logout onClick return logout this form gt lt form gt lt br gt mouse arrow as a hand when lt br gt entering the button area lt Goto main htm ayy lt A style cursor hand onClick2 goto R page main htm 7811H lt A gt lt br gt lt br gt Switch page to main htm lt Goto kitchen htm gt lt A style cursor hand onClick goto_R_page kitchen htm gt Kitchen lt A gt lt br gt lt br gt lt br gt Switch page to kitchen htm Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 93 cursor hand will display the 5 6 Web Security There are some ways user can
127. net port for connecting PC running Internet Explorer l 7000 amp I 87K Remote COMS supports l 7000 I O modules amp l 87K base I 87K serial I O I O boards as remote I O Max 255 l 7000 87K remote I O modules for one controller M 7000 series Modbus Max 10 R 485 ports COM3 amp COM5 to COM14 if l 8142 8142i 8144 I O Modbus master protocol multi port Ebus are found can support M 7000 series Modbus I O Each port can connect up to 247 M 7000 Modules Supports multi ports of Modbus RTU ASCII master protocol to connect to other Modbus slave devices COM2 COM3 or COMA to COM14 if l 8112 8114 8142 81421i 8144 are found to exchange data between ICP DAS s ISaGRAF Ethernet controllers via Ethernet port SMS Short Message One of COM2 or COM5 if 1 8112 8114 is found can link to a GSM Service User defined protocol Modem Link MMICON LCD Delivering Message Redundant Solution Battery Backup SRAM File Access Modbus TCP IP IO modem to support SMS User can request data control the controller by cellular phone The controller can also send data amp alarms to cellular phone Optional GSM modems M1206 or GM29 GSM 900 1800 User can write his own protocol applied at COM2 COM3 amp COM5 to COM 14 in multi serial port boards by serial comm function blocks COM supports PC remotely download amp monitor the controller through a normal modem COM 2 or COMS if 8112 8114 is found supports
128. nt id font_B12 color blue size 3 gt lt b id B12 gt OK lt b gt The lt font gt amp lt font gt tags can be used for controlling the font s color and font s size lt font gt lt div gt 11 o ec d The declaration of Text object B12 is defined here by the lt b tag amp id B12 amp lt b gt tag initial value of this B2 is OK lt body gt 5 4 2 6 Displaying Float Value With Fixed Digit Number Behind The Symbol Demo example whmi 06 amp whmi_07 section 3 1 The float str para1 para2 function can convert float value to a string with fixed digit number behind the dot symbol para is the float value to be converted for ex 1 234567 para2 is the digit number behind the dot symbol O to 6 for ex float str1 1 234567 3 return 1 234 while float str1 1 234567 2 return 1 23 Convert float val at Network Address 21 to a string with function refresh data digit number 3 behind the dot symbol F21 innerText float str1 float val 21 3 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 87 5 4 3 Post Data To The Controller The former section 5 4 2 listing how to get and display data from the controller This section focuses on posting data to the controller in other word to control the Wincon via the Internet Explorer To set a new value to the boolean word long integer float
129. ntrol The RS232 communication parameters for the target W 8xx7 controller MUST be set to the same serial communication parameters for the development PC For W 8xx controllers serial port communications the default parameters for COM2 RS232 port are Baudrate 19200 Parity none Format 8 bits 1 stop Flow control none DOWNLOADING THE EXAMPLE PROJECT Before you can download the project to the controller you must first verify that your PC and the controller system are communicating with each other To verify proper communication click on the Debug icon in the ISaGRAF Programs window as shown below ISaGRAF EXAMPLE Programs EE oi xj File Make Project Tool Debug Optons Help Em xD E m Mie oe gum Begin Begin LOT Ladder Diagram Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 57 If the development PC and the W 8xx controller system are communicating properly with each other the following window displayed below will appear or if a program is already loaded in the controller system the name of the project will be displayed with the word active following it Mama ee Your project name in the D ISaGERA EEAMPLEI Debugger ISaG RAF software on the PC Tele 0m File Contro fek Atone Help m I enp RE E test232 active l l Current running project name inside the controller AME If the message in the ISaGRAF Debugger says Disconnected
130. on AntiVirus Corporate Edition KE Ge ET iA MT Service Toolkit Tr F uw ow wo Cw F F F F F OG WC A UE See A F Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 37 4 1 2 Creating An ISaGRAF User s Group Click on the Select Project Group and 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 38 ISaGRAF Project Management File Edit Project Tools Options Help amp e HEt es t go Bites 2 o EET Hg testak Eg test a t s256 Csayviniapl c isawin ismp c usawin test C dsawintdemao testi c sawintesti i Test cWsawinwc test test Cc sawvvintestz X Location CASAWwIH Cancel Path co isawin T est 4 1 3 Creating A New ISaGRAF Project To start a new ISaGRAF project click on the Create New Project icon and then enter in the name for the new project You can then enter additional information for your project by clicking on the Edit and then Set Comment Text menu as illustrated below A ISaGRAF Project Management File Edit Project Tools Options Help Ec DME tm a gre HH creation mm touti gg t00 link to T506 m Eg testBk Baten BEER E x Eg testli test Mock Lecce ED t s256 Name ameet D Reference demo 48 jp sitis Author Cancel Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 38 38 ISaG
131. ong integer value 32 bit float value 32 bit amp Timer 32 bit Note The long integer amp timer amp float variable s Network Address No must occupy 2 No in the ISaGRAF project refer to section 4 2 of User s Manual of ISaGRAF Embedded Controllers or in the CD ROM napdos isagraf wincon english_manu User Manual 8xx7 pdf Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 103 Chapter 7 EVC Program Running In Wincon Access To ISaGRAF Variables User can write his EVC 4 0 application to access to the ISaGRAF variables running at the same Wincon by using the below functions for Read Write boolean word long and float value The include file and library at design time are WinConAgent h and Quicker lib CD ROM napdos isagraf wincon EVC _LIB The DLL at run time is the Quicker dll which is in Wincon CompactFlash ISaGRAF Please copy and run your EVC application at Wincon CompactFlash SaGRAF Set boolean value unsigned char UserSetCoil unsigned short iUserAddress unsigned char iStatus iUserAddress 1 to 8191 Variable s network address in ISaGRAF project iStatus 0 set boolean to False 1 set boolean to True for ex UserSetCoil 100 1 set boolean at network addr 100 as True Set word or float or long value unsigned char UserSetReg unsigned short iUserAddress long iStatus unsigned char iDT ype iUserAddress 1 to 8191 Variable s network address in ISaGRAF project
132. oring An ISaGRAF Project To restore an ISaGRAF project from a backed up file pia 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 r xi Backup Restore Close Help Workbench Archive Compress You can now open edit and download the restored ISaGRAF project file 3 2 4 1 Steps To Download a ISaGRAF Project To The Controller Double click on the whmi 05 to get into the project Then click on Link setup 39 ISaGREAF Project Management E E P al x File Edit Project Tool Options Help BS mE Wes t 2 amp ween 2 fo whmi 02 Web Hil example 2 DI amp DO demo slot 1 I 8077 EH whmi 03 Web HMI example 3 RA Long float amp Timer value Mo VO board Em whmi 04 Web HMI example 4 RAW controller s String Mo I board Ki Web HMI example 5 Multi Pages demo slot 1 l 5077 Menu is an the EE whmi 5a Web HI example 54 Multi Pagez demo slot 1 l 2077 Menu is an tF m whmi Baar WHMHI 05 Programs EN Author File Make Project Tool Debug Options Help Date of cn By m OIL At 9 a6 de um a 2B Begin EIRE For String amp Integer amp Float i LDI For system
133. out 1 25 to 5 seconds depends on the communication quality The refresh data is often used for refreshing the dynamic data For example the boolean value integer value timer value or float value of the variables in the ISaGRAF project The Internet Explorer can access to the data in the ISaGRAF project only when they are assigned a unique Modbus Network Address No refer to section 4 1 5 The Web HMI only accepts Network Address No in the range of 1 to 1024 The data without a Network Address No No 0 or not in the range of 1 to 1024 is not accessible by the Internet Explorer The main htm and other multi pages can use the below variable array to access to the ISaGRAF s data case sensitive The identifier appeared in the is the related Network Address No For example boolean val 2 means the boolean value of the ISaGRAF boolean data which is assigned with the Network Address No 2 boolean val boolean value in the ISaGRAF word val word value in the ISaGRAF 32768 to 32767 float val real value in the ISaGRAF for ex 1 234 0 456E 02 timer val timer value in the ISaGRAF unit is ms max 86399999 lt 1 day string val message value in the ISaGRAF max string length is 255 To access to long integer value 32 bit integer please use get long val function For example get long val 11 get long val 13 get long val 15 get long val long integer value in the ISaGRAF 2147483648 to 2147483647 Note
134. p UserGetReg float to access to Web HMI s float data UserSetReg long amp UserGetReg long to access to Web HMI s long integer data Note VB net amp C NET can not access to string data of the Web HMI Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 135 Appendix A Hardware System amp Setting A 1 Applying Correct Power Supply Please apply a power supply between 10V to 30V gt 25W or higher is better USB Drive or USB Mouse Keyboard PS2 Mouse POWER SUPPLY LOY S0 YD VGA Monitor Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 136 A 2 Modify The NET ID amp Modbus RTU Port Setting User may set wincon 8xx s Net ID Slave Number to a No from 1 to 255 The default Modbus RTU slave port is None when shipped out User may set it to others depends on its application please also refer to appendix G amp E for more Modbus RTU ports WinCon 8000 Double Click on the W Windows CE net icon on the Wincon Wincon ISaGRAF Driver TE o eae Configuration Setting Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 137 A 3 Setting The IP Address For The W 8xx7 Please refer to Appendix D for W 8x47 amp W 8x46 10 100 M ethernet port x 2 Below is for W 8037 8337 8737 amp W 8036 8336 8736 10M ethernet port x 1 Please run Start Setting Control Panel on the Wincon then double click on Network
135. p float variable s Network Address No must occupy 2 No in the ISaGRAF project refer to section 4 2 of User s Manual of ISaGRAF Embedded Controllers or in the CD ROM napdos isagraf wincon english_manu User Manual l 8xx7 pdf That means if you assign a Network Address No 11 to a Real type variable or Timer or integer will have 32 bit value larger than 32767 or smaller than 32768 the next No 12 should not assigned to any other variable in the ISaGRAF project However you may assign No 13 to one another variable Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 88 5 4 3 1 Post Boolean Value to The Controller A To post by the image ON OFF function is used for posting function ON OFF form obj obj current boo value boolean value to the controller by reference to the current boolean value if current_boo_value 0 The first parameter is the name of the form flag confirm turn ON The second paramenter is the lt input gt name inside the form if flag obj value 1 The last parameter is the current boolean value else flag confirm turn OFF EUM obj value 0 Demo example whmi_02 amp whmi_05 section 3 1 if flag if GetUserlD form_obj true form obj submit Display the current boolean image In this example function refresh data 0 display img cmdO jpg 1 img cmd1 jpg B2 src img cmd boolean val 2 jpg
136. p 1 before continuing There is a CD ROM supplied with each of the W 8x37 8x47 controllers 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 steps to install it ve ICP DAS Utilities for ISaGRAF ICP DAS Utilities for 1SaGRAF Welcome to the ICP DAS Utilities For SaGRAF Setup program This program will install ICP DAS Utilities Far cat ISaGRAF on your computer It ig strongly recommended that you exit all Windows programs before running this Setup pragram Click Cancel to quit Setup and then close any programs you have running Click Next to continue with the Setup program WARNING This program is protected by copyright law and International treaties Unauthorized reproduction ar distribution of this program ar any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under law Hest gt Cancel Note If ICP DAS Utilities for IBaGRAF is not in your CD ROM please download ICP DAS Utilities For ISaGRAF zip from http www icpdas com products PAC i 8000 isagraf htm Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 27 2 3 Step 3 Installing The Web Page Editor This is an option You may not need it if you are very familiar with the HTML design It is also possible to use any text editor to build web pages For example Note
137. pad on the windows 2000 or XP We will use Microsoft Office FrontPage 2003 or higher version to build web pages in this manual User may choose your prefer web page editor to do the same thing Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 28 Chapter 3 Setting Up A Web HMI Demo Important Please always set a fixed IP address to the Wincon No more DHCP Please always set W 8x47 8x46 s LAN2 as disabled if not using it refer to appendix D Please use NS 205 or NS 208 Industrial Ethernet Switch for Wincon 8x46 8x47 3 1 Web Demo List The Web page location Wincon ISaGRAF CD ROM napdos isagraf wincon WebHMI Demo The respective ISaGRAF project location Wincon ISaGRAF CD ROM napdos isagraf wincon demo New demo will be found at http www icpdas com products PAC i 8000 isagraf htm Demo list Name Description IO board a e Write Long float amp Timer value No I O board a im Write controller s String No I O board whmi 05 Multi Pages demo slot 1 l 8077 slot 1 l 8077 Page menu is on Left whmi 05a Multi Pages demo slot 1 l 8077 slot 1 l 8077 Page menu is on the Top whmi 06 JAIO demo scaling is in ISaGRAF slot 2 87024 slot 3 8017H whmi 07 AlO demo scaling is in PC slot 2 87024 slot 3 8017H nen controller s file to PC slot 1 1 8077 up an alarm window on PC slot 1 8077 whmi 11 Trend curve slot 2 87024 slot 3 l 8017h Getting Started Wincon
138. ports modules i 8112 8114 8142 81421 8144 refer to Appendix E HMI Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 14 1 5 Indusoft Web Feature in Wincon 8x36 8x46 Wincon 8x36 8x46 integrate the power of Indusoft HMI software and the ISaGRAF soft logic User may design the HMI Application by Indusoft Development Kit while plus the PLC logic by ISaGRAF workbench Then running the HMI amp logic application together in the same Wincon 8x36 8x46 Moreover the W 8x36 8x46 support Indusoft s Web Thin client feature that PC can run Internet explorer to monitor control the W 8x36 8x46 on the Internet No license fee charged in the PC just running Internet Explorer Remote Visualization Web Thin Client Internet Web Ready InduSoft Tools for Automation Please refer to Chapter 8 of this manual for more information Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 15 1 6 Wincon Web HMI On The Local Ethernet di Welcome Microsoft Intemet Explorer ai Ad Welcome Microsoft Internet Explorer E SFO KO KAD SARIO TAD KAW EJ SFO KO HRO SHREW TAD KAW EJ H E gt 0AA Ars user Que GD SR 3849867 StH gt 0AA Que user Que 5 3 9 5 ugg497 FEO i http 10 0 0 10340gin al BE 58M gt Norton AntiVirus E MALO E ntp1000 103 Mogmad s lt i CSY C ABB HAR gt Norton AntiVirus E
139. r COM3 D DATA DATA DATA RS485 D DATA DATA DATA 7000 modules I 87K modules Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 142 A 9 Linking To An HMI Interface Device The COM2 RS 232 or COM5 6 7 8 please refer to appendix G amp E ports of the W 8xx7 8xx6 controller system can be used to interface with additional Human Machine Interface HMI devices such as touch displays Please refer to section A 2 first for setting Modbus RTU port 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 506 and Touch 510 HMI products If you are using any of the Touch series of MMI devices to connect to an W 8xx 7 controller you can only interface the devices to the COM2 port on the W 8xx controller Cable wiring RS232 COM2 TXD2 RP XD 2 RXD3 TXD 3 GND 5 GND 5 CTS 7 For more information regarding interfacing the Touch series of MMI devices to the W 8xx7 8xx6 controller system please refer to Chapter 4 Linking The I 8xx7 To HMI Devices of the User s Manual Of The ISaGRAF Embedded Controller Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 143 A 10 Linking To Other Modbus Devices The COM2 RS 232 or COM3 RS 485 or COM5 to COM14 if I 8112 8114 8142 8142 8142i is found in slot 1 to 5 refer to appendix E supports Modbus
140. re L11 innerText get long val 11 The layout or location of the Text object L11 is defined here by Load init gt m the lt div lt div gt tags div style position absolute width 214px height 53px z index 2 left 102px top 79px gt b id L11 xxx lt b gt lt div gt lt body gt x 5 t t 7 The declaration of Text object L11 is defined here by the b tag amp id L21 amp lt b gt tag initial value of this L11 is xxx 5 4 2 4 Displaying Dynamic String Data If user want to display the dynamic string value max length is 255 the below code can be used f ncHoh refresh data The action of the Text object S31 is defined here 31 innerText string val 31 The layout or location of the Text object S31 is defined here by gt On SAATIN the lt div lt div gt tags lt div style position absolute width 214px height 53px z index 2 left 102px top 79px gt b id S31 gt empty lt b gt lt div gt lt body gt x T o i The declaration of Text object S31 is defined here by the lt b tag amp id S31 amp lt b gt tag initial value of this S31 is empty Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 85 5 4 2 5 Trigger A Boolean Object To Blink Demo example whmi 02 amp whmi 05 section 3 1 Some applicatio
141. s The declaration of image B1 is defined here by the img tag amp name B1 src src defines the initial value of B1 5 4 2 2 Displaying Dynamic Float amp Word amp Timer Data Demo example whmi 01 amp whmi 03 amp whmi 05 section 3 1 If user want to display the dynamic float value the below code can be used The action of the Text object F21 is defined here If want to display Word data please use word val If want to display Timer data please use timer val function refresh data F21 innerText float val 21 For ex F21 innerText timer val 21 ms The layout or location of the Text object F21 is defined here by Load init gt m the lt div lt div gt tags div style position absolute width 214px height 53px z index 2 left 102px top 79px gt b id F21 gt xxxx lt b gt lt div gt lt body gt The declaration of Text object F21 is defined here by the lt b tag amp id F21 amp lt b gt tag initial value of this F21 is Xxxx Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 84 5 4 2 3 Displaying Dynamic Long Integer Data Demo example whmi 03 amp whmi 05 section 3 1 If user want to display the dynamic long integer value 32 bit format the below code can be used uneton refresh data The action of the Text object L11 is defined he
142. s For example char strO 256 str1 256 long temp val unsigned char flag strO please set starting amp ending Addr No of each type at the beginning of your C program set string s starting addr to 201 temp val 201 UserSetReg 2009 amp temp val 0 set strings ending addr to 202 temp val 202 UserSetReg 2010 amp temp val 0 UserGetCoil 2201 amp flag strO get information flag of addr 201 UserSetCoil 2201 0 clear the information flag of Address 201 get string of network address 201 UserGetReg Str 201 strO Set string to network address 202 UserSetReg Str 202 str1 Note 1 The Address No for each type must not conflict with each other For ex below assignment is OK Boolean 1 to 100 Word 101 to 120 Float 121 to 130 long 131 to 132 String 201 to 202 However Boolean 1 to 100 Word 101 to 120 Float 121 to 130 long 125 to 132 otring 201 to 202 is not Ok because Float amp long conflict at No of 125 to 130 2 he more No assigned will make the data size bigger to deliver to IE Please do not assign too many No especially for float long amp string data Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 134 10 4 VB NET Function To Access To The Web HMI You may refer to 1 CD ROM napdos isagraf wincon non_isagraf_demo VB NET for example programs 2 Section 10 2 for similar steps to set up VB NET demo vb demo
143. s functionality mie SathAF ERKAMPLEI LD1 Quick LD Program EEUU I xl File Edit Tools Optons Help B amp xuzs me sd sn m es F2 dE F3pGE Fa GH FS 4H FE Hi F JH F8 dy Fo Fgm C Double click on anywhere inside of the block Function block write float value to array read long value fram array write long value to array read short value from array Cancel write short value to array get ascii cade Into arc sine arc tangent running average Convert BCD to decimal value Transfer BCD to decimal value zz Complement ta engin format transfer 15 bit to 1 word blinking signal convert to boolean concat messages function block sample Click on Info to get detailed explanation get character Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 47 Now move your cursor to the left of the parameter CYCLE of the BLINK block Double click on it select Timer and then double click on variable name T1 zig SaGRAF EXAMPLELLDI Quick LD Program EU I xl File Edit Tools Options Help Aa MBA ge kod Pr Qeaeil ee F2 dE F3 3HE Fd GH F5 4H F Hi FT 3H Fd Fo tPF Sr C5 select vanable C function Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 48 Move your cursor to the coil Double click on it select Boolean and then double click on variable name OUT01 Sig SaGRAF EXAMPLELLD
144. set value to the controller Please be very careful to call UserSetCoil to clear it set to O to the related Address in Address 2001 to 3024 if your C program has got the information The Web HMI driver will set flag value to 1 next time when IE post writing command Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 130 Get boolean value from Web HMI unsigned char UserGetCoil unsigned short iUserAddress unsigned char iStatus iUserAddress 1 to 1024 Web HMI s boolean data base 2001 to 3024 indicates if Internet Explorer post writing command to W 8xx7 iStatus O boolean is False 1 boolean is True for ex unsigned char bVal flag bVal UserGetCoil 2005 amp flag bVal get information flag of addr 5 UserGetCoil 5 amp bVal get boolean value at network addr 5 UserSetCoil 2005 0 clear the information flag of Address 5 Set word or float or long value to Web HMI unsigned char UserSetReg unsigned short iUserAddress long iStatus unsigned char iDType j iUserAddress 1 to 1024 Web HMI s analog data base 2001 starting Address No of boolean data base to send to the IE on PC 2002 End Address No of boolean data base 2003 starting Address No of word data base to send to the IE on PC 2004 End Address No of word data base 2005 starting Address No of float data base to send to the IE on PC 2006 End Address No of float data base 2007 starting Address No of long da
145. src msg wincon js gt lt SCRIPT gt SCRIPT LANGUAGE JavaScript gt show scroll word 200 Hello Welcome to the Web HMI Sample function refresh data Calling show scroll world will display a moving word at the i bottom of the Internet Explorer Here 200 means 200 ms You may make it slower for example using 500 lt SCRIPT gt refresh_data is called when the Internet Explorer has received lt head gt the requested data from the controller It is called in the period about 1 25 to 5 seconds depends on the communication quality init is the entry pint of the main htm amp other multi pages font color blue size 4 gt style position absolute width 353px height 24px z index 1 left 73px top 12px z fayer1 gt Hello amp div gt lt body onLoad init gt lt font gt lt body gt A layout object is starting with lt div amp ending at lt div gt tags lt html gt Here only show a message Hello Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 81 You may replace the main htm in the Wincon 8xx7 CD ROM napdos isagraf wincon WebHMI_Demo sample to the above main htm amp download it to the controller refer to section 4 4 4 You will see the below window when you login successfully Welcome Microsoft Intemet Explorer HAE ame CE WAD Sum IRI MAH S t H 9 QO2 Que Genet One ga a HRAS gt ED
146. t FRED 25 tt 10 0 0 1034ogin al ORE ERE P Norton AntiVins E Logout N This is a Web HMI sample page The width amp scrolling can 2 ge Kl be modified rror width OUTO01 OUT02 T1 5000 ms e Horr fox Enter Hello Welcome to the Web HMI Sample E Ee Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 79 A Welcome Microsoft Internet Explorer E Bl x BRE RHE iO AREA TR HAU er BR Q d QOms urr Are d S20 S3 i959 8 AST p 710 0 0 103 0gin dl v fex E Norton atts m mI o n a U I This is a Web HMI sample page On the top K1 K2 Error The width amp scrolling can be modified OUTO01 OUT02 T1 8000 ms O Horr ox Enter e Hello Welcome to the Web HMI Sample 4p ARAR Below is the basic code for the menu htm lt top or left 1 scrolling 0 width 60 resize 1 gt The fist line is not a comment it defines the Page Menu behavior top or left 1 Top O Left scrolling 1 Yes O No html width width of the Menu Frame 0 999 unit is pixel head resize 1 Yes 0 No title Title 1 lt title gt lt meta http equiv Content Type content text html charset UTF 8 gt SCRIPT LANGUAGE JavaScript src msg wincon js gt lt SCRIPT gt SCRIPT LANGUAGE JavaScript gt function start1 This line is necessary for menu htm Please apply your charset here For example
147. ta T506 SaGRAF EXAMPLE Programs P o Ei x Em ie File Make Project Tools Debug Options Help Auth ur EY ESE D E f X ud de um a Aes Ladder program name LD1 Begin LD1 Ladder Diagram Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 36 Variables declaration CF peN Arbe OUTO1 Boolean Output Output 1 in the l 8077 board Modbus network addr mE I D Output 2 in the I 8077 board Modbus network addr ue Input Input 1 in the l 8077 board Modbus network addr n K2 En nput 2 in the l 8077 board Modbus network addr 12 T1 Timer Time Period of blinking initial value set as T 8s Modbus network addr 21 Ladder Logic Program Outline 4 1 1 Open ISaGRAF Project Management Click on the Windows Start button then click on Programs then click on ISaGRAF 3 4 or ISaGRAF 3 5 then click on Projects as shown below 5 ISaGRAF 3 4 A Jasc Software t E Diagnosis E Logitech Mouseware d Ex Libraries A Macromedia Dreamweaver 4 E Macromedia Extension Manager d em Read Me E Master Converter d E Report ES Matrikon OPE o Lg MCSD Training E Microangelo E Microcim im Micro IDE E Microsoft MET Framework SDE A Microsoft Developer Network A Microsoft Office Tools A Microsoft Press Lal Microsoft visual Studia 6 0 E Microsoft web Publishing E Morpheus A MSON HelpDesk Sample im NC3 1 A Metzero Internet E Mew Visio Drawing A Mort
148. ta base to send to the IE on PC 2008 End Address No of long data base 2009 starting Address No of string data base to send to the IE on PC 2010 End Address No of string data base iStatus A pointer to a long type which stores the data to set iIDType 0 type is word 1 data type is float 2 data type is long Note 1 The Address No for each type must not conflict with each other For ex below assignment is OK Boolean 1 to 100 Word 101 to 120 Float 121 to 130 long 131 to 132 String 201 to 202 However Boolean 1 to 100 Word 101 to 120 Float 121 to 130 long 125 to 132 otring 201 to 202 is not Ok because Float amp long conflict at No of 125 to 130 2 he more No assigned will make the data size bigger to deliver to IE Please do not assign too many No especially for float long amp string data Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 131 for ex float float val long word val long val 2 long temp val long long pt please set starting amp ending Addr No of each type at the beginning of your C program set word starting addr To 1 temp val 1 UserSetReg 2003 amp temp val 0 set word ending addr To 10 temp_val 10 UserSetReg 2004 amp temp_val 0 set floats starting addr To 11 temp val 11 UserSetReg 2005 amp temp val 0 set floats ending addr To 20 temp val 20 UserSetReg 2006 amp temp val 0
149. te ScanKernel UserShare UserSetReg Long ByVal iUserAddress As System Ulnt16 ByRef iStatus As Integer As Byte ScanKernel UserShare UserSetReg Float ByVal jUserAddress As System Ulnt16 ByRef iStatus As Single As Byte Parameter iUserAddress Specify the Network Address of Variable 1 to 8191 iStatus Set the short or long integer or float value Example Set a long value 1234567 to the variable of Modbus Network Address 1 ocanKernel UserShare UserSetReg long Convert ToUInt16 1 Convert Tolnt32 1234567 Set a short value 1234 to the variable of Modbus Network Address 3 ScanKernel UserShare UserSetReg short Convert ToUInt16 3 Convert Tolnt16 1234 Set a float value 2 174 to the variable of Modbus Network Address 4 ScanKernel UserShare UserSetReg_float Convert ToUInt16 4 Convert ToSingle 2 174 Demo program Please refer to WINCON ISaGRAF CD ROM 1 napdos isagraf wincon VB NET Demowbdmo 05 amp vbdmo 06 for RAW Analog Input Output 16 bit short 2 napdos isagraf wincon VWB NET Demoivbdmo 0 7 for RAW long integer value 32 bit float value 32 bit amp Timer 32 bit Note The long integer amp timer amp float variable s Network Address No must occupy 2 No in the ISaGRAF project refer to section 4 2 of User s Manual of ISaGRAF Embedded Controllers or in the CD ROM WMapdosVsagrafwinconlenglish manuV User Manual 8xx7 pdf Getting Started Wi
150. the Login htm please do lt head gt not apply to other pages For example the menu htm amp main htm amp other htm pages lt title gt Login lt title gt lt meta http equiv pragma content no cache gt lt meta http equiv Content Type content text html charset UTF 8 gt script language JavaScript gt var random val 123 function get random val Please apply your charset here For example English UTF 8 Chinese gb2312 Traditional Chinese big5 or other language var rightNow new Date random val 323456789 rightNow getMinutes 107654321 rightNow getTime 1000 setTimeout get_random_val 197 repeat call check if username and possword are empty function validate fm setKey fm return true Embed key whille submitting function setKey fm var rightNow new Date cookieVal random_valtrightNow getTime fm key_ value cookieVal lt script gt get_random_val should be always called at the beginning of the Login htm It is the entry point of the lt head gt Login htm body onload get_random_val gt lt div style position absolute width 332px height 34px z index 5 left 147px top 27px id layer1 gt Welcome lt div gt Your caption here Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 78 div style position absolute width 122px height 38px z index 4 left 171px top
151. them to CompactFlash SaGRAFV amp then re cycle your wincon s power You may use below methods to download these files A Using ftp Wincon Please run Start Run then type in services load ftpd PC Please open browser and then type in ftp lt IP address gt for ex ftp 192 168 2 17 copy all of them amp past it B Using Pen Drive Please copy isawincon exe rs whmi exe mscorlib dll QuickerNet dll Quicker dll amp license bin to CompactFlash ISaGRAF J Remember to re cycle your Wincon s power Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 148 Appendix C Dimension C 1 Wincon 8037 8036 8047 8046 149 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS C 2 Wincon 8337 8336 8347 8346 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 150 C 3 Wincon 8737 8736 8747 8746 IL IL del Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 151 Appendix D How to Enable Disable W 8x47 s LAN2 Important 1 Please use NS 205 or NS 208 Industrial Ethernet Switch for Wincon 8x47 8x46 2 Please always set LAN2 as disabled if not using it 3 Please always set a fixed IP to LAN1 or LAN2 if it is enabled The default setting of LAN2 port of W 8047 8347 8747 amp W 8046 8346 8746 is disabled User must enable it before using LAN2 port ISaGRAF must use W 8x47 8x37 s LAN2
152. time amp DIO Sequential fci modei to 3 child plink Begin SI Structured Text Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 33 Click on Setup first and then entering the IP address of your controller The port number should be 502 PC PLC link parameters Target Slave Number Communication port ETHERNET Cancel Control k Setup Time aut seconds ESI ETHERNET link parameters id E x Internet addres 10 0 0 103 N The Workbench uses the WINSOCE OLL library for TCP IP communications Ensure that this file is corectly installed an the hard A Cancel Pork number disk To download whmi 05 project to the Wincon 8xx7 Click on Debug If the communication is established click on stop first to stop the old project running in the W 8xx7 ISaGRAF WHMI O05 Programs File Make Project Tool Debug Optone Help E m BM D E m x x ge um B4 RIG A Begin E VA For String amp integer amp Float mA LOT For system time amp DIO eS sfcl mode 1 tos hild1 blink sequential File Control Tools Options Help Beg sr GM gt M P AO whimi kit active Stop application Then click on Download to download it to the controller Download ISaGRAF WHMI O05 Debugger File Control Tools Options Help gt Hd dA No application Application symbols Cancel
153. timer and string variables in the ISaGRAF project we need form object appeared in the main htm or other multi pages A form object looks like as below method should be post action should be main dll name of this form form name form L21 method post action main dll gt input name BEGIN type hidden gt input name L21 type text size 8 value xxx gt lt input name END type hidden gt lt form gt Inside the form the first lt input gt must be named as BEGIN case sensitive and type as hidden Inside the form the last lt input gt All the other lt input gt appeared between must be named as END case BEGIN amp END are the data to post to the sensitive and type as hidden controller The lt input gt name to control the Wincon s data must follow below format The number follows behind the first letter should be in the range of 1 to 1024 This number point to the variable name in the ISaGRAF project with the same Modbus Network Address No point to the ISaGRAF boolean data for ex B5 B109 point to the ISaGRAF word data 32768 to 32767 for ex W9 W1001 point to the ISaGRAF long integer data 2147483648 to 2147483647 for ex L21 This L Also point to the ISaGRAF timer data point to the ISaGRAF real data for ex F13 F235 point to the ISaGRAF message data for ex S18 Note The long integer amp timer am
154. tion of the isa ini initialization file add the entry shown below within the WS001 header WS001 NT 1 Ilsa C ISAWIN IlsaExe C ISAWIN EXE Group Samples lsaApl c isawin smp lsaTmp C ISAWIN TMP 2 1 1 When closing my ISaGRAF window on windows 2000 it holds Why This problem usually happens on the windows 2000 When you close some ISaGRAF windows by clicking on the X it holds about 20 to 40 Seconds oh id response Ioj ISaGEAF WHMI_OSF Programe File Hake Project Tool Tu Options Help E mew C Ep D G9 26 ge um P RO ED Begin E SE For String amp Integer amp Float Sequential go sfc mode 1 ta 3 Begin LD1 Ladder Diagram Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 25 This hold behavior is caused by the CTFMON EXE process We still don t know the reason yet You may stop this process by click on the Ctrl amp Alt amp Del at the same time to open the window Task Manager and then stop it as next page However you will find the CTFMON EXE still load to run when you reboot your PC or run Microsoft Office So you need to stop it every time when your windows 2000 is rebooted If you want to know more about the CTFMON EXE please visit www microsoft com amp search CTFMON EXE E Windows LIFE H S i E E lal ri X dE mE GEIR deum EXDBHOD EATE SEIZE sree HISUM EXE Te SSC EHE 656
155. to the equipment ipa PEE RES ey ule ustae nodes instruction 04 Holding Register Read and write events using mee Varies according to the equipment Niedbus anctections 03 06 06 Floating point value Holding Register Read and Varies according to the equipment write float point values using two consecutive Holding Registers 32 bit Integer value Holding Register Read and DW DW 2 Varies according to the equipment write 32 bit integer values using two consecutive Holding Registers DRV Name Morr DRV Moree DRV MAE DRV MOTCP004 DRV Description Internal ar 0 0 150251 TagName Enable Read when Idle Address 10 21 3831 O LE Change When finished all setting press ES F4 to close all inside windows and save all files Project Setting Select Project gt Settings to open Project Settings window Click the tab of Runtime Desktop In the Startup screen edit box fill in MainPage scr then click OK to close this window File Edit View Insert Project Tools Window Help ae things Mg 7s Di da Status RI Run Application CD Stop Application mi Titlebar Application Name A G a Eviznmeat MA Minimize Box Active eres indication Workspace T Mi Maximize Bos EE Show Object Edga 3 Logon Mi Close Box C Change Mouse Cursor v 3h Project Demo 1 Y T v C3 Drivers T Mi Start Maximized v Mouse Cursor v C3 MOTCP Mi Menu Options O Virtual
156. tory on the CD ROM Example lists Project Description I O Boards Or Complex Name Equipment Used wdemo 01 R W float value from file wdemo O03 To output something at a scheduled time interval For ex Moday 09 00 18 00 Sunday 10 00 User defined Modbus protocol No using Mbus NENNEN To do something at some sec later when an event i 8055 happens Using Message Array MsgAry_r MsgAry_w wdemo 0 7 Convert float value to string using real str amp rea str2 wdemo 08 PID control refer to CD napdos isgraf wincon english_manu PID hAtm wdemo_09 Store amp backup boolean amp long integer value To From files 10min change file name per month blank between Compact amp Flash record i 8081 ODM 2 s frequency into files for 5 i 081F2 seconds i 8055 wdemo 14 Retain variable by Retain b Retain N Retain f Retain t ee NN min change file name per day Same as Wdemo 16 but Dir is CompactFlash no MEN blank between Compact amp Flash p wdemo 10 Store amp backup boolean amp long integer value To From EEPROM wdmo 18 Redundant Master amp slave Wincon I 87K4 5 8 9 87055 Master IP is 10 0 0 103 slave is 10 0 0 104 Send String to remote PC or controller via UDP IP Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 122 wdemo_ 20 receive String coming from remote PC or controller via UDP IP wdemo 21 using com MRTU to disable enable Modb
157. try Change all settings to factory default settings Recover to Factory Settings Change FTP default directory to Change Change HT default directory to ange iO ct au Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 152 Appendix E Using Expansion RS 232 or 485 or 422 Wincon can expand 10 more COM ports in its slot 1 to 5 by using below modules i 8112 2 channel RS232 i 8114 4 channel RS232 i 8142 2 channel RS422 485 i 8144 4 channel RS422 485 i 8142i 2 channel isolated RS422 485 Before user can use them please configure them By Wincon utility first Please plug them in slot 1 to 5 and then run Wincon utility Com then click on New Card Wizard and then Slot Scan and then click on Save new Module and Reset the Wincon WinCon Utility 1 for W 8X4X Ver 2 1 3 0 Save Registry System Config amp uto execute Version Update Com About WinCon Utility 1 Testing Serial Touch Change comPort 9 Disable New Card Wizard Ver 0 92 OKT x Elo COMO Card Name Resource Cynapro COMO Slot Bu Egalax COMO Slate 144 sot3 Parallel Communication Module zlnt4 BEEN sots sot Slot ms Registry for Factory Setting Registry Save Mew Module It will take few minute to create registry for new Module EM must be reset to active devices Reset Syetem Reset System Mow
158. ue in ISaGRAF unit is ms for ex float float val long word val long val long ret val get word val 32768 to 32767 of ISaGRAF variable with network address 10 UserGetReg 10 amp ret val 0 if ret val 0 amp amp ret val 32767 word val ret val else word val ret val OxFFFFO0000 get float of ISaGRAF variable with network address 11 UserGetReg 11 amp ret val 1 float val float amp ret val get long of ISaGRAF variable with network address 13 UserGetReg 13 amp ret val 2 long val ret val Note The long integer amp timer amp float variable s Network Address No must occupy 2 No in the ISaGRAF project refer to section 4 2 of User s Manual of ISaGRAF Embedded Controllers or in the CD ROM WMapdosVsagrafwinconlenglish manuV User Manual 8xx7 pdf Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 105 Chapter 8 InduSoft Project amp Web Server Running In Wincon Access To ISaGRAF Variables Note If the HMI program behavior is not so smooth or slow please refer to Appendix F Important Please always set a fixed IP address to the Wincon No more DHCP Please always set W 8x47 8x46 s LAN2 as disabled if not using it refer to appendix D Please use NS 205 or NS 208 Industrial Ethernet Switch for Wincon 8x46 8x47 Please refer to CD ROM napdos isagraf wincon english_manu user manual i 8xx7 pdf for detailed ISaGRAF English User s Manual W
159. us RTU slave port wdemo 22 PWM I O demo Pulse Width Modulation minimum scale is 2ms for Wincon bd 7 ONE COMOPEN amp COMSTR W Access to variables as array Ww W 8337 8737 Motion x slot 1 i 8091 slot 2 i 8090 Napdos lISaGRAF 8000 Driver motion pdf i 8090 Motion x y slot1 i 8091 slot2 i 8090 NapdosMSaGRAF 8000 DriverWmotion pdf i 8090 Moving to he Abs position when CMD is given slot i 8091 1 i 8091 slot 2 i 8090 i 8090 Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 123 When you install the ISaGRAF programming example for the Wincon controller it is recommended that you create an ISaGRAF Project Group to install the demo program files into S33 ISaGR AF Project Management Fie Edit Project Tools Options Help Be mmm walts ey al Eg bottlef Flow Chart Simulation of both Greca 1 EB demo demo with Quick LD programming pa EH rfa may demonstatres array management functions Project groups y ET xj Defaut c Nsavvinapl samples cWzaweinismp H ame Cancel s CASA WIN 1 Location Sub dir Browse Path c XigzawinlsD emo To install the demo programs into the project you have created open the ISaGRAF Project Management window to select Tools from the menu bar then select the Archive option and then click on Projects E ISaGRAF Project Management Fie Edit Project Tools Options Help ez ki
160. wer supply Protection General environment temperature Humidity System CPU Watchdog timer Real time clock SDRAM FLASH Memory Compact Flash Card EEPROM I O slots VGA Port PS 2 Port amp USB port Reset Button amp Led Unique Serial Number NET ID Serial ports COM 1 COM2 COM3 Ethernet Motion PWM output Counters Parallel D I counter Serial D I counter IEC61131 3 standard Languages LD ST FBD SFC IL amp FC accepts max 1M bytes ISaGRAF code size Appli x8m must 1M Options Microsoft EVC 4 0 or VS NET 2003 VB NET C NET PC running Internet Explorer can access to the Wincon 8037 8337 8737 via Local Ethernet or Internet or dial Modem monitoring and Control Three Level username and password protection 10 to 30VDC unregulated 20W when I O slots are empty 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 Intel Strong ARM CPU 206MHz or compatible Yes Gives hour minute sec date of week date of month month amp year SDRAM 64M bytes FLASH 32M bytes for OS image One Compact Flash slot CF memory card is 128M bytes or more 16K bytes retention gt 100 years 1 000 000 erase write cycles I O slots W 8037 0 W 8337 3 W 8737 7 accept I 8K amp I 87K boards 1 VGA port resolution 320x240x16 to 1024x 68x16 2 PS 2 ports keyboard and mouse 1 USB 1 1 Host port for USB drive or U
161. when using Ebus section 7 5 of the ISaGRAF User s Manual ISaGRAF may use LAN2 when using Delivering message via UDP or Redundant system please refer to Chapter 19 amp 20 of the ISaGRAF User s Manual IF THE APLLICATION DOESN T USE LAN2 PLEASE DISABLE IT Please open Start Setting Control Panel and then click on Network and Dual up Connections to set as LAN2 DM9CE1 Enable or Disable D 2 bL V 9 9 S wf we iti ny ME m ia cm mimm Certificates Date Time Dialing Display Input Panel Internet Keyboard Mouse Network andi Owner Options 6 Dialup E Connections ao 4 d 9 eco Ws Je Password PC Power Regional Remove Storage System volume amp Connection Settings Programs Manager Sounds File Edit View Advanced 2 DMScEO DI Right Click on DM9CE1 and then set as Enable or Enable Connection Set as Default Disable Desktop Shortcut Delete Rename Double click on DMO9CEO to set LAN1 s IP amp Mask Properties Then run Start Programs Wincon Utility click Save and Reboot to save the setting Wincon Utility 1 Save Registry System Config Auto execute version Update About WinCon Utility 1 Testing It will take several seconds to save your settings to registry and settings you changed will take effect after system oot e Save and Reboot E3 Any setting changed could be pre viewd View Regis
162. x4 l 7000 Remote IO Monitoring amp Control Everywhere Free HMI No extra software to be installed on the PC Just Running Microsoft Internet Explorer Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS PC running the Internet Explorer memes 4 Ay Welcome Microso lolx BRO REO HAO AREWO IAM HAD Ea L A gt 0AA Ars user Que 5 40 2849 867 84 E nttp 10 0 0 103ogin al ess 344 Norton AntiVirus E This is a Web HMI sample page K1 K2 Error OUTO1 OUTO2 T1 5000 ms Hos pono Enter ON E Hello Welcome to the Web HMI Sample ode Anak P Dial Modem PC running Internet Explorer Modem l 87K Remote IO 17 1 8 Download Data File From The Wincon Controller Internet or Local Via Ethernet or Modem DI 1 14 4 34 e Vat sies Wincon Internet Explorer 1 9 PLC With Large Storage Memory Supporting ISaGRAF IEC61131 3 programming language Data can save in the Compact Flash Disk 128MB or more W 8x37 8x47 ISaGRAF IEC61131 3 Standard Ladder SFC ST FBD IL amp FC Compact Flash Card 128MB Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 18 1 10 Multi HMI amp Remote I O HMI amp SCADA software Ethernet Modbus TCP IP E 5 232 Modb us Rs 435 L l 8437 8837 or l
163. y ICP DAS 62 Click inside this Layer and then insert one another layer inside it as below Please enter K1 into the new created Layer E Microsoft FrontPage D Chon_D ser_Manmal_WinCon000 eb_HMTdemotexemple lima Kim EE xl ERO D T HUMO fas TAT tA BAD FER em D E Ha Beo j amp y60 c r s LIGA qvx H Times New Rett AEH B 7 U E zE mE A s i EE E ABERE 3 maim ei a This is a Web laver EX Web EFO FEE B Fr E Q3 Fasten een ChME soft FrontPage D Chun_D User_Manual_WinCon8000 Web_HMI demolexemplel imain him NE nl xj EA SEO RAG HAD RAO IAD FRA BHO ER MBO MAW D S HASIB Gea VisaBeJZli9 C S9RGRw sls semana 5 Times New Roman 302 BrI U IEZEGmEm IA A lit ti te First click inside the Layer2 and then insert one another inside it mete Now we have Layer3 inside the Layer2 Y B jpss ons ara IEH S6Kbps RER 0 014 685x292 FAR BT 7 Follow the same former steps to insert one another Layer to be in just below the Layer3 as below DAChun D User Manual WinConS000WWeb UTTECCTA nain htn oft FrontPag BS Micros ER QD HAD E D Grala KFL B JI i PRANA B ik Times New Re BZ UJ BE X M EN J main htm x lt body gt lt div gt lt p gt TEL This is a Web layer2 E hn K ERO SED
164. yVal sender As System Object Eyval e s System EventArgs Hz Quicker Isershare UserSetCoil Convert TollIntlo TextBoxDOl Texti 13 ON End Sub Private Sub Buttonz ClickiByVal sender s System Object ByVal e s System EventArgs Hz luicker lserShare lserSetCniliConvert TolIntlbtTextBoxDOl Text 0 WIRE End Sub Private Sub Button3 ClickiByVal sender As System Object ByVal e s System EventArgs Hz Quicker sersShare UserSetCoil Convert TollIntlo TextBoxD02 Texti 13 End Sub Private Sub Button4 Click By al sender As System Qbject ByVal e As System EventArgs Hew Getting Started Wincon ISaGRAF PAC Ver 2 0 Apr 2006 by ICP DAS 98 3 Building an Application Program When you have finished writing a demo you can build an application by the following steps In the toolbox menu select Release from the solution Configurations of Combo box eects p 0 S un us ARRE FA ue il E A 3 PE 1 Rir 33 x oo z Sienna ia A nat v Wu TTE P ERRE E E Enni E P cveeeseReenen eR MR A DR MAN DEDE A DEDE RUEDA ERRER ARR A EE E A ARR E EEE E En polo 0 a a mI OO A D du ee uU MR UR hice hichmnoii no idan ino dinoi noid dinoideinotdcinotainntidinbiiinbiicmbiidinbiicieots P i 4 n 110 Nu UE un d i i i i i i SEE e EE ARD TTR 2 SESS pum dud R X RN DE dept um ud S Ru ee um TREE ceo DD pu JJ JJ S SRBBEEERERE ESSERE EE SERRE ESSER

Download Pdf Manuals

image

Related Search

Related Contents

cpu bingo montana  DATA SHEET - IB Elektronik GmbH  Reproducción de un minidisco Para empezar  LC-27 (ES)_CD  User Manual WISE-4000 Series - Login  取扱い説明書  Harbor Freight Tools 93271 User's Manual  Xtorm SolarBooster  Olympus E-PM1 Basic manual  GB IFED RU P GR NL H RO S DK N SF CZ SK SI HR/SCG  

Copyright © All rights reserved.
Failed to retrieve file