Home

User's Manual of ISaGRAF Embedded Controllers

image

Contents

1. 339 ISaGR AF Project Management 1 p ana LI Ls IDIOT Project Too I Be AEM S t o E m mE creation Select project group EB simpleld A Simple LD Program pg test test Project groups 1E eae File Edit Default cAisawintapl samples clisawiniemp DemoPgm cclisawinidemopgm Version for ICP DASi Mame Location SA wIM EL S Fath c isawin T est Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 3 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 Tool Option Help Ba Nag we to Ge ESL NK reate new project Create new project Name aret J S IL configurations Cancel Io z b 33 ISaGRAF Project Management File Project Tools Options Help set comment text k wo o S C Test 2 EE Toggle separator Project comment text E e Move up in list Project example Move down in list a Comment SS Heference example Auth TN You will now see the name o
2. Hohe D amp http 10 0 0 103 login dll eE ERR gt Noron Antius E Logout Hello EENI ee T If the communication broken 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 The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 7 5 4 2 More About The refresh data Function And Dynamic Data Note The code variable name and 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 about 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 variab
3. A 11 function refresh data if run at pc2 1 return if simulate at the PC just return j lt SCRIPT gt lt head gt body onload start1 gt lt Logout button gt lt 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 br gt cursor hand will display the mouse arrow as a lt br gt hand when entering the button area lt l Goto main htm gt lt A style cursor hand onClick goto_R_page main htm gt s3 1 E lt A gt lt br gt lt br gt Switch page to main htm lt Goto kitchen htm gt A style cursor hand onClick2 goto R page kitchen htm Kitchen A br lt br gt lt br gt Switch page to kitchen htm 5 20 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 6 Web Security There are some ways user can get access to the WinPAC 8xx via Ethernet port 1 Using Modbus TCP protocol at port No 502 ISaGRAF amp other HMI do this 2 Using ftp for example key in ftp 10 0 0 103 on the Internet Explorer 3 Using telnet for example key in telnet 10 0 0 103 in the command window 4 Using the Web server The Web HMI does For safety recommend to disable item 2 and 3 at run time WinPAC ISaGRAF Driver Setting Web about Options Enable Web HMI Disabl
4. To map input variables K1 amp K2 to the input channel No 1 amp 2 of the 87055 double click on the channel 1 and then click on Connect Then click n Connect again to connect channel 2 ar SaGRAF EXAMPLEI 140 connection File Edit Tool Options Help B gt SBrPrmn tL FA El muj ref 87055A al L3 Channel 6 Free Version for ICP DAS i 7 ae SaGRAF EE AMPLE I O connection File Edit Tools Options Help m ets m i 87055 E DOB mm N 4 A 5 A 6 5 7 Le H Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 15 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 a SaGRAF EXAMPLEI 140 connection File Edit Tools Options Help QA eBProa to FR e a n i 87055 mS m ref 870556 T DIS 1 amp OUTI B Dos ns 2 S OUTO2 I 4 3 J 4 ia 5 4 6 4 I Version for ICP DAS r 7 189 8000 TView incon series controllers only IMPORTANT NOTICE 1 I O Slots 0 through 7 are reserved for REAL I O boards that will be used in the WP 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 I
5. Sequential o ISaGRAF WPHMI 05 Debugger olx ptons Help File Control Tools Options Help had HP G AS ration running Download No appli 3 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 3 2 4 Step 4 Download Web Pages To The Wincon A Please copy all files in the CD ROM WinPAC 8xx7 CD napdos isagraf wp 8xx7 wp_webhmi_demo wphmi_05 to the WinPAC 8Xx7 s Miscro_SD Temp HTTP WebHMI wphmi 05 demo need one 1 87055W in its slot 0 If you don t have the I 87055W 8 IN amp 8 OUT board you may download wphmi 01 B Since the Web Pages are modified or new copied please run rs wphmi exe to reset the Web server The rs wphmi exe must be run every time when user has modified any file in the WP 8xx7 s Wicro SD TempHTTPWebHMM My Device a desktop Internet isayyvine ar Explorer 3 2 5 Step 5 Show Time Please run Internet Explorer Rev 6 0 or higher key in the IP address of your WinPAC 8xx7 For example 192 168 1 232 or http 192 168 1 232 Login Windows Internet Explorer GO mni mensam A m X Goog EDAM Pee WinPAC The Web PAC Please click on Enter to login Q10 0e Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 3 7 Chapter 4 Programming A Web HMI Example This chapter shows you how to build a simple ISaGRAF project and its Web HMI pages The WinPAC 8xx7 or WP
6. 1 napdos isagraf wp 8xx7 vb net_2008 demo wp_vb02 for R W analog I O 2 napdos isagraf wp 8xx vb net_2008 demoWwp vb03 for RAW internal long integer Timer and Real floating point values 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 6 10 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Chapter 7 EVC Program Running In WinPAC Access To ISaGRAF Variables User can write his EVC 4 0 application to access to the ISaGRAF variables running at the same WinPAC 8xx7 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 WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 evc _lib The DLL at run time is the Quicker dll which is in WinPAC 8xx s System_Disk isagraf Please copy the excution file after successfully compilation to the WinPAC s System_Disk isagraf and then run it 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 boole
7. Internet address 192 168 1 1 SSeS Port number The Workbench uses the WIHSOCK DOLL 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 Now you have configured your PC to communicate with the WP 8xx7 through the Ethernet port Ap 4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS A 5 Pin Assignment of COM1 COM2 COM3 and COM4 and Multi Clients Connection to The WP 8xx7 Each WP 8xx has an IP address and with a fixed Ethernet port No 502 Up to 32 PCs can link to one WP 8xx7 throughout Ethernet Modbus TCP IP protocol one TCP IP connection for each PC Other PC or HMI can link to COM2 RS 485 port or COM3 RS 485 RS 485 or COM1 4 Appendix G amp E Modbus RTU slave sommi Pomm rom Modbus TCP IP Modbus RTU PC HMI MMI Options Industrial Ethernet switch htto www icodas com products Switch switch list htm NS 205 10 100M 5 ports NS 208 10 100M 8 ports Pin Assignment COM 1 COM2 COM3 and COM4 COM 1 RS 232 COM2 RS 485 COM3 RS 232 485 COM4 RS 232 i N D CC ys ki x fr i f ad z roe N J nd Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 5 A 6 Connecting PC To WP 8xx7 COM Ports The default Modbus RTU slave port is None User
8. Retain 2 Boo 25 Integer in a file 2 rows Each row has 10 integer value FAQ 060 Retain 17 Real 2 Boo 10 Integer in 2 file Each row has 10 value Retain more than 255 Real 255 Boo 255 Integer in 2 file up to 1024 iGxx7 WP8xx7 AutoReport data to PC via UDP Controller 10 0 0 103 PC 10 0 0 91 Send email via Ethernet port To one receiver without attached file FAQ 067 71 72 76 77 For WP 8xx7 amp W 8xx7 only Send email to one receiver with one attached file FAQ 067 71 72 76 77 station 1001 Time synchronization of many controllers via Ethernet J station 1002 Time synchronization of many controllers via Ethernet WP8xx7 Record temperature per minute to a file Then send it by email per day FAQ 067 71 72 76 77 slot 2 1 87018z O O O O UO O O O O O O O Q Q Q Q Q Q Q Q Q Q Q Q 3 3 3 3 3 3 3 3 3 3 3 3 O O O O O O O O O O O O O O O C1 O1 O1 on on on on A A cO cO cO rep rep O O O O Q O iV OO NO D Q O O Q Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 9 7 T Co i z S Oo OG O9 o re Ilol S re re re re re re re GO 35 5 O o Oo a Q Q oO ooo o o o o e o OQ 186 e Q Q aal 3 3 3 EE qu eS s 3 3 3 3 3 3 3 3 3 3 3 Olo o O O O 0O0 0 0 O O O O O O O O O go 5 O O NINI N N N SEN N NN N J J N I N ES N O O o o J l o ORB I
9. E L BHAN Oeste Ae Layer1 6 Layer1 i FH 56 cur X285 JAER Click on Save to save this page amp Microsoft FrontPage D Chun_DiUser_Manual_WinConS000 Web_H MIMernofexamplelWnsinhm 1 5 X fase dEPH E WROD TRA decl ILRGD iao HED WED Aa am BAH Q g djd omi m 1x A Y 10 C pi rxmEHmER fe Hr Times New Roman 3 d2pf aun sv w a a S a E c main htm 1 bed ies ois os omms J fer Lr L GHSS Bess ae HH 56K bps ees 0 01 fe 581x285 Ree BET g Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 31 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 a If you want to know more about the Web HMI s 3 5 4 3 5 3 amp 5 Source code please refer to Chapter 5 Hnz Times New Roman 3 r lt html gt play your d lt title gt Your Title here lt title gt lt head gt L lt SCRIPT LANGUAGE JavaScript gt lt SCRIPT gt JavaScript code is normally placed inside the head area 5224 4T 31 RI head lt body gt The body area describes lt body gt the behavior of this page lt html gt Please go to the lt body gt 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
10. um P RO ED Begin z 4 amp T 1 For String amp Integer amp Float SELDIT sequential Lind sfc mone 7 to 3 Begin LD1 Ladder Diagram 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 2 4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS windows 2000 is rebooted If you want to know more about the CTFMON EXE please visit www microsoft com amp search CTFMON EXE EJ Windows LIFES E 5 x SE ERO RCO 388A RE FAAS St ors DE etate rpm 0 00 00 2044 K MAVAPS C EXE Pep D 0 00 02 3 724 E NISUM EXE 604 0g 0 00 00 4 316 E TEST EE 656 OO 0 00 00 gsz E mistezsk emxe 66 n 0 00 00 3 272 E oY MPROR YS Vl T20 0g 0 00 00 5 500 E Minti emtee soo 0g 0 00 06 220 E seochost exe ao n 0 00 02 072 E inetinto eee ana 03 0 00 00 9 686 E NISSERYV EXE 936 0g 0 00 00 5 268 E explorer exe 1140 OO 0 00 06 5 940 E 1436 n 0 00 01 9 204 E WAY AP W22 EXE 1444 0g 0 00 00 T12Z0E Mana Da eme 1468 ur 0 00 00 4 504 E UsrPrmpt exne 1504 n 0 00 00 1672 E Tl Lite ere 1512 n 0 00 01 14 248 E HRDF AAC an
11. 1 5 Nov 2010 by ICP DAS 5 11 blink_step 0 eee Blink step 1 if B12_blink 1 To display Error in red color E B12 innerText Error font_B12 color red blink step 1 Blink step 2 EE To display nothing in red color if B12_blink 1 B12 innerText font_B12 color rea in I Le eee ee ee ee ee om m m ou o m c o c mom o e e j setTimeout blink_obj blink period j function refresh data The action of the Text object B12 is if boolean val 12 0 defined here If boolean_val 12 0 no blink If boolean_val 12 1 blink B12 innerText Ok font_B12 color blue B12_blink 0 alse B12 blink 1 E lt body onLoad init gt The layout or location of the Text object B12 is defined here by the lt div and lt div gt tags lt div style position absolute width 214px height 53px z index 2 left 102px top 9px gt 5 12 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS lt font 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 ij The declaration of Text object B12 is defined here by the lt b mu tag and id B12 and lt b gt tag the initial value of
12. At most 10 programs can be 3 ME oc A NN NNI execute EUN m system startup Cc Setting A E Run Save and Reboot to store the setting in step A thru D and then it will auto reboot the WinPAC once WinPAC Utility 2 0 0 4 Help Configuration Save Save and Reboot Reboot without Save m am 1 Systern_Disk isagrafiisainPAC exe Restore Default Settings c5 Programs At most 10 programs can be 4 ENS specified to Program 7 H Browse 2 3 After the WinPAC reboot successfully please stop the ISaGRAF driver again The original WP 8xx1 8xx9 doesn t have the ISaGRAF driver running only the WP 8xx 8xx6 have it Note If the ISaGRAF driver is still running the files copied are failed even your eyes tell you it is successful Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 13 fi Y B guy LB iS E wy E E A I desktop rs w phrni WinPAC Hx47 Bx46 ISaGRAF Driver OK Setting web Sbout Configuration Slave Number wy f Modbus ATU Slave Port one d Ll Internet isa Win P AC Baud R ate 9200 N 8 1 Explorer t Project ney Current Application wpdrno n4 15411 4444 I5A1221124 Microsoft WordPad Elapsed Time Jo 0 02 32 Then download the files isaWinPAC exe rs wphmi exe mscorlib dll QuickerNet dll Quicker dll login dll main dll whmi filter dll amp isaWinPAC Ink two more files isa el dll amp sh
13. However it can connect the controller 192 168 1 5 255 255 255 0 well 4 f the problem is still there and you are using RS 232 to connect the controller check if your RS 232 cable is correct and check if you are setting the correct PC RS 232 port number to connect the controller 5 The last way is re start your PC and try again Ap 30 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS Appendix K Enable the Screen Saver of WinPAC Please set the following two items to enable the screen saver of WP 8xx7 In the Control Panel gt Power gt Schemes please select Power Scheme as AC power and then set both User Idle and System Idle to the same value or setting the System Idle value larger than the User Idle value and then remember to run WinPAC Utility gt File gt Save and Reboot The WP 8xx7 will turn off the backlight when time is up if user doesn t touch it screen and pushbuttons Then after in any time if user touches the screen or pushbutton the WP 8xx7 will turn on the backlight again F Programs d oy Favorites d Documents E Settings E Control Panel amp Help cJ Run e Network and Dial up Connections gi Taskbar and Start Menu Power Properties 7 namie Doves TE Display Input Panel Battery Power Scheme mm After 1 minute Switch state to Suspend G Microsoft WinPAc Utility 2 0 0 6
14. Related Products SMS LC Short Message service Data Sheet c SRM TA e Seo VP 25W7 23W7 HMI amp SCADA Demo Fies VP 2117 Software PC HMI iP Sx47 P 8x amp L8x37 80 ae Rue cM Eus UP TASA ous es ie L718886 0 En US unos cu Comparison Ta M FAQ odbus RU B7Pn I 87Kn BT cin a o eee amp 1 87K Remote I O Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 11 specifications WP 8137 843 7 883 7 8147 8447 8847 Models WP 8137 WP 8147 WP 0437 WP 8447 WP 8837 WP 8B47 E System Software OS Windows CE 5 0 Net Compact 2 0 Framework Embedded FTP server Web server Service E Development Software ISaGRAF Version 3 IEC 61131 3 standard Languages LD ST FBD SFC IL amp FC Supports Soft GRAF HMI in the XP 8xx7 CE6 WP 8xx7 and VP 2xW7 PAC Max Code Size Accept max 1 MB ISaGRAF code size Appli x8m must 1 MB Options Microsoft EVC 4 0 or VS NET 2003 2005 2008 VB NET2003 2005 2008 C NET 2003 2005 2008 ISaGRAF Software Non ISaGRAF B Web Service Support Web HMI function PC running Internet Explorer can access to the VEU WP 8xx via local Ethernet Internet or dial Modem to monitor and control Web HMI supports three levels username and password protection Security high middle low E Power Supply Input Range 10 30 Vpc Isolation 1 kV Redundant Power Inputs Yes with one power relay 1 A 24 Vpc for alarm
15. napdos isagraf wp 8xx7 demo Demo list Name Description l board No I O board Page menu is on the Left Page menu is on the Top slot 3 l 8017HW slot 3 l 8017HW wphmi 08 download controller s file to PC slot 0 1 8 055W Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 3 1 wphmi 09 pop up an alarm window on PC slot 0 87055W wphmi 11 Trend curve slot 2 87024W slot 3 1 801 7hW wphmi 12 Record 1 to 8 Ch i8017HW s volt every slot 3 l 8017hW 50ms and draw trend curve by slot 2 8024W M S Excel wphmi 13 Record 1 to 4 Ch i8017HW s voltage slot 3 1 8017hW every 10ms and draw trend curve by slot 2 I 8024W M S Excel 3 2 Steps To Set Up A Web HMI Demo 3 2 1 Step 1 Setup The Hardware A Please have one WP 8147 8447 8847 and then plug one 1l 87055W board in its slot O If you don t have the I 87055W 8 IN amp 8 OUT board please follow the same steps as below however your Web HMI demo may be replaced to wphmi 01 not wphmi 05 B Prepare one VGA monitor one USB mouse and one Ethernet cable and then connect them to the WinPAC 8xx7 Keyboard is using the software keyboard on the bottom right of the VGA screen C Power the WinPAC 8xx7 up 3 2 2 Step 2 Setting The Web Options A Please refer to the Appendix A 3 to set a fixed IP address to the WinPAC No DHCP B Check on Enable Web HMI and then click on Setting Please check the Enable Account
16. s Ch 1 to Ch 4 voltage Input in a user allocated RAM memory in the WinCon 8xx7 The sampling time is one record every 0 01 second The record period is 1 to 10 minutes Then PC can download this record and display it as a trend curve diagram by M S Excel Q How to record 1 8017H s Ch 1 to Ch 4 voltage input in S256 512 in 1 8437 80 or l 8837 80 The sampling time is one record every 0 05 second The record period is 1 to 10 minutes Then PC can download this record and display it as a trend curve diagram by M S Excel 59 Q Some skill to operate RS 232 422 485 serial COM Port by COM functions Q How to read write file data in WinCon Q How to connect RS 485 Remote l 7000 and 1 87K I O modules in l 8xx7 l 7188EG XG and WinCon 8xx7 PAC How to program RS 485 remote Il 7017RC 1 87017RC and 1 7018Z 62 Q How to setup a redundant system with Ethernet I O Q Why my RS 485 remote l 7000 and I 87K Output module s host watchdog function doesn t work to reset its output channels to safe output value while the RS 485 communication cable is broken Q ICP DAS release Stable and Cost effective Data Acquisition Auto Report system VC 6 0 VB 6 0 and ISaGRAF demo program are available Q How to process the Integer or Real value coming from the RS 232 RS 485 device Like the device of Bar Code reader or RS 232 weight meter Q How to send email with one attached file by WinCon 8xx7 or iPAC 8447 8847 or UPAC 7186EG Q Why the W 8xx
17. text size 8 value xxx gt the first input input name END type hidden gt must name as lt form gt BEGIN case sensitive and type as hidden Inside the form the last All the other lt input gt input must name as appeared between BEGIN END case sensitive and amp END are the data to post type as hidden to the controller The input name to control the WinPAC s data must follow below format The number followed behind the first letter should be in the range from 1 to 1024 This number is 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 432767 for ex W9 W1001 point to the ISaGRAF long integer data 2147483648 to 42147483647 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 timer and 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 wp 8xx7 english_manu User Manual 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 32 68 the n
18. 15 111 0 90 9 r H HI i i l 5 gt JER Left Side View Back View Right Side View Ap 16 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS 132 0 122 0 ft BR RE r and UB 701 NNIEEEEENIEENEEM el 0 Back View Right Side View Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 17 Appendix D How to Enable Disable WP 8xx7 s LAN2 Important Notice 1 Recommend to use NS 205 or NS 208 Industrial Ethernet Switch for WinPAC 8xx7 8xx6 2 Please always set a fixed IP to LAN1 and LAN2 if it is enabled for ISaGRAF applications The default setting of LAN2 of WP 8xx7 is disabled User must enable it before using LAN2 port ISaGRAF must use WP 8xx7 s LAN2 when using Ebus section 7 5 of the ISaGRAF User s Manual and New Redundant system please refer to www icpdas com FAQ Software ISaGRAF 093 ISaGRAF may use LAN2 when using Delivering message via UDP or TCP section 19 2 and 19 3 of the ISaGRAF User s Manual Please open Start gt Setting gt Control Panel and then click on Network and Dual up Connections to set as LAN2 as Enable or Disable Then run Start gt Programs gt WinPAC Utility click Save and Reboot to save the setting File view D Y b 9 9 De D e aue oa Bre u EE Certificates Date Time Dialing Display Input Panel Interne
19. 2 1 Displaying Dynamic Boolean Data Demo example whmi 02 and 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 function refresh data The action of the image object B1 is defined here B1 src img circle blue boolean val 1 pg if boolean_val 1 1 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 lt div style position absolute width 214px height 53px z index 2 left 102px top 7 9px gt img namez B1 src img circle blueO jpg div The layout or location of the image object B1 is defined lt body gt here by the lt div and lt div gt tags The declaration of image B1 is defined here by the img tag amp name B1 src src defines the initial value of B1 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 9 5 4 2 2 Displaying Dynamic Float amp Word amp Timer Data Demo example wphmi 01 wohmi_03 and wohmi_05 section 3 1 If user want to display the dynamic float value the below code can be used function refresh data The action of the Text object F21 is defined here F21 innerText float val 21 If want to display Word data please use word val If want to display Timer data
20. 4 Identification Options Runtime Desktop Communication Web Preferences A Screens H Stop display test PEA TI EN G3 e Mene i Run Application Send Period ms 9 Web Pages D Stop Application m 1000 aa EF Execution Environment _ Disable Remote Client Commands C Auto Screen Scaling 3 Logon Enable ToolTips Enable File Compression Log Virtual Keyboard Enable 8 10 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Download and run the project Select Project gt Execution Environment to open Execution Environment window On the Target tab select Network IP then type WP 8xx6 s correct IP address and click Connect Execution Environment 6 Eris Tools Window Hel y aeiy Application Import CE Licens Target SNtion am Settings O Local e tatus E Network TP GQ0 0 0 80 Platform O Serial Port Please type in the IP Only newer files address of your WP 8xx6 S Run Application en stop Application The Install system files button can update WinPAC s InduSoft firmware to your PC s current version Please make sure all file attribution are not read only in the WinPAC s System DiskMnduSoftV path If connection is fine click on the tab of Application then click Send to Target When download finished click RUN to start
21. 8144iW 4 Ch RS 422 RS485 RS485 Ch 1 D1 D1 RS 485 Ch 2 D2 D2 RS485 Ch 3 D3 D3 RS485 Ch 4 D4 D4 RS422 Ch 1 TxD1 TxD1 RxD1 RxD1 RS422 Ch 2 TxD2 TxD2 RxD2 RxD2 RS422 Ch 3 TxD3 TxD3 RxD3 RxD3 RS422 Ch 4 TxD4 TxD4 RxD4 RxD4 D1 TxD1 D1 TxD1 RxD1 RxD1 GND1 D2 TxD2 D2 TxD2 RxD2 RxD2 GND2 D3 TxD3 D3 TxD3 RxD3 RxD3 GND3 D4 TxD4 D4 TxD4 RxD4 RxD4 GND4 MEI MEI MEI hel hel hel D s MEI D 9 pel 9 D 9 HEI D 9 D s Ds He D 9 D 9 bel Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 23 Appendix F Slow Down ISaGRAF Driver s Speed You may wonder why The faster 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 programs running in WinPAC 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 down the speed of the ISaGRAF driver PLC Mode plc mode Description MODE Q Function Change the ISaGRAF driver speed Argument MODE integer Can be0 1 2 0r 3 0 Fast Mode Default setting the minimum PLC scan time is about 2 3 ms 1 Slow Mode the minimum PL
22. 99 icrpas x i amp amp g e Ramo WinPAC The Web PAC Please click on Enter to login 4 40 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 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 Intemet Explorer j i E Bi x BRE SHD HAO BOREU Tam KAH m E H E gt 0AA Que Genet One d s5 5 useiule e Logout 1T 356 Yu 3 Enable it and then foie PMB B ie FAO click on OK nS SS a And also check if your ISaGRAF project already downloaded to the controller Section 4 3 or section 3 2 3 And do you assign the correct Modbus Network address to the respective ISaGRAF variables Section 4 1 5 WinPACISaGRAF Driver Setting web About Configuration Slave Number fi Current running ISaGRAF Modbus RTLI Slave Port Nene project name IS listed here Baud Rate fsz v 8 1 Modify Project Current Application jexamplel Elapsed Time o 0 44 18 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 41 Chapter5 Web HMI Basics The WinPAC 8xx7 or WP 8xx7 is the abbreviation of the WinPAC 8147 8447 8847 The WinPAC 8xx6 or WP 8xx76 is the abbreviation of the WinPAC 8146 8446 8846 Important Notice 1 WP 8xx7 8xx6 supports only High profile I 8K and I 87K I O cards
23. Application Tags B Datast E Applice lm screen E Dat Data lr TTA H3 Tasks Bp Can bf Shared datahase The New Tag window will show as below Array Size Description 87058W L Channel 1 Web Data Cou 2 8 4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS This demo uses a DIO module 1 87055W an AO module I 87024W and one internal variable defined as follow Please create these tags one by one Web Data Boolean DI O 87055W Di channel 1 Boolean DO 0 J987055W DO channel 1 Integers AO O 87024W AO channel 1 Integers Interior O Internal variable Create main screen Select the Graphics tab in the Workspace window Click mouse right button in the file folder of Screen The Screen Attributes window appears 3 Setting screen attributes such as Size Location Runtime Properties and Background Picture then press OK to edit screen NO InduSoft Web Studio 666 File Edit Wiew deum Proiect Tools anions Help Pu He mx 5 MS i009 le M amp DI gt gudb ct e oemc Meise mode Oo FMmH Biz gt e em a ae a As fe MM Ges spe ab E 5 2 Click mouse right button in the file folder of Screen 3 Setup the attributes Screen Attributes oe ject Demo O27 APP Screens
24. Data ql Vat ME P C S UU EEG o G We Go Fo oS UU UU ee a oW 2000 m C Prey Pld F ile 5 AMI 1CIO 5 z FEME T CProgram Files Microsoft WET Cs Program Files Microsoft NET C Program Files Microsoft SQL CProsram Files Microsoft SQL System Drawing 2 0 0 0 2 0 0 0 C Program Files Microsoft NET System Messaging 2 0 0 0 2 0 0 0 CProgram Files Microsoft WET System Met KDA 2 0 0 2 0 0 0 Cs Program Files Microsoft NET System Web Services 2 0 0 0 2 0 0 0 C Program Files Microsoft WET System Windows For ms 2 0 0 0 2 DEO CProsram Files Microsoft WETS System Windows Forms Dat 2 0 0 0 2 0 0 0 C Program Files Microsoft NET g ote Yra nnn nnn a MEME MEUM NEN ue 4 d Cancel 3 Click the Browse button Select the QuickerNet dll from WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 vb net_2008 demo wp_vb01 vb01 subfolder or from your own location Add Reference NET Frojects Browse Recent ESED Ov Torem i UA faisant QD fasexda e Component Files C dll tlb olb ocx exe Cancel Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 6 3 4 When both mscorlib and QuickerNet dll are added please double click on My Project to check if the QuickerNet dll is well added solution Explorer lX Application References SS em ee ee Debug QuickerNet DA5Chun D WPSx4TWP 8xx 7 CD napdosNsagrafwrp Sxx T wk E
25. Example for ISaGRAF Professional XPAC XP 8xx7 CE6 PRO by FrontPage 125 Q XP 8xx7 CE6 And iDCS 8000 Or ET 7000 Or Modbus TCP Slave device Redundant System 126 Q How to use the WP 8847 to connect ET 7018Z and ET 7044D and develop the HMI program by InduSoft VS2008 C and VB NET 128 Q How to use The ISaGRAF PAC plus i 87113DW the master card of the Carlson Strain Gauage Inputs 129 Q How To Connect The ICP DAS Power Meter PM 2133 and PM 2134 By The ISaGRAF PAC Q How to automatically synchronize the time of WP 8x47 VP 23W7 over a network Q Soft GRAF Create A Colorful HMI in The XP 8xx7 CE6 and WP 8xx7 and 130 131 VP 2xW7 PAC paper version 1 3 132 Q Motion Control Using l 8094F 8092F 8094 co 16 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Chapter 10 C net 2008 Program Running In WP 8xx7 Access To ISaGRAF Variables This chapter lists the procedure for creating the first demo program by Visual otudio NET 2008 development tool There is some sample programs in the WinPAC 8xx7 CD ROM WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 CSharp net_2008 demo wp_CSharp01 Digital I O demo with one I 87055W in slot 0 of the WP 8xx7 wp CSharp02 Analog I O demo with one I 87024W in slot 1 and one Il 8017HW in slot 2 wp CSharp03 Read Write ISaGRAF internal integers timers and real variables No I O The related ISaGRAF demo project name are wp vb01
26. Fed tpe pae bmp wmt dib RA EZ You will see a window as below F Microsoft FrontPage DAChun D User Manual WinCons DNWWeb HhIdenbiexe nplel m n loj x TEC HAPE te GAD du TAT RHA Oy ERE MEN SABAH U G id d SES o9 c VIA MA lA cpi aaa M E Times New Roman 3 2p B Zz H E S224 J odore sive Fi B ai This i is a Web HMI sample page t Lay Layer rEHIISELNSEET S11 o Sp SE O01 TP 538x191 BEE BST 7 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 29 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 We will use K1 to display the state of the first input of the 87055W board and K2 for its second input R Mi xosoft FrontPage DN hion DOMU r_Manal Wan oneQ00s Web HMIdemptexempl un ml x ERE re HAGO RAD exu IAD HEA BED RQ EQ AAH ae PRL 2 S HA S SI 9 L vss Times New Eo E Microsoft FrontPage D Chun_D Wser_Mannal_WinCon8000 Web_HMIdemo exemplel im jol x EF E Te IBAD TEX IRD O x EQO HD m men am BHH 2 SAAMA TIER MA7 ld RR M g Times New Roman 302m B UE mm E main him x T3 FRAU Rhody sies Layer6 gt Ctlt k ae BEED EE EN This is a Web Npl
27. 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 Dicpdas com for ICP DAS s ISaGRAF technical service Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 3 3 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 Then 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 zu ISaGRAF Project Management File Edit Project PODS 1 Tools gt Archive EB creation Libraries Common data P rojects HE Archive Projects He Workbench Archive Aut TEN 2 Browse the Da pessime 3 Click on project Archive Dc to be backed up location EM 1 ll L 4 Begin to back up Close Help Backed up file will be saved to l j iv Compress this directory 4cchive location Click to reduce file size 3 4 Ge
28. G Monitor Ethernet Hub m USB Port d VS Mouse GND Back up Power Supply Power Supply captonat 10V 30VDC Options Power supply http www icpdas com products Accessories power supply power list htm DP 660 24V 2 5A 5V 0 5A power supply DIN Rail mounting DP 665 24V 2 5A 5V 0 5A power supply DP 1200 24V 5A power supply Industrial Ethernet switch http www icpdas com products Switch switch list htm NS 205 10 100M 5 ports NS 208 10 100M 8 ports Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 1 A 2 Modify The NET ID amp Modbus RTU Port Setting User may set WP 8xx7 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 Then please reset the WinPAC 8xx7 once after the modification to make the new setting work ge My Device isqhw35 WInPAC Bx47 8x46 SaGRAF Driver a Setting About desktop rs wphmi iE m neben Slave Number Modbus RTLI Slave Port None Internet isa WinP AcC Baud Rate jis200 if 3 1 Explorer m Project Eg Current Application fwypdmo_O4 ISA11 4444 ISA12 1124 Microsoft WordPad Elapsed Time o 0 01 56 Contguration Setting Configuration Setting Slave Modbus ATU Slave Port Baud Rat
29. Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 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 function Check_L21 3 var val form_L21 L21 value if val gt 12000 val lt 4000 d alert T 1 s value should be in the range of 4000 to 12000 return 3 Check form_L21 post value to the controller kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkxk And also inside the refresh_data function please insert below code To refresh displayed data this function is called by IE about every 1 5 sec later function refresh_data B1 src img circle_blue boolean val 1 jpg 3 B2 src img cmd boolean_val 2 jpg 3 B11 src img big Tcircle red boolean val 11 jpg if boolean val 12 0 d B12 innerText Ok font B12 color blue B12 blink 0 P else 3 B12 blinkz1 e T1 innerText timer val 21 ms Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 37 Now we have finished all the code Please save it amp Microsoft FrontPage D Wohun_D User_Manual_Wintlons0001 Web HhIdemowxenpleliunsindum dH ee PY I 4S EHE TRO FA dex CERAT f AP D PERI Eu BisROD DQ zg edjda imma mi 1
30. ISSymbol in each operation system is described below e Windows NT 2K XP Copy the files ISSymbolReg exe 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 e Windows 9x ME Copy the files ISSymbolReg exe ISSymbolA 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 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 8 13 Chapter9 Example Program amp FAQ The WinPAC 8xx7 WP 8xx7 is the abbreviation of the WP 8147 8447 8847 8137 8437 8837 The WinPAC 8xx6 WP 8xx6 is the abbreviation of the WP 8146 8446 8846 8136 8436 8836 Please refer to WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 english_manu user manual i 8xx7 pdf amp user manual i 8xx7 appendix pdf for detailed ISaGRAF 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 m ISaGRAF Project Management P E Bx File Edit Project Tools Optone Help BS OS mS Users emite EN EH creation Lan
31. Modbus RTU por COM SET test if receive byte or not COM STS Now move your cursor to the left of the parameter CYCLE of the BLINK block m ISaGRAF EZXAMPLEI LDI Quick LD Program File Edit Tools Options Help Aa Xoz ES xB d Pe QQulll ge F2 JEU F3 3HE Fd Gel F5 4H Fe HE F7 J F amp dy Fa Se toa C9 i 4 12 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Double click on it select Timer and then double click on variable name T1 Message Prograrn C function C function block FB instance Move your cursor to the coil Double click on it select Boolean and then double click on variable name OUTOT1 zs SaGRAF EXAMPLEI LD1 Quick LD Program File Edit Tools Options Help E i xg mg xad Bom aaa g F2 JEI F3 JHE F4 GH FS 4H Fe HE FTH F8 dl F8 toe C 1 BLINK RUN TEE Eee Scope Baolean k Input 1 in the 57055 board Ez Input 2 in the I B 7055 w board C function OUTO1 OUTOe2 h OF Cancel Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 13 Now we have finished our Ladder code click on Save and then click on X to exit a SaGRAF EXAMPLEI LD1 Quick LD Program iL Toole Options Help Nu mg xB d BE n Gai F bel FS FU FAD FS Il FR rem BLINK RUN 4 1 8 Connecting The I O We have defined variables name of OUTO1 OUTO2 as ou
32. RW F lictloDssdouedidiou bom OR vou uns tate rn op t P 6 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Chapter 7 Chapter 8 Chapter 9 9 1 9 2 9 3 Chapter 10 10 1 10 2 10 3 10 4 10 4 1 10 4 2 Appendix A A 1 A 2 A 3 A 4 A 5 A 6 A A 8 A 9 A 10 Appendix B Appendix C Appendix D Appendix E Appendix F Appendix G Appendix H Appendix Appendix J Appendix K EVC Program Running In WinPAC Access To ISaGRAF Variables 7 1 InduSoft Project Running In WinPAC Access To ISaGRAF Variables 8 1 Example Program amp FAQ oie vo xv EE er x eter eo sid Y vel eds vi vea E EET E Er d edi er duit 9 1 Ger onse Helps bo E ne oe eo En ee ee oe ee 9 1 Installing The ISaGRAF Programming ExaMples cccccsssccccssececssececesceceeseeeeeeeceeseeeeees 9 4 Frequently Asked OUSBSCIOS sd uidi tiae tt reducat Conse aue dui Boos du utu e Cactus 9 12 CH net 2008 Program Running In WP 8xx7 Access To ISaGRAF Variables 10 1 Created NeW Project ce 10 1 Add Project Reference for an Application cccsccccsssccccssecccesececeesceeeeseeeseecessencessenees 10 3 Compiling an Application Program eec nnne nnne nenne 10 5 OUICKerNET DLL eco do Poco hold Se e E pedo DE e etichette dec te Ev aded leote tn 10 6 Digital R WEUDCUOLS sio d tht nt e db td het nte dp t epe epus eu 10 7 Anal
33. TCP recycling time CO Co Q Application A Cost Effective and Hot Swap Redundancy System by CO D UPAC 7186EG or l 8437 80 plus RU 87P4 8 Q The WinCon 8347 8747 uPAC 7186EG and iP 8447 8847 connecting one or several l 7530 to link many CAN or CANopen devices and sensors 7 Q What does it mean and how to fix it when the 7 segment LED shows error messages of Err00 Err02 Err03 Err90 or E 0001 after booting the PAC Q Function Modifications The W 8347 8747 uPAC 7186EG l 8x37 80 I 8xx7 and l 7188EG XG with 8256 512 and X607 608 no longer support old retain method please change to use the better new retain method to retain variables 089 Q Why my uPAC 7186EG unable to renew the driver and ISaGRAF application Q How to use l 7017Z module in ISaGRAF PAC 091 Q How to use ISaGRAF PAC plus l 87089 the VW sensor Master card to measure the Vibration Wire frequency to calculate the stress of constructions CO CO Co 092 Q Setting IPAC 7186EG s and I 7188EG XG s COMS or COM2 as Modbus RTU olave port 093 Q New Hot Swap and Redundant solution for the WinCon 8347 8747 094 Q How to update the WinCon 8347 8747 s OS 095 Q The WinCon 8xx7 supports Max 32 Modbus TCP IP connections since Its Driver version 4 03 Q Release two C Function Blocks to read max 24 Words or 384 Bits from Modbus RTU ASCII devices Q How to modify the IP NET ID and Modbus RTU Slave port setting of the W 8347 8747 b
34. The related ISaGRAF demo project name are wp vb01 pia wp vb02 pia and wp vbO03 pia in the same directory 6 1 Create a New Project 1 In the first users need to open Microsoft Visual Studio NET 2008 software And then in the menu of File please run the New Project B tart Page Microsoft Visual Studio Edit Miew Tools Test Window Help Ctrl N New Web SiteW ShifttAlt N New File A Open Project Ctrl Open Web Site Shift Alt O Microsoft a Visual Studio 2008 UU EE 2 Check the Smart Device on the left then selecting the NET frame work 2 0 and Smart Device Project Entering a proper project name and the last click on OK Project types Templates NET Framework 2 0 E Visual Basic Visual Studio installed templates oe Windows Web Smart Device i Office 0 Database Reporting e Smart Device Project My Templates adesarch Online Templates A project for Smart Deyice applications Choose target platform Framework version and template in the next dialog bo Name project Cancel Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 6 1 3 Select the Device Application and Windows CE and NET Compact Framework Version 2 0 then click on OK Add New Smart Device Project project Target platform Windows CE NET Compact Framework version NET Compact F Framework Vers
35. Ts x 1 Right click on the Project name on the right hand side then select Add Reference Eebuild Deploy Clean Add d Add Eeference Add Web Reference 2 Select the mscorlib in the list box and click the button OK the component mscorlib must appear in the Selected Components area Add Reference NET Projects Browse Recent Component Name 4 Path O Customlblarshalers Click on Browse to CProgram Files Microsoft NET Microsoft VisualBasic eaarch C Program Files Microsoft NETY Microsoft WindowsCE Forn UU UU CProgram Files Microsoft NET Micresaft Windowshfobile 2 0 0 0 2 0 0 0 CProgram Files Microsoft NET S mscorlb 2L D 2 0 00 CiProsram Piles Whicrosoft ME Tw System 2 0 0 0 2 0 0 0 CProgram Files Microsoft NET S 2 0 0 0 CProgram Files Microsoft NET S 50727 CProgram Files Microsoft SQL 50727 ChiProsram Files Microsoft SQL vstem Lata System Data Sql vstem L ata sql568 System Drawing Le m xu CProgram Files Microsoft NET S System Messaging 2 0 0 0 2 0 0 0 CProsram Files Microsoft NET S System Met ODA 2 0 0 0 2 0 0 0 CProgram Files Microsoft NET System Web Services 2 0 0 0 2 0 0 0 CProgram Files Microsoft NET System Windows Forms 2 0 0 0 2 0 0 0 CProgram Files Microsoft NET System Windows Forms Dat 2 0 0 0 2000 C Program Files Microsoft NETS g Citam Yon nnn nnn a ME Bil
36. WinPAC Web HMI example 5 Multi Page demo slot 0 E I 87055W Menu is on the Left POE EEE ESAN WinPAC Web HMI example 5A Multi Page demo slotO E I 87055W Menu is on the Top id WinPAC Web HMI example 6 AIO demo slot slot 2 1 87024W 2 1 87024W 3 1 8017HW scaling is in ISaGRAF slot 3 8017HW slot 2 87024W Slot 3 l 8017HW gt i oO Cn D WinPAC Web HMI example 7 AIO demo slot 2 I 87024W 3 1 8017HW scaling is in PC WinPAC Web HMI example 8 download controller s file to PC slot 0 87055W WinPAC Web HMI example 9 pop up an alarm window on PC slot 0 1 87055W slot 0 I 87055W slot 2 1 8 024W trend curve demo slot 2 I 87024W slot 3 801 7HW slot 3 I 8017HW Record 1 to 8 Ch 1 8017HW s volt every 50ms and I 804 7HW draw trend curve by M S Excel Record 1 to 4 Ch 8017H s voltage every 10ms and draw trend curve by M S Excel slot 0 1 87055W 2 gt gt 2 y 3 3 3 s3 3 a o o o o EN CO d O O 5 3 x Il 8017HW O 3 3 Co Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 9 9 Install the ISaGRAF example programs When you install the ISaGRAF programming example for the WinPAC controller it is recommended that you create an ISaGRAF Project Group to install the demo program files into 3 ISaGRAF Project Management H 5 mi x File Edit Project Tools Options Help amp engm agl tlk 2 bott
37. in its slotOto7 Refer to wp 8xx7 datasheet pdf in the WP 8xx7 CD napdos isagraf wp 8xx english_manu 2 Please always set a fixed IP address to the WinPAC 8xx7 No DHCP Note 1 This chapter describes the programming basics for the Web HMI We will not focus on the HTML 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 lt frame gt lt frame gt in the Web HMI 4 Note The object name object ID code variable name and function name is case sensitive For example refresh data and Refresh data is different 5 here are more than ten Web HMI examples in the WinPAC 8xx7 s CD ROM Please refer to section 3 1 5 1 Basic Files For The Web HMI The basic Web HMI files include 2 folders and 3 DLL files and 4 htm files as below img default image files jog omp 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 Getting Started The WinPAC ISaGRAF PAC V
38. ini x Options Help gu i amp l x mbuz asc Modbus ASCII master mmican Connect MMICON by Com or Car modem ps Set Password of Come Modem_ 107 BDI amp 70O for the f1eeeG EG S176 401 amp 600 for the Z 1898s EG 119 ZDI amp 700 for the 7188s EG n n D s pa r ae RTU Slave Port2 5 defines the COM Port number to enable Value can be 0 1 to 8 Value of 0 means not enable it Baud rate setting can be 600 1200 2400 4800 9600 19200 38400 57600 115200 Select board equipment x Cancel i Hote Library Boards Equipments p N Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS Appendix H Compiling Error Result In Different ISaGRAF Version In the recent 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 newer version it may generate error when you re compile these example programs To erase this kind of error in different IsaGRAF workbench version please run Make Touch once And then re compile this example project 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 S8aGRAF DEMO 04 Programs ol x F
39. lt Caption lt gt Edivstyle position top 12px id layer1 gt This is a Web HMI sample page E div gt lt font gt solute width B53px height 24px z index 1 left 73px K1 Area Layer2 to Layer4 lt div style positionvabsolute 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 4 32 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS lt div style position absolute width 58px height 46px z index 2 left 1px top 38px id layer4 gt lt img namez B11 border 0 src img big_ Tcircle redO jpg width 43 height 41 gt lt div gt lt p gt amp nbsp lt div gt Please insert name B11 just after the lt img K2 Area Layer5 to Layer div style2 positiopz absolute width 101px height 93px z index 3 left 241px top 51px id2 layer5 lt 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 font id font_ B12 color blue size 3 gt lt b id B12 gt OK
40. lt b gt lt font gt lt div gt OUTO1 Area Layer8 to Layer10 div style2 positionz absolute width 82px height 79px z index 4 left 71px top 168px id layer8 gt 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 name B17 border 0 srcz 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 lt p gt amp nbsp lt div gt OUT02 Area Layer11 to Layer13 lt div style position absolute width 100px height 100px z index 5 left 242px top 164px id layer11 gt lt div style position absolute width 71px height 31px z index 1 left 4px top 8px id layer12 gt Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 33 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 style2 cursor hand name 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 namez form B2 method post action main dll gt input namez BEGIN type hidden gt input namez B2 type hidden value 0 gt input name END _ ty
41. or COM3 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 or other Touch 8000 series products For more information regarding interfacing the Touch series of MMI devices to the WP 8xx 8xx6 controller system please refer to Chapter 4 Linking The l 8xx7 To HMI Devices of the User s Manual Of The ISaGRAF Embedded Controller Cable Wiring RS 232 TXD OO RXD RXD W _ JWO__ XD GND GND CTS RTS Touch 500 Touch 8000 Touch 6000 M WP 8xx7 Modbus RTU Slave port RS 232 COMS3 or COM1 or COMA or COM5 6 7 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 9 A 10 Linking To Other Modbus Devices The COM RS 485 or COM3 RS 232 485 or COM1 4 COM5 to 14 refer to appendix E supports Modbus Master protocol Please refer to Chapter 8 of the User s Manual Of The ISaGRAF Embedded Controllers for more information RS 232 ff Modbus device WP 8xx7 COMI 3 RS 232 TxD 2 RxD RxD3 IxD GND5 GND CTS HIS RS 485 WP 8xx7 Modbus device Modbus device RS 485 RS 485 D LL 485 485 485 485 Ap 10 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS Appendix B Upgrade WinPAC s ISaGRAF Driver to Newer Version Note If you have purc
42. pia wp vb02 pia and wp vb03 pia in the same directory 10 1 Create a New Project 1 In the first users need to open Microsoft Visual Studio NET 2008 software And then in the menu of File please run the New Project Edit Siew Tools Test Window Help tmu i tad T 4 a New Web Site MN ShifttAlttN Page 13 New File Sj Open Project Ctrl O Vit fash I Studi T pen Project Open Web Site ShifttAlt o Isua tu IO 2008 2 Check the Smart Device on the left then selecting the NET frame work 2 0 and Smart Device Project Then entering a proper project name and the last click on OK Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 10 1 3 Select the Device Application and Windows CE and NET Compact Framework Version 2 0 then click on OK Add New Smart Device Project project 7 X Windows CE PG WET Compact Framework Version 2 0 T pact Framework Version 35 Qo EJE NE pie Class Library Console Control Library Empty Froject Application tonal emulator images a 10 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 10 2 Add Project Reference for an Application The QuickerNet library contains all modules functions Before you use the Quicker keyword in the program you must add the QuickerNet dll into the reference list of your application
43. port communications the default parameters for COM3 RS 232 port are Baudrate 19200 Parity none Format 8 bits 1 stop Flow control none Please refer to Appendix A 2 to setup COM3 as Modbus RTU slave port 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 SaGEAF EXAMPLE Programs Jof x File Make Project Tool Debug ptons Help E HSI CE tf uie om Ree Begin HE Begin LD1 Ladder Diagram Version for ICP DAS r 189 8000 TView wWincon series controllers only 4 22 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS If the development PC and the WinPAC 8xx7 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 A Your project name in the ISaGRAF SaGRAF EXAMPLE Debugger software is on the PC ee File Contol Tool pions Help ais gt gt B wpdmaol b active ee Current running project name inside the controller Version for ICP DAS P7 185 If the message in the ISaGRAF Debugger says Disconn
44. 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 x Workbench Archive Backup Restore Close Help Compress Archive location po XSCOTTXSDESKTOPSI 8XX771 Browse Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 9 11 9 3 Frequently Asked Questions FAQ ISaGRAF Ver 3 FAQ Questions Descriptions Demo programs http www icpdas com fag isagraf htm www icpdass com gt FAQ gt Software gt ISaGRAF Ver 3 English FAQ Table No English ISaGRAF Ver 3 FAQ 1 Q How to get counter value built in 1 7000 amp I 87xxx remote I O modules Q How to search I O boards and declare variables automatically for 8xx7 controllers 3 Q How to build a HMI screen by using ISaGRAF Q Can create my own functions inside ISaGRAF Q Can l use more than 32 I O in my ISaGRAF project if don t have ISaGRAF 256 or ISaGRAF L Q Can use ISaGRAF controller 1 8417 8817 8437 8837 l 7188EG XG as a Modbus Master controller to gather data from other Modbus devices Q Can write my own protocol or third party protocol to apply on I
45. the variable Boolean Variable Name is K1 and Input 1 in the 1 87055W 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 Boolean Y ariable x MH ame Network Address o Comment Input 1 in the I B7055w board Attributes Values oO input Cancel Ars me Output Next C Constant setto true at init M Retain Previous Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 5 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 Please follow the above same step to declare one another Boolean variable K2 Then you will have as below LET OH EXAMPLE1 Global booleans File Edit Tools Options Help Cd BOM Sle xed x amp Booleans integers Reg Heers Messages FB instances Defined words Name attrib Addr Comment finput o000 input 4 in the 87055W board input 0000 Input Z in the 87055VW board lt K2 Input 2 in the G7055W board M0000 input false true Quick way to declare There are two outputs used in th
46. them Data format is Float data handle several files Data amount 1000 can be more A simple Web HMI example slot 0 I 87055W 9 4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS A Soft GRAF demo Read process parameters from a sofgr 05 file or store them Data format is Integer data only handle one file Data amount less than 255 VB net 2008 demo 01 for WP 8xx7 DIO demo wp vos Please refer to Chapter 6 Soh oon wo vb02 VB net 2008 demo 02 for WP 8xx7 Analog I O slot 1 1 87024W p Please refer to Chapter 6 slot 2 1 8017HW VB net 2008 demo 03 for WP 8xx7 Read Write long integer float amp Timer Please refer to Chapter 6 Ej WinPAC demo 01 R W float value from file FAQ 060 WinPAC demo 02 R W long integer from file B FAQ 060 To output at a time interval SYSDAT HR SYSDAT W SYSTIM_R SYSTIM W ST QLD WinPAC demo_04 User defined Modbus protocol No using Mbus 5 5 5 32k O O E eo eo wo N O O 3 O oO gv i O Q 3 ER To do something at some sec later when an event B happens FAQ 01 7 Using Message Array MsgAry r MsgAry w E Convert float value to string using real str amp rea str2 PID control refer to WinPAC 8xx7 CD slot 0 1 87055W O Q 3 O oO l O O 3 O O napdos isgraf wp 8xx7 english_manu PID_AL Atm wpdmo 09 amp backup boolean amp long integer value To From Store
47. this B2 is n OK lt body gt 5 4 2 6 Displaying Float Value With Fixed Digit Number Behind The Symbol Demo example wphmi 06 and wphmi_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 paral 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 float str1 1 234567 2 return 1 23 Convert float val at Network Address 21 to a string function refresh data with digit number 3 behind the dot symbol F21 innerText float str1 float val 21 3 j 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 WinPAC via the Internet Explorer To set a new value to the boolean word long integer float 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 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 13 method should be post name of this form action should be main dll lt form name form_L21 method post action main dll gt lt input name BEGIN type hidden gt Inside the form input name L21 type
48. to other Modbus Slave devices WP 8137 8147 has no Multi Port COM3 amp COMA Max 5 COM Ports COM1 one of COM2 3 COM4 8 can support Modbus Modbus RTU RTU Slave protocol for connecting ISaGRAF PC HMI OPC Server amp HMI olave panels WP 8137 8147 has no COM3 amp COMA 2 Ethernet Ports all support Modbus TCP IP Slave protocol for connecting Modbus TCP IP ISaGRAF amp PC HMI Slave 2 Ports support up to 32 connections If PAC uses 1 connection to connect each PC HMI it can connect up to 32 14 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Web HMI l 7000 amp I 87K RS 485 Remote I O M 7000 Series Modbus l O Modbus TCP IP I O FRnet I O Send E mail Ebus SMS Short Message Service User Defined Protocol MMICON LCD UDP Server amp UDP Client Exchange Message amp Auto Report TCP Client Exchange Message amp Auto Report PC HMI If PAC uses 2 connections to connect each PC HMI it can connect up to 16 PC HMI When one Ethernet port is broken the other one can still connect to PC HMI Ethernet Ports for connecting PC running Internet Explorer One of COM2 COMS supports l 7000 I O modules I 87K base I 87K Serial I O boards or RU 87Pn I 87K High Profile I O boards as Remote I O WP 8147 has no COM3 amp COM4 Max 255 I 7000 87K Remote I O modules for one controller Max 10 RS 485 ports COM1 4 amp COM5 14 if multi seri
49. 057W 8060W 8063W 8064W 8068W 8069W Relay Output boards can not generate fast square wave High Speed PWM Module E Counter Encoder Frequency 8 ch max for 1 controller Counter val 32 bit 250 Hz max Min ON amp OFF width must gt 2 ms Parallel DI l Counter Optional DI Boards l 8040W 8040PW 8042W 8046W 8048W 8050W 8051W 8052W 8053W 8053PW 8054W 8055W 8058W 8063W Counter input 100 Hz max Counter value 0 65535 16 bit Serial DI Optional Serial l 87K DI Boards Counter I 87040W 87046W 87051W 87052W 87053W 87053W A5 87054W 87055W 87058W 87059W 87063W Remote DI All remote l 7000 amp I 87K DI modules support counters Counter 100 Hz max value 0 65535 High Speed l 87082W 100 kHz max 32 bit Counter l 8084W 250 kHz max 32 bit l 8093W 3 axis Encoder Module max 1M Hz for quadrant input mode max Encoder 4 MHz for pulse direction and cw ccw input mode FAQ 112 l 8084W 250 kHz max 4 ch encoder can be pulse direction or up down or A B phase Quad mode No support Encoder Z index FAQ 100 Ereauene I 87082W 2 ch 1 Hz 100 kHz quency l 8084W 8 ch 1 Hz 250 kHz E Protocols Modbus TCP IP Link to max 100 devices that support Standard Modbus TCP IP Slave Master protocol FAQ 113 Modbus Max 10 COM Ports COM1 4 and COMS 14 if multi serial port boards are RTU ASCII plugged in slot 0 3 can support multi ports of Modbus RTU ASCII Master Master protocol to connect
50. 1 0 A 5 V supply to CPU 1 1 A 5 V supply to CPU 1 2 A 5 V supply to CPU and backplane and backplane and backplane Capacity 0 6 A 5 V supply to I O 4 9 A 5 V supply to I O 4 8 A 5 V supply to I O expansion slots expansion slots total 30 W total 30 W expansion slots total 8 W Consumption 7 3 W 0 3 A 24 Vpc 9 1 W 0 38 A 24 Vpc 9 6 W 0 4 A 24 Voc B General Environment Operating Temperature 25 75 C Venpereture Storage Temperature 30 80 C Humidity 5 90 RH non condensing E System CPU PXA270 32 bit and 520 MHz or compatible SDRAM 128 MB din PATY 512 KB for 5 years data retain while power off ackup SRAM 12 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS FLASH EEPROM Expansion FLASH Memory RTC DWT Hardware Serial Number NET ID Rotary Switch DIP Switch I O Slots WP 8x37 128 MB 64 MB for OS image 63 MB for built in Flash disk 1 MB for registry WP 8x47 96 MB 64 MB for OS image 31 MB for built in Flash disk 1 MB for registry 16 KB Data retention 40 years 1 000 000 erase write cycles microSD socket with 1 GB microSD card Support up to 16 GB compatible microSDHC card Real Time Clock second minute hour date day of week month year Dual Watchdog Timers Yes Yes 64 bit hardware unique serial number 1 255 user assigned by software Yes 0 9 NoYes bits Yes 8 bits 1 slotO 4 slotO slot3 8 slotO s
51. 1 3 standard LD ST FBD SFC IL amp FC or Non ISaGRAF Microsoft EVC 4 0 or VS NET 2008 2005 2003 VB net C net Reference Guide ISaGRAF User s Manual English Manual WP 8xx7 CD napdos isagraf wp 8xx7 english_manu user manual i 8xx7 pdf amp user manual i 8xx7 appendix pdf ISaGRAF 352 2 tH Chinese Manual WP 8xx7 CD napdos isagraf wp 8xx7 chinese_manu chinese user manual i 8xx7 pdf amp chinese user manual i 8xx7 appendix pdf More from the Internet http www icpdas com products PAC 1 8000 isagraf htm Technical Service Please contact local agent or email problem report to service icpdas com FAQ http www icpdas com fag isagraf htm Written by Chun Tsai Edited by Eva Li Copyright Jan 2009 by ICP DAS CO LTD All Rights Reserved Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 Table of Contents Getting Started The WinPAC ISaGRAF PAC ccscsccccscsccccccscnccccccscsccccccscsceccccscsceccscecscesescecscesoss 1 Importa b NOCO irvae eco es Gite Rex rt o vias tv eeu oto Mis Seas onsite eve dln sacle ad Pv ean ad ose teense meee 1 Mrs Ee A MERE ETT T E 1 Trademark e coDyrignt NOTCE uos tid eben ib n omm oe is ete lbe ame e at osten rd robe i epe 1 Development SoftWare 7st iier v aee gre a vr ee Peur v TEN EGCU E Re va ARE ON Oe uH PAPER vD GARE exi VOCE TUS 1 REEF ONCE GUIE oaro or TED 1 af ers Serie ROTE D TT UT 1 Table of CONLOM ES orin
52. 1 5 Nov 2010 by ICP DAS 1 9 Multiple Web HMI Monitor amp Control Everywhere PC Running the Internet Explorer Sc 000000000 sie EIT kn sap ap AT morty ze a ET Em si4 9 23 2 tiise Ethernet WinPAC 8x47 O Modules 1 E PC running Internet Explorer Modem RS 485 esl b am i EEE i l 7000 RU 87P4 8 l 87K 1 87K4 5 8 9 87K I O Modules High Profile I O Modules I O Modules 1 10 Send Email with One Attached File e More at www icodas com gt FAQ gt Software gt ISaGHAF Ver 3 English 067 memet Am Da Z Gateway Server in ISP Company Y WP 8x47 wea NS 205 Ethernet Y 1 7000 M 7000 Y RU 87Pn Remote I O Modules Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 5 1 11 Data Recorder amp Data Logger Ethernet PC can load the data file stored in the WP 8x47 s Flash Disk or microSD card by ftp or by Web 1 12 Remote I O Application Y 1 7000 M 7000 Y RU 87Pn o A A A A f m 277 Remote I O RU 87P4 8 I 87K I O Nearly 100 choices 7Hot Swap of Remote I O modules VAuto Configuration at run time I 7000 amp I 87K Plug amp Play at run time v Support only High Profile l 87K I O RS 485 zCan be one of COM2 or COM3 Port 1 WP 8x47 1 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 13 S
53. 2 cec eee eee eene enne esent eese sheet ese sens Ap 19 Slow Down ISaGRAF Driver s Speed 4 eee eene eene eene nennen tenerent to rene Ap 24 Setup More Modbus RTU Salve Ports sccscscsccccscsceccccscsceccccscsceccccscscescccecsces Ap 25 Compiling Error Result In Different ISaGRAF Version eee eee eene Ap 27 Using RS 232 Serial USB Touch Monitor ccssccssccssccsscsscccsesescnssccseseccusssesesecs Ap 28 Why my PC running ISaGRAF cannot connect the ISaGRAF PAC correctly Ap 30 Enable the Screen Saver of WINPAC cscsscscsccccscscsccccscsceccccscscescccscsceseccecscecees Ap 31 4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Reference Guide ISaGRAF User s Manual English Manual WinPAC 8xx7 CD napdos isagraf wp 8xx7 english_manu user manual i 8xx7 pdf amp user manual i 8xx7 Appendix pdf http www icpdas com products PAC i 8000 getting started manual htm ISaGRAF WEH FH Chinese Manual WinPAC 8xx7 CD napdos isagraf wp 8xx7 chinese_manu chinese user manual i 8xx7 pdf amp chinese user manual i 8xx7 Appendix pdf http www icpdas com products PAC i 8000 getting started manual htm Industrial Ethernet Switch NS 205 NS 208 http www icpdas com products Switch switch list htm Model NS 205 _Model NS 208 Power Supply http www icpdas com products Accessories power supply power lis
54. 2 B2 al body gt 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 flag confirm Are you sure posting any form if flag if GetUserlD form obj false return false form_obj submit return true Demo example wphmi 03 wphmi 04 else wphmi_05 wphmi_06 and wphmi 07 return false i j Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 17 function refresh_data Display dynamic value here If data is word please use word val L15 innerText get long val 15 If data is timer please use timer val F17 innerText float val 17 If data is string please use string val The layout or location of the text object L15 amp F17 lt body onLoad init gt are defined here by the lt div lt div gt tags lt div style position absolute width 195px height 25px z index 2 left 45px top 52px gt L15 lt b id L15 gt xxxx lt b gt lt div gt lt 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 input name L15 type te
55. 7 or I 8xx7 or I 7188EG XG always reset How to fix it Q Why my PC can not run ftp to connect W 8347 or W 8747 70 Q How to do Time Synchronization and record state of many ISaGRAF PACs Q Application Record 10 Ch temperature value into a file in W 8xx7 every minute When 24 hour recording is finished send this record file by email every day Q Application sample Record Voltage Current input by W 8xx7 every 20 ms for 1 to 10 minutes Then send this record file by email Q Why does the l 7017 or 1 8701 7 s Current Input reading value become double or incorrect C1 NI O O O C1 Co NI O1 Co Co OD N N NO N 74 Q How to use ISaGRAF new Retain Variable What is its advantage 75 Q Why my ISaGRAF project can not connect Modbus Slave device correctly Q Application sample Record Voltage Current input by PAC 7186EG every second for 1 to 10 minutes Then send this record file by email N NI Q Application Record 10 Ch temperature value into a file in UPAC 7186EG every minute When 24 hour recording Is finished send this record file by email every day co 14 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS English ISaGRAF Ver 3 FAQ Q How to measure 150VDC in ISaGRAF controllers plus the I 87017W A5 I O card 81 82 Q An easy way to program the fast FRnet remote I O modules Q How to set l 8x37 I 8x37 80 I 7188EG and uPAC 7186EG s
56. 8 No support other COM port number 3 Before using this function please make sure the above ports do exist and well configured refer to the appendix E 6 Via 2nd 3rd 4th or 5th Modbus RTU slave port user may use ISaGRAF to Debug Set val to the controller however user cannot Stop Download Update the ISaGRAF program 7 To Debug Set val Stop Download Update the ISaGRAF program please use Ethernet port or the first Modbus RTU slave port if enabled The second slave port of COM1 COM2 COM3 COM4 and COM5 to COM8 are not for ISaGRAF to Stop Download Debug Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 25 How to setup Please connect Rtu slav in the ISaGRAF IO connection window Re compile the project and download to the WinPAC via Ethernet or first Modbus RTU port if it is enabled Zug 716 4 Tl Program l Fie Make Project Tool Debug D Meu D E m 75 x de oy uw SaGRAF Tl T connechon File Edit Tools a Peo Ap 26 Options Help am rtu slav ta remot Dod EE i Ee E 1 1 Ag taz The 4 ch boolean inputs indicate the related port is well enabled or not True Enable Ok False disabled Htu Slave Paort Baud Port 19200 reserved 0 Htu Slave Port3 0 Baud Port3 19200 reserved 0 Htu Slave _Port4 0 Baud Port4 19200 reserved bus slave Portb5 0 pores 0 reserved reserved
57. 8xx7 is the abbreviation of the WinPAC 8147 8447 8847 8137 8437 8837 The WinPAC 8xx6 or WP 8xx6 is the abbreviation of the WinPAC 8146 8446 8846 8136 8436 8836 Important Notice 1 WP 8xx7 8xx6 supports only High profile I 8K and I 87K I O cards in its slot 0 to 7 Refer to WP 8xx7 CD napdos isagraf wp 8xx7 english_manu wp 8xx7 datasheet pdf 2 Please always set a fixed IP address to the WinPAC 8xx7 No DHCP 3 Recommend to use NS 205 or NS 208 Industrial Ethernet Switch for WinPAC Please refer to CD ROM napdos isagraf wp 8xx7 english_manu user manual i 8xx pdf Section 2 1 for detailed ISaGRAF programming basics If user would like to program WinPAC 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 WinPAC 8xx7 controller with one I 87055W I O board in its slot 0 to make it work If you haven t installed ISaGRAF amp CP DAS Utilities for ISaGRAF please go back to read chapter 2 This example contains one Ladder program This demo program resides at the WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 demo examplef1 pia Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 1 A ISaGRAF Project Management Name of your project group File Edit Project T
58. AF EXAMPLE1 Programs n x File Make Project Tool Debug Options Help E m gx DEMM xXx ow lag Begin Begin LD1 Ladder Diagram 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 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 zig ISaGRAF EXAMPLE1 LD1 Quick LI fie ISaGRAF EXAMPLE1 LD1 Q File PHAT Tools Options Help File Edit Tools Options Help e gie xi E Cut Fo 4b F3 JHE Fd GH F5 4H FE Hi u Copy h Faste Contact on the left Paste special Delete a a met zyumbol text 4 10 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS aie SaGRAF EXAMPLE1 LD1 Quick LD Program olx File Edit Tools ptons Help Aa XZA ws xs Po Qguls Fo JE FS Fd GH F5 4H FE Hr FTH F amp du Fa tS n HE Fu 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 ai SaGRAF EZXAMPLEI LDI Quick LD Program File Edit Tools Options Help Ba Mas wee dim Aaah S Click on the F6 Block on the left icon and you will create a bl
59. C scan time is about 6 7 ms 2 Slower Mode the minimum PLC scan time is about 9 11 ms 3 or other value Slowest Mode the min PLC scan time is about 19 21 ms Return Q boolean always return True Note 1 The system s default setting is Fast Mode 2 User may call PLC mode in the first PLC scan to change the PLC speed 3 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 WinPAC Example IMP 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 Ap 24 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS Appendix G Setup More Modbus RTU Salve Ports The WinPAC 8xx7 8xx6 can setup up to five Modbus RTU slave ports in one of the COM or COMS and in four of the COM1to COM8 COM5 to COM8 are the expansion multi serial ports in slot O to 3 refer to the appendix E Note WP 8147 doesn t have COM3 and COMA only WP 8447 8847 have them 1 The first Modbus RTU slave port can be one of the COM2 or COMSG which can be set on the WinPAC s monitor by mouse refer to the appendix A 2 2 User may enable 2nd 3rd 4th or 5th Modbus RTU slave port in COM1 to COM
60. CP DAS 9 3 9 2 Installing The ISaGRAF Programming Examples The ISaGRAF programming examples http www icpdas com products PAC i 8000 isagraf demo list htm WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 demo ISaGRAF User s Manual http Awww icodas com products PAC i 8000 getting started manual htm English napdos isagraf wp 8xx7 english_manu User Manual 8xx7 pdf User Manual 8xx7 Appendix pdf WP 8xx7 Demo Example Files htto Awww icodas com products PAC i 8000 isagraf demo list htm fto fto icodas com pub cd winpac 8xx 7 napdos isagrat wo 8xx 7 demo ISaGRAF FAQ www icpdas com gt FAQ gt Software gt ISaGRAF V 3 English http www icpdas com fag isagrat htm Example lists A simple Soft GRAF HMI demo sofgr_01 sofgr_ 08 FAQ 131 A Soft GRAF demo which use 18 HMI objects A Soft GRAF demo Display 10 temperature values and 8 D I values and control 8 D O Data amount less than 255 A Soft GRAF demo Read process parameters from a file or store them Data format is Float data only handle one file Data amount less than 255 A Soft GRAF demo Read process parameters from a sofgr 06 file or store them Data format is Float data handle several files Data amount less than 255 A Soft GRAF demo Read process parameters from a file or store them Data format is Integer data handle several files Data amount 1000 can be more A Soft GRAF demo Read process parameters from a file or store
61. CProgram Files Microsoft NE TISDE CompactFramework we aa Data 0 0 C Program Files Microsoft ME T SDENCompactFra mevrorkNz System Drawing 0 0 Program Files Micresoft NE TSDE Co mpactFramework wa Resources System Windows For 0 0 CProgram Files Microsoft NE T SDE Co mpactFramework we System Xml 0 0 Cs Program Files Microsoft NE T GSDENCompactFra mevrorkNwz Compile Siening Devices 5 Right click on the Form1 vb and select View Code from the pop up Move cursor to top and insert the Option Explicit On and Imports Quicker in the first two statements Solution Explorer lX Forml vb Design Formlvb 0 000 el an z ES ay J General Declarations fel project 1 Option Explicit On Each variable must he declared well a E My Project 3 Imports Quicker ERA A Double click 3 Open Open With EPuhlic Class Forml Dim is try ok As Bwte CP la Batch State Ir Dk U error C View Designer Then you can design all required objects and actions inside your VB Forms 6 4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 6 3 Compiling an Application Program When you have finished writing a program you can build an application by the following steps 1 Remember to save at any time for safety B project Microsoft Visual Studio File Edit View Project Build Debug D le Pointe LP BandinoSanree 2 The
62. Description MainPage Background Picture Size Security O Enable Background BMP Width 320 0 Shared image Height 240 Hide Runtime Properties Titlabar System Menu eset alles Style Replace Fartial i Don t redraw 4 DB 1 lt DB2 3 Insert new screen fer am Salm ancel Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 8 5 4 Select Text icon then clink on the main screen where want to establish a text and type 8 055W DI 1 5 Select Text again following the previous text and type then select Text I O means 1 digit means 4 digits means 6 digits z x eomLi s c e bAT a Workspace 22308 EA osos A F 3h Project Demo 1 APP eT PERMET bcp DERE Riccardi RE E Screens oU Group SCIeEn 070 2 4 9 5 e e a a Een gt e e o o e 0 e e e e e e e 0e c Web Pages E 5 Click on Text again to ld adda f label and then click on Text I O rage means the display Text has 1 digit FE means 4 digits 6 Double click the object and the Object Properties window will show as below then type DI in the Tag Expression I Replace Replace Hint TI Text 10 Hm Taa E o Input Enabled Em Password Confirm L E Sign Repeat former method to create other objects and click Save icon on the main men
63. Getting Started The WinPAC ISaGRAF PAC The WinPAC 8xx7 WP 8xx7 is the abbreviation of the WP 8147 8447 8847 8137 8437 8837 The WinPAC 8xx6 WP 8xx6 is the abbreviation of the WP 8146 8446 8846 8136 8436 8836 Important Notice 1 WP 8xx7 8xx6 supports only High profile I 8K and I 87K I O cards in its slot 0 to 7 Refer to WP 8xx7 CD napdos isagraf wp 8xx7 english_manu wp 8xx7 datasheet pdf 2 Please always set a fixed IP address to the WinPAC 8xx7 No DHCP 3 Please always set WP 8xx s LAN2 as disabled if not using it refer to appendix D 4 Recommend to use the NS 205 or NS 208 Industrial Ethernet Switch for WP 8xx7 8xx6 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 ISaGRAF Ver 3 4x or Ver 3 5x IEC 6113
64. ISaGRAF PACs via Ebus by using ISaGRAF PAC and 1 87211w 110 Q ZigBee Wireless Application How to control remote I O and acquire data 8 111 Q How to use the GIM 201 RS232 to send a short message in user s local language 112 Q Program the I 8093W 3 axis high speed Encoder input module by ISaGRAF Q Linking ISaGRAF PAC to Modbus TCP IP Slave Devices By Modbus TCP Master Protocol 114 Q How to avoid garbled content when printing ISaGRAF PDF documents Q Working eLogger HMI with ISaGRAF SoftLogic in the WP 8xx7 VP 2xW7 and me XP 8xx7 CE6 PAC the document version is 1 03 released on Jul 15 2010 116 Q How to enable the second to fifth Modbus RTU slave port of the WP 8xx7 and VP 2xW7 without modifying the ISaGRAF project 117 Q How to install the ISaGRAF Ver 3 on Windows Vista or Windows 7 Q A M S VC 6 0 Demo Program To Connect One WP 8xx7 by Modbus TCP Protocol Q How to implement the communication redundancy between the central control station and the local stations Q How to calculate the moving average value of a variable by c functions Aver N or Aver F 119 120 121 Q How to install or remove the ISaGRAF development platform properly Q How To Solve The USB Freeze Problem Of The W 8x4x How To Update The W 8x4x s OS Image Q How to move the InduSoft picture faster in the W 8xx6 WP 8xx6 VP 25W6 no NO CO CO 123 XP 8xx6 CE6 124 Q A Web HMI
65. M NO N N E uu J op oO O D o RD O Ol a O O AU Q O o v 16 o O O WP8xx7 Same as wdmo 65a but add time synchronization and state report to PC slot 2 87018z FAQ 067 71 72 76 77 Record 1 to 4 Ch i8017HW voltage per 20ms then slot 2 1 8024W send this record file by Email slot 3 l 8017HW FRnet WP 8xx7 or iP 8447 slot 1 1 8172W Slot1 8172W FR 2057 PortO FR 2057 adr 4 FR 2053 adr 8 FR 2053 E OMS WP 8447 COM4 GTM 201 RS232 GTM 201 RS232 WP 8xx7 COMA connects l 7530 CANopen ID 1 device 8DI 8DO 4AO 8Al FAQ 086 Similiar as wdmo 714A but connecting two l 7530 One is at COM5 one is at COM6 WP8xx7 COMA 7530 CAN device to get string with float or integer data inside Similiar as wdmo 71c but connecting two l 7530 One is at COMB one is at COM6 WP 8xx7 COM5 l 7530 CANopen device COM6 l 7530 CAN device New WP 8xx7 redundant system with RU 87P4 I 87K I O Without Touch HMI FAQ 093 same as wpdmo72a but setup COM1 as Modbus RTU slave port to connect one RS 232 Touch HMI FAQ 093 New WP 8xx7 redundant system with I 8KE8 MTCP I O Without Touch HMI New WP 8xx redundant system without I 7000 or I 87K I O or I 8KE8 MTCP I O Without Touch HMI get average value of one REAL value FAQ 099 get average value of one Integer value FAQ 099 Using the l 8088W 8 ch PWM output in slotO slot 0 8088W Connect
66. MI behave smoothly Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Information and links e For more information refer to FAQ 131 www icpdas com FAQ Software ISaGRAF Ver 3 English 131 Soft GRAF Create A Colorful HMI in The XP 8xx7 CE6 and WP 8xx7 and VP 2xW7 PAC e The following ISaGRAF drivers support the Soft GRAF XP 8xx7 CE6 Ver 1 07 or later WP 8x37 8x47 Ver 1 28 or later VP 25W7 23W7 Ver 1 19 or later The latest version of ISaGRAF driver http www icpdas com products PAC i 8000 isagraf link htm Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 2 9 Chapter 3 Setting Up A Web HMI Demo The WinPAC 8xx7 or WP 8xx7 is the abbreviation of the WinPAC 8147 8447 8847 8137 8437 8837 The WinPAC 8xx6 or WP 8xx6 is the abbreviation of the WinPAC 8146 8446 8846 8136 8436 8836 Important Notice 1 WP 8xx7 8xx6 supports only High profile I 8K and I 87K I O cards in its slot O to 7 Refer to WP 8xx7 CD napdos isagrafwp 8xx7 english manu wp 8xx7 datasheet pdf 2 Please always set a fixed IP address to the WinPAC 8xx7 No DHCP Hecommend to use the NS 205 NS 208 Industrial Ethernet Switch for WinPAC 8xx6 8xx7 3 The leftmost I O slot number of the WinPAC is 0 3 1 Web Demo List The Web page location WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 wp_webhmi_demo The respective ISaGRAF project location WinPAC 8xx7 CD ROM
67. MI pages seen 4 26 Step 2 Building The MaM NUN ic ses saco peus nana pori vnt da Em RES stus antel per prO eb QE da 4 27 Step 3 Adding Control Code To The Main Atm cccccccssscccesseeceeseceeeeecesseeeeeeees 4 32 Step 4 Download Web HMI Pages To The Controller eeeeeeees 4 39 Web HMI BaSiCS setas eh RE LUE NE A os dans UNI Ve R ROAA Ua eR EE NE PNE 5 1 Basic Files For The Web HBlVlllussssesd CE bvtis d QU RR eU a n QU m anu eMe bar inva 5 1 EOSIN 1g ETT 5 2 MEANGAN PN ETT Mm 5 4 MAA RN SI UR 5 6 Ac Simple Main hte EXIM Enciano asd E e o oa ab bnie n ans ta Poe a tete EN 5 6 More About The refresh data Function And Dynamic Data eeeeees 5 8 Post Data To The CODtrollB coscessedissca vetat siae robs RU a ea Beet situs orante che eR Ou eer S ibm iud 5 13 MAII uc TP ETE 5 19 Fever 2 And Levels Rae 6e oci cce en recreatus m e ete 5 19 Switch One Page To One Another Page ccccssscccssseccessececesececeseeceeseceseeecesseesessees 5 20 WV ED Securty RR Tm 5 21 VB net 2008 Program Running In WinPAC 8xx7 Access To ISaGRAF Variables 6 1 Create a I Edge ledc sa E 6 1 Add Project Reference Tor an ADP Cation casi ee ER ooi ra Ue bn E Come Rte orale oe QUEE OUS 6 2 Compiling an Application Program eeeeseeeeennnnmnnne nennen nnns 6 5 1 fet igr ab Dc tere 6 6 Digital WRUNG a ETE TOTEM 6 6 Analog
68. MS Short Message Service e Short message can be sent in multiple language format like Chinese English others e More at www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 English 111 est I Gt 201 Rs232 1 ir emis GSM GPRS Modem 1 14 Auto report Acquisition amp Control Data e WP 8447 8847 can use UDP IP Client to auto report acquisition data amp control data to local or remote internet PC Server e Advantage Every PAC in the different location doesn t need a fixed Internet IP e More at www icpdas com FAQ Software ISaGRAF Ver 3 065 Stable and Cost effective Data Acquisition Auto Report System peal RS 232 I 7520R Provides 4 Level Internet Security Protection Ethernet Bot 47 RS 485 PC Server NS 205 zu onl S9 Modbus HS Edsiolladf Y Dy RTU devices Y l 7000 I O Gateway server in ISP company TY Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 7 1 15 Motion Control e One 8091W can control 2 axes X Y plane or 2 axes independent Two 8091W can control 4 axes X Y plane 2 axes independent or 4 axes independent e Encoder Modules I 8084W 4 axis without Z index l 8090W 3 axis l 8093W 3 axis WP 8x47 1 16 Stress Monitoring Application of Constructions More at www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 English 091 um a m TEU El d
69. Modules and Modbus Device PC PC HMI PC HMI ZB 2551P i ZB 2550P UV a aig i ar RU 87P4 8 I 87K High Profile 1 O ISaGRAF PAC PLURI iP 8x47 gE WP 8x47 f iat ZL ya NET ID 4 5 6 7 n 2agyaes rem vr CC B Z Y ZB 2000P Series I O ZB 2550P egt NET ID 8 NET ID 9 Host A ZB 2551P Slave ZB 2551P Slave M RU 87P4 8 1 87K I 7000 I O 3 High Profile I O Cee i I I M 70001 O Other Modbus Device i I I v NET ID 1 2 3 NET ID 4 5 6 t EE E NET ID 10 11 12 NET ID 13 14 15 16 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 11 1 22 GPS Application ISaGRAF PAC Plus I 87211W amp GPS 721 e WP 8xx7 VP 2xW7 iP 8xx7 uPAC 7186 P EG can support one I 87211W slot 077 or 1 87211W GPS 721 as RS 485 remote GPS I O e For doing auto time synchronization and getting local Longitude and Latitude e More at e More GPS receivers at receiver www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 gt 107 www icodas com gt Products gt Wireless gt GPS e GPS Application C ISaGRAF PAC I 87211W or GPS 721 iP 8x47 Y m E ER t P 8x47 i Em eA a HPAC 7186 P EG Date Time ongitu ae x r s mC S 721 1 12 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Chapter 2 Software Installation And Working Soft GRAF HMI with ISaGRAF Pleas
70. N2 oet your WinPAC s IP address amp its Subnet Mask Please always set as Fixed IP for ISaGRAF application No DHCP Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 11 LANL Fast Ethernet Adapteri Settings IP Address Warne Servers An IP address can be Obtain an IP address via DHCP automatically assigned to this eenn computer If your AN Specify an IP address does not automatically assign l 182 168 1 178 IP addresses ask your netyfork IP Address 132 158 1 176 administrator for an address Subnet Mask 955 955 255 and then type it in the space x provided Default Gateway f 192 158 1 1 C Please run Start Programs WinPAC Utility Set FTP directory to the root dircetory V Then check all three ftp options as Enable Remember to click on Setting Then click on Auto Execution to do the next step WinPAG Utility 2 0 0 4 Fie Help Configuration FTP Enable JDisable Allow Anony rious Enable Disable Allow Anony rious v Enable E Disable Upload Change FTP default download directory Ternp to Ap 12 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS D Please click on Browse to select or type System_Disk isagraf isaWinPAC exe and click on Setting WinP AC Utility 20 0 4 File Help Configuration Program 1 System DisktisagraflisaWinPAC exe NEM NENNEN ne ii o
71. Network Address 3 int temp2 1234 UserShare UserSetReg_short Convert ToUInt16 3 out temp2 Set a float value 2 174 to the variable of Modbus Network Address 4 float temp3 2 174 UserShare UserSetReg_float Convert ToUInt16 4 out temps Demo program WinPAC 8xx7 CD ROM 1 napdos isagraf wp 8xx7 CSharp net_2008 demo wp_CSharp02 for RAW analog O 2 napdos isagraf wp 8xx 7 CSharp net_2008 demo wp_CSharp03 for R W internal Boolean long integer Timer and Real floating point values Note The long integer amp timer amp real 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 wp 8xx7 english manu User Manual 8xx7 pdf llUserGetRHeg short BlUserGetReg long BllUserGetReg 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 UserShare UserGetReg Short ushort iUserAddress out int iStatus UserShare UserGetReg Long ushort iUserAddress out int iStatus UserShare UserGetReg Float ushort iUserAddress out float iStatus Parameter iUserAddress Specify the Network Address of Variable 1 to 8191 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 10 9 iStatus Get the short or long integer or float value Example float f
72. OM technology POS 7 Be PoE Ethemet About Company iSaGRAF Whatis ISaGRAF Hot Features Ordering Information Selection Guide Related Products c Short Message service Data Sheet ISaGRAF PACs HEA LO GNU SERE UN ace e VP 25w7 23W7 HMI amp SCADA Demo Fides VP 2117 Software PC HMI i2 8x47 p EOS I 8xx7 amp 1 8x37 80 ieee LoL ALE A lcs ci NM Download yPAC 7186EG All ped Me E 9 1 HE C ue MEN rene Modbus ekan M7000 pan erate yy RU B7PNI 87Kn m iei Devices Remote I O amp 1 87K Remote LO 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS High Speed Local I O Modules Parallel Bus I 8K High Profile Modules More at www icpdas com gt Products gt PAC 8K amp 87K I O Modules l 8K Analog I O Modules 8014W 16 bit 250K sampling rate 8 16 ch analog input module The scan rate cannot reach 250K when using in the ISaGRAF PAC 8 ch Diff or 16 ch Single ended 14 bit High Speed Analog Input Module Il 8017HW current input require external 125 resistor The scan rate cannot reach 100K when using in the ISaGRAF PAC l 8024W 4 ch Isolated Analog Output Module 10 V 0 20 mA l 8K Digital I O Modules 16 ch Isolated Digital Input amp 16 ch Isolated Open Collector Digital Output l 8042W Module 8054W 8 ch Isolated Digital Input Module amp 8 ch Isolated Open Collector Digital Output Module Non isolated 8 ch Digital Logic Input Modu
73. SE 4 6 7 FALSE 7 4 FALSE si 4 24 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS You may also click on Dictionary to see the real time variable state SaGRAF EXAMPLE Debug programs Jof x Fie Project Tool Options Help D a ome Begin ISaGEAF EXAMPLE Global timers File Edit Tools Op 3D G Value internal 0015 t 23s312ms m 0001 Ti 0002 30015 interna t 85 Version for ICP DAS i 7188 i 8000 iView Wincon series controllers only 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 SaGRAF EXAMPLE Programs Jof x File Make Project Tools Debug Optons Help E HS Om a de um B4 RS Begin File Edit Options Help TER TE tt tt Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 25 4 4 Design The Web Page After finishing the ISaGRAF project amp download it to the WinPAC 8xx7 we are going to design the Web Page for this ISaGRAF project If you haven 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 advanced 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 finish
74. SaGRAF controllers Co Im Q What is the limitation of program size of I 841 7 881 7 8437 8837 I 7188EG amp I 7188XG Q Can not fine I O boards in the ISaGRAF I O connection window Q Want to email my ISaGRAF program to someone How can archive one ISaGRAF project to a single file 11 Q How can implement motion control in I 841 7 881 7 8437 8837 Q My HMI software wants to access to float values and long word values inside the 841 7 881 7 8437 8837 7188EG amp 7188XG How Q PWM Can generate D O square pulse up to 500Hz with 841 7 881 7 8437 8837 188EG amp 7188XG controllers How 14 Q Can use 8K Parallel D I board to get counter Input up to 500Hz How Q How to output something at a time interval For ex Turn ON at 09 00 18 00 on Monday to Saturday while 13 00 20 00 on Sunday 16 Q How to determine a D I if it has bouncing problem 17 Q How to trigger something at some seconds later when one event happens Q Does the ISaGRAF 256 software have I O Tag limitation Why not using ISaGRAF L Large version 19 Q Why my l 8417 8817 8437 8837 or 7188EG XG stop running 20 Q How to search a variable name in an ISaGRAF project 21 Q When closing my ISaGRAF window it holds for long time Why Q How to use Proface HMI Touch panel to link to I 7188EG XG 8xx7 and WinCon 8x37 Q How to reduce ISaGRAF code size How to directly Read Write ISaGRAF variables by using Network addres
75. Security and then click on Edit to set username password Then remember to click on OK Note If Enable Account Security is not checked any user can easily get access to your WinPAC through the Internet Explorer 3 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS WinPAG 8x47 8x46 SaGRAF Driver OK Setting Web About Security Settings OK Account Modbus List IP Setting desktop rs wphrmi O Disable Telnet Serveice EJ User Name evel Internet isawWinPAC To set up ad d ity cl rre Edi aan o set up advanced security c Password EEE Setti Lp Priority Middle Li User Name evel Password esee Priority High User Name Jevels Password ese 3 2 3 Step 3 Download ISaGRAF Project Please download ISaGRAF project wphmi 05 to the WinPAC 8XX7 This project is in the WP 8xx7 CD ROM napdos isagraf wp 8xx 7 demo wphmi 05 pia wphmi 05 demo need one 87055W If you don t have the I 87055W 8 IN amp 8 OUT board you may download wphmi 01 CD ROM napdos isagraf wp 8xx7 demo wphmi 01 pia If you know how to restore wphmi 0O5 pia to your ISaGRAF Workbench and download it to the controller please go ahead to the section 3 2 4 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 the section 2 1 amp 2 2 Steps To Backing Up amp Restoring An ISaGRAF Project
76. Sta LOBgef tbe i IL het N ie de neue qe e eee 1 6 1 12 hemoteT O ADBDIICOtIO idiot tate eeta Sensu tad d tha rae O 1 6 1 13 SMS Short Message SEVICE nrerin iie videicon dris 254 Ee defeated u ans candelis Ss edo ub oae 1 7 1 14 Auto report Acquisition amp Control Data ccccccssccccsssccccssececeececeesceceeneceeeecessuecesseeeeees 1 7 1 15 MOHON CONTO sce sete o S TL EE NE 1 8 1 16 Stress Monitoring Application of Constructions ccccccesseecceseecceececeeseeceeeceeaeecessenees 1 8 1 17 Fast EROSERSImobe DIO ssi une fulta eie teta ee URS enr odateRe e hee teen UR ed ssdktenei d TE ER 1 9 1 18 Integrate with CAN CANopen Devices amp SCNSOIS ssssssssesececceccccecseeseeeeeeeeeeeeeseseeeess 1 9 1 19 VIP COMMUNICATION Sect ID ascia EN GEM D RR EO BRE nt epa UR o MUR ER ITEM ERE E p Rd aS 1 10 1 20 ISaGRAF PAC Connects the Smart Power Meter cccccsssccccssececessceeeececeesecesaesceeaeaees 1 10 1 21 DVS BCC Wireless SOlUTIO N ascen Forcdetm v sas Ede cu aa ir tdt ot io om ocu Mun eedem dp UE 1 11 1 22 GPS Application ISaGRAF PAC Plus I 87211W amp GPS 7241 eee 1 12 Chapter2 Software Installation And Working Soft GRAF HMI with ISaGRAF 2 1 2 1 Step 1 Installing The ISaGRAF Software cccccssecccssscccessceeeenececeesceseeseeeseecessuecessenees 2 1 2 1 1 The hardware protection device dongle amp USB Key Pro eere 2 3 2 1 2 Impor
77. WordPad Never w a JCS Help Configuratio a T Save and Reboot Documents Reboot Without Save ep Restore Default Settings Ed Exit WIKPAC To disable the screen saver please set both User Idle and System Idle to Never and then remember to run WinPAC Utility gt File gt Save and Reboot Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 31
78. a 1529 nn n nn nn 96090 Et HEF 32 CPU i FA 19 MEM UBFH 177888E 1278254E 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 E A x General Shortcut Security i Projects a Target type pplication Target location EE Target E MIPS ESE M SPHTECOT EE IM Run in separate memor space Run as different user as Start in EMSAN Sese 0000000000000 Shortcut kep None 00 0 0 0 0 000 00000 Run Momalwindow ef Comment Find T arget Change Icon Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 2 5 2 2 Step 2 Installing The ICP DAS Utilities For ISaGRAF The ICP DAS Utilities For ISaGRAF consists of 3 major items e O libraries for all ICP DAS ISaGRAF controllers e 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 step 1 before continuing There is a CD ROM supplied with each of the WinPAC 8xx7 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 in
79. ac napdos wp 8x4x cebO system disk to download them Then copy the external device driver dictory to your WinPAC s System Disk by ftp For example if the Touch monitor is ADP 1080T R the serial Touch monitor at http www icpdas com products HMl touch led adp 1080t r u htm 8 industrial display monitor w sealed touch screen plastic bezel RS 232 Interface please double click on penmount serial touch v20081117 cab in the WinPAC s V System Disk external device drivers to install it The last v20081117 may be a different name depends on its modification date penmount serial touch v20081117 cab penmount usb touch v20081023 cab elo serial touch v20081027 cab elo usb touch v20081118 cab egalax serial touch v20081027 cab Lb eg alax usb touch v20081 107 cab rae a8 Help Configuration Then run the WinPAC utility gt Save and Reboot RU to save and reboot it Bu dise ay HP WIMPALC Exit 2 Reset your WinPAC When it boot up run the Calibration to calibrate your Touch monitor Ap 28 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS If you installed a wrong driver please run Uninstall to remove it first and then go back to step 1 again to install the correct driver fe Programs we Favorites c Documents F Settings Help J Run ES V virtual C Then please follow the calibration command to touch the given point on the mon
80. al port boards are plugged in can support M 7000 series Modbus I O Each port can connect up to 32 M 7000 Modules LAN2 supports ICP DAS Ethernet I O I 8KE4 MTCP and I 8KE8 MTCP FAQ 042 If LAN2 is broken it will switch to LAN1 automatically to continuously work This need LAN1 amp LAN2 s IP are set in the same IP domain Support max 8 pcs 8172W boards in slot O 7 to connect to FRnet I O modules like FR 2053 FR 2057 FR 32R FR 32P FAQ 048 Each 8172W board can link max 256 DI plus 256 DO ch Supports mail snd and mail set functions to send email with one attached file via Ethernet port To exchange data between ICP DAS s ISaGRAF Ethernet PACs via Ethernet port LAN2 Port only WP 84x7 88x7 s COM4 or COM5 if multi serial port board is plugged in and WP 81x s COM1 or COM5 if multi serial port board is plugged in can link to a GSM Modem to support SMS User can request data control the controller by cellular phone The controller can also send data amp alarms to user s cellular phone Optional GSM Modems GTM 201 RS232 External Modem 850 900 1800 1900 GSM GPRS User can write his own protocol applied at COM1 COM4 amp COM5 COM14 if multi serial port boards are plugged in by Serial communication function blocks COMA or COMB if I 8112W 8114W is found supports 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 i
81. amp backup boolean amp long integer value To From EEPROM Og O Ia 3 3 e e Oo O oOo N O OQ 3 O Dir is Micro SD save 3 values to 3 files per 10 minutes change file name per month Retain variable by Retain_b Retain_N Retain_f Retain t FAQ 074 Dir is Micro SD save 3 values to 1 file every minute change file name every day send UDP String to PC when alarm happens using variable array Time Gap is 1 sec Chapter 19 2 of the ISaGRAF User s Manual send UDP String to PC 3 sec later Time Gap is 250ms Chapter 19 2 of the ISaGRAF User s Manual Send UDP Str to PC 3 sec later wpdmo19a is better slot0 l 8 055W slot0 8 055W slot0 87055W Time_Gap is 250 ms Chapter 19 2 of the ISaGRAF User s Manual receive String coming from remote PC or controller via E UDP IP Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 9 5 O O O O O O O Q Q Q Q Q Q Q 3 3 3 3 3 3 3 O o o o nd i i oO Q O Ix using com MRTU to disable enable Modbus RTU Slave port PWM I O demo Pulse Width Modulation minimum scale is 2ms for WinPAC send Time String to COM3 RS 232 every second by using COMOPEN COMSTR W FAQ 059 Send string to COMS when alarm 1 to 8 happens slot 0 87055W To move some pulse at x axis of 8091W of slot 1 in slot 1 1 8091W WP 8xx Chapter 18 of the ISaGRAF User s Manual slo
82. an data 3X 0 is for reading short integer data 16 bit integer Word 32768 to 432767 4X 0 is for writing short integer data 16 bit integer Word 32768 to 432767 DW 0 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 8 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Data Sample Valid Range of Initial Addresses per Comments I se Rc idi Worksheet Varies according to Coil Status Read and write events using the equipment Modbus instructions 01 05 and 15 Varies according to Input Status Read events using Modbus 1X 1X 5 the equipment q instructions 02 3X 3X4 Varies according to Input Register Read events using the equipment Modbus instruction 04 AX 5 Varies according to Holding Register Read and write events the equipment using Modbus instructions 03 06 16 OX 1 Floating point value Holding Register Varies according to Bead and fi the equipment ead and write float point values using two consecutive Holding Registers Varies accordina to 32 bit Integer value Holding Register DW DW 2 TIE ks Head and write 32 bit integer values quip ing two consecutive Holding Registers DRV Name MOTCP001 MOTCP002 MOICPOO3 MOTCP004 DRV DRV DRV DRV Description Internal FP 1 otation 127 0 0 1 502 1 Temm o 0o 0 ome
83. an at network addr 100 as True Set word or float or long value unsigned char UserSetReg 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 to set IDType 0 type is word 1 data type is float 2 data type is long use long for Timer value in ISaGRAF unit ms for ex float float val long word val long val long temp val set word val 32768 to 432767 to ISaGRAF variable with network address 1 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 7 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 2 1 2345 temp val long amp float val UserSetReg 2 temp val 1 setlong val to ISaGRAF variable with network address 4 long val 2 12345678 temp val long amp long val UserSetReg 4 temp val 2 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 b Val 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 unsigne
84. aredmemory dll for driver v1 16 and up and license bin if your WinPAC is WP 8xx1 8xx9 from the PC to the WinPAC Please copy them to the System_Disk isagraf And then re cycle your WinPAC s power You may use PC s ftp utility to download these files Please open Internet browser and then type in ftp lt IP address gt for ex Ftp 192 168 1 178 browse it to the System_Disk isagraf Then copy all of them amp past it Then remember to re cycle your WinPAC s power again After it re boot again it will have the new ISaGRAF driver running You can check if the version is correct EG WinPAt 8s47 6x46 SaGRAF Driver My Device Seem Setting Wincon ISaGRAF Driver Copyright 2005 by ICP DAS All rights are reserved desktop r5 wphmi Web Procuct This product is licensed Driver Revision Internet isa WinPAC isawinpac exe For WinPAc 8x47 8x46 Ver 1 01 Aug 20 2008 LIILIE EXE Ap 14 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS Appendix C Dimension Unit mm Left Side View Back View Bottom View Top View Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap
85. athAiaranntt ME 4 Cancel Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 10 3 3 Click the Browse button Select the QuickerNet dll from WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 CSharp net_2008 demos wp_CSharp01 subfolder or from your own location Add Reference NET Projects Browse Recent PSE wp CEharp l J O f em s addc N dg p EB T ee Component Files d11 tlb olb acx exe 4 When both mscorlib and QuickerNet dll are added you can see them in the solution explorer as below solution Explorer wp Champ A X em e 5 P solution wp Cisharp l d project qf wp CSharp l Saal Properties ug References 4 3 macorlib a 4 vuikemnet We 4 system Data AJ estem Drawing I bysten Windows Foon 4 System Xn EE Fonml cs We Fomal Desener cs We Form esx cr Program cs 10 4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 Right click on the Form1 cs and select View Code from the pop up Move cursor to top and insert the using Quicker in the first statements solution Explorer Solution v A X Formi cs Foral cs Design BABA echsnke 0 v eC LE wp_CSharp01 1 project m uS wp_CSharp01 2 Sa Properties 3i using System Collections Generic fay References Right 4 using System Componentodel PE Click 5i uging system Data i using S
86. ation of the WinPAC 8147 8447 8847 The WinPAC 8xx6 or WP 8xx6 is the abbreviation of the WinPAC 8146 8446 8846 Important Notice 1 Please always set a fixed IP address to the WinPAC 8xx7 8xx6 No DHCP 2 Recommend to use NS 205 or NS 208 Industrial Ethernet Switch for WinPAC 3 Please refer to WinPAC 8xx7 CD ROM napdos isagrafiwp 8xx7 english_manu user_manual_i_8xx7 pdf for detailed ISaGRAF English User s Manual 4 WinPAC 8xx6 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 DI O module I 87055W in slot 0 of WinPAC 8xx6 and an AO module I 87024W in slot 2 and one internal variable defined as follow Variable Type Network Address Attributes Boolean DI 1 87055WDIchannel Input Boolean DO 1 11 87055WDOchannel 1 Output Integers AO 1 21 87024W AO channel Output _ Integers Interior 31 Internal variable Internal _ If you are not familiar with ISaGRAF please refer to section 4 1 to 4 3 And setup the I O connection as following Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 8 1 _ SaGRAF TEST4 Programs i Ini xil File Make Project Tools Debug Options Help ov IGaGR AF TESTA 140 connection l lol LE s JBE Tm s File Ed
87. ayer and then insert one another layer inside it as below Please enter K1 into the new created Layer R Microsoft FrontPage D Chun_D User_Manual_WinCon8000 Web_HMIWemolexamplel mei RO Bo RRO IBAD Tex LAT A AHD ERR HEUD AH AE B Q u id4 9m FRO B yio pi mee B Pf TimesNew Ro BBQ BZIU E SE rm K main htm ABER E x 4 lt body gt lt div gt TTE GS z This is a Web llayer2 EE Microsoft FrontPage D Chun_D User_Manual_WinCon8000 Web_HMIWemo example mem Oj x EI BRE RHE WRO MAD 0 LAD RRA BHD ERR RAD AH i 2 S HAAA FAAI E fr Times New Roman 302 B Z U E x m m Jj main htm lt body gt lt div gt lt div gt This is a Web HMI sample page First Click inside the Layer2 and then insert the Layer4 inside it Please place Layer4 just below the Layer3 IEH S6Kbps Seas 0 014 538x191 FA BRT 7 Follow the same former steps to insert one another Layer to be in just below the Layer3 as below R Microsoft FrontPage DAChun_DUser_Manual_WinCon8000 Web HMIWemn d him E Ioj x EESE sbody gt sdiv gt 0 4 FT ME i 2 n eo Lb pcre Bi Times New Roman 302 BIU EZSZ XxJM iiiES E Web rt OY FEAT Mead ChE a ae Now we have Layer3 First click inside the inside the Layer2 Layer2 and then in
88. bus TCP IP slave devices e Support various Standard Modbus TCP IP Slave devices e Please refer to www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 gt 113 Modbus TCP IP Master Application _ Modbus TCP IP Slave 3 22 PLC pur ll Modbus TCP IP Slave Meter XP 8xx7 CE6 comesctions ISaGRAF PAC UPAC 7186 P EG I 7188EG iP 8x47 VP 2xW7 WP 8x47 XP 8xx7 CE6 2 mm iDCS 8000 ET 7000 I O Redundant I O M Modbus Modbus TCP IP u Master Protocol TCP IP Slave 1 6 Modbus Master RTU ASCII RS 232 485 422 e Support up to 10 ports COM1 COM4 amp COM5 COM14 if l 8112iW 14W 14iW 42iW 44iW in Slot0 2 e Can link to Modbus PLC or M 7000 I O or Modbus devices Power meter temperature controller inverter etc WP 8447 8847 Modbus Device M 7000 v M odules e Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 3 1 7 Modbus Slave RTU TCP e Modbus RTU RS 232 485 422 max 5 ports e Modbus TCP IP max 32 connections HMI RS 232 RS 485 RS 422 j Multi serial ports modules 1 81121W 14W 14iW 42iW 44iW HMI Touch 8000 Touch 6000 Touch 500 1 8 Communicate With Other TCP IP Server or UDP Client Server Devices PC TCP IP Server or WP 8x47 WP 8x46 NS 205 NS 208 srao V 7 UDP TCP IP Client or Servenaliont UDP Client Server Devices 1 4 Getting Started The WinPAC ISaGRAF PAC Ver
89. ceeusceneusseseusecseners 3 3 Step 4 Download Web Pages To The Wincon cccccssecccsececessceceeseceeeecessueceesenees 3 7 Step 5 s SNOW Te sesto esie tet pon cese oo vadam uL A oce Du m bue an DEDE n tees 3 7 Programming A Web HMI Example cccsccscscecsccscsccccccscsccccccscsceccccscncescccecscecescess 4 1 Writing A Simple ISaGRAF Program irte tete es erar p eer R Eve b apes odo Yee ON a TE E EET US 4 1 Open ISaGRAF Project Management ccseccssccsecceeccseccseceseeecceeceeseceeeseesseeneeeeaees 4 3 Creating An ISaGRAF User S G OUD iss Desisto ea Fe d e er re e eon eda Fo o eee drin eri es 4 3 Creating A New ISdGRAF PEOIGELUs it Ede qur E Om t bx ouo M Epi ps re Om bp uod rod IM 4 4 Declaring The ISaGRAF Project Variables esses 4 5 Assign Modbus Network Address No to Variables eese 4 8 Create The LD EDT PEFOBESETI eoi tesa ecu ir s vasis wich nas etum EV bea aie eas 4 9 Edit T he ED de PPO OK alia ss ied te x dtu Orsi Duis ud DUE cm tM Os du aL ute E Dc EB Oe EO 4 10 Connecting TNE T esas setot dete E es uasa ue tado Beati estat eec oe e UE 4 14 Compiling amp Simulating The Example Project ccccssccccssececessceceeseceeeeceeeeecesseeeeesees 4 17 Download amp Debug The Example Project cccccccssecccessceceeseeeeeeceseesceesenecesaescesseaees 4 21 Design Tlie Web PIBE stes ei dram t Orate oe mda ton otto OA 4 26 Step 1 Copy The Sample Web H
90. con 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 Tzz4000ms this means 4000 ms Then click on Write i ISaGRAF EXAMPLEI LDI Quick LD Program File Edit Options Help 1 File Edit Tools Options Help Value Comment internal 0015 t is Version for CP DAS Version for ICP DAS 20015 internal Write timer variable x Version for ICP D4 variable T1 Enter new value tHA000me E Start Stop Cancel Now we are going to simulate the K1 amp K2 input Click on K1 using the left button of the mouse olx examplel Fie Took Options Help OUTO1 OUTDZ To exit simulation please close the debugger window D SaGRAF EXAMPLE1 Debugger x File Control Tools Options Help PHP o Ae Version for ICP DAS i 189 8000 IView Wincon series controllers only 4 20 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 3 Download amp Debug The Example Project We have two ways to download the project to the WinPAC 8xx7 One is using Ethernet cable the other one is using RS 232 cable Here will show you the RS 232 way Please refer to section 3 2 3 1 if you would like to download the project via Ethernet WIRING THE HARDWARE To begin this process please install the hardware as below The RS 232 cable wirin
91. cription 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 UserShare UserSetReg Short ByVal UserAddress As System Ulnt16 ByRef iStatus As Integer As Byte UserShare UserSetReg Long ByVal iUserAddress As System Ulnt16 ByRef iStatus As Integer As Byte UserShare UserSetReg Float ByVal UserAddress 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 UserShare UserSetReg_long Convert ToUInt16 1 Convert Tolnt82 1234567 Set a short value 1234 to the variable of Modbus Network Address 3 UserShare UserSetReg_short Convert ToUInt16 3 Convert Tolnt16 1234 Set a float value 2 174 to the variable of Modbus Network Address 4 UserShare UserSetReg_float Convert ToUInt16 4 Convert ToSingle 2 1 74 Demo program WinPAC 8xx7 CD ROM 1 napdosNsagrafwp 8xx7Wb net 2008 demo wp_vb02 for R W analog I O 2 napdos isagraf wp 8xx vb net_2008 demo wp_vb03 for RW internal long integer Timer and Real floating point values Note 6 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS The long integer amp timer amp real variable s Network Ad
92. curity and then click on Edit to set username password Then remember to click on OK Note If Enable Account Security is not checked any user can easily get access to your WinPAC 8xx7 through the Internet Explorer WinPAC Bx47 8x46 ISaGRAF Driver OK Setting Web About Security Settings OK x qp EUNT Account Modbus List 1P Setting desktop rs wphmi jority Lowy User Name veli To set up advanced security cl Password ese Setti a Friority Middle User Mame vete Password ese Priority High User Mame levels Password ese f 4 Ed Ed Internet isayvvine AC Explorer 59 Disable Telnet Serveice And then please copy all files in this example1 to the controller your hard drive gt example1 to the WinPAC 8xx7 s Micro_SD Temp HTTP WebHMI since the Web Pages are modified or new copied please run rs_wphmi exe to reset the Web server The rs_wphmi exe must be run every time when Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 39 user has modified any file in the WP 8xx7 s Wicro SD Temp HTTP WebHMN My Device desktop Ed Internet isa vwvinPAC Explorer F ue Microsoft WordPad Show Time Please run Internet Explorer Rev 6 0 or higher key in the IP address of your WP 8xx7 For example 61 218 42 10 or http 61 218 42 10 Login Windows Internet Explorer CEE ee St 8 B7 9 os fl we 4
93. d 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 IDType 0 type is word 1 data type is float 2 data type is long use long for Timer value in ISaGRAF unit ms 7 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS for ex float float val long word val long val long ret val get word val 32768 to 432767 of ISaGRAF variable with network address 10 UserGetReg 10 amp ret val 0 if ret val 20 amp amp ret val 232767 word val ret val else word val ret val OxFFFFOOOO get float of ISaGRAF variable with network address 1 1 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 timer and float variable s Network Address No must occupy 2 No in the ISaGRAF project Please refer to section 4 2 of User s Manual of ISaGRAF Embedded Controllers or in the WinPAC 8xx7 CD ROM napdos isagraf wp 8xx english_manu User Manual l 8xx7 pdf Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 7 3 Chapter 8 InduSoft Project Running In WinPAC Access To ISaGRAF Variables Note lf the HMI program behavior is not so smooth or slow please refer to Appendix F The WinPAC 8xx7 or WP 8xx7 is the abbrevi
94. decima 2000B input false true Very Important If assign Modbus No to Long integer or Float or Timer variables they should occupy two Modbus No Please refer to WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 english_manu user manual i 8xx7 pdf Section 4 2 for detailed information output 4 1 6 Create The LD LD1 Program ISaGRAF will run every 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 runs in the way as the below scheme Scan all inputs Process begin area Process Sequential area Refresh all outputs ISaGRAF Cycle Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 9 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 SESS GC EXAMPLE Programs New Program File Make Project Tools Debug Option Help Y E ms 4 XE Kam a6 ie um Comment Create new program Language iF F MEER ERIT ESTE Style Begin Main program re Cancel Now we have one program inside this project Please double click on the LD1 to get into it SaGR
95. dress 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 wp 8xx english_manu User Manual 8xx7 pdf llUserGetReg short BllUserGetReg long BllUserGetReg 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 UserShare UserGetReg Short ByVal iUserAddress As System Ulnt16 ByRef iStatus As Integer As Byte UserShare UserGetReg Long ByVal UserAddress As System Ulnt16 ByRef iStatus As Integer As Byte UserShare UserGetReg Float ByVal UserAddress 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 UserShare UserGetReg_float Convert ToUInt16 7 float val Get long value of the variable of Modbus Network Address 9 UserShare UserGetReg_long Convert ToUInt16 9 long val Get short value of the variable of Modbus Network Address 11 UserShare UserGetReg_short Convert ToUlInt16 11 short val Demo program Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 6 9 WinPAC 8xx7 CD ROM
96. e Ap 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS A 3 Setting The IP Address For The WP 8xx7 Please run Start gt Setting gt Control Panel on the WinPAC then double click on Network and Dial up Connections Then click on LAN1 and LAN2 oet your WInPAC s IP address amp its Subnet Mask Please always set as Fixed IP for ISaGRAF application No DHCP TANI Fast Ethernet Adapter Settings P Address An IP address can be Obtain an IP address via DHCP automatically assigned to this ERO ee computer If your network specify an IP address does nat automatically assign IP addresses ask your network 1P SHdress Ide tos 1 1 8 administrator for an address Subnet Mask 255 255 255 and then tvpe it in the space d provided Default Gateway 107 168 1 1 Please run Start gt Programs gt WinPAC Utility click on Save and Reboot to store the setting My Device isch 39 E m desktop rs woh oc WinPAG Utility 2 0 0 4 EJ is Help Configuration FTP Setting System Information Auto Execution Syste Explorer Save and Reboot Lp Reboot without Save Ed l Restore Default Settings Microsoft Welcome to use WinPac Uti WordPad Exit P deu This tool will help you easy to use Win riti um My E Display d Rl Resolution fsoo 600 Un WinPAC WINPAC Fa ai eee Settin Task Bar Se
97. e FTP Serveice V Disable Telnet Serveice l 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 WinPAC ISaGRAF Driver Setting web about Security Settings OK x un Account Modbus List IP Setting Te Ei Wek tie Setting user name aoo amp password here LIser Name Disable Telnet Serveice Password To set up advanced security click an 5 Priority Middle Settings User Mame Password Priority High LIser Mame Password About item 1 user may set up to 8 IP address for ISaGRAF or other HMI to get access to the WP 8xx via the Modbus TCP IP protocol as below On the IO connection window of ISaGRAF please connect vip and entering the IP which can get access to the WP 8xx7 via Modbus TCP IP protocol If vip Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 21 is not connected any remote IP can get access to your WP 8xx via Modbus TCP IP protocol If vip is connected and No IP is entered all assigned as N A No HMI and ISaGRAF can get access to it anymore aw SaGRAF WHMI_O5 1 0 connection E Pi x File Edit Tools Options Help E mb bm sc E EXE 8 ES um i 87055 E DIS DOE E Cancel Iv diob 4 CH DI amp 2 CH Relay DO Iv dios 4 CH DI amp 4 CH DO Mate Iv key Ke
98. e object The first parameter is the name of the form Here is form B2 The second parameter is the input name inside the form Here is form B2 B2 Name of the form The last is the current Boolean value Here is boolean val 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 15 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 input name END N type hidden gt lt form gt Name of lt input gt inside the form Here is B2 lt div gt Because it is inside form B2 then we must use the name of form B2 B2 to identify it a body gt B To post by buttons function ON_ form_obj obj Demo example wphmi 02 and wphmi 05 flag confirm turn ON ON_ function is used for posting boolean in value as True to the controller obj value 1 if GetUserlD form obj 2 true form_obj submit j function OFF form obj obj OFF function is used for posting boolean t flag confirm turn OFF value as Fasle to the controller if flag obj value 0 if GetUserlD form obj 2 true form_obj submit Display the current Boolean image In this EX 0 img big Tcircle redO jpg function refresh data 1 img big Tcircle red1 jpg B2 src img big Tcircle red boolean val 2 jpg The layout or locatio
99. e page l Layer5 First click here to insert EI Layer5 and then follow the similar steps as former to insert Layer6 amp Layer inside the Layers EH S6Kbps RAR O01 538x191 FBR BET y Please follow the similar steps to insert OUT01 amp OUTO2 as below The OUTO1 uses img circle blueO jpg as its image source while OUTO2 using img cmdO jpg We will use OUTO 1 to display the state of the first output of the I 87055W board while OUTO2 is for controlling and displaying the second output of the l 87055W main him x This 15 a Web HMI sample paze E FR 56Ebps Sz EFE 0 01 db 581 x 285 gaz BET a 4 30 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 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 Layer1 just below the Layer15 We will use T1 to display the Timer value T1 in the ISaGRAF project Microsoft FrontPage D Chun_D User_Manval_WinCon8000 Web_HMIWemolexample unaii hans Bl x fee sete WAO HAD sO TBD ABW BHO FRR Ra SiL 99H O Ss aASIB IGR Fi4ABBII9 O oem B g Times New Roman 3025 Bzggkxxmmix B main htm N x 4 lt body gt lt div gt This is a Web HMI sample page E a e OUTO OUTO2 layers
100. e refer to Section 2 5 for programming the Soft GRAF HMI applications with ISaGRAF And refer to Section 2 4 for programming the eLogger HMI application with ISaGRAF The WinPAC 8xx7 WP 8xx7 is the abbreviation of the WP 8147 8447 8847 8137 8437 8837 The WinPAC 8xx6 WP 8xx6 is the abbreviation of the WP 8146 8446 8846 8136 8436 8836 Important Notice 1 WP 8xx7 8xx6 supports only High profile I 8K and I 87K I O cards in its slot 0 to 7 Refer to WP 8xx7 CD napdos isagraf wp 8xx english_manu wp 8xx7 datasheet pdf 2 Please always set a fixed IP address to the WinPAC 8xx7 No DHCP Please refer to below location for detailed ISaGRAF English User s Manual WinPAC 8xx7 CD mapdosNsagrafwp 8xx7 english manu user manual i 8xx 7 pdf amp user manual i 8xx appendix pdf NOTE e The WinPAC 8xx7 8xx6 supports ISaGRAF programming method amp provides Web HMI solution by default e lfuser would like to program the WinPAC 8xx7 by using both ISaGRAF and EVC 4 0 or VS net 2008 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 software before he can program the WinPAC 8xx7 controller system They are A ISaGRAF Workbench amp B ICP DAS Ultilities 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 or ISaGRAF 32 E or ISaGRAF 32 C to install on his PC to edit do
101. e to COM port camar write byte to COM port camay nw write integers to COM port Tear camay wwwrit short int ta COM port camclear apen COM port comeclose close LOM port comopen open COM port Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS am f rread float value from array On line help of ICP DAS add on I O boards amp I O complex equipments ISaGRAF WORMO 03 Programs E E 1 B x File Make Project Tool Debug Options Help D mS m E xm xe yk Roms Begin Hd get time SYSDAT R SYSNET vv SY STIM R SYSTIME VV cal time calculate time va tO connection control output an ISaGRAF WDEMO_03 VO connection E nj x File Edit Toole Options Help Bean oon a PSD m dl EAS 8 Technical nate EJ m i 80 7 gm bus O00 wa remot ru d elelo Mim On line help of ISaGRAF languages m ISaGRAF Project Management File Edit Project Toole Options Help E Es Cy Gel Mm a Users guide pm creation Language reference EN E mi x i BRAE BHEE HIM SABENA SC f zs S SEB BERERCRER T ISaGRAF le Y SDAT VW SYZETIM F Language reference Ej Project architecture iE j Common objects SFC language FC language FED language LD language T langua IL language mw standard operators function blocks and functions Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by I
102. eb HMI Sample g fece A 5 4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Below is the basic code for the menu htm lt top or left 1 scrolling 0 width 60 resize 1 gt The first row is not a comment it defines the Page Menu behavior top or left 1 Top O Left html lt head gt lt title gt Title 1 lt title gt scrolling 1 Yes 0 No width width of the Menu Frame 0 999 unit is pixel resize 1 Yes 0 No meta http equiv 2 Content Type content text html charset UTF 8 gt lt SCRIPT LANGUAGE JavaScript src msg wincon js gt lt SCRIP Ts lt SCRIPT LANGUAGE JavaScript gt function start This row is necessary Please apply your charset A_11 for menu htm here main htm amp other For example function refresh_data Multi pages English UTF 8 l Simplified Chinese gb2312 if run_at_pc return Traditional Chinese big5 or other language lt SCRIPT gt lt head gt body onload start1 gt start1 is the entry point of the menu htm lt Logout button gt lt form name form_logout method post action login dll gt input style cursor han amp name CMD type submit value Logout onClick return logout this tarm gt lt form gt form logout is for the logout button lt body gt lt html gt Note If you want to know more about the multi page application there are two demos
103. ected 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 WP 8xx7 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 OQ ISaGEAF EXAMPLE Debugger nix File Control Tools Options Help ie ure dae A arri i ETE STARTING THE DOWNLOADING PROCESS Click on the Download icon from the ISaGRAF Debugger window O ISaGRAF EXAMPLE Debugger olx File Control Took Options Help m I UNTEN NE E Download iMd application stopped Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 23 Then click on ISA86M TIC Code For Intel from the Download window as shown below ae If ISA86M TIC code fort Intel is SAGEM TIC code for Intel E not found here that means the compiler option ISA86M TIC code for Intel is not checked Please refer
104. ecurity e Set VIP Very Important IP No for Modbus TCP IP security af sj ret 19 i gt IP_1 10 0 0 88 me IP_2 10 0 0 25 set IP_3 10 0 0 49 pushdkey ne ue IP_4 10 0 0 72 vip we IP_5 10 0 0 66 ip we IP 6 N A we IP 7 NJA ne IP 8 N A Gz zj Gao 1 20 ISaGRAF PAC Connects the Smart Power Meter e Support standard Modbus protocol support multiple RS 485 ports to connect to multiple PM 2133 2134 Smart meters e PM 2133 2134 is a series of 3 Phase 4 Loops 1 Phase Compact Smart Meter with true RMS energy and power parameters measurement in compact size The ISaGRAF PACs combining with PM 213x can apply to various control monitor systems about intelligent electric power measurement e More at www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 gt 129 ISaGRAF PAC XPAC WinPAC ViewPAC iPAC UPAC 5xx7 XP 8xx7 CE6 WP 8xx7 VP 2xx7 iP 8xx7 uPAC 718xEG PM 213x Modbus RTU protocol ICP DAS EER PM 2133 2134 51 1 10 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 21 ZigBee Wireless Solution The WP 8xx7 plus ZB 2550P and ZB 2551P RS 232 RS 485 Converters can apply wireless communication reduce the wiring cost and achieve the mission of remote I O control and data acquisition Please refer to www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 gt 110 Wireless Solution ISaGRAF PAC Plus ZigBee RS 232 485 Converter to Connect 1 7000 1 87K I O
105. ed web pages of this example in the WP 8xx7 CD ROM at design time However it is better to do it one time by yourself to get more understanding WinPAC 8xx7 CD napdos isagraf wp 8xx7 wp_webhmi_demo example1 4 4 1 Step 1 Copy The Sample Web HMI pages This is a sample Web HMI pages in the WinPAC 8xx7 CD ROM napdos isagraf wp 8xx 7 wp_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 img default image files jog omp 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 java script file or css file into the folder named as user msg Other folder name is not acceptable by the Wincon Web HMI 4 26 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 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 WinPAC 8xx via the Internet Explorer User may modify the log
106. er 1 5 Nov 2010 by ICP DAS 5 1 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 must not modify it The index htm re directs to the login htm file in 1 to 2 seconds when someone visits the WinPAC 8xx via the Internet Explorer User may modify the login htm menu htm and main htm to fit the requirement 5 2 Login htm Login htm is the first welcome page when a user visiting in It can be modified Below is the basic code for the login htm lt html gt This line is only for the Login htm please do not lt head gt apply to other pages for example the menu htm amp main htm amp other htm pages title Login title 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 Please apply your charset function get random val here For example var rightNow new Date English UTF 8 random_val 323456789 rightNow getMinutes Traditional Chinese big5 107654321 rightNow getTime 1000 Simplified Chinese gb2312 setTimeout get_random_val 197 repeat call or other language check if username and posswo
107. etting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Modules gt Selection Guide RS 485 Remote Hot Swap Expansion Unit RU 87P1 2 4 8 www icodas com gt Products gt Remote I O Modules Units gt Remote I O Expansion Unit gt Selection Guide RS 485 Remote Expansion Unit www icpdas com gt Products gt Remote I O Modules Units gt Remote I O l 87K1 4 5 8 9 Expansion Unit gt Selection Guide 10 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS _ Performance Comparison Table of ISaGRAF PACs _ Please click on the link ISaGRAF Comparison Table or follow the below steps OAM eA icpdas com v bea 4 x lait CY a E c me ABO RE XS ICP DAS NS 1 www icpdas com Home Industrial Subscribe XBox Fiber Switch gt f r Ethernet Swtch Ethernet Reai me nng Sateh ro rammebre Controller LT Sg PAC ATI e Remote I O Modules Units T VXC Card 9 ViewPAC O M2M Solution O PoE Solution PROFIBUS PPDS 700 Series Seriakto Einernet Programmable Device Server erver Intelligent Serial Ethernet Gateway PDS Wu Power over Ethernet Flexible COM Ports PET 7000 SS Built in Watchdogs and DI DO 8 Virtual COM technology POE Ethemert iA SoftLogic pAC fl l m OMT 434 lass ai Manual Ordering Information A Selection Guide
108. ext No 12 should not assigned to any other variable in the ISaGRAF project However you may assign No 13 to one another variable 5 14 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 4 3 1 Post Boolean Value to The Controller A To post by the image ON OFF function is used for posting Boolean value to the controller by refer to the current Boolean value function ON_OFF form_obj obj current boo value if current boo value z0 The first parameter is the name of the form The second parameter is the lt input gt name inside the form flag confirm turn ON if flag obj value 1 else flag confirm turn OFF if flag obj value 0 Demo example wphmi 02 and wphmi 05 if flag if GetUserlD form obj 2 true form obj submit Dis play the current boolean image In this Raid refresh data example B2 src img cmd boolean val 2 jpg The layout or location of the image object B2 is lt body onLoad init gt defined here by the lt div and 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 Name of the The onclick will call ON OFF when the mouse click on it imag
109. f the new project in the Project Management window Double click on the name of the new project to open the new project E SaGRAF Project Management File Edit Project Tools Option Help AE DEt e t 2 B tes 2 HH creation Ini I example 1 Double click on the project name to get into the project window Reference example E Author Rs Date of creation 2009 6 8 Version number 1 IS5aGHRAF 3 55 Description 4 4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 1 4 Declaring The ISaGRAF Project Variables Declare the Boolean 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 SaGRAF EXAMPLE Programs n x File Make Project Tools Debug Options Help i 3 EE f X x ge um Ba A es File Edit Tools Option Help 066 54 xg gt Booleans integers Reals Timers Messages FB instances Defined words Name FALLI IEP voor e 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
110. fer to Appendix G of this manual for setting up more Modbus RTU slave ports Ap 20 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS Pin assignment i 8112iW 2 Ch RS 232 O 09 Tx 09310 0 8 X ems olo RIS RxD1 No m DCD1 0t o 99 di DB 9 Male Connector Port2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 21 Ap 22 i 8114W I i 8114iW 4 Ch RS 232 N C DIO 20 RI3 DCD3 Qo 21 DTR3 GND 03 O O 22 DSR3 CTS3 10 L O 23 RTS3 RxD3 05 O O 24 TxD3 Ri4 06 O O 25 DCD4 DTR4 07 O O 26 GND DSR4 08 O O27 CTS4 RTS4 09 O 3 O 28 RxD4 TxD4 10 O O 29 RI2 DCD2 11 O O 30 DTR2 GND 12 O O 31 DSR2 CTS2 13 O ej 32 RTS2 RxD2 14 O O 33 TxD2 Rit 15 O OJ 34 DCD1 DTR1 16 10 O 35 GND DSR1 17 O O 36 CTS1 RTS1 18 O oq RxD TxD1 19 O 37 Pin Female D Sub Connector Port Port4 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS i 8142iW 2 Ch RSA22 RS485 RS485 Ch 1 D1 D1 RS485 Ch 2 D2 D2 RS422 Ch 1 TxD1 TxD1 RxD1 RxD1 RS422 Ch 2 TxD2 TxD2 RxD2 RxD2 D1 TxD1 D1 TxD1 RxD1 RxD1 GND1 D2 TxD2 D2 TxD2 RxD2 RxD2 GND2 N C N C N C N C N C N C N C N C N C N C eee D 9 Mc HEX D s D 9 D s 9 D s 9 D 9 Lel i
111. g amp then click on Delete ISaGRAF Project a m desktop rs wphmi KO Ed A Internet isayvyine AC Explorer Lo EJ Microsoft WordPad Confhuration ar Slave Number Ed Modbus RTU Slave Port Nene My WinPAC Bx47 8x46 SaGRAF Driver Setting Web About Documents Baud Rate i9200 if 8 1 yw Project F E Current Application updmo 04 1521174444 ISA12 1124 Elapsed Time banao End Driver Delete WinPAC 8xx7 s ISaGRAF program if some software damage happens causing the WinCE software hanging 1 Please turn the rotary switch to postion 1 Safe mode on the front panel of the WinPAC 8xx7 Then reset the WinPAC 8xx7 once 2 Then the WinPAC 8xx7 will boot up as safe mode There will be one pop up window asking reboot right now please answer No Then get into the My Device on the WinCE desktop Please goto the System_Disk isagraf directory Then delete the ISA11 The ISA11 is the ISaGRAF current running application If you find no ISA11 in the System_Disk isagraf directory please goto Explorer gt View gt Options to modify the setting 3 Turn the rotary switch to position O normal then reboot WinPAC 8xx7 Then when ISaGRAF is connected it will display No Application Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 7 A 8 Linking l 7000 and I 87K Modules For Re
112. g should be as below figure Please make sure the Modbus RTU Slave Port is set as COMS3 refer to Appendix A 2 or it can only be download vie Ftharnat COMS3 ae tn PC 9 Pin DSUB WP 8447 18847 COMS3 RS 232 2 RxD 2 TxD 3 TxD 3 RxD 5 GND 5 GND Note The WP 8147 doesn t have COM3 Only WP 8447 8847 have This section lists how to download the ISaGRAF program via RS 232 cable However user may also use Ethernet cable to download program to the WinPAC 8xx7 please refer to section 3 2 3 1 SETUP LINK PARAMETERS Click on the Link Setup icon in the ISaGRAF Programs window SaG RAF EXAMPLE Programs File Make Project Tool Debug Optone Help BS Oe 09 Mie me Rm j Begin mrs Link setup Begin LD1 Ladder Diagram Version for ICP DAS r 1989 8000 TView vincon series controllers only Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 21 When you click on the Link Setup icon the following window will appear Please set the proper value Se Net ID of the WP 8xx7 Default is 1 Communication part Cancel Click on it to set COMM s other parameter Target Slave Number Baudrate Parity Format Flow contrat The RS 232 communication parameters for the target WP 8xx7 controller MUST be set to the same serial communication parameters for the development PC For WP 8xx7 controllers serial
113. guage reference Eg wdemo O1 Vincon demo Library m wdemo U2 c wdemo_03 2P SED Sane usc etch TEC SEB HERERUER T ISaGRAF ini x Project created 2003 12 16 14 3 Language reference ZE Project architecture Common objects FC language EBD language LD language ST language a IL language S Standard operators function blocks and functions Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 9 1 On line help of ICP DAS add on functions amp function blocks 9 2 HH creation fi wdemo O1 Wincon demo Eg wdemo 02 Wincon demo Atout Project i 200371 2 3M ISaGE AF Project Management E Bl x File Edit Project Tools Options Help Ey Gl Cy Ge m e User s guide Language reference m To output at esmresmmerrer re YSDATW SYSTIMR Technical notes A E IO boards Functions Functor blocks sample hteger analog addition C function blacks Conversion le sie array rread byte value from array X aray wrwrite byte value ta arra tam f rread float value fram array read float value 32 bit f an f wowe float value bo array an n rread lang value from array an n wrwrite lang value to array Target W803 7 833 am wi rread short value from array any wi wwe short value to array call ECO V Convert BCD to decimal value binzeng zs Complement to engin Format NUM Integer whit o 16 bit to 1 word ADH Integer read comar_ write byt
114. h x Dri Slot 1 Bid4 tay ema um Slot 2 Mismatch Documents o ses uenee Ed meaner sc 1 Slot 5 Mismatch Slot 6 isa Win PAC o e hu Step2 Got File Save nd Reboot to enable criver fs_wohmi Slot scan Refresh UTERE EAE JCS Help Configuration Save 1 the original COM ports setting Current found cards Install driver Save and Reboot Reboot without Sir 4 Restore Default Settngs Frit Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 19 After the configuration succeeds the COM port No for the expansion board is COMS to COM20 in the ISaGRAF definition The relation between WinPAC s COM setting and the ISaGRAF definition is as the following Ex slot 0 1 81121W and slot 1 1 8144iW MSA2 COM6 MSB2 COM14 Sie Sloto MSA3 COM7 MSB3 COM15 b MSA4 COM8 MSB4 COM16 olf MSZ MSM COMt6 i siti MSA5 COM9 MSB5 COM17 MSA6 COM10 MSB6 COM18 oi MSAA MSA6 COMIB aue MSA7 COM 1 1 MSB7 COM 1 9 bus fie MSAG MSA8 COM12 MSB8 COM20 Note 1 Please refer to the section 8 4 of the ISaGRAF User s Manual for multi ports Modbus Master WinPAC 8xx7 can setup max 10 Modbus RTU ASCII Master ports in COM1 thru 14 2 Please refer to the Appendix A 4 of the ISaGRAF User s Manual for COM OPEN COM READ functions to read write COM ports 3 Please re
115. hased WP 8xx7 the ISaGRAF Driver is already installed with license when shipping out You don t need to install it However if you want to upgrade to newer version you may upgrade it by yourself The WinPAC ISaGRAF driver can be obtained in the WinPAC 8xx7 CD ROM napdos isagraf wp 8xx driver wp 8x4 lt version Number EX version 1 01 is located at napdosWusagrafwp 8xx driver wp 8x4 7M 01 Or download it from http www icpdas com products PAC i 8000 isagraf htm gt Driver 1 If your WinPAC is WP 8xx7 WP 8xx6 please stop WinPAC ISaGRAF Driver first Click on End Driver to stop it However if it is WP 8xx1 8xx9 WinPAC without ISaGRAF license please goto step 2 l Egi E LJ i My Device isqhw35 WinPAC Bx47 8x46 ISaGRAF Driver OK E Setting Web About desktop rs wphrni Configuration Slave Number oy i Modbus RTLI Slave Port hone Ed Internet savy D AC Baud Rate jis2o0 iN S l Explorer t Project ny Current Application wpdmo 04 I5A11 4444 ISA12 1124 Microsoft WordPad Elapsed Time p 0 02 32 End Driver 2 Set up WinPAC s IP Mask FTP directory amp Auto execute A Please create a folder isagraf inside System Disk folder in your WinPAC controller Then it will be System_Disk isagraf B Please run Start Setting Control Panel on the WinPAC then double click on Network and Dial up Connections Then click on LAN1 and LA
116. hat s all the login htm need You can insert more images or text to it Only remember to keep its basic code Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 3 5 3 Menu htm Note If you want to know more about the multi page application there are two demos in the WinPAC 8xx7 CD ROM napdos isagraf wp 8xx 7 wp_webhmi_demo wphmi_05 amp wphmi 05a The wphmi 05 place its page menu on the left while wohmi_ 05a on the top The 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 amp Welo Microsoft Internet Explorer EB B x ERO MO HAO RARE IR HAU H E gt 0AA Ar usear Gwe GB 30 asasen On the left ATED tty 10 0 0 103Ao gin dll v eus dei Norton AntiVirus L This is a Web HMI sample page The width amp scrolling K1 K2 ifi E can be modified rror OUTO01 OUTO2 T1 5000 ms r Horr XXX Enter Hello Welcome to the Web HMI Sample ep mese f Welcome Microsoft Intemet Explorer 5B ini xl CRO KA WAC ROBBY IAM KAW StH 9 3AA ars Genes ee 455 4090 4 498 fp 10 0 0 103 ogin dll CBE ERA Nor wan o This is a Web HMI sample page On the top KI i Error The width amp scrolling can be modified OUTO1 OUTO2 T1 5000 ms O Horr prox Enter r3 Hello Welcome to the W
117. he Store button Then please click on X to close the dictionary window ISaGRAF EXAMPLEI Global timers File Edit Tools Options Help E S LN 4 x Se HE amp E E ae of NS gers kea E Timers lesa ges FB instances Defined words An ih Addr Comment Timer Variable x M ame Network Address Comment for IC Attributes N Initial value TS 9 Retain Internal LE SaGRAF EXAMPLE Global timers File Edit Tools Option Help amp o0 ext xg Attrib Addr Comment internal 0000 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 7 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 WinPAC 8xx7 Variables without assigning Modbus No will not be available by Web HMI and other SCADA software or HMI devices Please refer to WinPAC 8xx7 CD ROM napdos isagraf wp 8xx english_manu user manual i 8xx7 pdf for section 4 1 amp 4 2 for detailed information about assigning Modbus network address Click on dictionary icon Click Tools gt Modbus SCADA addressing map Select Options gt Decimal or it wi
118. he Micro SD path if there is three plus one file in it The project1 exe QuickerNet dll Quicker dll and Mscorlib dll The QuickerNet dll Quicker dll and Mscorlib dll can be copied from the WinPAC 8xx7 s System_disk ISaGRAF path 10 4 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 two groups as depicted as below 1 Digital R W Functions 2 Analog R W Functions 10 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 10 4 1 Digital R W Functions B UserSetCoil Description This function is to set the value to a Boolean variable by Modbus network address Syntax UserShare UserSetCoil ushort iUserAddress byte iStatus 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 Return Value None Example Set the output variable of Modbus Network Address 1 to True UserShare UserSetCoil Convert ToUInt16 1 1 Demo program WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 CSharp net_2008 demo wp_CSharp01 Bg UserGetCoil Description This function is to get the value from a boolean variable by Modbus network address Syntax UserSha
119. i puer I s sr NH VW Sensor z Strain n Gauge Inputs _ e z m i f f a D i 4 i B B n g s k gt PI i s 1 837089 DN 1618UB ee 7 available Soon I 87113DW DN 1619 1 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 17 Fast FRnet Remote I O e Advantage of FRnet I O Fast I O scan About 3 ms scan It depends on your program s PLC scan time Ex If the IsaGRAF program s PLC scan time is about 9 ms then the scan time for all will be 9 ms not 3 ms e Note Doesn t support FRnet Al AO I O modules yet More at www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 082 2 WP 8x47 8x46 1 8172W Porto Max distance 400 M FR 2053T FR 2057T FR 32P FR 32R DI DO DI Relay output Max distance 400 M FR 2053T FR 2057T FR 32P FR 32R DI DO DI Relay output 1 18 Integrate with CAN CANopen Devices amp Sensors e WP 8xx7 supports max 10 l 7530 RS 232 to CAN Converter e More at www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 gt 086 o ee HOT IDE n ISaGRAF PAC un s WinPAC PAC iPAC View PAC WP 8x47 wPAC 7186EG iP 8x47 VP 2xW7 e e 1 7530 RS 232 to CAN Converter f fj 9 CANopen Device Sensor Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 9 1 19 VIP Communication S
120. iai a NE E E a NE 2 R ference GUIGE PRETIO ncia E E E EIER 5 I O Modules Selection Guide for WP 8xx7 SerieS ccccsccsccccsccsccccscceccccecceccccecceccececceccececceccccecces 6 Performance Comparison Table of ISaGRAF PACS csscscsccccscsccccccscsccccccscnceccccscncescecscsceseccecces 11 Specifications WP 8137 8437 8837 8147 8447 8847 ccccscccsssssesccesscssccnscccscccesscesscesseusccusceees 12 Ch pter 1 Typical Application ive sees ced cene Pn exa sds ete EY uror eoa Y LT eeu eres e ewe vues hare ec e e ewe 1 1 1 1 Soft GRAF HMI Application Colorful HM1 cc ccsccccssecccesseeecesececeesceseeseeeeeecesseecesaeaess 1 1 1 2 eLogser HMIADDIICSEIODU seit tet eraoseta e bona quu g e mieten ina siete ute kceatcud s emi usd ees 1 1 1 3 Redundant Communication SVSEeT su srsisiien tnia a PAN NA 1 2 1 4 Redundant System with Hot Swap RS 485 1 O sasssessesssssssssrsrrrrrrrrrrrreeeeessssssrrrrrrrrererreeeee 1 2 1 5 Modbus M ster TCP IP zmenenia A AAE A N AA 1 3 1 6 Modbus Master RTU ASCII RS 232 485 422 eessssesssesssssrrrrrrrrrrrrereeeeessssssrrrrrrrrrrerreeeee 1 3 1 7 Modbus Slause RTU TCP erica an ane a a a N aa 1 4 1 8 Communicate With Other TCP IP Server or UDP Client Server Devices 1 4 1 9 Multiple Web HMI Monitor amp Control Everywherel cccccccssecccesseceeseeesesceseeeeeees 1 5 1 10 Send Email with One Attached File 4 opcra eere NEA 1 5 1 11 Data Recorder auD
121. ile Make Project Tools Debug Options Help Make application Xr unie 2Aas Begair Verity Application run time Opi Compiler options Resources Begi S8aGRAF DEMO 04 Programs E ol x File Make Project Tools Debug Options Help Moe Os S Make application Begin Ventw Touch Application run time Ciptionz Compiler options Resources Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 27 Appendix Using RS 232 Serial USB Touch Monitor There are three types of RS 232 Serial or USB Touch monitor supported by the WinPAC penmount serial touch and penmount usb touch or penmount compatible Touch monitor elo serial touch and elo usb touch or elo compatible Touch monitor egalax serial touch and egalax usb touch or egalax compatible Touch monitor To use them with WinPAC please follow below steps 1 Please connect the Touch monitor and its RS 232 signal to the WinPAC s COMA Please refer to the appendix A 5 for the COM4 s pin assignment and connecting one USB mouse to your WinPAC for configuring the touch driver Then power on your WinPAC run the proper Touch monitor driver in the WinPAC s NSystem Diskexternal device driven There are 6 drivers inside this path Please run only the correct one for your Touch Monitor These 6 driver files look like as the following If you cannot find them please visit ftp ftp icpdas com pub cd winp
122. in htm menu htm amp main htm to fit his own need We will only modify the main htm in this example 4 4 2 Step 2 Building The Main htm Please run the Microsoft Office FrontPage 2003 or advanced version and open the main htm E Microsoft FrontPage D Chon_D User_Manval_WinCon8000 Meb_HMIemolexamplel main hin P x T XE CE SEO RO IBAD fos LET A BAD WEE REU en BHT sE AA EE NE SEAE T EAS r B ir Times New Roman 3 G2 pt BriulE EBA A z p main him x g H This is a Web HMI sample page You may switch from these three items 3gvzt E EU Giese Ae vil CO SK bps REBIRE OUI PP BG6x204 GER EST 7 Please switch the window to design the page Please insert a layout object Layer as below omm TETUER SU DI x ii S LE T3 Te on RAD usn IRIT BAD Bee REW an 89H TRO x jBzrujiezessjxw lcis GE AERO D bo Microsoft FrontPage DAChun DNIsez Manual WinConBO0D0WWeb HMIWemoexesmplelansin him E E oO xl BED HE esten AG 2O TA eM BAO EE EL Th D G a VIX BAII9 SBC AD l roses M H Times New Roman 30 2 0 BrU Ez E A a E E This js a Web HMI sample page ID of this Layer object Layer2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 27 Click inside this L
123. in the WinPAC 8xx7 CD ROM napdos isagraf wp 8xx 7 wp_webhmi_demo wphmi_05 amp wphmi 05a The wphmi O5 place its page menu on the left while wphmi 05a on the top Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 5 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 Please apply your charset here For example English UTF 8 simplified Chinese gb2312 Traditional Chinese big5 or other lt html gt language lt head gt title Title 1 lt title gt meta http equiv Content Type content text html charset UTF 8 gt lt SCRIPT LANGUAGE JavaScript src msg wincon js gt lt SCRIPT gt This line is necessary for menu htm lt SCRIPT LANGUAGE JavaScript gt main htm amp other multi pages show scroll word 200 Hello Welcome to the Web HMI Sample function refresh data Calling show scroll world will display a moving word at l i the bottom of the Internet Explorer Here 200 means 200 ms You may make it slower for example using 500 refresh data is called when the Internet Explorer has received lt SCRIPT gt the requested data from the controller It is called in the period lt head gt about 1 25 to 5 seconds depends on the communication quality lt body onLoad In ini
124. ion 2 0 Templates r L Description Device Class Library Console Control Library T Project IUS A project for creating a NET oli eh ADEN Compact Framework 2 0 forms application for Windows CE Platform Download additonal emulator images and smart device SDKs Cancel 6 2 Add Project Reference for an Application The QuickerNet library contains all modules functions Before you use the Quicker keyword in the program you must add the QuickerNet dll into the reference list of your application x 1 Right click on the Project name on the right hand side then select Add Reference solution 2 pu IX Rebuild Deploy Clean Add Add Reference Add Web Reference 6 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 2 Select the mscorlib in the list box and click the button OK the component mscorlib must appear in the Selected Components area Add Reference NET Projects Browse Recent Component Name T N ET p me Path 0 0 0 0 0 oal Customarshalers 10 0 CProgram Files Microsoft WET Microsoft VisualBasic sn zU 0727 ChProsram Files Microsoft NET Microsoft WindowsCE Forms 2 0 0 0 2 0 0 0 CProgram Files Microsoft NET WindowsMlobile 2 0 0 0 2 0 0 0 C Program Files Microsoft NET System Data AAi oystem Data sal4 mscorlib dll is here fad System
125. iption This function is to set the value to a Boolean variable by Modbus network address Syntax 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 Return Value None Example Set the output variable of Modbus Network Address 1 to True UserShare UserSetCoil Convert ToUInt16 1 1 Demo program WinPAC 8xx7 CD ROM napdos isagraf wp 8xx vb net_2008 demo wp_vb01 6 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS B UserGetCoil Description This function is to get the value from a boolean variable by Modbus network address Syntax UserShare UserGetCoil iUserAddress As System UInt16 ByRef iStatus As byte Parameter iUserAddress Specify the Modbus Network Address of Variable 1 to 8191 iotatus Get the variable status iStatus 1 for True iStatus 0 for False Return Value None Example Get the variable status of Network Address 1 Dim iStatus As Byte UserShare UserGetCoil Convert ToUInt16 1 iStatus Demo program WinPAC 8xx7 CD ROM napdos isagraf wp 8xx vb net_2008 demo wp_vb01 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 6 7 6 4 2 Analog R W Functions llUserSetReg short MjUserSetReg_long BliUserSetReg float Des
126. is example program named OUTO1 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 the Numbering in from and To fields this example uses from 1 to 2 Enter the Symbol name for the output variables being declared and lastly set the attribute to Output ISaGRAE EXAMPLE Global booleans File Edit Tools Options Help n the erossvy board n the L87055W board Symbol Attributes ntemal t Constant 4 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS When you click on the OK button all two outputs will be immediately added to the Global Boolean window Click on Save to store them SaGRAF EXAMPLE Global booleans File Edit Tools At und Oeo E A E o8 Booleans g Messages FB instances Defined words Name Er a Addr Comment Kl inpu Input 1 in the 87055W board EZ input Input 2 in the amp 7055W board OUTO output 0000 OUTO output jooon Declare the Timer Variables 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 t
127. it Tool Option Help Begin P dn E SBP tL FRA Ss n i o i 87055 E kan ref 87055 An empty Ladder is just fine B pig Fo amp DI 1 Begin LOW Ladder Diagram wa DOG e LN E a ISaGRAF TEST4 I O connection Joj xl v I File Edit Tools Options Help i alpPBRalts ER E o am i 87055 2 rl ref 870558 SES eee C DIS 0 amp DO 1 2PSPO To RA a B Dos vj o m i 87055 a a ret 87024 Es DIB smut range 33 E i 87024 ia DOB o amp AO 1 s 4 E ES i 87024 D 51 etl gt irn The ISaGRAF variables to be exchanged with InduSoft must be declared with a Modbus Network Address as below Map segment In this example Please assign No 1 to DI_1 No 11 to DO 1 No 21to AO 1 No 31 to Interior Variables not naped Boolean egers Reals Timers Messages Please save amp compile the ISaGRAF example project amp then download to the WP 8xx6 If you are not familiar with it please refer to Section 4 1 to 4 3 8 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Step 2 Create an InduSoft project s Select File gt New from the InduSoft Web Studio main menu 2 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 The Project Wizard window will appear Select Empty Applica
128. itor by your finger r MS Command Prompt amp 9 Internet Explorer BY Microsoft WordPad a Windows Explorer AM WINPAC Utility gt Communication Calibration DrawDemd Ss RightButton El setcom C uninstall Serial TOUCH GF PenMount PenMount DRCOx00 Calibration Program Please touch the end point When the calibration is done please run the WinPAC utility gt Save and Reboot to save the calibration setting and reboot it again Then remove the USB Mouse Lo Ed Microsoft WordPad j M y Documents Pp WINPAC WinPAG Utility 20 0 6 JES Help Configuratioi Save and Reboot Reboot Without Save Restore Default Settings Exit Normally the default WinPAC s COM4 is Ok for the serial Touch monitor However for some ru 3ao3easons user wants ve Favorites Serial TOUCH i Documents GF Settings Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS MS command Prompt Internet Explorer EF Microsoft WordPad 8 amp 4 Windows Explorer may change it to different COM port as below if he Set COM Port PenMount LOM Port 4f Calibration P DrawDema RightButton m FenMount uninstall Ap 29 Appendix J Why my PC running ISaGRAF cannot connect the ISaGRAF PAC correctly The document can also be download at www icpdas com gt FAQ gt Software gt ISaGRAF 104 Sometimes when
129. laying Dynamic String Data If user want to display the dynamic string value max length is 255 the below code can be used function refresh data The action of the Text object S31 is defined here 31 innerText string val 31 j body onLoad init gt The layout or location of the Text object 831 is defined here by the lt div and lt div gt tags lt div style position absolute width 214px height 53px z index 2 left 102px top 7 9px gt b id S31 gt empty lt b gt lt div gt vi The declaration of Text object S31 is defined here by the lt body gt lt b tag and id S31 and lt b gt tag the initial value of this S31 is empty 5 4 2 5 Trigger A Boolean Object To Blink Demo example wphmi 02 and wphmi_05 section 3 1 oome application 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 M 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 blink20 init as O not blink 1 to blink 0 no blink var blink step O0 function blink obj if blink_step 1 Getting Started The WinPAC ISaGRAF PAC Ver
130. le amp 8 ch Open Collector Digital l 8055W Output Module l 8056W 16 ch Non isolated Open Collector Output Module l 8057W 16 ch Isolated Open Collector Output Module l 8058W 8 ch Differential Isolated Digital Input Module Max AC DC Input 250V 6 ch Relay Output Module AC 0 6 A 125 V 0 3 A 250 V DC 2A 30 l 8060W V 8063W 4 ch Diff Isolated digital input amp 4 ch Relay output module AC 0 6 A 125 V 0 3 A 250 V l 8064W 8 ch Power Relay Output Module AC 5 A 250 V DC 5A 30 V 8068W 4 ch Form A 5 A 250 Vac 28 Vpc amp 4 ch Form C 5 A NO 3 A NC 277 Vac 30 Vpc Relay Output Module l 8069W 8 ch PhotoMOS Relay Output Module Max AC DC 1 A 2 60 V l 8K Counter Frequency Modules 4 8 ch Counter Frequency Module Isolated or TTL level Can measure 4 ch I 8084W Encoder without Z index Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 8 ch PWM Output and 8 ch isolated DI Module software support 1 Hz 100 l 8088W kHz non continuous l 8K Motion Modules 8093W 3 axis Encoder Module max 1M Hz for quadrant input mode max 4M Hz for pulse direction and cw ccw input mode B090W 3 axis Encoder Module l 8091W 2 axis Stepping Servo Motor Control Card without encoder input l 8K Communication Modules RS 485 Remote I O Modules Serial Interface HOT SWAP I 87K High Profile Modules More at www icpdas com gt Products gt PAC 8K am
131. le 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 432767 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 42147483647 5 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Note The long integer timer and 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 wp 8xx7 english_manu User Manual 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 32 68 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 5 4
132. lef Flow Chart Simulation of be demo demo with Quick LD programming ad rfarray demonstatres array management functions Project groups xi Default c usawvin1 apl Samples c usawvint smp New group Close BEES x New project group Location CAISAWI N1 Cancel Sub dir Browse Path c isawinl Demo 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 oix File Edit Project Tools Options Help m bottlef demo rfarray res array management functions rfbars demonstrates graphic bra graphs r bool demonstrates SFC boolean actions Reference Rf Tmr FB Author CJ international Date of creation 9 2 94 4 E ij fa 9 10 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 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 napdos isagraf wp 8xx demo in the WinPAC 8xx7 CD ROM Archive Projects E x Workbench Archive Backup Hestore Close Help backup C NdesktopNi 8x7 1 demo Wo a Archive location File name Folders SCOTT DESKTOP To install all of the Demo files click on the wdemo_01 file then
133. lick on the Simulate icon ISaGRAF EXAMPLE Programs of x File Make Project Tools Debug Optons Help ampa OO rxe mh SRE Begin Simulate Begin LD1 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 l O s in the simulator window 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 ISaGRAF EXAMPLEI Debugger Click here to exit the 4 18 Gis conic Took tpioe feir 5 simulator PHP S AT mipi RUNNING THE SIMULATION PROGRAM When you double click on LD1 in the ISaGRAF Debug Programs window the follow window should appear Zig SaGRAF EXAMPLE1 LD1 Quick LD Program E inl x File Edit Options Help TRE TERR TRE You can see outputs OUTOT will blink in the period of 8 seconds Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 19 You can adjust the T1 variable while the program is running To accomplish this click on the Dictionary i
134. ll use Hexadecimal format as default click on 00001 on the top window double click on OUT0O1 to attach it to the Modbus No 1 SaGRAF EXAMPLE Programs ojx 1 Ele Make Project Tools Debug Optio Paced NT Wet meee eee x T O AOON ge BR 3 E ff S d Fie Edit ERN i Map Hexadecimal Segment w Decimal ooon 000i Chick declaration Modbus S CADA addressing map Import text Export text Sort Eenumber addresses Ti ooo0 im TO connection Version for Conversion tables Varables riot mapped nee omm eee eee mm m Booleans Intec ra h amp a K1 Input 1 in theJF87055VV board ine L 87055V board OUTO OUuTO i 4 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Please follow the same way 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 EXAMPLE Global boolean SaGRAF EXAMPLEI Global timers n x File Edit Tools Options Help File Edit Tools Options Help Booleans integ ra H eals Timers Messe FB instances De Book SQersneds Timey Med sac FB instances Name Attrib Addr Comment Attrib Addr Comment K1 input 0008 Input 1 in the H internal ois Ke Input 2 in the H OLUTUIT N 7 OUTO output play here format i The Modbus Addr No dis K1 Input 1 in the I 87055W board are always in hexi
135. loat val short short val intlong val Get float value of the variable of Modbus Network Address 7 UserShare UserGetReg_float Convert ToUInt16 7 out float val Get long value of the variable of Modbus Network Address 9 UserShare UserGetReg_long Convert ToUInt16 9 out long val Get short value of the variable of Modbus Network Address 11 UserShare UserGetReg_short Convert ToUInt16 11 out short val Demo program WinPAC 8xx7 CD ROM 3 napdos isagraf wp 8xx7 CSharp net_2008 demo wp_CSharp02 for R W analog O 4 napdos isagraf wp 8xx 7 CSharp net_2008 demo wp_CSharp03 for R W internal Boolean long integer Timer and Real floating point values 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 10 10 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Appendix A Hardware System amp Setting The WinPAC 8xx7 WP 8xx is the abbreviation of the WP 8147 8447 8847 8137 8437 8837 The WinPAC 8xx6 WP 8xx6 is the abbreviation of the WP 8146 8446 8846 8136 8436 8836 A 1 Applying Correct Power Supply Please apply a regular power supply between 10V to 30V gt 25W or higher is better PWR2 GND R COM R NO D c oM D F
136. lot Accept High Profile I 8K Parallel amp High Profile I 87K Serial I O boards I O Module Hot Swap Ability for High Profile I 87K only B VGA amp Communication Ports VGA Ethernet USB COMO COM1 COM2 COM3 COM4 E Motion WP 8x37 resolution 1024 x 768 800 x 600 640 x 480 with extra GPU WP 8x47 resolution 800 x 600 640 x 480 without extra GPU RJ 45 x 2 10 100 Base TX Auto negotiating LED indicators Please use NS 205 NS 208 Industrial Ethernet Switch USB 1 1 host for mouse in or USB drive Internal communication with 87K modules in slots RS 232 RxD TxD and GND non isolated Speed 115200 bps max RS 485 D2 D2 self tuner ASIC inside Speed 115200 bps max Isolation 2500 Vpc Isolation 3000 Vpc RS 232 RS 485 RxD TxD CTS RTS amp GND for RS 232 Data ne and Data for RS 485 non isolated Speed 115200 bps max RS 232 RxD TxD CTS RTS DSR DTR CD RI and bis GND Non isolated Speed 115200 bps max Motion Control uin with one l 8091W 2 axis or two l 8091W Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 13 E PWM Output l 7088 1 8088W 1 87088W 8 ch PWM outputs software support 1Hz 100KHz non continuous duty 0 1 99 9 8 ch max 250 Hz max For Off 2 amp On 2 ms Output square wave Off 2 32766 ms On 2 32766 ms DO Module as Optional DO Boards PWM I 8037W 8041W 8041AW 8042W 8050W 8054W 8055W 8056W 8
137. may change it to COM2 RS 485 or COM3 RS 232 485 or None Please refer to A 2 Modify The NET ID amp Modbus RTU port setting and appendix G amp E for more Modbus RTU ports Default communication parameter is 19200 8 N 1 WinPAC WinP AC COM2 RS 485 COMS3 RS 232 485 PC RS 232 ail 9 Pin DSUB PWR2 GND RxD 2 R COM TxD 3 piel p COM2 GND 5 EC If connecting PC to WinPAC COM2 or COMS s RS 485 a l 7520 RS 232 485 converter is necessary as below PC RS 232 WP 8xx7 9 Pin DSUB COM RS 485 or COMMS FR 5 185 2 RxD I 7520 or I 7520R D 3 TxD RS 232 to RS 485 D E i Conveter For the ISaGRAF Workbench RS 232 communications to operate properly only the RXD TXD and the GND signals are used If your PC is running a hardware device or software program that uses the CTS and DSR signals you will need to wire the RTS CTS and DTR DSR signals together as shown below PC or HMI WP 8xx7 RS 232 PC or HMI WP 8xx7 RS 232 3 Pin D Sub COM1 or COM3 3 Pin D Sub COM4 RXDB YKD RXD2 EXBa TXD 3 pyp TXD 3 TXD3 GND 5 CHD 5 GND5 GND35 DTE 4 DTE 4 DES DBE 6 RIS EIS CIS CIS 6 Ap 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS A 7 Deleting the ISaGRAF Project From The WP 8xx7 For some reasons user may delete the ISaGRAF program in the WinPAC 8xx7 controller Click on Settin
138. mote I O The WP 8xx7 controller system can use one of its COM2 or COM3 s RS 485 signal to link to ICP DAS s I 7000 and I 87K series of remote I O modules This configuration can be very useful in applications that require distributed remote I O throughout the system You can link up to 255 l 7000 or I 87K series remote modules to one WP 8xx7 controller system It is better not to link up to 40 pcs of 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 WP 8xx7 controller System For more information regarding setting up and programming an l 7000 I 87K remote module please refer to Chapter 6 Linking To l 7000 and I 87K Modules of the User s Manual Of ISaGRAF PAC COM2 D DATA DATA DATA COM3 D DATA DATA DATA UM Fm EE Ee Een re rm Pd mm eni N ex d E Addr 2 Addr 3 4 5 6 7000 modules I 87K modules Ap 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS A 9 Linking To An HMI Interface Device One of the COM2 or COMS RS 232 or RS 485 or max four of the COM1 4 5 6 7 8 please refer to appendix G amp E ports of the WP 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 at one of COM
139. n of the image object B2 is lt body onLoad init gt defined here by the lt div and lt div gt tags lt div style position absolute width 56px height 40px z index 5 left 82px top 69px gt lt img name B2 src img big_Tcircle_red0 jpg gt lt div gt lt div style position absolute left 85px top 124px width 42px height 27px gt 5 16 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS input type button value ON style cursor hand onClickZ ON form B2 form B2 B2 A button to call ON 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 lt form namez form B2 method post action main dll gt input name BEGIN type hidden value gt lt input name B2 type hidden value 1 gt input name END type hidden value gt lt form gt lt div gt Name of input inside the form Here is B2 Because it is inside form B2 then must use the name of form B2 B2 to identify it div style position absolute left 85px top 166px width 47px height 31px gt input type button valuez orr style2 cursor hand onClick2 OFF form B2 form B2 B2 Sn A button to call OFF 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 B
140. n compile Build the project The result is listed in the Error List windows at the bottom B project Microsoft Visual Studio File Edit Miew Project Debug Data Form T ER a w d ET Build project Eebuild project k Pointe MT BindingSource Deploy p Error List Build succeeded 3 You can find the execution file in lt Your VB net Project folder gt bin Release lt project_name gt exe Please copy this execution file to the WinPAC 8xx7 s System_Disk ISaGRAF path to run it Note User may copy the VB net execution file to other path to run it but there should contain at least three DLL files with it or it cannot run correctly For ex the project1 exe can run in the Micro SD path if there is three plus one file in it The project1 exe QuickerNet dll Quicker dll and Mscorlib adll The QuickerNet dll Quicker dll and Mscorlib dll can be copied from the WinPAC 8xx7 s System_disk ISaGRAF path Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 6 5 6 4 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 two groups as depicted as below 1 Digital R W Functions 2 Analog R W Functions 6 4 1 Digital R W Functions Bg UserSetCoil Descr
141. nput a char string integer amp float LAN1 or LAN2 support UDP Server and UDP Client protocol to send receive message to from PC HMI or other devices For example to automatically report data to InduSofts RXTX driver LAN1 or LAN2 support TCP Client protocol to send receive message to from PC HMI or other devices which support TCP server protocol For example to automatically report data to InduSoft s RXTX driver or to connect a location camera Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 15 This redundant system has setup two Active IP address point to the active LAN1 and LAN2 ports always One or more PC HMI SCADA can communicate with this redundant system via one of the two given active IP So the PC HMI SCADA can access to the system easily without any notice New Hot Swap about which WP 8xx is currently active and Redundant Moreover the new redundant system can integrate with the RU 87P4 87P8 oystem Expansion Unit plus the I 87K high profile I O cards to support the hot swap application If the I O card is damaged the maintenance person just takes one good card with same model number to hot swap the damaged one without stopping this redundant system FAQ 093 COM1 3 4 or COM5 COM 14 resides at the lI 81121W 8114W 81141W RS 232 expansion board to connect one l 7530 converter RS 232 to CAN to support CAN CANopen CAN CANopen devices and sensors One PAC supports max 10 RS 232 p
142. nput 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 4 16 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 2 Compiling amp Simulating The Example Project For ANY AND EVERY ISaGRAF program to work properly with any of the ISaGRAF PACs ISaGRAF p PAC iPAC WinPAC ViewPAC 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 SEM SaG RAF EXAMPLE Program lolx File PGES Project Tool Debug Optons Help Make application My ie om 24 AR T Begin Verity Touch Application run time Options Compiler options Vers Resounces incon series controllers only The Compiler Options window will now appear Make sure to select the options as shown below then press the OK button to complete the compiler option selections Compiler options x Targets gt SIMULATE Workbench Simulator ISABBHM TIC code for Motorola gt SASBM TIC code Far Intel LLSBM C source code 3 04 SS iv Use embedded SFC engine Upload Make sure Optimizer to check iv Run t
143. nter value MBRTU format baud 9600 COMS connecting 1 M7017R 2 M7024 MBRTU m format baud 9600 COMS3 connecting 1 M7017RC Current input 20mA 4 20mA Modbus format CONMS connecting 1 M 7019R set as T C K type input O Q 3 O CO O O 3 O H O Q 3 O DA NO OOl o O O Q 3 3 O O A gt A O R OO co 1 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS MBRTU format baud 9600 COM3 connecting 1 M7080 MBRTU format baud 9600 VB net 2005 demo MBTCP demo FAQ 051 Non linear conversion like give P to find V P V relation listed in a file Read 10 REAL value from a file 10 rows each row has 1 REAL value use str_real Msg F i8xx7 since 3 19 i7188EG XQG since 2 17 2 15 W8xx7 since 3 36 WP 8xx7 j oO O 9 oO Jal a 3 3 3 o e e cO A gt O a o O o 3 O Msg_N i8xx7 since 3 19 i7188EG XG since 2 17 2 15 W8xx7 since 3 36 WP 8xx7 Read 20 REAL values from a file 4 rows each row has 5 REAL values uses msg f FAQ 060 o O O O Q O 3 3 3 O e e CQ C1 C1 R OO N O O 3 O On O1 Head 20 Integers from a file 2 rows each row has 10 Integers uses msg_n Retain 17 REAL value in a file 2 rows Each row has 10 REAL value Retain 2 Boo 17 REAL in a file 2 rows Each row has 10 REAL value Retain 25 Integer in a file 2 rows Each row has 10 integer value
144. o 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 WinPAG 8x47 8x46 ISaGRAF Driver OK Setting Web Security Settings Ok Options Account Modbus List IP EET desktop rs wplrnni H 5 Disable Telnet Serveice EJ EJ User Mame eei bibo IsavwiriP AC To set up advanced security cl Sete EEE Edit A LILI ES z Iser ne jeez Note If Enable Account Security is Password EHE Edit not checked any user can easily get access to your WinPAC through the Internet Explorer Priority High Iser Mame jeves Password pease ae Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 19 5 5 2 Switch One Page To One Another Page Please take a look at the menu htm of the wphmi 05 demo as below The goto R page y function can be used for switching to other page lt top or left O scrolling 0 width 110 resize 1 gt lt html gt lt head gt title Title 1 lt title gt lt meta http equiv Content Type content text html charset big5 gt lt SCRIPT LANGUAGE JavaScript src msg wincon s gt lt SCRIP T gt lt SCRIPT LANGUAGE JavaScript gt function start
145. ock on the left of the coil ai SaGRAF EXAMPLEI LD1 Quick LD Program File Edit Tools Optons Help Aa xus me sik P GSGui a F2 dE F3 JHE F4 F5 4H FE Hl F7 JH F8 Ef Fo Fim 1 pos 1 1 E 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 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 11 BLINK function operates you can click on the Info button for a detailed explanation of its functionality m ISaGRAF EXAMPLEI LDI Quick LD Program File Edit Tools Options Help Aa e2 H s Ed Pt Gain e F2 dE 3 46 Fd GH FS 4H Fe Hi Fz 3H Fa y Fa Brrr Double click on anywhere Eu inside the block 1 Function block x 2 s Complement to engin forma B transfer 16 bit to 1 word E RENT blinking signal Version for ICP DAS H71 BOO convert to boolean CAN BY Vy Send max 8 bytes to CAN BUS CAM R read one CAN bus frame CANOP ST Comm state of CAN OPEN devi CANSTR W Send one string to CAN BUS CAT concat messages C function block sample is Click on Info to get cic Read CJC Temperature detailed explanation CIC SS Read CJC Temperature CJC2 ReadCic temperature with offs CMP comparator COM_MRTU enable disable
146. og R W FUNCUON S ict oreet T era Sie Ae pae ee uto E ea Sixt Pe baee udo ooi 10 8 Hardware System amp SettlHg iiiic dic tior oba a ER XR CR DRE rae aga d eoe Red esa E LER REOR CU e n C ES QEE Ap 1 Applying Correct Power SUDDIV 5 usus Gr ared eS ar bnee ab separa der tesa ope to vel dee sa dera vero p beoe cif Ap 1 Modify The NET ID amp Modbus RTU Port Setting cccccccssecccsececeseeeeeeceseesceseeaees Ap 2 Setting The IP Address For The WP 8XX7 iet eee Edere Uo HE ed Evo Ro QE do CERE EY Io OO 20s Ap 3 Connecting Your PC To The WP 8xx7 Ethernet Port ccccccsssccccssecceeseeeeeeeceseeeeeeeees Ap 4 Pin Assignment of COM1 COM2 COM3 and COM4 and Multi Clients Connection to The VI deos o d teumeacceuen Ap 5 Connecting PC TO WP axx7 COM POS rete Sen Ceo re Seu ENTE esu eran AE Fn CHR EUR Ap 6 Deleting the ISaGRAF Project From The WP 8XxX7 cccccsssccccsseceeesececeesceeeeeceseneceeaeaees Ap 7 Linking l 7000 and I 87K Modules For Remote I O sssseeee Ap 8 Linking To An HMI Interface DeVICe co ie des eene DLE R Ap 9 Linking To Other MModbus DOVIEGS s i Poi uesdos ps net a Iu d Ete Op esas Ap 10 Upgrade WinPAC s ISaGRAF Driver to Newer Version eere eee nennen Ap 11 DIMENSION E T COTES PEE Ap 15 How to Enable Disable WP 8xx7 s LANZ ccsscssscssccsscssscssccesssescnsccesesescussseseeecs Ap 18 Using Expansion RS 232 485 42
147. ogger Develop 1 0 2 0 2009 11 3 OR O27 51245 2512 238 21 13 29 0 FR 122 Project Edit View LayoutSize About 2345 Kc j mg 4 I Qu A 211 Page 1 ORT 802101 1909 2102 ee Ch 8 fb Om 23 45 Kg V4 it Goto Page 2 525 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 2 7 2 5 Working Soft GRAF HMI with ISaGRAF SoftLogic Based on the popular ISaGRAF software Soft GRAF is an add on HMI designer developed by ICP DAS This evolutionary Soft GRAF provides abundant HMI graphic objects just a few simple parameters setting to realize the flexible and colorful HMI Moreover you can also add the new HMI graphic objects to any existed projects through the function menu of ISaGRAF software Now you just need only one ISaGRAF software to achieve both HMI and control logic design Feature 2 8 ISaGRAF Soft GRAF HMI a x erbe ALL IN ONE iz T re oF og 7 ss se s se se ma n I O Control XP 8xx7 CE6 WP 8xx7 VP nS neg All in one Design Design the control logic and HMI by single ISaGRAF software Support various and colorful HMI objects VVVVVV Page Max 200 support password security Numeric Input input security display Text Dynamic static text display Picture Animated static picture display Moving Trace 1 axis or 2 axis Built in various objects Will be more Multi language English Traditional Chinese Simplify Chinese etc H
148. ogram group as illustrated below Q9 Book g Libraries l Licensing I a Projects h Read Me e Report 2 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 2 1 1 The hardware protection device dongle amp USB Key Pro 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 ISaGRAF 32 E amp ISaGRAF 32 C DO NOT need dongle or USB Key Pro 3 ISaGRAF Project Management File Edit Project Tool Optons eels BelmESEe ues gg blinkseg same impleme i EH bottlef Flow Chart S HH demo demo with Gu AAA LF a SaGRAF Workbench Version 3 55 Copyright 71990 2007 ICS Triples I5 aGRAF Inc Configuration While using ISaGRAF and 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 driver may not be installed well Please do the following steps Dongle Protection Please execute the ISaGRAF CD ROM Sentinel5382 setup exe for ISaGRAF 80 or Sentinel setup exe for other ISaGRAF version and then reset the PC again USB Key Pro Protection 1 To make your PC recognize the ISaGRAF USB protec
149. ontroller MT 20010 MIT SA MITSUBISHI Protocol Melsec amp NT 2000 3s CE amp S5 5 b MIT SU MITSUBISHI Protocol F amp Senes NT 2000 9x CE s85 5h MODBU MDDBLS Protocol ATUAASCI HT 2000 32 DE s85 Shar uS MODBUS A Fratacal HT 3 vi 3 pus BIBLE Protocel TU cee i MT 2 aie Teh Hipa SIEMENS MPI Bee Cable ae 3964F MT 2000 5 Selected drivers DLL Description ok j Cancel Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 8 7 Expanding file folder of Drivers and it will show a file folder named MOTCP Click right mouse button and select Insert to add a workspace of Modbus TCP When a MOTCPOO01 DRV window appears fill in following data as corresponding field Workspace v X v 3 et Demo 02 APP Click on mouse right button on Insert 9 ne NEN E What does 127 0 0 1 502 1 mean 127 0 0 1 is the local host IP address It BE aCe means send data to the same controller inj MOTCPOO1 DRY 502 is the Modbus TCP IP port No The last 1 is the Net ID of the WP 8xx7 Description Dl Increase priority Read Trigger EnableRead when Idle Read Completed Read Status Write Trigger Enable Write on Tag Change Write Completed Write Status Station eader 127 0 0 1 502 1 1 0 Tag Name Address Div Add 1 DI 1 1X 0 is for reading Boolean data OX 0 is for writing Boole
150. ools Options Help Test Ae OE tm ee t amp B test j HH creation Author E Lb keks curet Teele Dama Unies Selb Date of creation 70 Yersion number 1 A mex Ae xisus Gu Description Begin Version for ICP DAS 17188 Ladder program name LD1 Begin LD1 Ladder Diagram pepe ES Pup t 1 in the I 87055W Modbus network addr paar n 2 in the 87055W Modbus network addr 2 iu Boolean Input 1 in the 87055W Modbus network addr 1 Input 2 in the 1 87055W Modbus network addr 12 Time Period of blinking initial value set as T 8s Modbus network addr 21 Timer 4 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 1 1 Open ISaGRAF Project Management Click on the Windows Start button then click on Programs gt ISaGRAF 3 4 or ISaGRAF 3 5 and then click on Projects as shown below Fa OpenOffice org 2 0 f Book a Microsoft Office Expl TE m DAQPro gt EE Diagnosis 7 I 756X Driver Installer Program gt Libraries T MARAP X 7 Microsoft Office gt P Licensing 7 ICPDAS Projects T Network Associates Read Me fm ISsGRAF35 F Report ES S d 39 Windows Mec 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
151. orts to connect max 10 l 7530 FAQ 086 16 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Chapter 1 Typical Application The website for the applications supporting list of all ISaGRAF PACs htto www icodas com products PAC common file application notes htm 1 1 Soft GRAF HMI Application Colorful HMI e All in one Design the control logic and HMI by single ISaGRAF software e Support various and colorful HMI objects Page Max 200 password security gt Numeric Input input security display gt Text Dynamic static text display mE gt Picture Animated static picture display Q a gv a A Moving Trace 1 axis or 2 axis m E gt Built in various objects ISaGRAF Soft GRAF HMI e Multi language gt English in ALL IN ONE Traditional Chinese Simplify Chinese etc e HMI behave smoothly More at Ch 2 5 and FAQ www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 FAQ 131 I O Control P 8xx7 CEG WP 8xx7 VP 2xM il e 1 2 eLogger HMI Application e ICP DAS eLogger is an easy and useful HMI development tool which helps user to create user friendly pictures and control items aS 52 99 et ao seus i cmg Qran V 81H Page 1 LATI a izo o sow 0 102 E PE Che a NENNT ZG i m ithout PAC Soto Page 2 BmON b f S eA Monitor pe seres HMI ToolKit More at e Six Open SoftLogicLanguases simi Eas
152. ow supporting Variable Array Q Setting 1 8437 1 8837 1 8437 80 1 8837 80 s COMS3 as Modbus RTU Slave port DA 41 Q How to connect PC HMI to a Redundancy system with a single IP address Q How to use WinCon connecting to Ethernet I O The I O scan rate is about 30 to 40 msec for 3000 to 6000 I O channels Q How to setup WinCon 8xx7 as TCP IP Client to communicate to PC or other DA CO TCP IP Server device Or WinCon automatically report data to PC via TCP IP Q Setting a special CODE parameter of MBUS R amp MBUS R1 to get a clear Degree Celsius or Degree Fahrenheit input value of M 7000 temperature module For ex 3012 means 30 12 degree 44 45 46 47 48 DA CO NO Q How to connect an ISaGRAF controller to M 7000 Remote I O Q VB net 2005 Demo program using Modbus TCP IP protocol to control ISaGRAF PACs Q VB 6 0 Demo program using Modbus TCP IP protocol to control ISaGRAF PACs Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 9 13 90 51 2 5 English ISaGRAF Ver 3 FAQ Q Performance Comparison Table of ISaGRAF PACs Q iPAC 8xx7 and uPAC 7186EG support Data Logger function Q How to connect I 7018z to get 6 channels of 4 to 20 mA Input and 4 channles of 53 54 C1 C1 Thermo couple temperature Input And also display the value on PC by VB 6 0 program 56 Q How to do periodic operation in ISaGRAF PACs Q How to record I 8017H
153. p 87K I O Modules l 87K Analog I O Modules I 87005W 8 ch Thermistor input and 8 ch digital output module 4 ch 16 bit 10 Hz Total 2 3 4 Wire RID Input Module with Open Wire I 87013W Detection 7 ch 16 bit 12 Hz Total RTD Input Module with Open Wire Detection for short sensor distance 7 ch RTD Input Module with 3 wire RTD lead resistance elimination and with Open Wire Detection for long sensor distance 8 ch Differential 16 12 bit 10 60 Hz Total Analog Input Module with 240 I 87017RW Vims Over Voltage Protection Range of 20 20 mA Requires Optional External 125 O Resistor Il 87017RCW 8 ch Differential 16 12 bit 10 60 Hz Total Current Input Module Il 87017W 8 ch Analog Input Module Il 87017W A5 8 ch High Voltage Input Module I 87018RW Il 87015W I 87015PW 8 ch Thermocouple Input Module Recommend to use the better I 87018ZW I 87018W 8 ch Thermocouple Input Module Recommend to use the better I 87018ZW 10 ch Differential 16 bit 10 Hz Total Thermocouple Input Module with I 87018ZW 240 Vms Over Voltage Protection Open Wire Detection Range of 20 mA 0 20 mA 4 20 mA requires Optional External 125 Resistor 8 ch Diff 16 bit 8 Hz Total Universal Analog Input Module with 240 Vims I 87019RW Over Voltage Protection Open Wire Detection V mA Thermocouple Range of 20 20 mA need to set Jumper on board 87024CW mE i channel to channel isolated curren
154. pe hidden gt lt form gt Please insert lt p gt amp nbsp lt div gt Style cursor hand name B2 onclick ON_OFF form_B2 form B2 B2 boolean val 2 just after the lt img tag Please insert form name z form B2 method post action main dll gt lt input name BEGIN type hidden gt input name B2 type hidden value 0 gt input name END type hidden gt lt form gt T1 Area Layer14 to Layer1 7 lt div style positiory 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 b gt lt div 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 4 34 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS lt form name form_L21 method post action main dll gt input name BEGIN type hidden gt lt input name L21 type text size 8 value xxx gt input name END type hidden gt lt form gt MT Please insert below code inside Layer16 amp nbsp lt div gt lt form name form_L21 method post action main dll gt lt input name BEGIN type hidden gt input name L21 type text
155. please use timer_vall For ex F21 innerText timer val 21 ms body onLoad init gt The layout or location of the Text object F21 is sis 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 9px gt b id F21 gt xxxx lt b gt lt div gt zd The declaration of Text object F21 is defined here by the lt b tag E y amp id F21 amp lt b gt tag initial value of this F21 is Xxxx 5 4 2 3 Displaying Dynamic Long Integer Data Demo example wphmi 03 and wphmi 05 section 3 1 If user want to display the dynamic long integer value 32 bit format the below code can be used function refresh data The action of the Text object L11 is defined here L11 innerText 2 get long val 11 j body onLoad init gt The layout or location of the Text object L11 is defined here by the lt div and lt div gt tags lt div style position absolute width 214px height 53px z index 2 left 102px top 7 9px gt b id L11 gt xxx lt b gt lt div gt n The declaration of Text object L11 is defined here by the lt b tag lt body gt and id L21 and lt b gt tag the initial value of this L11 is Xxx 5 10 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 4 2 4 Disp
156. rd are empty function validate fm setKey fm return true Embed key whille submitting function setKey fm var rightNow new Date cookieVal random_val rightNow getTime fm key_ value cookieVal 5 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS lt script gt get_random_val should be always called at the beginning of the Login htm It is the entry point of the Loain htm lt body onload get_random_val gt lt head gt lt div style position absolute width 332px height 34px z index 5 left 147px top 27px id layer1 gt a Welcome lt div gt Your caption is here lt div style position absolute width 122px height 38px z index 4 left 171px lt form name form1 action login dll method post gt lt input type hidden name key_ gt input type submit name Submit value Enter style cursor hand onClick return validate this form gt lt form gt You may modify Enter to your own word For lt div gt example amie This may require user 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 lt html 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 T
157. re UserGetCoil ushort iUserAddress out byte iStatus Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 10 7 Parameter iUserAddress Specify the Modbus Network Address of Variable 1 to 8191 iStatus Get the variable status iStatus 1 for True iStatus 0 for False Return Value None Example Get the variable status of Network Address 1 byte iStatus UserShare UserGetCoil Convert ToUInt16 1 out iStatus Demo program WinPAC 8xx7 CD ROM napdos isagraf wp 8xx7 CSharp net_2008 demo wp_CSharp01 10 4 2 Analog R W Functions MUserSetReg short BllUserSetReg long BllUserSetReg 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 UserShare UserSetReg Short ushort iUserAddress out int iStatus UserShare UserSetReg Long ushort iUserAddress out int iStatus UserShare UserSetReg Float ushort iUserAddress out float iStatus 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 int temp121234567 UserShare UserSetReg_long Convert ToUInt16 1 out temp 10 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Set a short value 1234 to the variable of Modbus
158. s 24 Q How to scale Analog Input and Output of 4 to 20 mA to my engineering format 12 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS NO NO ND co Q How to use multi port Modbus Master in the WinCon 8037 8337 8737 amp 25 26 2 WinCon 8036 8336 8736 Q How to send receive message from ISaGRAF PAC to remote PCs or Controllers via Ethernet UDP communication Q Setting special range parameter of temperature input board to get clear Degree Celsius or Degree Fahrenheit input value For ex 1535 means 15 35 degree Q Setting a special ADR_ parameter of remote l 7000 amp I 87K temperature input module to get clear Degree Celsius or Degree Fahrenheit input value For ex 8754 means 87 54 degree Q How to access to ISaGRAF variables as array A demo program of sending string to COM2 or COM3 when alarm 1 to 8 happens Q Setting up more Modbus RTU Slave ports in WinCon ISaGRAF PACs Q Compiling error result in different ISaGRAF version Q Slow down ISaGRAF driver speed to work better with InduSoft software in W 8036 8336 8736 amp W 8046 8346 8746 NO Co CO CO NO O O Co NO Q Redundancy Solution in WinCon 8xx7 Q 7188EG XG support remotely downloads via Modem Link Q Setting I 7188EG XG s COM3 as Modbus RTU Slave port 33 34 35 36 37 8 3 39 Q ISaGRAF version 3 4 amp 3 5 n
159. s Enable Read when Idle Tag Change os a a a When finished all setting press Ctrl F4 to close all inside windows and save all files Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 8 9 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 55 File Edit View Insert Project Tools Window Help Status 12 H gt vi Titlebar Application Name gt t B Minimize Box Active area indication gum A ee NEM oH l i e B eg m Run Application V Maximize Bo T 10 9 L amp 9 Nd Stop Application a Box emt start Maximized Mouse Cursor aed lh Wa de 7 SB Execution Environment fa Menu Options 7 Virtuel Keyboard xis 5 Logon M Resize Border Default n v Project Demo Y Sinus Li v amp Drivers Lins Scale LODS v 3 MOTCP MAIN DRIVER SHEET Cy OPC ality is O Enable ToolTips G TCPAP _ Hide Taskbar Auto Screen Scaling Web Thin Clients Select Project Settings to open Project Settings window On the Web tab select Data Server IP Address then type WinPAC 8xx6 s correct IP address and click OK InduSoft Web Studio MainPage scr File Edit View Insert Project Tools Window Help vcore 8
160. sert one another layer inside it E a BFA 56Kbp SER 0 01 f 685x292 M BF 4 4 28 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 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 example1t img in this example exe EED BEO TAND HAO m E IEE mes AH FERL D e a aal ges B Ildam E fr Times New Ro FEES IE i BI U zz mum m X g amp Web THC F al STERIC 3 gitir d RRE D EAD ChhE m _ m ncc jpg Bf cmd First Click inside the aTe low jpg BY big Tee ei ipe Bfcmilj c FRE C bleDipg B big Teguare_redl jpg Efloginl Layer4 and then FERE D viel pe BF bie Togoa yellovO jpe BF suare y A Chun D grenjpg BY big_Tsquare_yellowl jpg BY square User Manual WinCond000 een jpg gf circle blueD ipg ER square CJ Web HMI rd jpg E circle_blvel jpg E suere demo wed 1 jpg gf circle greenD jpg Bf square C exemplel yellow pg Bf circle greenl JPE If square 3 ins vellowl pz Bf circle red jpg f square 4 SE E e blue jpg BF cicle redljpg E square 8 OFFICE Fi e bluel jpg E cixcle_yellow0 jpg BT incor Gs qooque insert an image Cm fige gt G3 FTP frd Hum l G G FTP rs ENS Er A eee I APA eA
161. size 8 value Xxxx 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 id2 layer1 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 input type button value Enter onclick Check_L21 gt We have finished the code in the lt body gt lt body gt area Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 35 Now please go to the head area 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 function to blink object e The Error symbol will blink when the Hie M E K2 True in this example Please E un mask the code inside these 3 if blink_step 1 eee blink_step 0 display your object here blink B12 For example kkkkkkkkkkkkkkkK KKKKKKKK if B12_blink 1 B12 innerText Error font_B12 color red kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk else blink_step 1 un display your object here blink B12 For example kk KKEKEKKEKKKKKKEKREG kkkkkkkkk I B12 blink221 B12 innerText ont_B12 color red kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk j setTimeout blink_obj blink period j 4 36
162. stall it ISaG EAE Utilities InstallShield Wizard Welcome to the InstallShield Wizard for S aGRAF Utilities The InstallShield Wizard will install S aGAAF Utilities on pour computer To continue click Next Installshield Note If ICP DAS Utilities for ISaGRAF 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 gt Driver 2 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 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 Notepad 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 2 4 Working eLogger HMI with ISaGRAF SoftLogic ICP DAS eLogger is an easy and useful HMI development tool which helps user to create user friendly pictures and control items eLogger HMI application can work with ISaGRAF Softlogic application in the following PACs e WP 8147 8447 8847 e WP 8137 8437 8837 e VP 25W7 23W7 e XP 8047 CE6 8347 CE6 8747 CE6 Please refer to www icpdas com FAQ Software ISaGRAF FAQ 115 for more information about programming an eLogger application gt eL
163. t is the entry pint of the main htm amp other multi pages lt font color blue size 4 gt Kdiv style position absolute width 353px height 24px z index 1 left 73px top 12px id layer1 gt He Jliv gt lt font gt Zbodvs A layout object is starting with lt div amp ending at MED lt div gt tags Here only show a message Hello 5 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS You may replace the main htm in the WinPAC 8xx7 CD ROM napdos isagraf wp 8xx 7 wp_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 E Welcome Microsoft Internet Explorer 2 r1 x ERO BED HAM BHBEA IAT HAH mm E er B Q z duse wane Gee cj EG W useis pez EE 72 Norton AntiVirus O SERIE CO tp 0 0 0 10376 n d1l Lagar Hello A moving word is display here This is because the action of calling show scroll world ees ON ie RRA A ee Kp User may try to plug out the Ethernet cable of the WinPAC 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 F Welcome Microsoft Intenet Explorer EE ini x HD RPD WACO AAEE ILR EREHQD r H Q Que Genet One 3a aua HEAS
164. t 0 1 8055W O O Q Q K N NO ho no O O 3 O N ov Motion x slot 1 8091W Chapter 18 of the ISaGRAF User s Manual slot 2 8090W Motion x y slot 1 1 8091W Chapter 18 of the ISaGRAF User s Manual slot 2 I 8090W Moving to he Abs position when CMD is given slot 1 1 8091W Chapter 18 of the ISaGRAF User s Manual slot 2 Il 8090W WP8xx7 10 0 0 102 link two i8KE8 I O one is 10 0 0 108 one is 10 0 0 109 FAQ 042 WP8xx7 10 0 0 2 link one i8Ke8 I O 10 0 0 109 FAQ 042 Set up WP8xx7 as TCP IP Client amp link to other TCP IP server 1 connection Chapter 19 3 of the ISaGRAF User s Manual Same as Wpdmo 32 but send message only when slot 0 I 87055W event last for larger than 3 seconds Read Real Val from Modbus RTU device slot 0 1 87055W www icpdass com gt FAQ gt Software gt ISaGRAF gt 47 amp 75 Write Real Val to Modbus RTU device FAQ 047 amp 75 O O O O O O O O O O9 OQ OQ O Q O Q Q O OQ O a 3 3 3 3 3 3 3 3 3 3 S O O e e e e e e e O gv OO Q2 OO C2 OO Nd NO NO No Po N O OO N CO N oO A i O O 3 O Qo CO Using Modbus function code 6 to write 16 bits FAQ 046 amp 75 WP 8xx7 l 8172W connecting FRNET I O modules E FAQ 082 COMS connecting 1 M7053D 2 M7045D MBRTU format baud 9600 Chapter 21 of the ISaGRAF User s Manual COMS3 connecting 1 M 7053D to get D I cou
165. t htm DP 660 24V 2 5A 5V 0 5 A power supply DIN Rail mounting DP 665 24 V 2 5A 5V 0 5 A power supply DP 1200 24 V 5 A power supply Model DP 660 Model DP 1200 Model DP 665 FAQ www icpdas com FAQ Software ISaGRAF for Frequently Asked Questions http www icpdas com fag isagraf htm Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 I O Modules Selection Guide for WP 8xx7 Series WP 8xx7 supports the I 8K I 87K High Profile O modules and RS 485 FRnet remote I O modules listed in the ISaGRAF Data Sheet Please refer to the list in the next page or follow the below steps to get the newest list l icpdas com v Ba 9 X 4 HAO SNE za gf 3 S ICP DAS fy A Emr ARD Et L C ontact us Site map Search Nore 4 Search by wv Catalog Industrial Home gt Subscribe gt i d a Fiber Switch gt kpr Ethernet Swtch Ethernet Real hme nag Swtch Programmable Automation Controller PAC ATI Remote I O i i Modules Units i VXC Card 87 8 e ViewPAC O M2M Solution PoE Solution PROFIBUS Programmable nial to Ethernet vice 2 6 PPDS 700 Series Programmable Device Server Intelligent Serial Ethernet Gateway Power over Ethernet PC Based Flexible COM Ports PET 7000 AR wt Boards Built in Watchdogs and DI DO J Virtual C
166. t keyboard Mouse Network and Dial up File Edit View Advanced a ps a Make New LANI LAN Connection Disable Set as Default Mouse Right Click Desktop Shortcut Rename Properties Ap 18 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 2010 by ICP DAS Appendix E Using Expansion RS 232 485 422 The WinPAC can expand 16 more COM ports in its slot No 0 to 7 by using following modules l 8112iW 2 channel isolated RS 232 l 8114iW 4 channel isolated RS 232 l 8114W 4 channel non isolated RS 232 I 8142iW 2 channel isolated RS 422 RS 485 I 8144iW 4 channel isolated RS 422 RS 485 Before user can use them please configure them by the WinPAC utility since version 2 0 0 6 first Please plug them in the WinPAC s slot 0 to 7 It is better to be in slot 0 to 3 1 Run WinPAC utility gt Multi serial port wizard 2 Click on Slot scan The current found multi serial port cards will be listed on the left The original COM port setting is listed on the right 3 Click Set to update the original setting to become the current found cards Then remember to run File gt Save and Reboot to save the new setting and then WinPAC will re boot itself once WinPAG Utility 2 0 0 6 Internet Hla Help Configuration Explorer ub Ethernet Setting FTP Setting System Information Auto Execution Multi serial port wizard Syst Microsoft W nardPad Slot 1 aliz Mis matc
167. t output module with open wire 8 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 ch 14 bit analog output module 0 5 V 5 vie To V 10 V 0 20 mA 4 20 mA l 87K Digital I O Modules 4 ch Differential Isolated Digital Input and 4 ch Relay Output Module 5 A NO 3 A NC 5 24 Vpc 5 A NO 3 A NC 0 250 Vac 8 ch Relay Output Module 5 A 47 63 Hz 0 250 Vac 5 A 0 30 Voc 8 ch AC SSR Output Module AC 1 0 Aims 24 265 Vims l 8 7066W 8 ch DC SSR Output Module DC 1 0 Ams 3 30 Vpc 4 ch Form A Relay Output and 4 ch Form C Relay Output Module Form A l 8 068W 8 A 250 Vac 8A 28 Vpc Form C 5 A NO 3 A NC 277 Vac 5 A NO 3 A NC 30 Vac l 8 7069W 8 ch PhotoMOS Relay Output Module Max AC DC 0 13 A 350 V l 87K Counter Frequency Modules I 87082W 2 ch Counter Frequency Module Isolated or Non isolated Inputs I 87084W 4 ch Counter Frequency Encoder Module Isolated or Non isolated Inputs l 87K PWM Module I B7088W een E software support 1 Hz 100 KHz non continuous duty l 87K GPS Module Time Synchronization and GPS module for getting UTC local time and local I 87211W Longitude Latitude RS 485 Remote I O Modules l 7000 www icodas com gt Products gt Remote I O Modules Units gt l 7000 Modules gt Selection Guide M 7000 www icodas com gt Products gt Remote I O Modules Units gt M 7000 G
168. tant Notice For Window NT Users ccccccssscccessecccesececeeececsesceeeenecesenecesseeeeees 2 4 2 1 3 Important Notice For Windows 2000 users eese 2 4 2 2 Step 2 Installing The ICP DAS Utilities For ISAGRAF ccccccssecccsececeseceeeseceesescessenees 2 6 2 3 Step 3 Installing The Web Page Editor ccccccesccccssececesseeceesececeeecesseseeeeeaecessencesseaees 2 7 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 2 4 2 5 Chapter 3 3 1 3 2 3 2 1 3 2 2 3 2 3 3 2 4 3 2 5 Chapter 4 4 1 4 1 1 4 1 2 4 1 3 4 1 4 4 1 5 4 1 6 4 1 7 4 1 8 4 2 4 3 4 4 4 4 1 4 4 2 4 4 3 4 4 4 Chapter 5 5 1 5 2 5 3 5 4 5 4 1 5 4 2 5 4 3 5 5 5 5 1 5 5 2 5 6 Chapter 6 6 1 6 2 6 3 6 4 6 4 1 6 4 2 Working eLogger HMI with ISaGRAF SoftLogic seseessseseseessseesssresssrresrersseerssereserreseeess 2 7 Working Soft GRAF HMI with ISaGRAF SoftLogic cccsscccsseccceseceeeeseceeeeceseeeceeseaees 2 8 Setting Up A Web HMI Demo essesessesessesessssessscesescecescecesoecesoecoessscesssoesescecsssesssoesseoeo 3 1 WoD DEMOS E AE ec 3 1 Steps To Set Up A Web HMI DEMO careia a NA 3 2 Step L Setup The HardWare inicio d buta Gotan DEC tia E Drs a E esas 3 2 Step Z setting TE WV GD ODEIONIS asaisapoc i ursi u pep eom te E Rr EN CO mci b utu DR dS 3 2 Step 3 Download ISaGRAF Proje ct cscccsssssccssssccesssccnenssecensse
169. the I 87088W l 7088 addr 1 baud 1 15200 via WP 8xx7 s COM2 RS485 sending Receiving UDP bytes by using eth_udp and eth_send and eth_recv I 87088W l 7088 sending Receiving TCP bytes by using eth tcp and eth_send and eth_recv WP 8xx7 COM2 Mbus Master M 7011 ID 1 M 7011 baud 9600 to get Al DI FAQ 118 AP1 of FAQ119 Mbus RTU Master Central station AP1 of FAQ119 Mbus RTU Slave local 1 Must set Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS PAC ID Slave Number to 1 AP1 of FAQ119 Mbus RTU Slave local 2 Must set PAC ID Slave Number to 2 AP2 of FAQ119 Mbus TCP Master Central station AP2 of FAQ119 local 1 Must set ID to 1 LAN1 192 168 1 178 LAN2 192 168 1 179 AP2 of FAQ119 local 2 Must set ID to 1 LAN1 192 168 1 180 LAN2 192 168 1 181 WP 8xx7 slot 1 1 8017HW single End to get Moving Average refer to FAQ 120 WinPAC Web HMI example 1 Display controller s date amp time No I O board WinPAC Web HMI example 2 DI amp DO demo slot 0 I 87055W WinPAC Web HMI example 3 R W Long float amp Timer value No I O board WinPAC Web HMI example 4 RW controller s String No I O board slot 1 8017HW slot 0 87055W g Z Z Z Z Z 2 O O O o O O O O O 2 3 3J 2 Q Q Q Q Q 3 ia Ss s 3 S 93 ls 3 3 sii lolo 3 a 8 8 a 8 8 8 2 B9 sys S gt H O
170. the project Execution Environment 6 Target Appucauon Import CE License Application Path Local RNS Sees Ser ie ey se Target Yoompact FlashIndusofttDemo_01 Send To Target SAN Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 8 11 Configuration Web directory of WinCon Run WinPAC Utility and change Web directory to System_Disk InduSoft Demo_01 Web Click Change and Save and Reboot to finish this configuration File Help Configuration system Setting Ethernet Setting FTP Setting System Information Auto Execution System Me gt Welcome to use WinPac Utility This tool will help you easy to use winPac 8000 Display cs Resolution enn 600 Y WinPAC eel Task Bar Setting _ Auto Hide Always On Top Change HTTP document root directory wwrindowsWvwwwwwsub to Visualize your project in a remote station Run Internet Explorer and type for ex http 10 0 0 80 MainPage html use WinPAC s IP SA http 10 0 0 80 MainPage html Microsoft Internet Explorer Seles jasc HE RRO SAREA LACT AH ir 0z O ha pme ka O ALEA A TED nttp 10 0 0 80 MeinPage html E vi Eee ss 87055W DI 1 1 87055W DO 1 1 87024W AO 1 Interior 0 8 12 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Note Users must install ISSymbol control layer in a remote station at first time The procedure to install
171. tion on the Template 320 x 240 on the Resolution and None on the Shared Tags E J InduSoft Web Studio Display o60 File Edit View Insert Project Tools Window Help E v P i E S Ta A Getting Started Hew Ctr i Open Project te Open File Coho lose CFA Ll Save Cales nave As E Save As HTML 8 Print Ctrl F 1 MamPage scr 2 MODBUOOL DEV 3 MODBUDUI MOY 4 MOTCPOO DRY Exit zx The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS IWEJE ne 100 Hj k h ER Demo 1 Location DAProgram Filesndusoft Web Studio v6 O Projects Browse Configuration DAProgram FilesIndusoft Web studia v6 0 Projects Demo O1sDemo 01 app Lite Interface CEView Standard Project Wizard C Template Empty Application Resolution 240 x 320 320 x 240 640 x 240 B40 x 480 800 x 600 1024 x 768 1280 1024 Shared Tags Mame z Mone He OF y Cancel J 8 3 Now you could see the new project shown on the Workspace window as below Workspace a X v Project Demo_01 APP Group 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 File Edit View Insert Project Tools Wing gl Project Demo_01_AFF vy
172. tion key please un plug the USB protection key from your USB port first then run Sentineh SSD5411 32bit exe in the ISaGRAF 3 55 CD ROM or later version after you have installed the ISaGRAF Then please reset your PC 2 To run ISaGRAF Ver 3 5x please always plug the USB protection key in the PC s USB port Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 2 3 2 1 2 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 IS SaGRAF 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 portion of the isa ini initialization file add the entry shown below within the WS001 header WS001 NT 1 lsa C ISAWIN IsaExe C ISAWIN EXE Group Samples lsaApl c isawin smp lsaTmp C ISAWIN TMP 2 1 3 Important Notice For Windows 2000 users 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 No response ISaGRAF WHMI_OSP Programe EE o Fie ake Project Tools INTE Options Help E m8 Ot C ED D Gm 26 de
173. to section 4 2 to check Cancel it amp re compile the project again The example project will now start downloading to the WP 8xx7 controller system A progress bar will appear in the ISaGRAF Debugger window showing the project downloading progress ISaGRAF EXAMPLE Debugger Jof x Fie Control Tool Options Help POS r AH o AT GU allowed 0 current 2 maximum e2 overtlow 0 To terminate the communication between your Version for ICP OAS i7185 PC amp the controller please click on X When the example project has successfully completed the downloading process to the W 8xx7 controller system the following two windows will appear 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 Connections 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 87055W I O board to see what happens about K1 amp K2 ISaGRAF EXAMPLE Debug programs O x File Project Jools Options Help EU eee ee eee tea itis OT Tel Crna f CT amp K1 TRUE N Input 1 in the 8705SW board lBegn LD1 ladderDeqem DOS ol K2 FALSEJR Input 2 in the I 87055W board FALSE 3 FAL
174. tput 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 1 87055W I O board is plug in slot O of the WP 8xx7 amp then check on the Equipments amp double click on the I 8 055 8 CH DI amp 8 CH DO ISaGRAF EZAMPLE1 Programs B x File Make Project Tool Debug ptons Help HSI Om s Mel Begin ar SaGRAF EXAMPLEI 140 connection Begi File Edit Tool Options Help Vers aese ts iit LR k Select board eguipment e 053c 16 CH Dl amp Crt Max 100Hz2 OfUS4 Isolated 8 CH DI amp 8 CH DO Cancel TE Click Note to see more T description 8 181 Concrete Freg amp Temper input t Boards ake Link BEE4 MTCP ar BEEB MTCP mbus Modbus ATU master f Equipments mbus asc Modbus ASCII master E is mmicaon Connect MMICOM by Coma or Can 4 14 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Then we have If you don t have the I 87055W you may click the Real Virtual board to make it become virtual board av SaGRAF EXAMPLE I O conne av SaGRAF EXAMPLE I O conne File Edit Tools Options Help File Edit Tools Options Help mis 2 E ang 02 EH
175. tting Auto Hide Always On T Change HTTP document root directory XwindowsNwwwwwwsub tno Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Ap 3 A 4 Connecting Your PC To The WP 8xx7 Ethernet Port Before you can download an ISaGRAF application to the WP 8xx7 controller using the Ethernet port you must first setup the Ethernet port to properly communicate with the PC On the WP 8xx7 set IP Mask and Gateway address Please refer to former section A 3 Setting The IP Address For The WP 8xx7 On your PC First open an ISaGRAF project and select a program you wish to communicate between your PC and the WP 8xx7 controller system Next select the Link Setup button on the project screen as shown below ISaGRAF TEST Programs E Bl xl File Make Project Tools Debug Options Help D Ase mme xxr mi eR Begin Simple Test Program 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 Communication port ETHERNET Cancel COM1 pip c COM Setup C0H3 Time out seconds COM4 ETHERNET Hetries ce k 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 WP 8xx7 controller ETHERNET link parameters p o X
176. tting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Restoring 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 Work bench Archive creation example example Restore Close Help 1 Click on the name of the backed file 2 Click on the button to restore the project Iv Compress Archie location S 3 2 3 1 Steps To Download an ISaGRAF Project To The Controller Double click on the wphmi O5 to get into the project Then click on Link setup 3 ISaGRAF Project Management nIx File Edit Project Tools Options Help Ae bem WS t 2 sames Q j wphmi 01 WinPAC Web HMI example 1 Display controller s date amp time No VO b Tk Te 274 3 wphmi 0 j wphmi 03 Fil Make Project Tools Debug Options Help B 8882 mm xxi ms Ag alarmMsg modify alarm message S93 BE For String amp Integer amp Float Reference w h Author Begin Date of creation 20 nk setup Version number 1 uA LD1 For system time amp DIO Description Seq
177. u 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 87024W_AO_1 and 87055W DO _1 the Input Enabled of the Text I O should be checked as below I Replace J Hint Text 170 Tag Espression amp amp input Enabled Frit Decimal Password Canfirm Check on it means user may input its value at run time Minimum salue Maximum value Security O E Sig VK Disable T 8 6 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS The main screen is as below Workspace EE 1522 3 2454X59335 945 293 r tejet ctam EE 73 Drivers 870558W DI 1 8 5 ls sese OPC no rn SL eee eu bsee eee m TCEAP 87055W DO 1 Create Modbus TCP workspace 1 Click Comm in the Workspace 2 Click mouse right button on the folder of Drivers and select Add Remove drivers to open Communication Drivers window as below 3 Click MOTCP driver then click Select and click OK to close this window Workspace x a By Project Demo_01 APP 2 Click mouse right button on Drivers select Add Remove drivers 3 Select driver as MOTCP Available drivers DLL Description Help MISTE OPTO22 MISTIC Protocol OPTO22 C
178. uential eS sfcl mode 1102 childl blink Version for ICP DAS 7 18 child2 Right to Left P i Pa See child3 Left to Right Begin ST1 Structured Text Version for ICP DAS 7188 4 3000 View Wincon series controllers only Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 3 5 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 ETHERNET link parameters Setup Internet address Port number The Workbench uses the WINSOCK DLL library for TCP IP communications Ensure that this file is correctly installed on the hard disk To download wphmi 05 project to the WinPAC 8xx7 Click on Debug If communication is established click on stop first to stop the old project running in the WP 8xx7 Then click on Download to download it to the controller ISaGRAF WPHMI 05 Programs If the project is not Ele Make Project Tools Debug Options Help compiled click on Make B E Ein m S dde md 2 application code button egin 5 alarmMsg modify alarm message SABE For String amp Integer amp Float first then Click on the He LD1 For system time amp DIO Debug 2S sfcl mode 1 to3 child1 blink child2 Right to Lef ac child m 568 Dinh ISaGRAE WPHMI 05 Debugger ojx File Control Tools
179. using the PC ISaGRAF debugger to connect to the ISaGRAF controller will pop up a window like Can not link or Can not download or Can not find BMP or To solve this problem please do below steps 1 First close all ISaGRAF windows Then press and hold on Ctrl plus Alt key and then press Delete key to open the Task Manager 2 Stop the process which is with empty memory Then run PC ISaGRAF again to IUOS IO E CONNAN Close all ISaGRAF windows then C Windows TIFEAS ss press Ctrl Alt Del to open the task SEX SEO HA0 HAH Imanager Then stop the process m which is with empty memory And T ee 2 fz E E velis aae deesse then run ISaGRAF to connect NETWORE SEE conie exe Admustrator mits LEM Admmistrator Adminstrator wuauclt exe Administrator Tostmm e xe Administrator svchost exe atel EM tasa gr exe Administrator explorer exe Administrator msnmsgr exe Administrator mspaintexe Administrator emartMN exe Administrator w fmgr exe LOCAL SERVICE naPrd M gr exe oie LEM VaTskM or exe SYSIEM Meshield exe oie LEM Frameworkservice SYTEM snam ver ewe LOC AT SRE VICE Ree SAR AA TE T BG 3 If the problem is still there and you are using Ethernet to connect the controller check if your PC and controller are set in the same IP domain For example PC with IP Mask 192 168 1 2 255 255 255 0 can not connect controller 192 168 3 5 255 255 255 0
180. wnload monitor amp debug the controller system Item B is free and it is burned inside the CD ROM which is delivered with the WinPAC 8xx7 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 2 1 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 98 Windows 2000 or Windows XP e Windows NT Version 3 51 or Windows NT Version 4 0 e Windows Vista 32 bit or Windows 7 refer to FAQ 117 Steps To Installing The ISaGRAF Workbench Insert the ISaGRAF Workbench CD into your CD ROM drive If your computer does not have the auto start feature active use the Windows Explorer and go to the CD ROM drive where the Workbench CD is installed 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 55 x Language iS Iristall T ISaGRAF workbench Select the language vl Recommend to use English because this manual uses Acrobat Reader 4 0 English version t SaGRAF Documentation c 1990 2007 ICS Triples I5 aGARAF IS alaRAF is a trademark of ICS TRIPLES I5 aGRHAF To begin the ISaGRAF 3 x software program click on the Windows Start button then on Programs and you should see the ISaGRAF pr
181. wo optimizer passes Ewaluate constant expressions these items Default Suppress unused labels Optimize variable copying Optimize expressions Suppress unused code Unselect Optimize arithmetic operations OF Optimize boolean operations Build binary decision diagrams BOD s Cancel Compiling error result in different ISaGRAF Version please refer to appendix H of this manual Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 17 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 ISaGR AF EXAMPLE1 Programs of x Fie Make Project Tool Debug ptons Help CM E21 DED ea on He 22 Begin HE Code Generator x Begin LD1 Ladder Diag Version for ICP DAS i 7185 Ma eror detected Do you want to exit the Code Generator now Continue If 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 the project on the PC to see how the program works without the controller To do that c
182. x Ba d 10 c a B NOE o B zo n EB main htm m Lob 107 Iit To refresh displayed data this function is called by IE about every 1 5 S eee function refresh datai 110 gy 111 llz 113 Bl sre 114 Be 5rec 115 116 Bll src ing big Tcircle red boolean val l11 3Jpu ll 116 Lf boolean wval lz 2 20 11595 1 lzu Ble innerText 0E lel tont Blz color 2 hblue lzz Ble blink immpgm circle blue boolean val l1 J3pg a ingr cnd boolean valle J3puy Ec Gest oaa Eem Eia a T T mam E You may click on Preview to simulate its run time behavior R Microsoft FrontPage DChun_DWs r_Manval_WinCongi00iWeb_HMIdemoiexanple limani hin os GEE MAY AQ BAO IAM SBW BD GG Re NND D F id 3 08 13 7 4 3ai amp 91909 0 189 E DECRE L RA ae Ree sh v a Im 3 This is a Web HMI sample page K2 OK Horr zl Hello Welcome to the Web HMI Sample 677 x 354 gaz BT A Gest Os Gist 4 38 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 4 4 4 Step 4 Download Web HMI Pages To The Controller The steps are similar as listed in Section 3 2 If you haven 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 Se
183. xt value Enter long val L15 gt input namez F17 type text value Enter float val F17 gt input name END type hidden value gt lt form gt lt div gt Text input L15 amp F17 inside the form1 If data is timer please use L And W for word S for string div style position absolute width 74px height 31px left 234px top 150px gt input type button style cursor hand onClick return Check form1 value Enter gt div E j cursor hand will display the did see ei e this m mouse arrow as a hand when utton It calls Check to lt body gt post to the controller entering the button area 5 18 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 5 5 Multi Pages The Web HMI in the WinPAC 8xx7 supports multi pages application You may refer to Chapter 3 to setup the multi page demo wphmi_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 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 wphmi 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 wphmi 05 demo What is a Level2 page Only users login with the Middle or High priority can get access to it To access t
184. y amp Useful www icpdas com gt ISaGR Fa eLog FAQ gt Software gt Tool HMI Development Too ISaGRAF Ver 3 FAQ 115 WP 8x47 8x37 XP 8xx7 CE6 VP 25W7 23W7 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 1 1 3 Redundant Communication System e More at www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 119 e RS 485 or Ethernet redundant communication mechanism applications e For XP 8xx7 CE6 WP 8xx7 amp VP 2xW7 series a WP 8x47 Central Control PAC Local PAC 1 WP 8x47 ig Local MES 1 4 Redundant System with Hot Swap RS 485 I O e f one Ethernet cable of WP 8x47 is broken or damaged the other one will still work e f one controller is dead the other one will take over the control of the RS 485 I O e PC HMI can connect to this redundant system by one or two active IP e More at www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 093 New WP 8x47 Hot Swap Redundant System PC HMI im E PC HMI Ethernet M amp NS 205 208 li _ LAN2 8 Main m PAC hs LAM RU 87P8 el RU 87P4 4 f d 1 f a i Dow i Oe gt s 1 we as d 1 6 a Hot Swap RU 87P4 8 1 87K I O High Profile cards 1 2 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 1 5 Modbus Master TCP IP e Each WP 8xx or VP 25W7 23W supports to link to max 100 Mod
185. y an USB pen drive without Mouse and VGA 097 098 Q Application Link Serial COM Port to the Modbus RTU device by COM functions Q How to get an average value of a Real or Integer variable which is samlped every fixed interval or sampled in every PLC scan 100 Q How to use I 8084W 4 8 Ch Counter or 8 Ch frequency Q How to read max 120 Words or max 60 Long Integers or max 60 Real value from Modbus RTU ASCII devices by using MBUS XR or MBUS XH1 function id block for WP 8xx7 8xx6 and VP 25W7 23W7 25W6 23W6 and Wincon 8xx7 8xx6 only 102 Q Why PC can not connect the WP 8xx7 or VP 25W7 23W7 s FTP server 103 JQ Using RS 232 Or USB Touch Monitor With WinPAC 104 Q Why my PC running ISaGRAF can not connect the ISaGRAF PAC correctly 105 Q Program The 8 Channel PWM Output Board 1 8088W In WP 8xx7 VP 25W7 23W7 And iP 8xx7 PAC Q How to display the frequency trend curve by running ISaGRAF and C net 2008 program in the WinPAC 8xx plus l 8084W 107 Q How to do auto time synchronization and measure the local Longitude and O Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 9 15 English ISaGRAF Ver 3 FAQ Latitude by using the i 87211W GPS I O module in ISaGRAF PAC Q How to display the temperature trend curve by running ISaGRAF and C net 2008 program in the WinPAC 8xx7 plus i 87018z 10 109 Q How to adjust the system time of some
186. ypad Input mbus Modbus master on COMS or COM4 MMICON Connect MMICOM by Coma ar Cc modem ps Set Password of Com4 Modem mtcpan Link to MT CP 8430 8830 S256 S12 Battery backup SRAM Far I Bax 7 SMS Short Message Service eleli Heeel Library Boards Eguipments w107 BDI amp FOO for the 7198 SG EG 179 ZDI amp 7DO for the 718983 EG aw ISaGR AF WHMI_O5 IO connection m x File Edit Tools Optons Help amp E EiBm tll S IBS am i 87055 moos ref 15 zx E DIS n mun IP 1 10 0 0 2 DOS n w IP_2 10 0 0 4 was IP 4 NJA m IP 5 NJA mu IP 6 NJA sam IP NJA 6 sus IP_ 8 N A p Hm wip il B ip ne v s Ja bd Please re compile your ISaGRAF project and download it to the controller if you have modified the IO connection 5 22 Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS Chapter6 VB net 2008 Program Running In WinPAC 8xx7 Access To ISaGRAF Variables This chapter lists the procedure for creating the first demo program by Visual otudio NET 2008 development tool There is some sample programs in the WinPAC 8xx7 CD ROM WinPAC 8xx7 CD ROM napdosNsagrafwp 8xx Wb net 2008 demo wp vb01 Digital l O demo with one I 87055W in slot 0 of the WinPAC 8xx7 wp vb02 Analog I O demo with one I 87024W in slot 1 one 801 7HW in slot 2 wp vb03 Read Write ISaGRAF internal integers timers amp real variables No I O
187. ystem Drawing mn Ti using System Text bese 8i using oe EE Open With Ji using Quicker 10 llipg namespace wp CREharp l Viw Code E View Designer N Then you can design all required objects and actions inside your C Forms d mi public partial class Forml Form 10 3 Compiling an Application Program When you have finished writing a program you can build an application by the following steps 1 Remember to save at any time for safety B project Micro Visual Studio File Edit View Project Build Debug D b Pointer D BandinoSenres 2 Then compile Build the project The result is listed in the Error List windows at the bottom B project Micros Visual Studio Ede Edit View Preqect Build Debug Data Form ia v 5 pu m is Build project Rebuild project Deploy project b Pointer OT BindingSource 6775 TX de Clean project Getting Started The WinPAC ISaGRAF PAC Ver 1 5 Nov 2010 by ICP DAS 10 5 Build succeeded succeeded 3 You can find the execution file in lt Your C net Project folder gt bin Release lt project_name gt exe Please copy this execution file to the WinPAC 8xx7 s System_Disk ISaGRAF path to run it Note User may copy the C net execution file to other path to run it but there should contain at least three DLL files with it or it can not run correctly For ex the project1 exe can run in t

Download Pdf Manuals

image

Related Search

Related Contents

Shuttle XH81V barebone  2 - Balzo  PCB100/96PS-xxA 取扱説明書      Fuente y Conversor de Comunicación – FCCM (Línea  

Copyright © All rights reserved.
Failed to retrieve file