Home
ISaGRAF ViewPAC
Contents
1. fig see Th Component Files E d0 tlb olb ocx eme CENE Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 10 3 4 When both mscorlib and Ouickerhet dl are added you can see them in the solution explorer as below solution Explorer wp CSharp A x ep Beho P solution wp Ceharpll il project 8 wp_CSharp01 H a Properties B F References 42 mmacorlib crickernet ty 1 Siem I System Data 4 2 System Drawing 42 System Windows Forme 43 System Aml CE Form cs K Formal Designer cs K bom esx 3 Program cs 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 SO EA Foml cs Form cs Design cS Be al I Si Eel SgupCShap0lFoml e CSharp bom w out Chef Formi Combo k r solution wp CsharpOl il project igusing System 42 wp_CSharp01 2 H al Properties E 2 using System Collections Generic GL faa Ret Right 4 using System ComponentModel a nra Click 5 using System Data a ES i using System Drawing 1 Open T using System Text o using System Windows Forms cH Open With Glusing Quicker a 10 View Code W llig namespace wp CZharpll et s ES DS View Designer l3 public partial class Forml Form Then you can design all required objects and actions inside your C Forms 10 4 Get
2. DOS n Si K2 TRUE Input in the l 8077 board 4 4 5 A TRUE e 7 FALSE 6 FALSE GE FALSE Another VERY helpful window you can open is the Quick LD Program window From this window you can observe the LD program being executed in real time bagk AF EXAMPLEL Debug programs E Ioj x File Project Toole Options Help By m n i Begin LOY Ladder Diagram Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 23 ie ba RAF EXAMPLEL LDI Quick LD Program E 3 ll x File Edit Options Help 44 44 cl 4 4 4 4 Design The Web Page After finishing the ISaGRAF project amp download it to the VP 25W7 VP 23W7 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 finished web pages of this example in the VP 25W7 23W 7 CD ROM at design time However it is better to do it one time by yourself to get more understanding VP 25W7 23W7 CD napdos isagraf vp 25w 23w wp webhmi demo example1 4 4 1 Step 1 Copy The Sample Web HMI pages These is a sample Web HMI pages in the VP 25W7 23W7 CD ROM napdos isagraf
3. MEA E repro H H a ec zi a A D ee rr A rei Ss CH Hp Z US SS soft FrontPage D Chun_D User_Manual_WinCon8000 Web_HMI demo example main hin E JD x Se gaer RAY HAD ao TAD HA BAD WS Racy EE T S tzen D S Mama Am zap ezgnmn RB E PBA Crlk H Times New Roman e 2 OUin IR Z HIS SS Ss Cl iP ize First click inside the Layer2 and then insert one another layer inside It Now we have Layer3 inside the Layer2 ED S6Kbps RER 0014 685x292 FRR EST Follow the same former steps to insert one another Layer to be in just below the Layer3 as below 4 26 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS P iol x Ces ene RRO AD BRO IRA BRU sun ERR mew KAH DARE B BEJE RA E RFL Jl Lb pga fr Times New Re BR ZU Bz main him 4 lt body gt lt div gt lt p gt M i la E Microsoft FrontPage D Chun_D User_Manual_WinCon8000 Web_HMI demo emamplel ims EI x BAE Ss eR GA fest ILAT ZS BAD ag NS SHAH O a HAASE ia S Vi4 BAS 9 hb poke E L i Web SECH H Tones New Roman 3 020 B SS Z bes mam mt A This is a Web HMI sample page First Click inside the Layer2 and then insert the Layer4 inside it DEH DSH EE tom Lesser SoKbps See 001 538x191 Ma eg i Inside the Layer4 we are
4. set float_val to ISaGRAF variable with network address 2 float_val 1 2345 temp_val long amp float_val UserSetReg 2 temp_val 1 set long_val to ISaGRAF variable with network address A long_val 12345678 temp_val long amp long_ val UserSetReg 4 temp_val 2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 7 1 Get boolean value unsigned char UserGetCoil unsigned short iUserAddress unsigned char iStatus iUserAddress 1 to 8191 Variable s network address in ISaGRAF project iStatus 0 boolean is False 1 boolean is True for ex unsigned char bVal UserGetCoil 5 amp bVal get Boolean value at network addr 5 Get word or float or long value unsigned char UserGetReg unsigned short iUserAddress long iStatus unsigned char iDType iUserAddress 1 to 8191 Variable s network address in ISaGRAF project iStatus A pointer to a long type which stores the data returned iIDType 0 type is word Note 1 data type is float 2 data type is long use long for Timer value in ISaGRAF unit is ms for ex float float val long word_val long_val long ret_val get word_val 32768 to 32767 of ISaGRAF variable with network address 10 UserGetReg 10 amp ret_val 0 if ret_val gt 0 amp amp ret val lt 32767 word_val ret_val else word val ret_val OxFFFFOOOO get float of IsaGRAF variable with network address 11 UserGetReg 11
5. DOWNLOADING THE EXAMPLE PROJECT Before you can download the project to the controller you must first verify that your PC and the controller system are communicating with each other To verify proper communication click on the Debug icon in the ISaGRAF Programs window as shown below ISaGRAF EXAMPLEI Progen E o SI File Make Project Tool Debug Optone Help A ASI OE m s Mie mk Zee Begin LOT Ladder Diagram Begin me DI If the development PC and the VP 25W7 VP 23W7 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 Your project name in the ISaGRAF software on the PC age o Sab EXAMPLEL Debugger File Control vok wk Ofton Help S z ENG Oe est se active Current running project name GF inside the controller ES If the message in the ISaGRAF Debugger says Disconnected 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 ViewPAC controller system Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4
6. 5 6 Web Security There are some ways user can get access to the ViewPAC via its Ethernet port 1 Using Modbus TCP protocol at port No 502 ISaGRAF and other HMI can do this 2 Using ftp for example keyin ftp 10 0 0 103 on the Internet Explorer 3 Using telent for example keyin telnet 10 0 0 103 in the command window 4 Using the Web server The Web HMI does For safety recommend to disable item 2 and 3 at run time Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 19 ViewPAC SaGRAF Driver Setting Web about pions EI Enable Web HMI BIBS SU eal GI EI Disable Telnet Serveice a 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 ViewPAC ISaGRAF Driver Setting Web About e security Settings Disable FTP Serveice Account Modbus List 1P Setting Disable Telnet Serveice Setting user name amp password here To set up advanced security click on Settings Settings Prionty Lowy Leer Kame Password Priority Middle User Name Password Priority High ser Mame Password About item 1 user may set up to eight IP address for ISaGRAF or other HMI to get access to the VP 2xW7 VP 2xW6 VH 2xW7 VH 2xW6 via the Modbus TCP IP protocol as below On the I O connection
7. Boolean Input Input 1 in the I 87055W Modbus network addr 8 K2 Boolean input nput 2 in the I 87055W Modbus network addr 12 Wl ege a Period of blinking initial value set as T 8s Modbus network addr 21 Ladder Logic Program Outline 4 1 1 Open ISaGRAF Project Management Click on the Windows Start button then click on Programs then click on ISaGRAF 3 4 or ISaGRAF 3 5 then click on Projects as shown below 5 ISaGRAF 3 4 A Jasc Software E Diagnosis E Logitech Mouseware Libraries A Macromedia Dreamweaver 4 A Macromedia Extension Manager A Master Converter A Report US Matrikon OPC Lal MCSD Training A Microangelo A Microcim Lal Micro IDE x Microsoft MET Framework SDE A Microsoft Developer Network d Microsoft Office Tools A Microsoft Fress Lal Microsoft Visual Studio 6 0 A Microsoft Web Publishing A Morpheus A MSDN HelpDesk Sample Lal nc 3 1 Lal Netzero Internet A New visio Drawing A Norton Antivirus Corporate Edition start Ka e A DG Leg NT Service Toolkit F T F ww e we F ww ww ww ww F F F 4 2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 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 A ISaGRAF Project Management E S loj x Fie Edit Project Tools Optons Help be E
8. Get short value of the variable of Modbus Network Address 11 UserShare UserGetReg_short Convert ToUInt16 11 out short_val Demo program VP 25W7 23W7 CD ROM napdos isagraf vp 25w7 23w7 CSharp net 2008 demo wp_CSharp02 for R W analog I O napdos isagraf vp 25w7 23w7 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 vp 25w 7 23w english manu User Nanual IT 8xx7 pdf 10 8 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Appendix A Hardware System amp Settin A 1 Applying Correct Power Supply Please apply a regular power supply between 10V 30V gt 25W or higher is better to VP 25W7 VP 23W7 VP 25W6 and VP 23W6 Slot2 Slot1 Slot0O Power Supply 10 30 Voc VS GND COM3 COM2 USB port Ethernet Port Options Power supply http Awww 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 Awww icodas com products Switch switch Jet bim NS 205 10 100M 5 ports NS 208 10 100M 8 ports Getti
9. 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 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 2 5 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 later 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 WP 8147 8447 8847 WP 8137 8437 8837 VP 25W7 23W7 XP 8047 CE6 8347 CE6 8747 CE6 Please refer to www icodas com gt FAQ gt Software gt ISaGRAF gt FAQ 115 Working eLogger HMI with ISaGRAF SoftLogic in the WP 8xx7 VP 2xW7 and XP 8xx7 CE6 PAC for more information about programming an eLogger application eLogger Develop 1 0 2 0 200971143 CA ICPDAS eLoggerleLogger Developer Projectitest002 wez Project Edit View LayoutSize About Come Oz A 51H Page
10. Programs ViewPAC Utility Set FTP directory to the root directory Y Then check all three ftp options as Enable Remember to click on Setting Then click on Auto Execution to do the next step ViewPAG Utility 20 1 0 Fie Help Configuration System Setting Ethernet Setting ae Information Auto Execution Multi serial por FTP Disable Allow Anonymous Disable Allow Anonymous Disable Upload Change FTF default download directory Termp to oss S Jl w LargekB Keyboar je Hide Input Panel AB 5 57 PM La E D Please click on Browse to select or type System_Disk isagraf isaViewPAC exe and click on Setting Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 13 ViewPAG Utility 2 0 1 0 File Help Configuration Program 1 system_Dick isagrah caViewPAC ove La At most 10 ee e RE programs can be d SEN execute tech Free enc system startup DR RE E Run Save and Reboot to store the setting in step A thru D and then it will auto reboot the ViewPAC once YiewPAG Utility 2 0 1 0 Sa Help Configuration Save Save and Reboot arm L System _Disk isagra isav iewPAC exe Reboot Without Save Restore Default Settings Exit i il 3 After the ViewPAC reboot successfully please stop the ISaGRAF driver again The original VP 25W1 23W1 doesn t have the ISaGRAF driver running only the VP 2
11. Fo tPF Scr Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 13 4 1 8 Connecting The I O We have defined variables name of OUT01 OUTO2 as output attribution while K1 amp K2 as input attribution in step 4 1 4 These input amp output variables should be map to physical I O in the controller before they can work To do that click on I O connection to get into the I O connection window Double click on the No 1 slot Please make sure your I 87055W I O board is plug in slot 0 of the VP 2xW7 amp then check on the Equipments amp double click on the Il 87055 8 CH DI amp 8 CH DO SaGRAF EXAMPLE Programs Ioj x File Make Project Took Debug ptons Help MEA E gn aoe Begin aw ISaGRAF EXAMPLE 190 connection 0 SI Begin File Edit Iool Options Help A CH ATO Input with Alarm 8 CH Analog Input with Alarm OCH Thermocouple with Alarm OCH Thermocouple with Alar Cancel 32 CH DA amp Crit Mas 100H2 16 CH DA amp Cnt Max 100Hz GH Del amp Cnt kas 100Hz 16 CH DA amp Cnt Max 100Hz Note Click Note to see more Library C Boards d Ce Equipments of Obsc 8 CH r0 amp Cnt hax 100Hz 1 or0c 2 Counter amp 2 read back DU z Then we have If you don t have the l 87055W you may click the Real Virtual board to make it b
12. That means if you assign a Network Address No 11 to a Real type variable or Timer or integer will have 32 bit value larger than 32767 or smaller than 32768 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 13 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 3 1 Post Boolean Value to The Controller ON OFF function is used for posting de Wd etc Ine IMAgE Boolean value to the controller by refer to the current Boolean value function ON_OFF form_obj obj current_boo_value neurrent_boo_value 0 The first parameter is the name of the form flag confirm turn ON The second parameter is the lt input gt name if flag obj value 1 inside the form The last parameter is the current Boolean value else flag confirm turn OFF if fl value 0 pel ORL Nae Demo example vphmi_02 and vphmi_05 if flag if GetUserlD form_obj true form_obj submit function refresh_data 0 display img cmd0 jpg 1 img cmd1 jpg Display the current Boolean image In this example B2 src img cmd boolean_val 2 jpg Ge E 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 le
13. omp gif msg default message files wincon js amp xxerror htm wm Titer dl three DLL files login dll main dll index htm first default page login htm the Web HMI welcome page menu htm the page menu page normally on the left on the Internet Explorer main htm first page when successfully login User may put his own image files into the folder named as user_img And put user defined JavaScript file or css file into the folder named as user meg Other folder name is not acceptable by the ViewPAC 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 ViewPAC via the Internet Explorer Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 3 1 User may modify the login htm menu bim 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 bim lt html gt This row is only for the Login htm lt head gt please do not apply to other pages For example the menu bim amp lt title gt Login lt title gt main htm amp other bim pages lt meta http equiv pragma content no cache gt lt meta http equiv Content Type content text html charset UTF 8 gt lt script language JavasScript gt
14. I 8172W 2 port FRnet module RS 485 Remote I O Modules Serial Interface HOT SWAP l 87K High Profile Modules More at www icpdas com gt Products gt PAC 8K amp 87K I O Modules l 87K Analog I O Modules l 87005W 8 ch Thermistor input and 8 ch digital output module 4 ch 16 bit 10 Hz Total 2 3 4 Wire RTD Input Module with Open Wire I 87013W Detection 7 ch 16 bit 12 Hz Total RTD Input Module with Open Wire Detection for short I 87015W sensor distance 87015PW 7 ch RTD Input Module with 3 wire RID 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 Vims I 87017RW Over Voltage Protection Range of 20 20 mA Requires Optional External 125 Resistor l 87017RCW 8 ch Differential 16 12 bit 10 60 Hz Total Current Inout Module I 87017W 8 ch Analog Input Module I 87017W A5 8 ch High Voltage Input Module I 87018RW 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 Inout Module with 240 I 87018ZW Vims Over Voltage Protection Open Wire Detection Range of 20 mA 0 20 mA 4 20 mA requires Optional External 125 Q Resistor I 87019RW 8 ch Diff 16 bit 8 Hz Total Universal Analog Input Module with 240 Vims Over 8 Getting Started VP
15. VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Please follow the similar steps to insert OUT01 amp OUTO2 as below The OUT01 uses img circle_blue0 jpg as its image source while OUTO2 using img cmd0 jpg RI Microsoft FrontPage D Chun_D ser_Manual_WinCon8000 Web_HMIWemotexemple mein hin lo x BRE GREE te TAD Sin RO Gan AHD TRE TEN an BHH 2 G H JIA FIA AAF blan B fir e Time New Roman gj 2 pt f he S a 4 sbody gt div gt tiv BR This is a Web HMI sample page Layerl0 pome Layer12 agassa Layer8 IEH S6K bps RAR DDL PP 581x285 WE BET g We will use OUTO1 to display the state of the first output of the 87055W board while OUTO02 is for controlling and displaying the second output of the I 8 055W Now please insert one another Layer14 Inside the Layer14 please insert one Layer15 with a T1 xxx ms symbol And two empty Layers Layer16 amp Layer17 just below the Layer15 We will use T1 to display the Timer value T1 in the ISaGRAF project R Micro soft FrontPage D Chun_D User_Meanval_WinCon8000 Web_HMI demo example inan him BRE HE RR BAD BAO TAD AA AAD ERR RE an 99 H D ee Mo le A 7 AILI d pages P fr Times New Roma
16. and lt div gt tags lt body onLoad init gt 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 F1 gt xxxx lt b gt lt div gt lt 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 lt input name L15 type text value Enter long val L15 gt lt input name F17 type text value Enter float val F17 gt lt input name END type hidden value gt a text input L15 amp F17 inside the Tomm if data is timer N please use L And W for word S for string lt div style position absolute width 74px height 31px left 234px top 150px gt lt input type button style cursor hand onClick return Check form1 value Enter gt lt d gt cursor hand will display the When mouse click on this button WW mouse arrow as a hand when it calls Check to post to the lt body gt entering the button area controller 5 5 Multi Pages The Web HMI in the VP 2xW7 VP 2xW6 VH 2xW7 VH 2xW6 supports multi pages application You may refer to Chapter 3 to setup the multi page demo vphmi_05 to see how it wo
17. lt input name BEGIN type hidden gt lt input name L21 type text size 8 value xxx gt lt input name END type hidden gt form ar lt S Please insert below code inside Layer16 SES lt form name form_L21 method post action main dll gt lt input name BEGIN type hidden gt lt input name L21 type text size 8 value Xxx gt lt input name END type hidden gt lt form gt lt div style position absolute width 67px height 33px z index 3 left 106px top 44px id layer17 gt lt input type button value Enter onclick Check_L21 gt amp nbsp lt div gt lt p gt amp nbsp lt div gt Inside the Layser17 please insert lt input type button value Enter onclick Check_L21 gt 4 32 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS We have finished the code in the lt body gt lt body gt area 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 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk var B12_blink 0 init as O not blink KKK function to blink object The Error IT symbol will blink when the var blink _step 0 K2 True in this example Please function blink _obj un mask the code inside these 3 areas if blink_step 1 d blink_step 0 display your object here bl
18. to stop it ig H H Microsoft isalviewP At WordPad YiewPAG 29W7I 23W77 SaGRAF Driver Setting Web About hu V Documents Configuration Slave Number fi fy Modbus RTU Slave Port hone VIEVWPAC Baud Rate jis2o0 J M D 1 Project Current Application E T5411 1116 15412 556 Elapsed Time home However if it is VP 25W1 23W1 ViewPAC without ISaGRAF license please goto step 2 2 Set up ViewPAC s IP Mask FTP directory amp Auto execute A Please create a folder isagraf inside System_Disk folder in your ViewPAC controller Then it will be System_Disk isagraf B Please run Start Setting Control Panel on the ViewPAC then double click on Network and Dial up Connections Then click on LAN1 Set your Ap 12 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS ViewPAC s IP address amp its Subnet Mask Please always set as Fixed IP for ISaGRAF application No DHCP TANI Fast Ethernet Adapteri Settings Mame Servers IP Address An IP address can be a Obtain an IP address via DHCP automatically assigned to this ea SE computer If your network specify an IP address does not automatically assign IP addresses ask your network H Address 192 165 1 176 administrator for an address bast Meade Zen 255 955 0 and then type it in the space provided Default Gateway f 192 168 1 1 C Please run Start
19. 2010 by ICP DAS A 5 Pin Assignment of COM2 COM3 and Multi Clients Connection to The VP 25W7 VP 23W7 Each VP 25W7 VP 23W7 must use an IP address No DHCP and with a fixed Ethernet port No 502 Up to 32 PCs can link to one ViewPAC by Ethernet Modbus TCP IP protocol one TCP IP connection for each PC Other PC or HMI can link to COM3 RS 232 or COM2 RS 485 if one of them was set as Modbus RTU slave port refer to Appendix A 2 or link to its COM5 to COMB refer to the appendix G amp E PC HMI ull ull ull ull ull rr 5 em e ef a ef ke et e A A ne E A peo PC HMI Modbus TCP IP lt gt Modbus RTU Options Industrial Ethernet switch http www icodas com products Switch switch_list htm NS 205 10 100M 5 ports NS 208 10 100M 8 ports Pin Assignment of COM2 and COMS COMS3 RS 232 COM2 RS 485 1 7 GD 2 RXD d rt TAD 4 DTR i Ge TA D D ooon V wt om re 0 o DSR RTS Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 5 Ap Connecting PC To VP 2xW7 s COM2 or COM3 The default Modbus RTU slave port of VP 25W7 VP 23W 7 is None User may change it to COM2 RS 485 or COM3 RS 232 or None please refer to A 2 Modify The NET ID amp Modbus RTU port setting Please refer to appendix G amp E for more Modbus RTU ports Default communication parameter is 19200 8 N 1 ViewPAC PC RS 232 COMS
20. Battery backup SRAM for l B 7 The mom Rtu_Slave_Port4 0 STS Shot Mage Service am rtu_slav Ka Baud Dontd 19200 udp ip Set up NUDPYIP socket B remot ge reserved H vip Permissive IF via Modbus TCP IP e ibrary The 4 ch Boolean 119 7D amp FDO for the 71822G EG WEN a 4203 24D BDO 201 for 71822G EG inputs indicate vs reserved 0 303 1DA TAD BDO 4D for 7188 G EG C Boards Ce Equipments mmm reser the related port Isi RTU_ Slave Port2 5 defines the COM well enabled or SE Port number to enable Value can be 0 not True Enable e 5 6 7 or 8 Value of 0 means not Ok HUI enable it Baud rate setting can be 600 1200 2400 4800 9600 19200 38400 9 600 115200 Ap 24 Getting Started VP 25W7 23W7 Ver 1 3 Nov 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 SaGRAF DEMO 04 Programs l iol x File Make Project Tools Debug Optons Help Make application Mb OH Sos Verity Touch Application nxm
21. F CEView Standard si ki a Exit Template Empty 4pplication Resolution O 240 x 320 320 x 240 O B40 x 240 640 x 480 800 600 1024 x 768 1280 x 1024 Shared Tags Name None gt H UK 7 Cancel Workspace v gfe Project Demo_01 APP CLEANS COU Screen Web Pages Library 1 Symbols Now you could see the new project shown on the Workspace window as the figure 8 3 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 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 X h Y amp Project Demo DI APF R Gj Application Tags File Edit View Dat cl I TT SS Ei STU b Security 7 ee l Event bettings a4 Project gz CG Applica Dat 1 Classes b a Shared datahase The New Tag window will show as below Name DI Armay Size 0 Type Boolean D Description 87055 Du Channel 1 Web Data Sener Je This demo uses a DIO module I 87055W an AO module I 87024W and one internal variable defined as follow Please create these tags one by one Web Data Boolean Dn 8 055W DI channel 1 Input Boolean DO oO 87055W DO channel 1 Output Integers AO OF 87024W AO channel 1 Output Integers Interior 0 Internal variable Internal 8 4 Getting St
22. RxD _ TxD GND _ GND CTS RTS RS 485 2 t VP25W7 VP 23W7 Modbus Device Modbus Device D __ _ _ _ RS 485 ___________ RS 485 RS 459 D RS 485 _ _ _ RS 485 Ap 10 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS A 11 Calibrate The Touch Monitor Of ViewPAC The touch monitor of each ViewPAC has been calibrated well before shipped out The precision is fine in normal case If user want to calibrate it one more time it is also possible Please follow below steps to calibrate it 1 Get into the Control panel and run Stylus gt Calibration then click the Recalibrate Programs e Favorites d Documents gt ai Stylus Properties D Connection oo Le V e IF Cc _ ela da a on TT 3 a lib ti E Settings E Control Panel Certificates Double Tap alioration a Help WK Network and Di CZ Run A responding properly to your Si Taskbar and Start Menu taps you may need to SS E ZE GE recalibrate your screen Dial up Co To start the recalibration process tap Recalibrate If your device isn Stylus is 2 hen use a small pointer or your finger to touch the shown on the ViewPAC s monitor Carefully press and briefly hold stylus on the center of the target Repeat as the target moves around the scr
23. T 8s then click on the Store button Then please click on X to close the dictionary window 4 6 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS SaltR Ak EAAMPLE Global timers E iol x Fie Edit Tools ptons Help piatta r te OOO EKER S Booleans Integers Reals Timers Messages FA instances Defined worda Attrib Addr Comment Timer Variable E o pE x Hame Es Network Address fs Comment Attributes Store A Con DE value Chavau e ie Internal Constant Retain Lenee SaGR AF EXAMPLE Global timers O EI File Edit Tools ptons Help te OO OE KEK S Booleans Integers Reals Timers Messages FA instances Defined words attrib Addr Comment PERRET eee eer rrr rrr rrr rrr rrr rrr rrr errr rrr rrr rrr rrr rrr er EE ER EE EE EE EE EE EE EE ERR E rrr rrr rrr rrr rere rrr rrr rrr rrr rrr rrr E EE EE R E RER R internal L 100 20000 internal ttos 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 recognizes Modbus No from 1 to 1024 However other SCADA software may R W the Modbus No from 1 to 8191 in the VP 2xW7 VP 2xW6 VH 2xW7 VH 2xW6 Variables without assigning Modbus No will not be available by Web HMI and other SCADA software or HMI devices
24. 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 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 VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w english manu User_Manual_l _8xx7 pdf 7 2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Chapter 8 InduSoft Project Running In ViewPAC _ Access To ISaGRAF Variables Note If the HMI program behavior is not so smooth or slow please refer to Appendix F The VP 2xW 6 is the abbreviation of the VP 25W6 and VP 23W6 The VH 2xW6 is the abbreviation of the VH 25W6 and VH 23W6 1 Please always set a fixed IP address to the VP 2xW VP 2xW6 VH 2xW7 and VH 2xW6 No DHCP Recommend to use the NS 205 NS 208 Industrial Ethernet Switch for them 2 Please refer to VP 25W7 23W7 CD ROM napdos isagraf vp 25w 7 23w english manu user manual 1 Bvx of for detailed ISaGRAF English User s Manual VP 2xW6 VH 2xW6 supports InduSoft and ISaGRAF logic running in the same controller A simple example to run InduSoft amp ISaGRAF logic in the same controller Step 1 Create a new ISaGRAF project as below This demo uses a DIO module I 87055W in slot 0 of VP 25W6 and an AO module I 87
25. div gt lt div style position absolute left 85px top 166px width 47px height 31px gt lt input type button value OFF style cursor hand onClick OFF_ form_B2 form_B2 B2 gt lt div gt A button to call OFF_ First parameter is the name of the form Here is Tom B2 lt body gt The second is the name of the input inside the form Here is form _B2 B2 5 4 3 2 Post Word amp Long amp Float amp Timer amp String Value to The Controller E rem rm re rem rm rem rem rem rem re re em rem rem rem rem rem re rem em rem rem rem rem rem rem re em rem rem rem rem rem rem rem em re rem rem rem rem rem re rem re rem rem rem re rem rem em function Check form_obj q Check is used for flag confirm Are you sure posting any Tom if flag 1 q if GetUser D form_obj false return false 3 form_obj submit Demo example return true vohmi_03 vphmi_04 vohmi_05 vphmi_06 else and vphmi_07 p A i return false o EA cco eeeceee eee function refresh_data Display dynamic value here L15 innerText get_long_val 15 If data IS word please use word_vall F17 innerText float_val 17 If data is timer please use mer vall If data is string please use string val 5 16 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS The layout or location of the text object L15 amp F17 are defined here by the lt div
26. 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 layer7 gt lt font id font_B12 color blue size 3 gt lt b id B12 gt OK lt b gt lt font gt lt div gt Please modify OK lt div gt to become lt p gt amp nbsp lt div gt lt font id font_ B12 color blue size 3 gt lt b id B12 gt OK lt b gt lt font gt lt div gt OUT0O1 Area Layer8 to Layer10 lt div style position absolute width 82px height 79px z index 4 left 71px top 168px id layer8 gt lt div style position absolute width 60px height 31px z index 1 left 3px top 6px id layer9 gt OUT01 lt div gt lt div style position absolute width 37px height 31px z index 2 left 6px top 42px id layer10 gt lt img name B1 border 0 src img circle_blue0 jog 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 OUT0O2 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 OUT02 lt div gt Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 31 lt div style positio
27. 23W7 Ver 1 3 Nov 2010 by ICP DAS ISaGRAF EXAMPLE Global booleans Els E mem File Edit Tools Options Help SaltRAF EXAMPLE Global timers Ioj x _ Booleans Integers Reals Timers Messages FA ir REES GE Booleans integersiReals Timers Juwesgsgeclrp instances eld eco E IDET eens ae ces Addr Comment a ooo a The Modbus Addr Numbers displayed here are always in hexadecimal format Very Important If assign Modbus No to Long integer or Float or Timer variables they should occupy two Modbus No Please refer to VP 25W7 23W7 CD ROM napdos isagraf vp 25w7 23w english manu user_manual_i_ 8xx7 pdf Section 4 2 for detailed information 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 run in the way as the below scheme Scan all inputs Process begin area Process Sequential area Refresh all outputs ISaGRAF Cycle Click on the Create New Program icon and the New Program window will appear Enter the Name as LD1 next click on the Language scroll button and select Quick LD Ladder Diagram and make sure the Style is set to Begin Main Program You can add any desired text to the Comment section for the LD program but it isn t required Getting S
28. 23W7 Ver 1 3 Nov 2010 by ICP DAS 2 7 www icodas com gt FAQ gt Software gt ISaGRAF Ver 2 English 131 Soft GRAF Create A Colorful HMI in The XP 8xx7 CE6 and WP 8xx7 and VP 2xW7 PAC The following ISaGRAF drivers support the Soft GRAF 2 8 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 VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Chapter 3 Setting Up A Web HMI Demo The VP 2xW7 is the abbreviation of the VP 25W7 and VP 23W 7 The VP 2xW 6 is the abbreviation of the VP 25W6 and VP 23W6 The VH 2xW7 is the abbreviation of the VH 25W7 and VH 23W7 The VH 2xW6 is the abbreviation of the VH 25W6 and VH 23W6 Important Notice 1 VP 25W7 VP 23W7 VP 25W6 and VP 23W6 supports only High profile I 8K and I 87K I O cards in its slot 0 to 2 Please refer to VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w english manu vp 25w7 23w datasheet pdf 2 Please always set a fixed IP address to the VP 2xW VP 2xW6 VH 2xW 7 and VH 2xW6 No DHCP Recommend to use the NS 205 NS 208 Industrial Ethernet Switch for them 3 1 Web Demo List The Web page location VP 25W7 23W7 CD ROM napdos isagraf vp 25w7 23w vp webhmi demo The respective ISaGRAF project location VP 25W7 23W7 CD ROM napdos isagraf vp 25w 7 23w demo Demo list
29. 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Voltage Protection Open Wire Detection V mA Thermocouple Range of 20 20 mA need to set Jumper on board I 87024CW channel to channel isolated current output module with open wire 1 87024W 4 ch 14 bit analog output module 0 5 V 5 V O 10 V 10 V O 20 mA 4 20 mA l 87028CW 8 ch 12 bit current output module l 87K Digital UO Modules 87063W 4 ch Differential Isolated Digital Input and 4 ch Relay Output Module 5 A NO 3 A NC 5 24 Voc 5 A NO 3 A NC 0 250 Vac l 87064W 8 ch Relay Output Module 5 A 47 63 Hz 0 250 Vac 5 A 0 30 Nope I 87065W 8 ch AC SSR Output Module AC 1 0 Aims 24 265 Vms l 87066W 8 ch DC SSR Output Module DC 1 0 Arms 3 30 Voc 4 ch Form A Relay Output and Ach Form C Relay Output Module Form A 8A 250 Vac 8 A 28 Voc Form C 5 A NO 3 A NC 277 Vac 5 A NO I 87068W 3 A NC 30 Vac I 87069W 8 ch PhotoMOS Relay Output Module Max AC DC 0 13 A 350 V l 87K Counter Frequency Modules I 87082W I 87084W 4 ch Counter Frequency Encoder Module Isolated or Non isolated Inputs L ck PWM Module 8 ch PWM outputs software support 1 Hz 100 KHz non continuous duty 0 1 99 9 l 87K GPS Module 2 ch Counter Frequency Module Isolated or Non isolated Inputs 87088W Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9
30. 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 VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 8 13 Chapter 9 Example Program amp FAQ The VP 2xW7 is the abbreviation of the VP 25W7 and VP 23W 7 The VP 2xW 6 is the abbreviation of the VP 25W6 and VP 23W 6 The VH 2xW7 is the abbreviation of the VH 25W7 and VH 23W 7 The VH 2xW6 is the abbreviation of the VH 25W6 and VH 23W6 Please refer to VP 25W7 23W7 CD napdos isagraf vp 25w 7 23w english manu user_manual_i 8xx pdf A user_manual_ _8xx7_appendix pdf for advanced 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 a lsaGRAF Project Management E oj x File Edit Project Toole Optons Help BS OS mS Users aide 2 Language reference PR creation i m wdemo UI incon demo Library m wdemo 02 Wincon demo Atout le pn wdemo O JI x SS ps GO PAREN DO Project create Sr Els gt ES 2003 12 16 1 IS 11 BS SC 15a Language reference Project architecture S SFC language i FC language S P DD language S oT language Standard operators function blocks and functio Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 1 On line help
31. Client or s get UDP Client Server evices 1 4 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 9 Multiple Web HMI Monitor amp Control Everywhere PC Running the Internet fei Ethernet VP 25W7 23W7 Internet ovm C em E PC running Internet Explorer Modem RS 485 eer 87K4 5 8 9 L 7k UO Modules l 7000 RU 87P4 8 l 87K UO Modules High Profile UO Modules 1 10 Send Email with One Attached File More at www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 English 06 Gateway Server in ISP Company F Y VP 25W7 23W7 lt a NS 205 RS 485 Ethernet Y RU 87Pn Y I 7000 M 7000 Remote I O Modules Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 5 1 11 Data Recorder amp Data Logger etne De VP 25W7 23W7 PC can load the data file stored in the VP 25W7 23W7 s Flash Disk or micro SD card by ftp or by Web HMI 1 12 Remote UO Application Y 1 7000 M 7000 Y RU 87Pn Ee e Remote UO RU 87P4 8 I 87K I O Nearly 100 choices of Hot Swap Remote UO modules vAuto Configuration at run time l 7000 amp I 87K Plug amp Play at run time Support only High Profile l 87K I O RS 485 Can be COM2 Port lt VP 25W7 23W7 1 6 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 13 SMS Short Message Servi
32. DN 1618UB ond I 87089 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 17 Fast FRnet Remote I O Advantage of FRnet UO 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 More at www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 English 082 ia nor e __ Max distance 400 M a S D i D d d gt A SEs ekeas ate asas d d s FR 2053T FR 2057T FR 32P FR 32R DI DO DI Relay output FR 2053T FR 2057T FR 32P FR 32R DI DO DI Relay output 1 18 Integrate with CAN CANopen Devices amp Sensors 1 VP 25W7 23W7 1 8172 Port 0 Max distance 400 M VP 25W7 23W7 supports max 10 l 7530 RS 232 to CAN Converter Please refer to www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 English gt 086 ISaGRAF PAC p ewe XPAC WinPAC ViewPAC iPAC wpPAC XP 8xx7 CE6 WP 8xx7 VP 2xx7 iP 8x47 IPAC 7186EG Zem ee rset RTR gt m RS 232 amp a l 7530 RS 232 to CAN Converter o CANopen Device Sensor CAN Device Sensor a Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 9 1 19 VIP Communication Security Set VIP Very Important IP No for Modbus TCP IP security ee SeQGRAPF TESTI LI cengectrg Ele Ein ool Optom Help
33. EVC Program Running In ViewPAC Access To ISaGRAF Variables 7 1 InduSoft Project Running In ViewPAC Access To ISaGRAF Variables 8 1 Example Program amp FAQ sssini Nai 9 1 Get ee NED acuse EA S 9 1 Installing The ISaGRAF Programming Examples cc cccccsseeeceeseeeeeeeesaeeesaeeees 9 4 Eege Asked QUS SONS sinsin eE E 9 11 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 3 Chapter 10 10 1 10 2 10 3 10 4 10 4 1 10 4 2 Appendix A A 1 A 11 Appendix B Appendix C Appendix D Appendix E Appendix F Appendix G Appendix H Appendix Appendix J Appendix K C NET 2008 Program Running In ViewPAC Access To ISaGRAF Variables 10 1 Kee E RTO CGE ssc acsearle cesarean elie elects 10 1 Add Project Reference for an Appicaton 10 2 Compiling an Application Program 10 5 lte olds aq FDELE aaea a 10 5 Digital VV PURCUONS eis msieniinnmia eee ereere 10 6 A Weieen Te e EE 10 7 Hardware System amp Setting E Ap 1 Applying GCOMmect POWE SUPO Y ett Ap 1 Modify The NET ID amp Modbus RTU Port Setting nnnennneennnennnnnnnnennnnnnesrnnennnnnne Ap 2 Setting The IP Address For The View Ap 3 Connecting Your PC To The VP 2xW7 Ethernet Port Ap 4 Pin Assignment of COM2 COM3 and Multi Clients Connection to The VP 25W7 EE Ap Connecting PC To VP 2xW7 s COM2 or COM Ap 6 Deleting the ISaGRAF Project From The View Ap 7 Linking l 7000 and I 87K Modules For Remote IC Ap 8 Lin
34. No as Decimal Segment MEESTE OOO0O0 Reserved In this example Please assign No 1 to DI_1 No 11 to DO _1 No 21 to AO 1 No 31 to Interior Variables not mappe Booleans eqgers Reals Timers Messages Please save amp compile the IsaGRAF example project amp then download to the VP 25W6 If you are not familiar with it please refer to section 4 1 to 4 3 8 2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Step 2 Create an InduSoft project Select File gt New from the InduSoft Web Studio main menu the New window will appear and click on Project tab Then type in the name for the new user s project in the Application name and select CEView Lite in the Target Press OR and the Project Wizard window will appear Select Empty Application on the Template 320 x 240 on the Resolution and None on the Shared Tags dh InduSoft Web Studio Display xa 8 Fie Edit View Insert Project Toole Window Help iS New Cty e malme mii ei H New i CEA O Cols Location ave As HTML D Program Files Indusoft Web studio vO 04Projects Browse dn Print Configuration D Frogram FilesWndusoft Web Studio vo 0 Projects Demo 01 Demo 01 app 1 MamPage scr 2 MODBUOO DRY 3 MODBOUOOL MDY CEView PRO NT View PRO Te neie S E G i w BA 4 MOTCPOO DRY L
35. On and Imports Quicker in the first two statements Solution Explorer wi x Forml vb Design oral st Es ei EN B ES Ee C General e S Declarations fel project Option Explicit On Each variable must be declared well E egen l Imports Quicker E Right A Open Click Open With ElPublic Class Forml Dim is_try_ok As Dote tie cee Catch state 1 Uk error View Designer Then you can design all required objects and actions inside your VB Forms 6 3 Compiling an Application Program When you have finished writing a program you can build an application by the following steps project Microsoft Visual Studio 1 Remember to save at any time for safety Hp Pit Zen Bore Buld Debug D b Pointer Och Eindin oS 6 4 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 2 Then compile Build the project The result is listed in the Error List windows at the bottom D Dro jectl Microsoft Visual Studio File Edit Vuen Project Debug Data Form 4 i Fal we ch El en Build project Febuild progctl All Device Controls v2 b Potnter OT BindingSource Deploy project Clean project 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 ViewPAC s System_Disk ISaGRAF path to run it Note User may copy the VB
36. RS 232 9 Pin DSUB GND 5 RxD 2 TxD 3 Hi O D If connecting PC to ViewPAC s COM2 RS 485 an l 7520 RS 232 485 converter is necessary as below PC RS 232 bilai o Ein DSUB COM2 RS 485 2 RxD l 7520 or 7520R 3 TxD RS 232 to RS 485 5 GND Conveter Ap 6 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS A 7 Deleting the ISaGRAF Project From The ViewPAC For some reasons user may delete the ISaGRAF program in the ViewPAC controller Click on Setting amp then click on Delete ISaGRAF Project SCH My Device isglw25 a O desktop re wohmi Ce H H Internet SsaviewP Ar Explorer ViewPAG 25W7 23W7 ISaGRAF Driver OK Is a Setting Microsoft WordPad Contiuratior Car Slave Number fi zi Modbus RTU Slave Port one E Baud Rate ES B d Moairy W Project di Sg Current Application Jwpdmo_O4 ISA11 4444 ISA12 1124 Elapsed Time baan Delete ViewPAC s ISaGRAF program if some software damage happens causing the WinCE software hanging 1 Please turn the rotary switch to position 1 Safe mode on the front panel of the ViewPAC Then reset the ViewPAC once 2 Then the ViewPAC 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 ISa
37. 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 www icodas com gt Products gt Remote I O Modules Units gt M 7000 Modules gt M 7000 Selection Guide RS 485 Remote Hot Swap Expansion Unit www icodas com gt Products gt Remote I O Modules Units gt Remote I O RU 87P1 2 4 8 Expansion Unit gt Selection Guide RS 485 Remote Expansion Unit i www icpdas com gt Products gt Remote I O Modules Units gt Remote IC I 87K1 4 5 8 9 Expansion Unit gt Selection Guide 10 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Performance Comparison Table of ISaGRAF PACs Please click on the link IsaGRAF Comparison Table or follow the below steps A Google www depdas com v Si Zell x WROD RETE w A Emr AAH k t SC i Se ICP DAS PAG D f Home gt Subscribe Industrial Zep Fiber Switch gt p Ethernet Swech Ethernet Rea meng Sach Programmable Automation Controller PAC ae Se Remote I O Modules Units eme T Le VXC Card ViewPAC O M2M Solution PoE Solution PROFIBUS remer PPDS 700 Series nial to Ethemet Programmable Device Server ver E e PDS Intelligent Serial Ethernet Gateway Po
38. 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 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 XP 8xx6 CE6 Q A Web HMI Example for ISaGRAF Professional XPAC XP 8xx7 CE6 PRO by FrontPage Q XP 8xx7 CE6 And iDCS 8000 Or ET 7000 Or Modbus TCP Slave device Redundant System 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 Q How to use The ISaGRAF PAC plus i 87113DW the master card of the Carlson strain Gauage Inputs 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 VP 2xW7 PAC paper version 1 3 Q Motion Control Using I 8094F 8092F 8094 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 15 Chapter 10 C NEI 2008 Program Running In ViewPAC Access To ISaGRAF Variables This chapter lists the procedure for creating the firs
39. a BLI toh A e ei mm rel 19 H rs IP_1 10 00 88 mai IP_2 10 0 0 25 sm IP_3 10 0 0 49 t pushdkey ne mw D As 10 0 0 72 vip zm IP_5 10 0 0 66 1 gt Ip Ae we IP_6 NJA ma IP_7 NJA ne IP_8 NJA ev E sl HEEeER EER 1 20 ISaGRAF PAC Connects the Smart Power Meter Support standard Modbus protocol support multiple RS 485 ports to connect to multiple PM 2133 2134 Smart meters 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 More at www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 gt 129 FT ha ISaGRAF PAC e LOL CA XPAC WinPAC ViewPAC iPAC uPAC 5xx7 XP 8xx7 CE6 WP 8xx7 VP 2xx7 iP 8xx7 puPAC 718xEG PM 213x Modbus RTU protocol d P SL PM 213x ICP DAS DEEA BR PM 2133 2134 5 1 10 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 21 ZigBee Wireless Solution The VP 25W7 23W7 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 icodas com gt FAQ gt Software gt ISaGRAF Ver 3 English gt 110 Wireless Solution ISaGRAF PAC Plus ZigBee RS 232 485 Converter to Connect I 7000 I 87K ZB 2
40. about 10 to 45 seconds 5 6 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS e Welcome Microsoft Intemet Explorer Sr S E ID x BRE iE emm BREA Bun HAT Se E St R 9 QO2 Al Que Ganee Gee OS Al ez e Eug ei http 10 0 0 103 login dll eE E gt Nonon AntiYims E Logout Hello CO eZ S 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 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
41. be a Obtain an IP address via DHCP automatically assigned to this eee fee erase Gans ane l computer If your network specify an IP address does not automatically assign IP addresses ask your network JP Aaaress 192 168 1 178 administrator for an address Subnet Mask 255 255 255 D and then type it in the space provided Default Gateway 192 168 1 1 Please run Start Programs ViewPAC Utility click on Save and Reboot to store the setting d i H Microsoft isaViewP Ar WordPad ViewPAC Utility 2 0 10 Ly Sa Help Configuration K N tt ing System Information Auto Execution multi SEL RS Save and Reboot FTP Setting System Information Auto Execution Multi W Reboot Without Sa Welcome to use ViewPAC Utility Ed a Restore Default Settings THis tool will help YOLI DO set ViewPAC ee sit Display Resolution Jean 460 wi ViewPAC YEE Dain acquistion Siam a Battery1 Task Bar Setting Battery2 OK _ Auto Hide Always On Top Change HTTP document root directory windows www vu wore D to wee ele Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 3 AA Connecting Your PC To The VP 2xW7 Ethernet Port Before you can download an ISaGRAF application to the VP 25W7 VP 23W7 controller using the Ethernet port you must first setup the Ethernet port to properly communicate with the PC On the ViewPAC Set IP Mask and Gateway address Pl
42. explanation Transfer BCD to decimal value 2 s Complement to engin format transfer 16 bitto 1 word blinking signal convert to boolean concat messages function block sample Cancel Info get character Now move your cursor to the left of the parameter CYCLE of the BLINK block Double click on it select Timer and then double click on variable name T1 e SaGRAF EXAMPLEL LD Quick LD Program BR 5 x File Edit Tools Options Help Aa zez m eo d Pr oe e Pat F3 JHE Fd GH FS F Hi ES Fe EN Fo tPF Scr UL elect variable Boolean Integer Real d C function Cancel 4 12 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Move your cursor to the coil Double click on it select Boolean and then double click on variable name OUT01 ae SaGRAF EKAMPLE1 LD1 Quick LD Program SS OI File Edit Toole Optons Help Ba voa m ach ds Em Qaak e FO 4HE FS Fa GH FS 40H Fe THE ES FS El Fo tae Timer Message Program C function T Input 1 in the 67055 board Input 2 in the 67055 board OUTO1 OUT Oe Canal _ Now we have finished our Ladder code click on Save and then click on X to exit m NaGRAF EX AMPLEDL LDI Quick LD Program S 8 ol ka Fie Edit Tools ptons Help XDA m xd En QQelil ge FAE FINGE Fd GH FE CH F Hi ES Fe ET
43. input a char string integer amp float LAN1 or the 2nd Ethernet in optional I 8135W card 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 InduSoft s RXTX driver LAN or the 2nd Ethernet in optional I 8135W card 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 local camera Must enable the 2nd Ethernet port in the optional I 8135W card This redundant system has setup two Active IP address point to the active VP 25W7 VP 23W7 s LAN1 and 2nd Ethernet ports always One or two 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 about which VP 25W7 VP 23W7 is currently active Moreover the new redundant system can integrate with the RU 87P4 and RU 87P8 expansion unit plus the I 87K high profile I O cards to support the hot swap application lf 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 VP 25W7 VP 23W7 can use its COM3 or COM5 COM14 resides at the l 8112iW 8114W 8114IW RS 232 expansion board to connect one l 7
44. isagraf vp 25w 7 23w7 CSharp net 2008 demo wp_CSharp02 for R W analog I O napdos isagraf vp 25w7 23w 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 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 10 7 of ISaGRAF Embedded Controllers or in the CD ROM napdos isagraf vp 25w 7 23w english manu User_Manual_ _ 8xx7 pdf HM UserGetReg_short WUserGetReg_long WUserGetReg_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 iStatus Get the short or long integer or float value Example float float_ val short short_val int long_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
45. isagraf vp 25w7 23w 7 vb net 2008 demo wp_vb01 WW UserGetCoil Description This function is to get the value trom 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 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 Dim iStatus As Byte UserShare UserGetCoil Convert ToUInt16 1 iStatus Demo program VP 25W7 23W7 CD ROM napdos isagraf vp 25w7 23w 7 vb net 2008 demo wp_vb01 6 6 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 6 4 2 Analog R W Functions Mi UserSetReg_ short MUserSetReg long UserSetReg_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 ByVal UserAddress As System UInt16 ByRef Status As Integer As Byte UserShare UserSetReg_Long ByVal UserAddress As System UInt16 ByRef Status As Integer As Byte UserShare UserSetReg_Float ByVal UserAddress As System UInt16 ByRef Status 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 v
46. lt form name form_L21 method post action main dll gt lt input name BEGIN type hidden gt lt input name L21 type text size 8 lt input name END type hidden gt lt form gt Inside the form the first lt input gt must name as BEGIN case Inside the form the last lt input gt sensitive and type as hidden maS ee come en All the other lt input gt appeared sensitive and type as hidden _ between BEGIN amp END are the data to post to the controller The lt input gt name to control the ViewPAC s data must follow below format The number followed behind the first letter should be in the range from 1 to 1024 This number point to the variable name in the ISaGRAF project with the same Modbus Network Address No point to the ISaGRAF boolean data for ex B5 B109 point to the ISaGRAF word data 32768 to 32767 for ex W9 W1001 point to the ISaGRAF long integer data 2147483648 to 2147483647 for ex L21 This L Also point to the ISaGRAF timer data point to the ISaGRAF real data for ex F13 F235 point to the ISaGRAF message data for ex S18 Note The long integer 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 vp 25w 7 23w english manu User Manual I 8xx pdf
47. ms Then click on Write 4 18 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS H SaGRAF EXAMPLE1 LD1 Quick LD Program e 0 x Fie Edit Options Help gef LI 444 444 A SaGRAF EXAMPLE Global timers a lolx File Edit Tools Options Help aes 03 L love Booleans Integers Feal Timer Messages FB instances Defined words Mame Attrib Addr Value internal O000 Wis Ti w000 internal t os Enter new ve T 4000me a Start Stop Cancel Now we are going to simulate the K1 amp K2 input Click on K1 using the left button of the mouse EXT 01 File Tools E Help o 0 Joo i To exit simulation please close the debugger window SaGRAF EXAMPLE Debuzeer BS loj x Fie Control Took Options Help NN Pade Ae RUN Close debugger will end simulation Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 19 4 3 Download amp Debug The Example Project We have two ways to download the project to the VP 25W7 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 To begin this process please install the hardware as below The RS 232 cable wiring should be as below figure Please make sure the Modbus RTU Slave Port is set a
48. one Integer value FAQ 99 SMS VP 25W7 COMS8 GTM 201 RS232 use your own vpdmo_76 phone No to_who in dictionary sending Receiving UDP bytes by using eth_udp and eth_send and eth_recv sending Receiving TCP bytes by using eth_tcp and eth_send and eth_recv WiewPAC Web HMI example 1 Display controller s date amp time No I O board WiewPAC Web HMI example 2 DI amp DO demo slot 0 I 87055W WiewPAC Web HMI example 3 RA Long float amp Timer value No I O board WiewPAC Web HMI example 4 RAW controller s String No I O board WiewPAC Web HMI example 5 Multi Page demo slot 0 SR GERS 87055W Menu is on the Left Ee l WiewPAC Web HMI example 5A Multi Page demo slot 0 T 87055W Menu is on the Top SSES WiewPAC Web HMI exampl 6 AIO dmo slot 1 I 87024W slot 1 87024W 2 8017HW scaling is in ISaGRAF Slot 2 8017HW Slot 1 87024W slot 2 8017HW vphmi_01 vphmi_02 slot 0 87055W vphmi_03 vphmi_04 lt lt lt s gt a a JE Gs 3 SI N o o lt O gt 3 O WiewPAC Web HMI example 7 AlO demo slot 1 87024W 2 1 8017HW scaling is in PC vphmi_07 WiewPAC Web HMI example 8 download controller s file to PC slot 0 87055W WiewPAC Web HMI example 9 pop up an alarm window SR on PC slot 0 87055W SOL OL FETON slot 1 1 87024W vphmi_11 trend curve demo slot 1 l 87024W slot 2 l 8017HW slot 2 1 8017HW vphmi_12 R
49. or not in the range of 1 to 1024 is not accessible by the Internet Explorer The main htm and other multi pages can use the below variable array to access to the ISaGRAF s data case sensitive The identifier appeared in the is the related Network Address No For example boolean_val 2 means the Boolean Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 7 value of the ISaGRAF Boolean data which is assigned with the Network Address No 2 boolean val Boolean value in the IsSaGRAF word val word value in the ISaGRAF 32768 to 32767 float_val real value in the ISaGRAF for ex 1 234 0 456E 02 timer_val timer value in the ISaGRAF unit is ms max 86399999 lt 1 day string_val message value in the ISaGRAF max string length is 255 To access to long integer value 32 bit integer please use get_long_val function For example get_long_val 11 get_long_val 13 get_long_val 15 gei Jong vall long integer value in the ISaGRAF 2147483648 2147483647 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 vp 25w 7 23w english manu User_Manual_l_8xx7 pdf That means if you assign a Network Address No 11 to a Real type variable or Timer or integer will have 32 bit value larger than 32767 or smaller than 32
50. s Manual Moving to the Abs position when CMD is given Chapter 18 of the ISaGRAF User s Manual VP 25W7 10 0 0 102 link two i8KE8 I O one is 10 0 0 108 one is 10 0 0 109 FAQ 42 VP 25W7 10 0 0 2 link one i8Ke8 I O 10 0 0 109 FAQ 42 Set up VP 25W7 as TCP IP Client amp link to other TCP IP server 1 connection Chapter 19 3 of the ISaGRAF User s Manual Same as vpdmo_32 but send message only when event last for larger than 3 seconds Read Real Val from Modbus RTU device FAQ 47 amp 75 Write Real Val to Modbus RTU device FAQ 47 amp 75 i Using Modbus function code 6 to write 16 bits FAQ 46 amp 75 VP 25W7 l 8172W connecting FRNET I O modules FAQ 82 VP 25W7 s COM2 connecting 1 M7053D 2 M7045D MBRTU format baud 9600 Chapter 21 of the ISaGRAF User s Manual VP 25W7 s COM2 connecting 1 M 7053D to get D I counter value MBRTU format baud 9600 VP 25W7 s COM2 connecting 1 M 7017R 2 M7 024 MBRTU format baud 9600 VP 25W7 s COM2 connecting 1 M7017RC Current input 20mMA 4 20mA Modbus format VP 25W7 s COM2 connecting 1 M 7019R set as T C K type input MBRTU format baud 9600 VP 25W7 s COM2 connecting 1 M7080 MBRTU format baud 9600 VB NET 2005 demo MBTCP_demo FAQ 51 Non linear conversion like give P to find V P V relation listed ma file Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS UO Bo
51. the Smart Device on the left then selecting the NEI frame work 2 0 and Smart Device Project Then entering a proper project name and the last click on OR Project types Templates NET Framework 2 0 7 25 E Visual Basic Visual Studio installed templates oo Windows Web Smart Device oa Office Database JES mart Device Project kiy Templates Search Online Templates Reporting iL Test A project for Smart Device applications Choose target platform Framework version and template in the next dialog be Mame project Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 6 1 Cancel 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 P AS SES Framework Been S 1 J Templates l Description Device Class Library Cek Sech Library rete Project ae A project for creating a MET Le SES Compact Framework 4 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 Ouckerher d into the reference list of your application 1 Right clic
52. the backed up file from the Archive window then click on the Restore button The ISaGRAF project will now be restored to the sub directory you designated Archive Projects x Workbench Archive Backup Hestore i Close Help g r Compress Archive location C ASCOTT Browse 3 2 3 3 Steps To Download a ISaGRAF Project To The Controller J Double click on the vphmi_05 to get into the project Then click on Link setup A 18aGRAF Project Management Ioj x Fie Edit Project Tools Options Help De DEt met D ES veen fe vphmi 04 View PAC Web HMI example 4 RAN controlle a op WiewPAC Web HMI example 5 Multi Page den PR ohmi 06 ViewPAC Web HMLexampl 6 AIG dmo slot E ISaGRAF FHMI 05 Programs Dei File Make Project Tools Debug Options Help D sm Dam seb Ooh 2B Begin alarmMsg modify alarm message 5 all For String amp Integer amp Float O x o Sequential Ey sfcl mode 1 to 3 Begin LO1 Ladder Diagram 3 12 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Click on Setup first and then entering the IP address of your controller The port number should be 502 DC DLC link parameters ges E Ki Target Slave Number Communication port ETHERNET el Cancel Control Setup Time out seconds Relies LHERNET link parameters Internet addres Pork number The Workbench uses the WINSOC
53. the IP address of your ViewPAC For example 61 218 42 10 or http 61 218 42 10 4 36 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS fase AD IRAD REIRA IAD RAD o e Ep el ae grenge rees JEEE IS EE L 561 218 42 10 CE 5B gt Norton AntiVirus VES v sH R state San v Hotmail Messenger Wincon The Web PAC Please click on Enter to login Enter 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 Welcome Microsoft Intemet Explorer Double click here to display the error message em REO WAO BERE TAD mg StH gt Oad Qee Gok cee iD S http 10 0 0 103login dll PRE SS d EI x Sa Search Hothar SS je e Internet Explorer x E 7 Pr eener DS AE AT eles Een era e eg 256 ee ses 3 Enable it and then click on fe ERS AP a T Gan OK HAA Iss And also check if your ISaGRAF project already download 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 Wincon SaGRAF Driver Setting Web About Current running ISaGRAF STEE project name is listed here Slave Number Modbus RTU Slave Pork hone Baud Rate HEEN JN 6 1 Project Current Application jexarmple
54. time a Compiler options Begir Resources SaGRAF DEMO O04 Programs iol x File Make Project Tools Debug Options Help Mic MH 288 Make application Verity Touch Application mn time Optons Compiler options Resources The Make Touch command will reset all files that have been successfully compiled to become Not compiled yet Then the next Make Make application command will re compile all of them Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 25 Appendix Why my PC running ISaGRAF can not connect the ISaGRAF PAC correctly The document can also be download at www icpdas com gt FAQ gt Software gt ISaGRAF gt 104 Sometimes when 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 BONNE 10 Te CONTONSE Close all ISaGRAF windows then C Windows TIERS g press Ctrl Alt Del to open the task see MEO WAN HAH manager Then stop the process which is with empty memory And then run lSaGRAF to connect KE Eer again Wwiniprvs
55. username and password protection E Power Supply Input Range 10 30 Voc Isolation 1 kV Capacity 2 5 A 5 V supply to I O expansion slots Consumption 7 2W 0 3A 24Vpc E General Environment Operating Temperature 20 70 C Temperature Storage Temperature 30 80 C Humidity 5 90 RH non condensing E System CPU CPU PXA 270 32 bit and 520 MHz or compatible DWT Dual Watchdog Timer Yes RTC Real Time Clock second minute hour date day of week month and year EEPROM 16 KB Data retention 40 years 1 000 000 erase write cycles SDRAM 128 MB a EE 512 KB for 5 years data retention while power off FLASH 96 MB 64 MB for OS image 31 MB for built in Flash disk 1 MB for registry Expansion FLASH microSD socket with one 1 GB microSD card Memory Support up to 16 GB microSDHC card 12 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Models Serial Number NET ID Rotary Switch I O Slots Hot Swap VP 23W7 VP 25W7 Yes 64 bit hardware unique serial number 1 255 user assigned by software Yes 0 9 VP 25W7 VP 23W 7 3 slots slot 0 slot 2 Accept only High Profile 8K and High Profile 87K I O modules For High Profile l 87K I O modules in slot 0 to slot 2 only E Communication Ports First Ethernet Second Ethernet USB Port COMO COM2 COM3 RJ 45 x 1 10 100 Base TX Auto negotiating LED indicators Please use NS 205 NS 208 Industrial Ethernet Switch The default V
56. var random val 123 function get_random_val var rightNow new Date random_val 323456 789 rightNow getMinutes 107654321 rightNow getTime 1 000 setTimeout get_random_val 197 repeat call Please apply your charset here check if username and possword are empty For example function validate fm English UTF 8 Chinese gb2312 setKey fm Traditional Chinese big5 return true or other language Embed key while submitting function setKey fm var rightNow new Date cookieVal random_val rightNow getTime fm key_ value cookieVal get_random_val should be always called at lt script gt the beginning of the Login htm It is the entry lt head gt point of the Loain htm lt body onload get_random_val gt 5 2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS lt div style position absolute width 332px height 34px z index 5 left 147px top 27px id layer1 gt Welcome lt div gt Your caption here lt div style position absolute width 122px height 38px z index 4 left 171px top 95px id layer2 gt lt form name form1 action login dll method post gt lt input type hidden name key_ gt lt 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 lt div gt own word For example FAXE This
57. window of ISaGRAF Please connect vip and entering the IP which can get access to the ViewPAC via Modbus TCP IP protocol If vip is not connected any remote IP can get access to your ViewPAC 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 5 20 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS aw 8aGRAF WHMI_05 I O connection E 5 x File Edit Toole Optone Help SG Pabmg TLIRIS ER m i_87055 Fa DIG DOG D select board equipment OF OG Isolated A CH DI amp 4 CH DU 6 U63C 8 CH LU amp Crit Mas 100Hz H U Ze 4 Counter amp 2 read back DO L DEE 2 Frequency amp 2 DO Cancel WM diob 4 CH DI amp 2 CH Relay DU WV do 4 CH DI amp 4 CH DO V Mote WM keu Keypad Input mbus Modbus master on COM or COM MMICON Connect MMICON by Coma or Ce modem ps Set Password of Com Modem mtcpeQ00 Link to MTCP 8430 8830 S256 S12 Batter backup SRAM for l 5887 AP short Message Service vio Permissive IP via Modbus TCP IP Boards Ce Eoupmerts vlU EDI amp YOO for the 718284G EG 119 FOL YD0 for the 71584G EG aw ISaGRAF WHMI_O5 1 0 connection ee Joj x Library File Edit Tools Options Help E EE RS ant 87055 i SC E DI a IP_1 10 0 0 2 DOE m IP_2 10 0 0 4 wn ID 4 NJA me IP_ 5 NJA 4 mmm IP_6 NJA m
58. 0 Egl t g Bites o EE Pm test k Pm testli mm t s256 C VLSaailn en E C least enmp CC Wsavwinitest C Weawir ierg cisawintestt i Test ocilsayinigc_test test Cisawintest E x Location CASAwIH Cancel Path Chsaainh Test 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 SaG RAF Project Management E O x Fie Edit Project Tools Optons Help Pe Sm agl I B T 2 PH creation eg pp tout create new project fe UI link ta T506 Pm test k l 71 soten create new project fo test test Modb a m t s256 Name Ss Reference demo_48 jp configuration Author Cancel none el Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 3 Sa SattRAF Project Management Joj x File Edit Project Tools Options Help Set comment text i ed p 2S Test T En Toggle separator redundant Master 192 168 3199 com lt gt 7043 DI Sort redundant Slave a DD Move up in list 637 redundant Slave EE E TE redundant Slave 192 168 3 195 com2 lt gt 70430 a i m demo 47b up Project comment text x UN Reference exa SE Ce Author SS ml Fail SS You will now see the name o
59. 0 or VS NET 2008 2005 2003 VB net C net Reference Guide ISaGRAF English User s Manual VP 25W7 23W7 CD napdos isagraf vp 25w7 23w 7 english manu user_manual_i_8xx pdf and user_manual_i_8xx7 7_appendix padf ISaGRAF Hac sf Ad Fr VP 25W7 23W7 CD napdos isagraf vp 25w 7 23w 7 chinese manu chinese user manual_i 8xx pdf and chinese user manual 1 8xx _appendix pdf More from the Internet http Awww icodas com products PAC I 8000 isagraf htm Technical Service service icpdas com FAQ http www icpdas com fag isagraf htm Writer Chun Tsai Last Editor Eva Li Copyright Jul 2009 by ICP DAS CO LTD All Rights Reserved Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 Table of Contents Getting Started VP 25W7 Reese 1 Ile eat teg le ler 1 Rare ater rete tre toe ere cet rte Me eRe IT eR RE te ve eter eran Me CRE RT eR tee vee tr eR ene 1 elen ET Se GODV MGMT e e 1 Reen Ee OT 1 FACTO FENCE GUNG Eege 1 Technical SEVICE iiie 1 TADI e Re 2 Reference Egeter eege eege 5 UO Modules Selection Guide for VP 25W7 VP 23W7 VP 25W6 VP 23W6 c ssseesssseeees 6 Performance Comparison Table of IS GRAF PACS ccccccceeeeeeeeeeeeeeeeeeeeeeeneeeeeeeeeeeeeseneeaeees 11 Specifications VP 25W7 VP 23W E 12 Chapter 1 upake MOIE 1 1 1 1 Soft GRAF HMI Application Colorful HM 1 1 1 2 SLO GOS E ele ere ER 1 1 1 3 Redundant COMMUNICATION SYSTEM cccccce
60. 000P Series UO Modules or Modbus RTU ASCII Devices PC PC HMI PC HMI ZB 2550P Host CL 1 7000 io RU 87P4 8 I 87K ZB 2551P Slave ISaGRAF PAC High Profile I O PC HMI VP 25W7 Lea 2 WP 8x47 iP 8x47 AS23521 488 HPAC 7186EG desch I 279 NET ID 4 5 6 7 ue Si ZB 2000P Series UO CN NET ID 8 NET ID 9 ZB 2551P NET ID 1 2 3 NET ID 4 5 6 Slave oo i I ZB 2551P a Slave i _ Modbus n 2 RS 232 485 Device 1 r1 M 70001 O Other Modbus Device 1 7000 1 0 RU 87P4 8 I 87K High Profile UO 00l BSS s i i 4 NET ID 10 11 12 NET ID 13 14 15 16 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 11 1 22 GPS Application ISaGRAF PAC Plus I 87211W or 1 12 GPS 721 WP 8xx7 VP 2xW7 iP 8xx7 UPAC 7186 P EG can support one I 87211W slot O 7 or I 87211W GPS 721 as RS 485 remote GPS IC For doing auto time synchronization and getting local Longitude and Latitude More at www icodas com gt FAQ gt Software gt ISaGRAF gt FAQ 107 More GPS receivers at www icodas com gt Products gt Wireless gt GPS receiver GPS Application ISaGRAF PAC I 87211W or GPS 721 iIP 8x47 pate Tj ENEE Be wd T Date Time HPAC TSOP IER cit BEER G Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Chapter 2 Software Installation And Working Soft GRAF HMI with ISaGRA
61. 010 by ICP DAS 9 3 Frequently Asked Questions ISaGRAF frequently asked questions FAQ website direction FAQ ISaGRAF Ver 3 FAQ Questions Descriptions Demo programs http www icpdas com fag isagrat htm www icpdass com gt FAQ gt Software gt ISaGRAF Ver 3 English FAQ Table No patpgnrwezmg O Q Can use more than 32 I O in my ISaGRAF project if don t have ISaGRAF 256 or ISaGRAF L Q Can use ISaGRAF controller l 841 7 881 7 8437 8837 7188EG XG as a Modbus Master controller to gather data from other Modbus devices 7 Q Can write my own protocol or third party protocol to apply on ISaGRAF controllers Q What is the limitation of program size of I 841 7 881 7 8437 8837 I 7188EG A 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 A 7188XG How Q PWM Can I generate D O square pulse up to 500HZz with I 841 7 881 7 8437 8837 7188EG 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
62. 024W in slot 2 and one internal variable defined as follow Network Boolean D1 1 87055W Dichannel 1 Boolean DO 1 11 87055W DO channel 1 Integers AO1 21 87024W AO channel 1 Integers Interior 31 Internal variable Internal If you are not familiar with ISaGRAF please refer to section 4 1 to 4 3 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 8 1 SaGRAF TEST4 Programs iol xil File Make Project Tools Debug Option Help ov SaGRAF TEST4 40 connecthon S Oo S OG X i m Ble Edit Toole Options Help Begin An empty Ladder is just fine ER o A a ref 87055A e EL o S DI 1 Bevin LOT Ladder Diagramy Or Dog 4a Tn eeng TEST 10 connection NEE z File Edit Tools Options Help STECK Ce am i 87055 al Lui ref 87055B File Edit Tools Optone Help J DIB ro S DO1 peep tl FR e D Dos E o em i 87055 2 a ref 87024 fa DIB m range 33 Sa i_87024 E DOB 0 S A01 i 4 ka E i_ 87024 A sel a Lil The ISaGRAF variables to be exchanged with InduSoft must be declared with a Modbus Network Address as below oi xil InaGRAP EXAMPLES Programs File Make Project Tools Debug SE e SH HS E KR EE m u File Edit Tools Options Help SE DI empty program Onick declaration Ds tionary Modbus SCADA addressing map Lac File Edit Options Help Map _ Hexadecimal Please set
63. 1 OK1 DO 101 DO 102 ee o Ch 8 RD OS 23 45 Kg V4 ae E Goto Page 2 SKI 2 6 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 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 ISaGRAF S Soft GRAF HMI ES aa ALL IN ONE wg mi mm w i y x e t gt s e ep ign gt gp ep Sp gg eg I O Control XP 8xx7 CEG WP 8xx7 VP 2 a pigie Feature All in one Design Design the control logic and HMI by single ISaGRAF software Support various and colorful HMI objects gt Page Max 200 support password security gt Numeric Input input security display gt Text Dynamic static text display gt Picture Animated static picture display gt Moving Trace 1 axis or 2 axis gt Built in various objects Will be more Multi language English Traditional Chinese Simplify Chinese etc HMI behave smoothly Information and links For more information refer to FAQ 131 Getting Started VP 25W7
64. 2 Ch 2 TxD2 TxD2 RxD2 RxD2 D1 TxD1 D1 TxD1 RxD1 RxD1 GND1 D2 TxD2 D2 TxD2 RxD2 RxD2 GND2 N C N C NC NC NC NC NC NC NC N C elles Le Les H H hel HEE HE Del H pel Lel i 8144iW 4 Ch RS 422 RS485 RS485 Ch 1 Dis D1 RS485 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 yo 01 D1 TxD1 2 if 02 D1 TxD1 Mo 03 RxD1 M a f 04 RxD1 em CND WUES D2 TxD2 elt 07 02 TxD2 HUE RxD2 09 RxD2 Yo 10 GND2 en D3 TxD3 Ma f 12 03 TxD3 NS RxD3 NS RxD3 moa 15 GND3 2 16 D4 TxD4 not 17 D4 TxD4 elt RxD4 K a 49 RxD4 if if 20 GND4 Ap 22 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Appendix F Slow Down ISaGRAF Driver s Speed You may wonder Why The fatser speed is not good The reason to slow down the speed of ISaGRAF driver is when you running some other HMI program For example InduSoft VB NET or C NET program with ISaGRAF at the same time Because the CPU is the only one CPU all program running in ViewPAC 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 y to slow down the speed o
65. 21 You may have to either change the serial port communication settings for the develooment 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 SaGRAF EXAMPLE Debugger E sell x File Control Tool ptons Help Qi Kn S og test 4 active Stop application STARTING THE DOWNLOADING PROCESS From the ISaGRAF Debugger window click on the Download icon then click on ISA86M TIC Code For Intel from the Download window as shown below SaGRAF EXAMPLE Debugger _ o x Fie Contol Toole Optons Help eGamiz kV G De No appiication 20 16 Cownioad pplication stopped ISaGRAF SIMPLELD olx ools Options Help Nd De No canteen 2 Ns opp plication stopped If ISA86M TIC code fort Intel is not Game found here that means the compiler Application symbols option ISA86M TIC code for Intel is not checked Please refer to section 4 2 to check it amp re compile Cancel the project again Download 2 The example project will now start downloading to the VP 25W 7 VP 23W 7 controller system A progress bar will appear in the ISaGRAF Debugger window showi
66. 530 converter RS 232 to CAN to support CAN and CANopen devices and sensors One PAC supports max ten RS 232 ports to connect max ten l 7530 FAQ 086 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 15 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 All in one Design the control logic and HMI by single ISaGRAF software Support various and colorful HMI objects gt Page Max 200 password security gt Numeric Input input security display gt Text Dynamic static text display 7 ng gt Picture Animated static picture display Q BS mat LL A gt Moving Trace 1 axis or 2 axis wem gt Built in various objects ISaGRAF Soft GRAF HMI e Multi language di English ALL IN ONE Traditional Chinese Simplify Chinese etc HMI behave smoothly More at Ch 2 5 and FAQ www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 FAQ 131 VP 2xV 1 2 eLogger HMI Application ICP DAS eLogger is an easy and useful HMI development tool which helps user to create user friendly pictures and control items Asio eses es sgene 2 OT FET Ka 31H Page 1 ISaGRAF D bg i E o E mg e i F Chs Fe i wm Lemmer Ge i oJ Late without PAC H e contol f Monitor Ke _ e Zem SEU To
67. 5W7 23W7 have it d oa Microsoft jsaviewPALr WordRad ViewPAG 25W7 2aW7 ISaGRAF Driver 0K a My Documents FTP Setting System Information Web About Setti Configuration i Slave Number fi LR fy Modbus ATU Slave Port hone VWIEVWPAL Baud Rate bas J M D 1 Project Current Application KG T5411 1116 15412 556 Elapsed Time home Ap 14 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Note If the ISaGRAF driver is still running the files copied are failed even your eye telling you it is successful Then download the isaViewPAC exe rs _wphmi exe mscorlib dll login dll QuickerNet dll Quicker dll main dll whmi_filter dll and isaViewPAC Ink and license bin if your ViewPAC is VP 25W1 23W1 from the PC to the ViewPAC controller Please copy them to the System_Disk isagraf And then re cycle your ViewPAC 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 and past it Then remember to re cycle your ViewPAC s power again After it re boot again it will have the new ISaGRAF driver running You can check if the version is correct ES d i H ViewPAGC2DW7I 23W77 ISaGRAF Driver Microsoft savViewPac amp aa WordPad S
68. 5W7 23W7 or WP 8xx7 supports to link to max 100 Modbus TCP IP Slave devices Support various Standard Modbus TCP IP Slave devices More at www icodas com gt FAQ gt Software gt ISaGRAF gt FAQ 113 Modbus TCP IP Master Application Modbus a Slave Zi PL H i Modbus TCP IP Slave eter XP 8xx7 CE6 connections ISaGRAF PAC UPAC 7186 P EG I 7188EG iP 8x47 i VP 2xW7 WP 8x47 XP 8xx7 CE6 EI iDCS 8000 ET 7000 I O Redundant I O Modbus Modbus TCP IP U Master Protocol TCP IP Slave 1 6 Modbus Master RTU ASCII RS 232 485 422 Support up to 10 ports COM2 COM3 amp COM5 COM14 if l 8112iW 8114W 8114iW 8142iW 8144iW in SlotO 2 Can link to Modbus PLC or M 7000 I O or Modbus devices Power meter temperature controller inverter etc w VP 25W7 23W7 w Modbus Device w Modbus PLC Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 3 1 7 Modbus Slave RTU TCP Modbus RTU RS 232 485 422 max 5 ports Modbus TCP IP max 32 connections HMI HMI SCADA 4 R305 Ethernet Ethernet RS 422 jaw RS 232 RS 232 7 e em m BEEN Multi serial ports modules 1 8112iW 14W 14iW 42iW 44iW _VP 25W7 23W7 4 HMI Touch 8000 Touch 6000 S Touch 500 1 8 Communicate With Other TCP IP Server or UDP Client Server Devices VP 25W7 23W7 NS 205 Lad A TCP IP Server or UDP Server Client TCP IP
69. 768 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 2 1 Displaying Dynamic Boolean Data Demo example vohmi_02 and vphmi_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 jog 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_blue0 jpg lt body onLoad init gt 5 8 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS lt div style position absolute width 214px height 53px z index 2 left 102px top 7 9px gt lt img name B1 src img circle_blue0 jpg gt lt div gt 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 5 4 2 2 Displaying Dynamic Float amp Word amp Timer Data Demo example vohmi_01 vohmi_03 and vphmi_05 section 3 1 If user want to display the dynamic float value the below code can be used function refresh_data The action o
70. C Te Remote I O Modules Units ViewPAC M2M Solution PoE Solution ort Seral Card e Se Programmable PPDS 700 Series wem erial to Ethernet Programmable Device Server Intelligent Serial Ethernet Gateway Wm Power over Ethemet WP 8446 Flexible COM Ports PET 7060 Built in Watchdogs and DIDO Vitual COM technology ISaGRAF SoftLogic PAC Hot Features Ordering Information Selection Guide Related Products Short Message service WP 8x37 8x47 VP 25W7 23W7 Demo Fides WP 2117 PC HMI iP Sx47 E KRA E Do t Bx37780 Download pPAC 7186EG All Rone GE 9 a 7 ieexe SE Comparison Table r FAQ i A Remote no 7000 Remate UO g e Remote UO 6 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS High Speed Local UO 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 UO 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 I 8017HW current input require external 125 resistor The scan rate cannot reach 100K when using in the IsaGRAF PAC 8024W 4 ch Isolated Analog Output Module 10 V 0 20 mA I 8K Digital I O Modules 16 ch Isolated Digital Input amp 16 ch Isolated Open Collector Digital Output 8042W Module 8 ch Is
71. CJ international IS Date of creation 9 2 94 E Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 9 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 vp 25w7 23w demo _ in the VP 25W7 23W7 CD ROM Archive Projects i x Workbench Archive Backup Restore Close Help Be File name Folders OK backup Ch desktop i 8xx771 demo Se Cancel Be E gt SCOTT Browse I ka DESKTOP gt 1 8771 Compress To install all of the Demo files click on the 1st file on the right then press and hold down the Shift key continue to hold down the Shift key and use your mouse to scroll down to last file in the Archive window Click on the last file name from the demo file location and that will select the entire group of demo files Lastly click on the Restore button in the Archive Projects window and all of the demo files will be installed into the sub directory you have created x Workbench Archive demo_039 al Backup demo_10 demo_lla demo 11b Restore demo_12 demo_13 Close demo_14 demo_15a demo_15b Help demo_16 demo_17 work UI work _O2a work 02b Compress Archive location emm SCOTTADESKTOP 8XX lt 771 Browse 9 10 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2
72. CP IP Slave Protocol Web HMI Protocol l 7000 amp I 87K RS 485 Remote I O M 7000 Series Modbus I O Modbus TCP IP I O boards are plugged in can support multi ports of Modbus RTU ASCII Master protocol to connect to other Modbus Slave devices Up to 5 COM Ports one of COM2 3 and COM5 COMB8 can support Modbus RTU Slave protocol for connecting ISaGRAF PC HMI OPC Server amp HMI panels Ethernet Ports all support Modbus TCP IP Slave protocol for connecting ISaGRAF amp PC HMI LAN1 and the optional 2nd Ethernet port in I 8135W Support total up to 32 connections 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 l 87K serial I O boards and RU 87P1 2 4 8 87K High Profile I O boards as Remote I O Max 255 I 7000 87K Remote I O modules for one controller Max 10 RS 485 ports COM2 3 and COM5 COM14 if multi serial port boards are plugged in can support M 7000 series Modbus WC Each port can connect up to 32 M 7000 Modules with optional l 7510 repeater connected can connect up to more than 32 M 7000 Modules Support ICP DAS Ethernet I O 8KE4 MTCP and I 8KE8 MTCP listed at FAQ 042 If LAN1 is broken it will switch to the 2nd Ethernet in optional I 8135W card port automatically to continuously work This need LAN1 amp the 2nd Ethernet s IP are set in t
73. CPronam Files Microsoft NETS q EE E EE MET d H Cancel 3 Click the Browse button Select the QuickerNet dll from VP 25W7 23W7 CD ROM napdos isagraf ivp 25w7 23w7 vb net 2008 demo wp_vb01 vb01 subfolder or from your own location Add Reference NET Projects Browse Recent BSED SEA J ot s by KN mas fase e IS e CT Component Files dll tlb olb ocx exe 3 When both mscorlib and QuickerNet dll are added please double click on My Project to check if the QuickerNet dll is well added Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 6 3 am Explorer vl Click projectl Forml vb Design Start Page Solution Explorer Application JE proiech Pose References sis a Ea My Project ee bee ee E Forml vb Debug QuickerNet DsChun_DVWP x4 7 WP 8xx7 CD napdostisagrafwrp Sax7 wk z l 0 0 CProgram Files Microsoft NE T SDE CompactFrameworkwe ER Data l 0 0 CProgram Files Microsoft NE TISDE CompactFramework we System Drawing 0 0 CProgram Files Microsoft NE T SDE CompactFramework we Resources System Windows For 0 0 Program Files Micreseft NE TISDE CompactFramework we System 3 ml N 0 0 Program FilesMicrosoft NE TISDE CompactFrameworkwe Sienne 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
74. Cs 44 45 46 47 48 N CO 90 51 52 1 12 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 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 55 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 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 I 8017H s Ch 1 to Ch 4 voltage input in S256 512 in 8437 80 or 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 I 87K I O modules in l 8xx7 l 7188EG XG and WinCon 8xx7 PAC How to program RS 485 remote I 7017RC I 87017RC and I 70182 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
75. D project for Smart Device appbrabomz Choose breet platform Famework version and template m the next dialog box Home Location CADocument and Zeitnschhdmmscbatorha Documenti rual Stodio 2008 Projects C Creste directory for solution Ca etting Started VP 23W N7 Ver 1 8 Nov 2010 by ICP DA 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 Target platform Windows CE NET Compact Framework version f MET SES Framework aah a S Templates Description S lass er e Control Library ee Froject EE Compact Framework 4 0 forms application for Windows CE Platform Download additonal emulator images and smart device SDKs Cancel 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 1 Right click on the Project name on the right hand side then select Add Reference Solution Explorer pr Febuild Deploy Clean Add d Add Eeference Add Web Reference 10 2 Getting Started VP 25W7 23W7 Ver 1 3 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
76. DIO demo slot 0 87055W 9 4 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Project Name wp_vb02 wp_vb03 vpdmo_ 01 vpdmo_02 vpdmo_03 vpdmo_04 vpdmo_05 vpdmo_06 vpdmo_0 vpdmo_08 vpdmo_09 vpdmo_ 10 vpdmo_ 11 vpdmo_ 14 vpdmo_ 16 vpdmo19 vpdmo19a vpdmo19b vpdmo_20 vpdmo_ 21 vpdmo_22 Please refer to Chapter 6 VB NET 2008 demo 02 for VP 2xW7 Analog IC Please refer to Chapter 6 VB NET 2008 demo 03 for VP 2xW7 VH 2xW7 Read Write long integer float amp Timer No I O board Please refer to Chapter 6 ViewPAC demo 01 R W float value from file FAQ 60 ViewPAC demo_02 R W long integer from file FAQ 60 To output at a time interval SYSDAT_R SYSDAT W SYSTIM_R SYSTIM W_ ST QLD ViewPAC demo_04 User defined Modbus protocol No using Mbus To do something at some sec later when an event happens FAQ 17 Using Message Array MsgAry_r MsgAry_w Convert float value to string using real_str amp rea_str2 PID control refer to VP 25W7 23W7 CD napdos isagraf vp 25w 7 23w english manu PID_AL Atm Store amp backup boolean amp long integer value To From files Store amp backup boolean amp long integer value To From EEPROM 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 74 Dir is Micro SD save 3 values to 1 fi
77. E DLL library for TCP IP communications Ensure that this file is corectly installed on the hard Cancel disk To download vphmi 05 project to the VP 25W 7 Click on Debug If communication is established click on stop first to stop the old project running in the VP 25W7 d SaGRAF FHHI 05 Programe q Ioj x File Make Project Tools Debug Optons Help BAS Ae m Yel m Begin Sequential ICH cfr O x Begin STI Structured Te File Control Tools Options Help _ Farle gt mM oe S A wn hil active stop application Then click on Download to download it to the controller SaGRAF PFHMI 05 Debugger Ioj x File Control Tools Optons Help em kv vn e TS sl wp whi active Application symbols Cancel Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 3 13 3 2 4 Step 4 Download Web Pages To The ViewPAC A Please copy all files in the CD ROM VP 25W7 23W7 CD napdos isagraf vp 25w7 23w 7 vp webhmi demo vphmi_05 to the VP 25W7 s Miscro_SD Temp HTTP WebHMIK vphmi_05 demo need one l 87055W in its slot 0 If you don t have the I 87055W 8 IN amp 8 OUT board you may download vphmi_ 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 ViewPAC s Micro_SD Te
78. E WAWD AREA IA HAU A 0AA ars uzis Gee Ah 30a Hsr This is a Web HMI sample page On the top KI K2 Error The width amp scrolling can be modified OUTO1 OUTO2 T1 5000 ms CH Lg D Enter el Hello Welcome to the Web HMI Sample eben Z 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 scrolling 1 Yes O No lt html gt width width of the Menu Frame 0 999 unit is pixel ahead resize 1 Yes O hNo lt title gt Title 1 lt title gt lt meta hitp equiv Content Type content text html charset UTF 8 gt lt SCRIPT LANGUAGE JavaScript src msg wincon js gt lt SCRIP lt SCRIPT LANGUAGE JavaScript gt Please apply your charset here For example function start1 This row is necessary for English UTF 8 menu htm main htm amp A_11 other multi pages or other language Chinese gb2312 Traditional Chinese big5 5 4 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS function refresh_data if run_at_pc 1 return j lt SCRIPT gt lt head gt lt body onload start1 gt Start1 is the entry point of the menu bim lt Logout button gt lt form name form_logout method post action login dll gt lt input style cursor hand name CMD type submit value Lo
79. F Please 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 VP 2xW7 is the abbreviation of the VP 25W7 and VP 23W 7 The VP 2xW6 is the abbreviation of the VP 25W6 and VP 23W6 The VH 2xW7 is the abbreviation of the VH 25W7 and VH 23W 7 The VH 2xW6 is the abbreviation of the VH 25W6 and VH 23W6 Important Notice 1 VP 25W7 VP 23W7 VP 25W6 and VP 23W6 supports only High profile l 8K and I 87K I O cards in its slot 0 to 2 Please refer to VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w english manu vp 25w 23w datasheet pdf 2 Please always set a fixed IP address to the VP 2xW 7 VP 2xW6 VH 2xW7 and VH 2xW6 No DHCP Please refer to below VP 25W7 23W7 CD ROM for detailed ISaGRAF User s Manual napdos isagraf vp 25w 23w english manu user_manual_i_ 8xx pdf NOTE The VP 2xW7 VP 2xW6 VH 2xW7 and VH 2xW6 supports ISaGRAF programming method amp provides Web HMI solution by default If user would like to program the VP 2xW7 and VH 2xW7 by using both ISaGRAF amp EVC 4 0 or VS NET 2008 or C NET it is also possible Please refer to Chapter 6 Chapter 7 Chapter 10 2 1 Step 1 Installing The ISaGRAF Software The user has to install two software before he can program the ViewPAC ISaGRAF controller system They are A ISaGRAF Workbench amp B ICP DAS Utilities For ISaGRAF User has to
80. F CD ROM Sentinel5382 setup exe for ISaGRAF 80 or Sentinel setup exe for other ISaGRAF version and then reset the PC again If your ISaGRAF Key Pro is USB type please follow below steps to install the proper USB driver 1 To make your PC recognize the ISaGRAF USB protection key please un plug the USB protection key from your USB port first then run Sentinel S SD5411 32bit exe in the ISaGRAF 3 55 CD ROM or later version after you have installed the ISaGRAF Then please reset your PC 2 Torun lSaGRAF Ver 3 5x please always plug the USB protection key in PC s USB port 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 IsaGRAF Workbench EXE subdirectory C isawin exel 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 IlsaExe C ISAWIN EXE Group Samples lsaApl c isawin smp lsalTmp C ISAWIN TMP 2 1 3 Important Notice For Window 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 win
81. GRAF 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 0 normal then reboot ViewPAC Then when ISaGRAF is connected it will display No Application Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 7 A 8 Linking l 7000 and I 87K Modules For Remote I O The VP 25W7 VP 23W 7 controller system can use its COM2 RS 485 or COM3 7520R 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 ViewPAC 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 I 87K remote module must have a unique address and be set to the same baud rate as the ViewPAC 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 The ISaGRAF Embedded Controller l 87K l 7000 I O Modules IO Modules gu D D ep D I H VP25W7 23W7 Addi Addr 2 Addr 3 4 5 6 Rs Ap 8 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS A 9 Linking To An
82. Getting Started VP 25W7 VP 23W7 The VP 2xW7 is the abbreviation of the VP 25W7 and VP 23W 7 The VP 2xW6 is the abbreviation of the VP 25W6 and VP 23W6 Important Notice 1 VP 25W7 VP 23W7 VP 25W6 and VP 23W6 support only High profile I 8K and I 87K I O cards in its slot 0 to 2 Please refer to VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w english manu vp 25w7 23w datasheet pdf 2 Please always set a fixed IP address to the VP 2xW 7 VP 2xW6 VH 2xW7 and VH 2xW 6 No DHCP Recommend to use the NS 205 NS 208 Industrial Ethernet Switch for them 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 IEC61131 3 standard LD ST FBD SFC IL amp FC or Non ISaGRAF Microsoft EVC 4
83. HMI Interface Device One of the COM2 RS 485 or COM3 RS 232 or max four of the COM 6 7 8 please refer to appendix G amp E ports of the VP 25W7 VP 23W 7 controller system can be used to interface with additional Human Machine Interface HMI devices touch displays Please refer to section A 2 first for setting Modbus RTU port at one of COM2 or COMS 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 500 Touch 8000 Touch 6000 series products For more information regarding interfacing the Touch series of MMI devices to the ViewPAC controller system please refer to Chapter 4 Linking The I 8xx7 To HMI Devices of the User s Manual Of The ISaGRAF Embedded Controller 232 TxD i RS 232 RD TxD Cable Wiring GND GND CTS RTs Touch 500 VP25W7 23W7 Touch 8000 Modbus RTU slave port Touch 6000 Reen D se RS 485 D _____ _ D _ _ _ _ D Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 9 A 10 Linking To Other Modbus Devices VP 25W7 VP 23W7 s COM2 RS 485 or COM3 RS 232 or 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 VP25W7 VP 23W7 Modbus Device TxD RxD RS 232
84. 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 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 address NO h zech zech h zech on AN CO O1 ee AN AN Se Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 11 English ISaGRAF Ver 3 FAQ Q How to scale Analog Input and Output of 4 to 20 mA to my engineering format How to scale Analog Input and Output of 0 to 10 V to my engineering format Q How to detect controller Fault Q New ISaGRAF retained variable is better than old one Q How to link to Modbus ASCII Slave device Q How to use multi port Modbus Master in the WinCon 8037 8337 8737 amp 24 20 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 e
85. I 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 saGRaAk ERAMPLEI Global booleasns File Edit Toole Optons Sch Booleans IntegersiRee ers Messages FB instances D Addr Comment input 0000 out 1 in the 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 baG RAF EXAMPLE Global booleans File Edit Tools Options Help OG e ed Booleans integersiReals Timers Messages FB instances Defi Addr Comment Input 1 in the l 5 input ggd Input 2 in the l 5 Ka Input 2 in the l 5077 board w000 input Ctalse true There are two outputs used in this example program named OUT0O1 and OUT02 ISaGRAF provides a quick and easy way to declare like variables that are sequentially ordered Quick Declaration To begin this process click on the Quick Declaration icon and enter in the Output number that you will start with
86. Is normally placed inside the head area com 60 oe Checki iagiecessary when er o opa beste oe 4 lt head gt 22477 31 tl bod tiie The body area describes lt body gt the behavior of this page lt html gt 4 30 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Please go to the body area and then modify the code as below Caption Area Layer A Layer is starting with lt div amp ending with lt div gt tag lt Caption lt gt lt font coldr blue size 4 gt yle position absolute width 853px height 24px z index 1 left 73px top 12px id layer1 gt is is a Web HMI sample page lt font gt K1 Area Layer2 to Layer4 lt div style position absolute width 102px height 93px z index 2 left 75px top 52px id layer2 gt lt div style position absolute width 44px height 24px z index 1 left 3px top 10px id layer3 gt K1 lt div gt lt div style position absolute width 58px height 46px z index 2 left 1px top 38px id layer4 gt lt img name B11 border 0 src img big_Tcircle_red0O jog 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 Layerd to Layer lt div style position absolute width 101px height 93px z index 3 left 241px top 51px id layer5 gt lt div style position absolute
87. 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 the Micro_SD path if there is three plus one file in it The projectt exe QuickerNet dll Quicker dll and Mscorlib dll The QuickerNet dll Quicker dll and Mscorlib dll can be copied from the ViewPAC s System_disk ISaGRAF path 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 Mm UserSetCoil Description This function is to set the value to a Boolean variable by Modbus network address Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 6 5 Syntax UserShare UserSetCoil iUserAddress As System UInt16 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 0 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 VP 25W7 23W7 CD ROM napdos
88. Name Description lOboard l Multi Pages demo ER vphmi_05 Page menu is on the Left Slot 0 87055W Multi Pages demo et vphmi_05a Page menu is on the Top Slot 0 I 87055W TENERE slot 1 87024W vphmi_06 AlO demo scaling is in IsaGRAF slot 2 1 801 7 HW e Slot 2 8017HW slot 0 87055W oop up an alarm window on PC slot 0 87055W ER SE Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 3 9 IO board Name _ Record 1 to 8 Ch i8017HW s volt every slot 2 8017hW g tt 50ms and draw trend curve by M S Excel slot 1 8024W woh 12 Record 1 to 4 Ch 18017HW s voltage every slot 2 8017hW pnm 10ms and draw trend curve by M S Excel slot 1 1 8024W 3 2 Steps To Set Up A Web HMI Demo 3 2 1 Step 1 Setup The Hardware A C Please have one VP 25W7 and then plug one l 87055W board in its slot 0 If you don t have the l 87055W 8 IN amp 8 OUT board please follow the same steps as below however your Web HMI demo may be replaced to vphmi_ 01 not vphmi 05 Prepare one Ethernet cable and then connect them to the ViewPAC Keyboard is using the software keyboard on the bottom right of the ViewPAC screen Power up the ViewPAC 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 ViewPAC No DHCP B Check on Enable Web HMI and then click on Setting Please check the Enable Account Security and t
89. P 25W7 VP 23W7 has only one Ethernet port They can add one optional I 8135W card in its slot O 2 to expands the second Ethernet port One USB 1 1 Host port for USB mouse keyboard or USB drive Internal communication with the I 87K High Profile modules in slots RS 485 D2 D2 self tuner ASIC inside 2500 Vpc isolated Speed 115200 bps max RS 232 RxD TxD CTS RTS DSR DTR CD RI and GND Non isolation Speed 115200 bps max E MMI Man Machine Interface LCD Touch Panel Rubber Keypad Audio LED Indicators E Mechanical Dimensions Ingress Protection E Motion Motion Control E PWM Output High Speed PWM Modules DO Module as PWM 3 5 TFT Resolution 320 x 240 5 7 TFT Resolution 640 x 480 Yes 24 keys 6 keys Microphone In and Earphone Out 3 Dual Color LEDs PWR RUN LAN1 L1 L2 L3 L1 L3 For User Programmable 182 mm x 158 mm x 125 mm Front panel IP65 one 8091W 2 axis or two 8091W 4 axis can do motion control only one I 8091W can do X Y dependent motion l 7088 8088W I 87088W 8 ch PWM outputs software support 1 Hz 100 kHz 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 Optional DO Boards I 8037W 8041W 8041AW 8042W 8050W 8054W 8055W 8056W 8057W 8060W 8063W 8064W 8068W 8069W Relay Output boards can not generate fast square wave E Counter Encoder Frequen
90. PLEX IGatabeort To begin the ISaGRAF 3 x software program click on the Windows Start button then on Programs and you should see the ISaGRAF program group as illustrated below a Book B Diagnosis g Libraries fe Licensing Read Me A Report 2 1 1 Important Notice about Hardware Protection You must install the hardware protection device dongle on your computers parallel port or USB Key Pro for ISaGRAF 3 51 or latter Version provided with the ISaGRAF software for the ISaGRAF program to achieve fully authorized functionality ISaGRAF 32 E amp ISaGRAF 32 C DO NOT need dongle or key pro ra About 5aGRAF A SaGRAF Project Management File Edit Project Tools Options DET i Ge User s gide Zeiten Se i i Language re Ersion A ae See Library Copyright 41990 2007 ICS Triples S aGRaAF Inc EH boie Flow Chart 3 Pm demo demo with Gu Configuration Maximum number of lO vanables 3 ditore STIL LO SFC FED 2 2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 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 dongle driver may not be installed well Please execute the IsaGRA
91. Please refer to VP 25W7 23W7 CD ROM napdos isagraf vp 25w 7 23w english manu user_manual_i_8xx pdf For section 4 1 amp 4 2 for detailed information about assigning Modbus network address Please get into the dictionary then click on Tools Modbus SCADA addressing map Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 7 SaGRAF EXAMPLEL Programs E ioj x Fie Make Project Tools Debug ptons Help B San Baole i mk RER SaGRAF EXAMPLE1 Global timers E x File Edit Tools Options Help Cmck declaration Mo d buz amp 5 GG i IOA A add res ang map EE E Import text o ere Export text Import toe tals definitions R mort 0000 In Renymber addresses Please click on Options Decimal or it will use Hexadecimal format as default First click on 00001 on the top window and then double click on OUTO1 to attach it to the Modbus No 1 ES Rg stances Defined words omment Modbus SCADA addressing map E E K File Edit Options Help Man Hexadecimal Segment KREE DUDU Reserved Varables not mapped Booleans IntegersiReals Timers Messages in the l 5055 board K2 Input zi in the l OF USS board Si OUTO OUTO 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 4 8 Getting Started VP 25W7
92. SAS Note 1 Please refer to the section 8 4 of the ISaGRAF User s Manual for multi ports Modbus Master VP 2xW7 VP 2xW6 can setup max 10 Modbus RTU ASCII Master ports in COM1 to 14 2 Please refer to the Appendix A A of the ISaGRAF User s Manual for COM OPEN COM READ functions to read write COM ports 3 Please refer to Appendix G of this manual for setting up more Modbus RTU slave ports Pin assignment i 8112iW 2 Ch RS 232 CTS RTS os LI WE U _ DTR2 4 jo TxD Rio UR RxD 92 10 Of 07 RTS2 DCD 01 o OJ 06 DSR2 Ee DB 9 Male Connector Port2 Ap 20 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS i 8114W I i 8114iW 4 Ch RS 232 N C IO 20 13 DCD3 loi ES 21 DTR3 GND 03 O O 22 DSR3 CTS3 1 Slefn 8 O 23 RTS3 RxD3 05 O wd ee TxD3 Ri4 06 O 25 DCD4 DTR4 07 jc O 26 GND DSR4 08 IC O 27 CTS4 RTS4 09 0O r o 28 RxD4 TxD4 10 10 7 CO 29 HI DCD 11 1O CO 30 DTR2 GND 12 O OJ 31 DSR2 CTS2 13 O O 32 RTS2 RxD2 14 10 33 TxD2 Rit 15 O OJ 34 DCD1 DTR1 16 O O 35 GND DSR1 17 O e O 36 CTS1 RTS1 18 10O ola WS TxD1 19 O 37 Pin Female D Sub Connector Port1 Port4 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 21 i 8142iW 2 Ch RS422 RS485 RS485 Ch 1 D1 D1 RS485 Ch 2 D2 D2 RS422 Ch 1 TxD1 TxD1 RxD1 RxD1 RS42
93. Selected Components area Add Reference NET Projects Browse Recent Component Name b _1 retest CustomMarshalers Click on Browse to search hip anne ae Microsoft VisnalBasic d Files Microsoft WE TS Microsoft WindowsCE Fa QuickerNet dll __th Files Microsoft NET S Micrasaft WindowsMobile 2 0 0 0 2 0 0 0 C Program Files Microseft NET S bmscolth A LC WProgiam Files Microsoft ME T 2 0 0 0 2 0 0 0 CProgram Files Microsoft WET 2000 C Frosram Files Microsoft NET 150727 CProogram Files Microsoft SOL S0727 Program Files Microsoft SOL 2 0 0 0 System Data Goal System Drawing ee one C Program Files Microsoft WET System Messaging 2 0 0 0 2000 C Program Files Microsoft NETS System Met DA 2 0 0 0 2000 Ci Program Files Microsoft WET System Web Services 2 00 0 2000 Cs Program Files Microsoft WET System Windows Forms 2 0 0 0 2000 C Froeram Files Microsoft NET System Windows Forms Dat 2 0 0 0 2000 C Program Files Microsoft NET S 2 E SAA SAAN EE e D EE cl d H Cancel 3 Click the Browse button Select the QuickerNet dll from VP 25W7 23W7 CD ROM napdosi isagraf vp 25w7 23w7 CSharp net 2008 demo wp_CSharp01 subfolder or from your own location Add Reference NET Projects Browse Recent PSS EO O wp Chap Obin Do 3 Properties 2 i 3 BRAH
94. Status As Integer As Byte UserShare UserGetReg_Float ByVal UserAddress As System UInt16 ByRef Status 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 VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w vb net 2008 demo wp_vb02 for R W analog I O napdos isagraf vp 25w 23w vb net 2008 demo wp_vb03 for R W 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 vp 25w 23w english manu User_Manual_ _8xx 7 pdf 6 8 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Chapter 7 EVC Program Running In ViewPAC _ Access To ISaGRAF Variables User can write his EVC 4 0 a
95. al_WinCon8000 Web_HMI demolexemplelimain hin jol x E GE eme OC AO eto TAT Ga BAD Erte DES ME SD ES Mo JaA IA Bama EENE HE NEE E Tones New Roman 3 2p B E U ES S fg gli E RES a This is a Web HMI sample page You may switch from these three items r AAs Gigs Aas V Please switch the window to design the page Please insert a layout object Layer as below Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 25 R Microsoft FrontPage D VChum Dlser Mars WmtCon tOtheh HMfVemokevsmnistwegnchtm E oj xj HEAD Ha TAT Su AD HERE eum mm SUE eps Or 1 amp BAS B KFA av eier UR ARs Le BW Times New Rit BS l P AS main him SI Ma rozott FrontPage Dhon D zer Mans Want ou DU Weh HMlvemoevemplet iia hii CEO SEO emm MAO Sam IAW 28H BHO EAM gem em Th D F GASB IGR FisaBJ 9 SSR Ob oxen 8 fir x Times New Roman 3 On BF U E Se W wg liz i ee ce KW main him x cboas div us e a Web HMI sample page C Fei ID of this Layer object Layer2 size E E Das Gis Ae A P 5oKbps SS Sep 0 01 BS x292 EE ES T E Click inside this Layer and then insert one another layer inside it as below Please enter K1 into the new created Layer E Microsoft FrontPage DChon_D User_Manual_WinCon8000 Web_HMTWemolexa SE him E oj xi
96. alue 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 A UserShare UserSetReg_float Convert ToUInt16 4 Convert ToSingle 2 1 74 Demo program VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w vb net 2008 demo wp_vb02 for R W analog I O napdos isagraf vp 25w 23w vb net 2008 demo wp_vb03 for R W internal 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 vp 25w 7 23w english manu User Manual IT Gxvx podr Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 6 7 Mi UserGetReg_short MUserGetReg_ long UserGetReg_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 UserAddress As System UInt16 ByRef iStatus As Integer As Byte UserShare UserGetReg_ Long ByVal UserAddress As System UInt16 ByRef
97. alue None Example Get the variable status of Network Address 1 byte iStatus UserShare UserGetCoil Convert ToUInt16 1 out iStatus 10 6 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Demo program VP 25W7 23W7 CD ROM napdos isagraf vp 25w7 23w CSharp net 2008 demo wp_CSharp01 10 4 2 Analog R W Functions MUserSetReg_short WUserSetReg_long WUserSetReg_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 JI Set a long value 1234567 to the variable of Modbus Network Address 1 int temp1 1234567 UserShare UserSetReg_long Convert ToUInt16 1 out temp Set a short value 1234 to the variable of Modbus Network Address 3 int temp2 1234 UserShare UserSetReg_short Convert ToUInt16 3 out temp2 II Set a float value 2 174 to the variable of Modbus Network Address A float temp3 2 1 74 UserShare UserSetReg_float Convert ToUInt16 4 out temps Demo program VP 25W7 23W7 CD ROM napdos
98. ards Used slot 0 8B7055W slot 1 8091W slot 1 8091W slot 2 1 8090W slot 1 8091W slot 2 1 8090W slot 1 8091W slot 2 B090W slot 0 8B7055W Slot 0 87055W Project Name vpdmo_ 51 vpdmo_52 vpdmo_ 53 vpdmo_54 vpdmo_55 vpdmo56 vpdmod56a vpdmo56b vpdmod56c vpdmo56d vpdmo56e vpdmo_ 61 vpdmo_62 vpdmo_63 vpdmo64a vpdmo64b vpdmo65a vpdmo65b vpdmo_ 66 vpdmo 1la vpdmo 71b vpdmo 1c 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 XG since 2 17 2 15 W8xx7 since 3 36 WP 8xx7 and VP 2xW7 VH 2xW7 Msg_N i8xx7 since 3 19 i7188EG XG since 2 17 2 15 W8xx7 since 3 36 WP 8xx7 and VP 2xW7 VH 2xW7 Read 20 REAL values from a file 4 rows each row has 5 REAL values uses msg_f FAQ 60 Read 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 Retain 2 Boo 25 Integer in a file 2 rows Each row has 10 integer value FAQ 60 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 I8xx7 WP8xx7 VP 2xW7 AutoReport data to PC via UDP Controller 10 0 0 103 PC 10 0 0 91 send email via Ethernet port To one
99. arted VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Create main screen Click mouse right button in the file folder of Screen of the Graphics tab in the Workspace then the Screen Attributes window appears Setting screen attributes such as Size Location Runtime Properties and Background Picture then press OK to edit screen E InduSoft Web Studio OO File Edit View Insert Project Tools Window Help SG HO Ra 2 e lalie a SRD Su BO P 2 ORG Weim fe esi CQ mb Ek Leem UGhk te aor fh G REREa EEEE Workspace Ej v gy Project Demo_02 APP 9 Screens DH D 1 Se Sg Click mouse right button eb Pages e e G Limay in the file folder of Symbols Screen Description MainPage Goto Graphics D I D I DB3 4 Background Picture Enable Background Shared image Width 320 Height 240 Database Spy a Runtime Properties Titleabar System Menu Maximize Box Style Replace Partial Minimize Box Border None Don t redraw Output Insert new screen OF Cancel Select Text icon then clink on the main screen where want to establish a text and type 8 7055W_DI_ 1 And select Text again following the previous text and type H then select Text I O means 1 digit means 4 digits HHHH means 6 digits gt e
100. ce Short message can be sent in multiple language format like Chinese English others and pure text can be sent received More at www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 English 111 GTM 201 RS232 ponin Oo VP 25W7 23W7 Se 1 14 Auto report Acquisition amp Control Data VP 25W7 23W 7 can use UDP IP Client to auto report acquisition data A control data to local or remote internet PC Server Advantage Every ViewPAC in the different location doesn t need a fixed Internet IP More at www icpdas com gt FAQ gt Software gt ISaGRAF Ver 3 English 065 Stable and Cost effective Data Acquisition Auto Report System Y VP 25W7 23W7 y RS 232 Provides 4 Level Sen Internet Security Protection oabus Ethenhot devices 9 P 1 7520R i J A ek RS 485 PC Server NS 205 v y Si Ethernet Pola c gt 7000 I O Gateway Server gt in ISP company 7 More Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 7 1 15 Motion Control One 8091W can control 2 axes X Y plane or 2 axes independent Two I 8091W can control 4 axes X Y plane 2 axes independent or 4 axes independent Encoder Modules I 8084W 4 axis without Z index 8090W 3 axis T VP 25W7 23W7 1 16 Stress Monitoring Application of Constructions 1 8 More at www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 English 091 128 E SSES
101. ch N AN 73 74 19 N NI Q Application Record 10 Ch temperature value into a file in uUPAC 7186EG every minute When 24 hour recording is finished send this record file by email every day Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 13 English ISaGRAF Ver 3 FAQ Q How to measure 150VDC in ISaGRAF controllers plus the I 87017W A5 I O card Q An easy way to program the fast FRnet remote I O modules 81 82 CO ce Q How to set I 8x37 I 8x37 80 I 7188EG and uPAC 7186EG s TCP recycling time Q Application A Cost Effective and Hot Swap Redundancy System by uPAC 7186EG CO D or 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 Q What does it mean and how to fix it when the 7 segment LED shows error messages of ErrOO 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 CO CO CO please change to use the better new retain method to retain variables 089 Q Why my puPAC 7186EG unable to renew the driver and ISaGRAF application Q How to use I 7017Z module in ISaGRAF PAC Q How to use ISaGRAF PAC plus I 87089 the VW sensor Master card to measure the 091 gare 7 Vibration Wire frequency to calc
102. connection is fine click on the tab of Application then click Send to Target When download finished click RUN to start the project ol File Edit View Insert Project Tools Window Help ae Ge 4 Sie Eo i Status e gt d L m Smr et D aasphtseege Tlesl trat mr 9 rn DIR sp Application E Titleber Application Name D 5 06 i Minimize Box Active area indication Workspace E Maximize Bos C Show Object Edge O Change Mouse Cursor T a Project Demo U E Cios Box vy Drivers Mi Start Maximized M Mouse Cursor lt q MOTCP i Menu Options C Virtual Keyboard a MAIN DRIVER SHEET gl Zem m Resize Border Default 9 TCPAP Status Line Scale 100 Enable ToolTips ality _ Hide Taskbar Auto Screen Scaling Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 8 11 Target Compact FlashTnduaoftiDemo 014 L i D send To Target WC Only newer files 3 etatus Application was started vend File Configuration Web directory of ViewPAC Run ViewPAC Utility and change Web directory to System_Disk InduSoft Demo_01 Web Click Change and Save and Reboot to finish this configuration ViewPAG Utility 2 0 1 0 Si Help Configuration Save Save and Reboot Reboot Without Save FTP Setting System Information Auto Execution Multi Welcome to use ViewPAC Utility T
103. cy Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 13 Models Parallel DI Counter Serial DI Counter Remote DI Counter High Speed Counter Encoder Frequency E Protocols Modbus TCP IP Master VP 23W7 VP 25W7 8 ch max for 1 controller Counter val 32 bit 250 Hz max Min ON amp OFF width must gt 2 ms Optional DI Boards 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 Optional Serial L ck DI Boards l 87040W 87046W 87051W 87052W 87053W 87053W A5 87054W 87055W 87058W 87059W 87063W All remote l 7000 amp I 87K DI modules support counters 100 Hz max value 0 65535 I 8084W 250 kHz max 32 bit I 87082W 100 kHz max 32 bit I 87088W 500 KHz max 32 bit I 8093W 3 axis Encoder Module max 1M Hz for quadrant input mode max 4 MHz for pulse direction and cw ccw input mode FAQ 112 I 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 I 87082W 2 ch 1 Hz 100 kHz I 87088W 8 ch 0 1 Hz 500 kHz I 8084W 8 ch 1 Hz 250 kHz Link to max 100 devices that support Standard Modbus TCP IP Slave protocol FAQ 113 Modbus RTU ASCII Up to 10 COM Ports COM2 COM3 and COM5 COM 14 if multi serial port Master Protocol Multi Port Modbus RTU Slave Protocol Modbus T
104. dows by clicking on the X it holds about 20 40 seconds No response Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 2 3 This hold behavior is caused by the CTFMON EXE process We still dont know the reason yet You may stop this process by click on the Ctrl amp Alt amp Del at the same time to open the window Task Manager and then stop it as next page However you will find the CTFMON EXE still load to run when you reboot your PC or run Microsoft Office So you need to stop it every time when your windows 2000 is rebooted If you want to know more about the CTFMON EXE please visit www microsoft com amp search CTFMON EXE ISaGRAF WHMI_OSP Programs a o File Make Project Tool Debug Options Help D mem Dmg sis mu Se Begin ginis AN For String amp Integer amp Float EZ Windows LIFE HS E 2 LD x Sequential se GIA Dem DO EAE RI Tase Ge La GH CO E e E Begin LD1 Ladder Diagram gs E 3 272 E 5 500 E Won emt ewe OU UU 220 E evictost exe B76 UU 672 E inetinfo exe HOA Uz 0 688 E WISSERY EXE 936 UU 5 268 E 1140 oo 5 940 E I Wl ra DNR el E TAA ES 1436 UU S WAY APW 32 EXE 1444 UU MENA DD IL GA 1468 UU UsexPronpt ese 1504 UU TOL e eum 1512 oo HBA dA ene 1537 no One Quick way to avoid the hold problem on windows 2000 You may create a short cut for the ISaGRAF p
105. dress and click OK InduSoft Web Studio MainPage scr File Edit View Insert Project Tools Window Help p H H gh Project Demo_d Ek Test Display Sy Screens EC aamauaea ie e ene i Run Application Send Period ms Ces Web Pages D stop Application si SE EF Execution Environment C Disable Remote Client Commands C Auto Screen Scaling dn Logon Enable ToolTips Enable File Compression Log Virtual Keyboard Enable Download and run the project Select Project gt Execution Environment to open Execution Environment window On the Target tab select Network IP then type VP 2xW6 s correct IP address and click Connect 8 10 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS gt File Edit View n r Project Tools Window Help oa eg DEEE a Da OS ie Eich Workspace T Ev Project Demo U wy Drivers vy MOTCF e MAIN DRIVER SHEET Jeng OPC TEPIP Target el Avvlication Import CE License O Serial Port Please type in the mer Ela IP address of your The Install system files button can update ViewPAC s VP 2xW6 Indusoft firmware to your PC s current version Please make sure all file attribution are not read only in the ViewPAC s System_Disk InduSoft path iw Oy 7 If
106. e exe NETWORK SER CO EXE i dminstrator oie TEM ERE a mue Administrator wuaucltexe Administrator oo TSU ene Administrator UU svchost exe mite AMM UU taskiner exe Administrator UU explorer exe ddministrator UU D ST IT EN Admmsbralor UU mepaint exe Administrator UU Tat CON ese Administrator UU vwdfu r ene LOCAL SERVICE UU 216E naPrd Moar eu or lab UU 1 024 E VeTskM orere Si LBM UU 400 E Meshield exe oi lab UU 16 912 E Frameworkservice Ss TEM UU b 104 E SCAT svt EWE LOCAL SERVICE An add E x Rk BPA See te EE se oh ee FD Fe 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 However it can connect the controller 192 168 1 5 255 255 255 0 well 4 If 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 26 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Appendix J Control Buttons On The Front Panel ViewPAC has built some buttons on its front panel These buttons is useful in some applications To get the state of these buttons please use the EEP_B_R functi
107. ease refer to former section A 3 Setting The IP Address For The ViewPAC On your PC First open an ISaGRAF project and select a program you wish to communicate between your PC and the ViewPAC controller system Next select the Link Setup button on the project screen as shown below ISaGRAF TEST Programs WS e JI x Fie Make Project Tools Debug Options Help D ASU Dan xt mk a Es Begin Simple Test Program Begin Test Ladder Diagram A PC PLC Link Parameters dialog box will appear as shown below From here select the Ethernet communications option and click on the Setup button PC PLC link parameters Target Slave Number Communication port ETHERNET Cancel COM1 Control 1coM2 Setup COM3 Time out seconds COM4 ETHERNET Retries Once you have clicked on the Setup button an Ethernet Link Parameters dialog box will appear Set the Port Number to 502 and enter in the Internet address IP of the VP 25W7 VP 23W7 VP 25W6 VP 23W6 controller x Internel address 192 168 1 1 aa Port number SUE The Workbench uses the WINSOCE_DLL library for TCP IP communications Ensure that this file ts corectly installed on the hard disk Once you have entered the appropriate information click on the OK button and now you have configured your PC to communicate with the ViewPAC through the Ethernet port Ap 4 Getting Started VP 25W7 23W7 Ver 1 3 Nov
108. eb HMdemolexamplel unea loj xj SS E ISO A en RO SS enn emp ISCH NPP D a HHASIB iG8 7 4 BAS D Lb teem R ir Times Hew Roman 3 Ulm BR Z HS Se Ge Ss E This i is a Web HMI sample page Geen Bt Layer2_ sLayert PB Eb SE O01 38x 191 RE BIT y Please follow the similar steps to insert one another Layer5 and one Layer6 with a K2 symbol inside it and also a Layer7 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 SI Mi rosott FrontPage rv hun I lser Manual Want opUUE eh HMD E SON SAD A S L e m 23 al it e Times New Ro i ba by MT i h d First click here to insert Layer5 and E Wed THO then follow the similar steps as former to insert Layer6 amp Layer7 inside the Sg BRE oY FERET D 4Chun_D User_Manval_WinCon8000 Web_HMIdemolexamplel main iim E ZS SEI ege OD HEA BAD IRD SS Sr es ESO SPD ozsa Biase ara D2 F Hama Fl aA l laa P ER S6Kbps SES e Times New Roman 3020 B se u e BR main him x Jene ie avs Layer6 P a eo a Web HMI saryple page m D Layer7 EAH pa Awe m ED SoK bps RER 0014 638x19 Ma BEI 4 28 Getting Started
109. ecceceeeeeceeeeeseeeesseeeesseseessaeeesaeeesaeees 1 2 1 4 New Hot Swap and Redundant System n00nnnannennnnennnennnnnnnnennnnnnnsrrrnnnrrnnrrnennno 1 2 1 5 Modb s Master TOPP ersan ra aE 1 3 1 6 Modbus Master RTU ASCII H 22240DMA7 1 3 1 7 WOODUS Slave RTU TOP EE 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 Everywhere cccccseeeeeseeeeeeeeeeseeeeeees 1 5 1 10 Send Email with One Attached FIE EE 1 5 1 11 Data Recorder amp Data e Lee EE 1 6 1 12 Remote VO ADDICT EE 1 6 1 13 SMS Short Message ServiCe ssrssrsaniespni sdn 1 7 1 14 Auto report Acquisition amp Control Data 1 7 1 15 Vilett ei ug Reine EE 1 8 1 16 stress Monitoring Application of Constructions ccccseeeeeseeeeeeeseeeaeeeesaeeeesaaeeeeas 1 8 1 17 FaStFRNCCREMOIE E 1 9 1 18 Integrate with CAN CANopen Devices A Sensors cceeeeeeeeeeeee eee eeeeeeeeaeeeeeeeaes 1 9 1 19 VIP Communication SECU EE 1 10 1 20 ISaGRAF PAC Connects the Smart Power Meter 1 10 1 21 ZIGBEC Wireless de EE 1 11 1 22 GPS Application ISaGRAF PAC Plus I 87211W or GG 21 1 12 Chapter 2 Software Installation And Working Soft GRAF HMI with ISaGRAF 2 1 2 1 Step 1 Installing The ISAGRAF Software cc ecccceeccssseceeeeeeeeeeeeeseeeeeseeeeeseeeeeas 2 1 2 1 1 Important Notice about Hardware Protection cccccccececeeeeeeeeeeneeeeseeeeneeeeneeeesee
110. ecome virtual board 5 x ow SaGRAF EXAMPI E 70 connection File Edit Tooletions Help alegi ob B e E on i_87055 To map input variables K1 amp K2 to the input channel No 1 amp 2 of the l 87055 double click on the channel 1 and then click on Connect Then click on Connect again to connect channel 2 4 14 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS ow aGRAF EXAMPLE 140 connection ol si File Edit Tools Option Help e pa mn on FR e 2 2m ref 87055A F E E Connect LO channel 0 x 2 e e Free By the same way please connect OUT01 OUTPUTO2 to output channel 1 to 2 Then we have below window Click on Save and then exit ow SaGRAF EXAMPLE IO connection 0 x File Edit Toole Options Help a pBem tL FS Den i 87055 an ref 70556 Eeler B Dos n OUTO Nooo e e me a IMPORTANT NOTICE 1 I O Slots 0 through 7 are reserved for REAL I O boards that will be used in the VP 2xW7 You can use slot No 8 and above for additional functionality 2 All of the variables with Input and Output attribute MUST be connected through the I O connection as described above for any program to be successfully compiled Only the Input and Output attributed variables will appear in the I O Connections window In this example we have only 2 Boolean output variables OUT01 OUTO2 and 2 Boolea
111. ecord 1 to 8 Ch l 8017HW s volt every 50ms and draw 8017HW trend curve by M S Excel Record 1 to 4 Ch I 8017H s voltage every 10ms and draw I 8017H trend curve by M S Excel vphmi_08 slot 0 87055W vphmi_09 lt O D 3 LO Ve 1 8 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS When you install the ISaGRAF programming example for the ViewPAC controller it is recommended that you create an ISaGRAF Project Group to install the demo program files into A ISaGRAF Project Management e JI x File Edit Project Tools Options Help De nen me mn E 2 bottlef Flow Chart Simulation of bo a demo demo with Quick LD programming zd rfarray demonstatres array management functions Project groups xi Default C Var ep Samples cisavvini ul New project group x Location 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 A ISaGRAF Project Management e Cif File Edit Project Tools Options Help ER Archive See ee a ENG Common dat bottlef demo Import IL program gramming H rfa ray emonstatres array management functions rfbars demonstrates graphic bra graphs rfbool demonstrates SFC boolean actions d Reference Rf Tmr FB EI Author
112. ee BlUls S nHF a Workspace x v gf Project Demo_01 AFP Screens 1 Group Screen Se Web Pages 8 8 BS Library Click on Text again to Symbols Click on Text first to add add a label and a label 87055W_DI_1 then click on Text I O H means the display Text has 1 digit HHH means 4 digits Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 8 5 Double click the object and the Object Properties window will show as below then type DI in the Tag Expression G Replace Hint Text 10 D TagExpressior Input Enabled Frat Password Confirm Repeat former method to create other objects and click Save icon on the main menu to save this main screen page as MainPage scr Select File gt Save As HTML to create this screen that can be visualized in a remote station using a regular web browser Note For the Output object as 87024W_AO 1 and 8 055W_DO_1 the Input Enabled of the Text I O should be checked as below 8 6 Gg Replace Hint Text LU D Tag Expression BO i Mininiurn ale Mavumum Value E Sign i Disab 0 Check on it means user may input its value at run time Workspace 5 6 OG wR eS oS Se eR P d Pojet Demo orae ff 1 Drivers i OTOSHWDL1 2 000000 0000 OPC ee ee et ee ee Ghee TCHIF 87055W DO 1 Getting Started VP 25W7 23W7 Ver 1 3 No
113. een Fress the Esc key to cancel 3 When finished a message as below will display Just use your finger to touch any place on the ViewPAC monitor to exit it Not necessary to press the Enter key Mew calibration settings have been measured Press the Enter key to accept the new settings Press the Esc key to keep the old settings d Run ViewPAC utility gt Save and Reboot to save the settings Then it will reboot once automatically ViewPAG Utility 2 0 1 0 Se Help Configuration Save Save and Reboot stting FTP Setting Reboot Without Save Welc Restore Default Settings This to SCH Mic Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 11 Appendix B Upgrade ViewPAC s ISaGRAF Driver to Newer Version Note If you have purchased VP 25W7 or VP 23W7 the ISaGRAF Driver is already installed with a 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 VP 25W7 and VP 23W7 s ISaGRAF driver can be obtained in the VP 25W7 23W7 CD ROM napdos isagraf vp 25w7 23w driver lt version Number gt For example version 1 01 is located at napdos isagraf vp 25w 23w driver 1 01 Or download it from http Awww icodas com products PAC i 8000 isagraf htm gt Driver 1 If your ViewPAC is VP 25W7 or VP 23W7 please stop ViewPAC 25W7 23W7 ISaGRAF Driver first Click on End Driver
114. etter to do it once to get familiar with it First set the web options Check on Enable Web HMI and then click on Setting Please check on Enable Account Security and then click on Edit to set username password Then remember to click on OK Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 35 Note If Enable Account Security is not check any user can easily get access to your VP 2xW7 VP 2xW6 VH 2xW7 VH 2xW6 through the Internet Explorer ViewPAC 25W7 2aW7 ISaGRAF Driver OK Security Settings OK Setting Wei About Options desktop FS wb jority Lowy User Marne Jugi To set up advanced security cl password bass Setti S Priority Middle User Mame fievel2 Password ees Priority High User Name kel Password rre Cep D Ed Internet isaviewPAC Explorer ug Disable Telnet Serveice And then please copy all files in this example1 to the controller lt your hard drive gt example1 to the ViewPAC s Micro_SD Temp HT TP 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 user has modified any file in the ViewPAC s Micro_SD Temp HTTP WebHMI My Device A desktop Le H Internet Explorer i d i Microsoft WordPad Show Time Please run Internet Explorer Rev 6 0 or higher key in
115. etting Web oo View SasR4F Driver Copyright 2009 by ICP DAS All rights are reserved e ih rs wphmi Documents FProcuct This product is licensed SE isaviewpac exe For ViewPAc 2owy 23 Mer 1 01 Jun 25 2009 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 15 Appendix C Dimension Unit mm Side View mo o 137 4 Rear View CUTOUT Ap 16 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Appendix D Enable The Second Ethernet Port Of The VP 25W7 VP 23W7 VP 25W6 VP 23W6 The default VP 25W7 VP 23W7 VP 25W6 VP 23W6 has only one Ethernet port named LAN1 User can add one l 8135W card in VP 2xW7 VP 2xW6 s slot 0 to expand the 2nd Ethernet port named 8135 For example the VP 2xW7 VP 2xW6 new redundant solution need the 2nd Ethernet port Please refer to www icodas com gt FAQ gt Software gt ISaGRAF gt 093 To setup the second Ethernet port in the I 8135W please follow below steps 1 Power off the ViewPAC then install the I 8135W card to ViewPAC s slot 0 first 2 Power on the ViewPAC then run ViewPAC utility to enable the 8135 as below Please check Use DHCP first we will modify it to be a fixed IP address later Remember to run Save and Reboot once to save the settings fa Ciel ViewPAG Utility 2 0 1 0 CG fy File Help Configuration WIEWPAC i System Setting E
116. example you may want someone to test your program or email to service icpdas com for ICP DAS s ISaGRAF technical service 3 2 3 1 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 A 1SaGRAF Project Management File Edit Project Tools Options Help A Archive Libraries st exam il exam Import IL program cfr epyam YAMAS Ft PENEN x Ret Workbench Archive Aut Backup Dat Ver Hestore De ex Close Help e Se Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 3 11 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 3 2 3 2 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
117. f the ISaGRAF driver PLC Mode Description plc_mode Function Change the ISaGRAF driver MODE o speed Argument MODE __ integer CanbeO 1 2 or3 0 Fast Mode Default setting the minimum PLC scan time is about 2 3 ms 1 Slow Mode the minimum PLC scan time is about 6 to 7 ms 2 Slower Mode the minimum PLC scan time is about 9 to 11 ms 3 or other value Slowest Mode the min PLC scan time is about 19 21 ms Return OU 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 ViewPAC Example TMP is declared as Boolean internal variable INIT is declared as Boolean internal variable and init at TRUE if INIT then INIT False Only do it once in the 1st PLC scan TMP PLC _mode 2 Set PLC speed to 2 slower mode end_if Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 23 Appendix G Setup More Modbus RTU Salve Ports The VP 25W7 VP 23W7 VP 25W6 VP 23W6 can setup up to five Modbus RTU Slave ports in one of the COM2 or COM3 and in four of the COM5 COM6 COM COM8 expansion multi serial ports in slot O to 2 refer to the appendix E 1 The first Modbus RTU slave port ca
118. f the Text object F21 is defined here F21 innerText float_val 21 If want to display Word data please use word_vall lf want to display Timer data please use timer_vall For ex F21 innerText timer _val 21 ms lt body onLoad init gt The layout or location of the Text object F21 is defined here by the lt div lt div gt tags lt div style position absolute width 214px height 53px z index 2 left 102px top 79px gt lt b id F21 gt xxxx lt b gt lt div gt lt body gt The declaration of Text object F21 is defined here by the lt b tag amp id F21 amp lt b gt tag initial value of this F21 is Xxxx 5 4 2 3 Displaying Dynamic Long Integer Data Demo example vphmi_03 and vphmi_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 get_long_val 11 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 9 The layout or location of the Text object L11 is lt body onLoad init gt 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 lt b Id L11 gt xxx lt b gt lt div gt WW The declaratio
119. f the new project in the Project Management window Double click on the name of the new project to open the new project 8 TSatRLAF Project Management E E e LL x File Edit Project Tools Options Help datat ee ft 2 B tes 2 m demo bla 7158EG redundant Master 192 168 3199 com lt gt 7043 PR demo 46b T1566 redundant Slave PR demo 49b 8437 8837 redundant Slave H demo 451b T188EG redundant Slave 192 168 3 198 com lt gt 7043C m ee m demg Ah a Double click on the project Reference exa name to get into the project Author ml 4 1 4 Declaring The ISaGRAF Project Variables Before you can start creating an ISaGRAF program you must first declare the variables that will be used in the ISaGRAF program Boolean Variable 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 E xj File Make Project Toole Debug Options Help PD eem At Zxr ome Aas 4 4 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS To declare the program variables for the ISaGRAF project double click on the colored area below the Boolean tab and a Boolean Variable window will open Enter in the name of the variable to be used in the project For the purpose of this example program the variable Boolean Variable Name is K1 and Input 1 in the
120. ft 242px top 164px gt cursor hand will display the mouse arrow as a hand when entering the image area lt img style cursor hand name B2 onclick ON_OFF form_B2 form_B2 B2 boolean_ve src img cmd0 jpg gt Name of The onclick will call ON OFF when the mouse click on it the image The first parameter is the name of the form Here is form BZ object The second parameter is the lt input gt name inside the form Here is form _B2 B2 The last is the current boolean value Here is boolean_val 2 5 14 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Name of the form lt form name form_B2 method post action main dll gt lt input name BEGIN type hidden gt lt input name B2 type hidden value 0 gt lt input name END type hidden gt lt form gt Name of lt input gt inside the form Here is B2 lt div gt Because it is inside form BZ then we must use the name of form BZ BZ to identify it z body gt B To post by buttons Demo example vphmi_02 and vphmi_05 function ON_ form_obj obj ON_ function is used for posting flag confirm turn ON Boolean value as True to the controller if flag d obj value 1 if GetUserlD form_obj true form_obj submit as OFF function is used for posting function OFF_ form_obj obj Boolean value as False to the controller flag confirm tur
121. g A New ISAGRAR re 4 3 Declaring The ISaGRAF Project Variables cccccssscccssseeceseeeseeseeseeseesseesensaeees 4 4 Assign Modbus Network Address No to Variables 00n00nnannannnnnnannannnnnnnnnnnnnnnne 4 7 Create nesED ED PrOGi am tee 4 9 GIF HAG EE PIO aM EE 4 10 GOMMECTING TMG Ia eee 4 14 Compiling amp Simulating The Example broect 4 16 Compiling Error Result In Different ISAGRAF Version 4 16 Download amp Debug The Example Project cccceccecseeeeeeeeeeeeeseeeesaeeesaeeesaeeeeas 4 20 Design THe Web We LE 4 24 Step 1 Copy The Sample Web HMI oages 4 24 otep 2 Building The Man MN serasa E 4 25 Step 3 Adding Control Code To The Mam bim 4 30 Step 4 Download Web HMI Pages To fheCGontroller 4 35 WeD AMI BASICS eege 5 1 Basic Files For The ebe tegen 5 1 EOGAIN BE 5 2 BALERIO A At EE 5 3 VI Bet EE 5 5 ASMP MAIINAM EXA MDE sssusa EnA Ee SEREEN ENSE 5 5 More About The refresh_data Function And Dynamic Data 5 7 Post Data TofheCGontroller 5 13 VUE 5 17 Level 2 And Levels Page serrie autened duteteiotatseiietetametanetane 5 17 Switch One Page To One Another Page 5 18 WeDo ECUNI EE 5 19 VB NET 2008 Program Running In ViewPAC Access To ISaGRAF Variables 6 1 rede T EE ie EE 6 1 Add Project Reference for an Appicaton 6 2 Compiling an Application Program 6 4 SIS INE Ve acer tetas ett eth ERE REEE E ETE EA 6 5 Blees e ele A 6 5 ANAO ANY FUNCIONS scent Gouin E EE AE E E 6 7
122. g Programs and the I O Simulator windows If the I O variable names you have created DO NOT appear in the I O simulator window just click on the Options and Variable Names selection and the variable names you have created will now appear next to each of the I O s in the simulator window In the ISaGRAF Debug Program window double 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 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 17 SaGRAF EXAMPLE1 Debugger j UI x File Control Tools Optons Help LV SG og Click here is to exit the simulator alo x File Tools Options Help JI x File Project Tools Options Help D ma mm u Running The Simulation Program When you double click on LD1 in the SaGRAF Debug Programs window the follow window should appear ig SaGRAF EXAMPLE1LD1 Quick LD Program 0 x File Edit Options Help GENEE You can see outputs OUT01 will blink in the period of 8 seconds You can adjust the T1 variable while the program is running To accomplish this click on the Dictionary icon which will open the ISaGRAF Global Variables window as shown in the first two pictures below Click on Timer tab and then double click on T1 to change the timer value to T 4000ms this means 4000
123. going to insert one image file to it as below The image file name is Jmgoibg Torcle red og Please browse to the correct folder in your hard driver Here we use examplet img in this example R Mi rosoft FrontPage IV hum DU r_ Manual Wat omDlfvi leh _HMI demo examplel imi ioj x WAD a TA F HED ear HRE HD OC Gem HAH KP Dy a ed ah S Pt gg F O b tR P ik Times New Rg AAEE JBZ UZ x H d e Web WC OS ERU Baad Crk 21 First Click inside the Layer4 and then insert an image B o al Gy Sp ENE E big_Tayuare_greenO mg E circle 4 3 2 ey He Taste zeen IPE S oma el 3 5 BRR A7 2 j ley He Taste zeit jpg S cemal Gi RE CC S j wif big_Tsynare_red 1 jpg eff login HERE D bheli EF big_Tayvare_vellowD jpg ET square Chan D E big_Tsquare_yellow jpg S square User_Manual_WinCon8000 S S circle _bluel jpg ET square T Web_HMI j ef circle_bluel jpg E square C demo ved j S circle steen jpg E square La Ge j E circle green JPE ER square og Le ipe BY civcle_red0 jpg ef square S circle ed jipe ET square H OFFICE P e j ER civcle_yellow jpg S winor FAIH H CH FTF ic e SI Sea PIP fit wol zi Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 27 You will see a window as below E Microsoft FrontPage D Chm_DiUser_Manval_WinCon 000 W
124. gout onClick return logsut this form 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 in the VP 25W7 23W7 CD napdos isagraf vp 25w 7 23w vp webhmi demo vphmi_05 amp vphmi_05a The vphmi_05 place its page menu on the left while vphmi_05a on the top 5 4 main htm 5 4 1 A Simple Man him 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 Chinese gb2312 lt html gt Traditional Chinese big5 or other language lt head gt lt title gt Title 1 lt title gt lt meta http equiv Content Type content text html charset UTF 8 gt lt SCRIPT LANGUAGE JavasScript src msg wincon js gt lt SCRIPT gt This line is necessary for menu htm main htm amp other multi pages Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 9 lt SCRIPT LANGUAGE JavaScript gt show_scroll_ word 200 Hello Welcome to the Web HMI Sample function refresh_data Calling show_scroll_world will display a moving word at the bottom of the Internet Explorer Here 200 means 200 ms You may make it slower for example using 500 lt SCRIPT gt refresh_data is called w
125. gram _ ll x File Edit Tools Optons Help A XGA wel ai d wr aagall e Ui Move the cursor to the first contact and then click on cut to delete it Click on the F6 Block on the left icon and you will create a block on the left of the coil x m SaGRAF EH AMPLEIL LD1 Quick LD Program File Edit Tools Optons Help ae be xeezapm lasc bd Pt Qaakk e Pa t FSi Fd Gel SES Fe QB ES FS Gl Fo Een CC Block on the lett Now we are going to assign the associated variable amp constant to each item Double click anywhere inside of the block and the Function Block assignment window appears Select the BLINK type function block To learn how the BLINK function operates you can click on the Info button for a detailed explanation of its functionality aie SaG RAF EXAMPLE LD Quick LD Program E SI File Edit Tools ptons Help Bea Mea m ad Pa oe e FQ 4B F3 44E Fa GH FS OH Fe HE Fa Fe IA Fa 26 tS ES oo ON Double click on anywhere ess inside the block Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Function block S S 2 EN write float value to array read long value from array write lang value to array read short value from array write short value to array get ascii code are sine are tangent running average Click on Info to get Convert DCD to decimal value detailed
126. gs Exit Note 1 ViewPAC s Ebus is working on its first Ethernet port the LAN1 This is un like the WinPAC 8xx7 which is working on its LANZ 2 When program the RUN new in VP 25W7 VP 23W7 VP 25W6 VP 23W6 it is necessary to install the l 8135W in slot O and enable the 2nd Ethernet port to make it work Please refer to www icodas com gt FAQ gt Software gt ISaGRAF gt 093 3 When the 2nd Ethernet port is enabled it default supports the Modbus TCP IP slave protocols The first and the 2nd Ethernet port can also support the udp_ip and tcp_clie to delivery data to PC HMI or other devices Please refer to the section 19 2 and 19 3 of the ISaGRAF User s manual Ser _manual_i_ 8xx pdf and user manual 1 8xx _appendix pdf Ap 18 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Appendix E Using Expansion RS 232 485 422 The ViewPAC can expand 12 more COM ports in its slot No 0 to 2 by using following modules I 8112iw 2 channel isolated RS 232 I 8114iW 4 channel isolated RS 232 I 8114W_ 4 channel non isolated RS 232 I 8142iW 2 channel isolated RS 422 RS 485 l 8144iW 4 channel isolated RS 422 RS 485 Before user can use them please configure them By the ViewPAC utility first Please plug them in the ViewPAC s slot O to 2 and then run ViewPAC utility gt Multi serial port wizard then click on Slot scan The current found multi serial por
127. he ViewPAC 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 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 10 5 1 Digital R W Functions 2 Analog R W Functions 10 4 1 Digital R W Functions Mm 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 0 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 VP 25W7 23W7 CD ROM napdos isagraf vp 25w7 23w CSharp net 2008 demo wp_CSharp01 Mm UserGetCoil Description This function is to get the value from a Boolean variable by Modbus network address Syntax UserShare UserGetCoil ushort iUserAddress out byte iStatus Parameter iUserAddress Specify the Modbus Network Address of Variable 1 to 8191 iStatus Get the variable status iStatus 1 for True iStatus O for False Return V
128. he same IP domain 14 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Models 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 New Hot Swap and Redundant System CAN CANopen VP 23W7 VP 25W7 Support max 3 pcs l 8172W boards in slot 0 to 2 to connect to FRnet I O modules like FR 2053 FR 2057 FR 32R FR 32P FAQ 048 Each I 8172w board can connect up to 256 DI plus 256 DO channels Supports mail end and mail eet functions to send email with one attached file via Ethernet port To exchange data between ICP DAS s ISaGRAF Ethernet PACs via Ethernet port LAN1 Port only One of COM3 or COM5 if multi serial port board is plugged in can link toa 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 850 900 1800 1900 GSM GPRS External Modem User can write his own protocol applied at COM2 COMS3 and COM5 COM14 if_ multi serial port boards are plugged in by Serial Communication function blocks COM or COMB if 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
129. hen 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 3 10 access to your ViewPAC through the Internet Explorer Ra Setting Wel desktop rs wphmi jority Low User Mame Jugi To set up advanced security cl password Guana Settings Le Ed Ed Internet isaviewPAC Explorer Disable Telnet Serveice Is 2 User Mame level2 Password ees aa Priority High Leer Mame Jevels Password EE Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 3 2 3 Step 3 Download ISaGRAF Project Please download ISaGRAF project vphmi_ 05 to the VP 25W7 This project is in the VP 25W7 23W7 CD ROM napdos isagraf vp 25w 7 23w demo vphmi_05 pia vphmi_05 demo need one 87055W 8 IN amp 8 OUT board If you don t have it you may download vphmi_01 CD ROM napdos isagraf vp 25w 7 23w demo vphmi_01 pia If you know how to restore vphmi_05 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 For archiving purposes you can Back Up and Restore an ISaGRAF project For
130. hen the Internet Explorer has lt head gt received the requested data from the controller It is called in the period about 1 25 to 5 seconds depends on the communication quality lt body onLoad init gt init is the entry pint of the main htm A other multi pages lt font color blue size 4 gt Ediv style position absolute width 353px height 24px z index 1 left 73px top 12px id layer1 gt Hello lt font gt A layout object is starting with lt div amp lt body gt ending at lt div gt tags lt html gt Here only show a message Hello You may replace the main htm in the VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w vp webhmi demo sample to the above main htm amp download it to the controller refer to section 4 4 4 You will see the below window when you login successfully Welcome Microsoft Intemet Explorer E Ioj x CRE BEE HA OREW Tan Sepp L E gt 00d Oe mier Gee 215 409 0849 iE SBA zz Norton Anti ins C A moving word is display here This is because the action of calling show_scroll_world FWE E htp10 0 0 103A0gin d Logout Hello ORRE ee Hello Welcome to the Web HMI Sample User may try to plug out the Ethernet cable of the ViewPAC 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
131. his tool will help you to set ViewPAC Display Resolution e40 460 nd ViewPAC P Industrial Control Products d Wie Data Acquisition System Setting Battery1 Task Bar Setting Battery2 Ok d Auto Hide Always On Top Change HTTP document root directory windows www ywwwsub to system_Disk InduSof Dema_O1 Web Ke WEI Visualize your project in a remote station Run Internet Explorer and type for ex http 10 0 0 80 MainPage html use ViewPAC s IP ER hitp 10 0 0 80 MainPage html Microsoft Internet Explorer Ef BRO HE HRO RREA IAM HAH 4 Oe O hla Owe a C S B FE FED htp 10 0 0 80MeinPage html Sg gt he 87055W_DI1 1 87055W_DO1 1 87024W_AO_1 Interior 0 8 12 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Note Users must install ISSymbol control layer in a remote station at first time The procedure to install ISSymbol in each operation system is described below Windows NT 2K XP Copy the files ISSymbolReg exe and ISSymbol cab from the BIN sub folder of InduSoft Web Studio v6 0 and paste them in any directory of the Web Thin Client station Make sure that both files are stored in the same directory Run ISSymbolReg exe to register ISSymbol control in the Web Thin Client station Windows 9x ME Copy the files ISSymbolReg exe and ISSymbolA cab from the BIN sub folder of InduSoft Web Studio v6 0 and paste them in any directory of the Web Thin
132. 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 67 Q How to send email with one attached file by WinCon 8xx7 or iPAC 8447 8847 or UPAC 7186EG Q Why the W 8xx7 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 I 87017 s Current Input reading value become double or incorrect Q How to use ISaGRAF new Retain Variable What is its advantage Q Why my ISaGRAF project can not connect Modbus Slave device correctly Q Application sample Record Voltage Current input by uUPAC 7186EG every second for 1 to 10 minutes Then send this record file by email Ol NI O O O O1 ee ch O1 CO N s
133. i Elapsed Time SIE L Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 37 Chapter 5 Web HMI Basics Important Notice 1 VP 25W7 VP 23W 7 VP 25W6 and VP 23W6 supports only High profile l 8K and l 87K I O cards in its slot 0 2 Please refer to VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w english manu vp 25w 23w datasheet pdf 2 Please always set a fixed IP address to the VP 2xW 7 VP 2xW6 VH 2xW7 and VH 2xW6 No DHCP Recommend to use the NS 205 NS 208 Industrial Ethernet Switch for them 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 There are more than ten Web HMI examples in the VP 25W7 23W7 CD ROM Please refer to the 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
134. in the Numbering from and To field this example uses from 1 to 2 Enter the Symbol name for the output variables being declared and lastly set the attribute to Output Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 5 ISaGRAF EXAMPLE Global booleans a lolx File Edit Toole Option Help OOS HE KES we Booleans integersiReals Timers Messages FB instances Define wore Mame Attrib Addr Comment gick declaration KI input OO00 Input 1 inthe e7055 Y board A Ki o input D Input 2inthe 670554 board Quick declaration k2 CG Input 2mtbelLGU MEOOU0 input false tr i Attributes E Internal C Constant Other Retain omg finega MiReal engt 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 SaG RAF EXAMPLE Global boolean III x File Edit Tools Optons Help BOM CleKead Xs Booleans IntegersiReals Timers Messages FB instances Defined worda Mame Attrib Addr Comment K 1 Input 1 in the 57055 board KA Input 2 in the 57055 board OUTO HUTOI w00 otp false true Timer Variable 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
135. ink B12 For example ekk kkkkkkkkkkkkR kkkkkkkkkkkk if B12_blink 1 d B12 innerText Error font_B12 color red kR kkkkkkkkkkkk ekkkkkkkkkkkkk blink_step 1 un display your object here blink B12 For example k k kkkkkkkkkkkkk if B12_blink 1 B12 innerText font_B12 color red CHEK k kkkkkkkkkkkk kkkkkkkkkkkkxk setTimeout blink_obj blink_period Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 33 We need a function Check L21 to check the entered T1 value and post it to the ViewPAC 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 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkxk function Check_L21 d var val form_L21 L21 value if val gt 12000 val lt 4000 alert T1 s value should be in the range of 4000 to 12000 return Check form_L21 post value to the controller kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkxk 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 d B1 src img circle_blue boolean_val 1 jpg B2 src img cmd boolean_val 2 jpg B11 src img big_Tcircle_red b
136. ink_obj blink_period lt Setup a timer to handle the blinking action var B12_blink 0 _ init as O not blink var blink_step 0 1 to blink 0 no blink function blink ob if blink_step 1 blink_step 0 l e ee ye eis awe eee eee Blink step 1 if B12_blink 1 3 To display Error P in red color B12 innerText Error font_B12 color red else blink_step 1 Blink step 2 EE To display nothing in red color If B12_blink 1 B12 innerlext i font B12 color red o setTimeout blink_obj blink_period Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 5 11 function refresh_data dE if boolean_val 12 0 The action of the Text object B12 is DE defined here B12 innerText Ok If boolean_val 12 0 no blink font_B12 color blue However If boolean_val 12 1 blink B12_blink 0 i else B12 blink 1 TO WW The layout or location of the Text object B12 is lt body onLoad init gt 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 79px gt 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 lt div gt The decla
137. ize boolean operations Build binary decision diagrams BDD 8 4 2 1 Compiling Error Result In Different ISaGRAF Version Please refer to appendix H of this manual TIME TO COMPILE THE PROJECT 4 16 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 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 SaRAF EXAMPLEL Programs ll x File Make Project Tool Debug Options Help EECH Sta wk 2a Begin en No eror detected Do you want to exit the Code Generator now Continue lf errors are detected during the compilation process just click on the CONTINUE button to review the error messages Return to the Project Editor and correct the errors as outlined in the error message window TIME TO SIMULATE THE PROJECT If the compilation is Ok you may simulate the project on the PC to see how the program works without the controller To do that click on the Simulate icon _ SaGRAF EXAMPLE Programs BS 0 x Fie Make Project Tool Debug ptons Help D He Den suri m zz Begin LO1 Ladder Diagram Begin TE LD When you click on the Simulate icon three windows will appear The windows are the ISaGRAF Debugger the ISaGRAF Debu
138. k on the Project name on the right hand side then select Add Reference Solution Explorer pr Rebuild Deploy Clean Add d Add Eeference Add Web Reference 6 2 Getting Started VP 25W7 23W7 Ver 1 3 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 Browsew Recent ach QuickerNet qi all Component Name ay C lick on Browse to search QuickerNet dll o CustomMarshalers Microsoft VisualBasic System Data Goal System Data eqlse Mscorlib dll is here 50727 50727 H5 ALi TOSOTLITE 1 VG SR wee LI AU od Lottie Microsoft WindowsCE Forms 2 0 0 0 2000 C Program Files Microsoft NET gn UC iiProsram Files Microsoft ME Ti lem 2 00 0 2 0 0 0 Cs Program Files Microsoft WET System Data ffe ARAR Cs Program Files Microsoft NET S C Program Files Microsoft SOL CProgram Files Microsoft SOL System Drawing 2 00 0 2 0 0 0 CsProgram Files Microsoft WETS System wlessaging 2 0 0 0 2000 Ci Program Files Microsoft NE T S System Met KDA 20 0 0 2000 Creoeram Files Microsoft WET System Web Services 2 0 0 0 2 0 0 0 CProgram Files Microsoft NET S System Windows Forms 2 0 0 0 2000 C Program Files Microsoft WET yetem Windows Forms Dat 2 0 0 0 20 0 0 Ge al SAA SAAN
139. king To An HMI Interface Uevce A Ap 9 Linking To Other Modbus Devices nannnnnnnnennnennnnennnnnnnnnrnnnnrennrrnnrrnenresnrrneneeo Ap 10 Calibrate The Touch Monitor Of View Ap 11 Upgrade ViewPAC s ISaGRAF Driver to Newer Version sscesseseeseeesenees Ap 12 DIMENSION E Ap 16 Enable The Second Ethernet Port Of The VP 25W7 VP 23W7 VP 25W6 NEE EE EE Ee Ap 17 Using Expansion RS 232 485 422 uo ticccsssscsesseeeeseeeeseeeeeeeenseeesseeenseeeneeseneeeenees Ap 19 Slow Down ISaGRAF Driver s Speed ccccssccesseeeseeeeeeeseeeseeeseeonseneseeeaeeenees Ap 23 Setup More Modbus RTU Salve Ports ccccesseeceeseeseeseeseeneesenneesensessoaes Ap 24 Compiling Error Result In Different ISAGRAF Version ccccssseesseeeeseees Ap 25 Why my PC running ISaGRAF can not connect the ISaGRAF PAC correctly EE Ap 26 Control Buttons On The Front Panel ccsssccssseeeeseeeeeseeseeseesenseeseneees Ap 27 Enable the Screen Saver Of VIEWPAC ccssseceeeseeeeneeeeeneeeeeneeeeeneeeeaneenennens Ap 28 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Reference Guide ISaGRAF English User s Manual VP 25W7 23W7 CD napdos isagraf vp 25w7 23w 7 english manu user _manual_ 8xx pdf and user manual 1 8xx _appendix pdf http www icodas com products PAC i 8000 getting started manual htm ISaGRAF DAC FASE it VP 25W7 23W7 CD napdos isagraf vp 25w7 23w 7 chinese manu chi
140. le 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 vodmo19a is better Time_Gap is 250 ms Chapter 19 2 of the ISaGRAF User s Manual receive String coming from remote PC or controller via UDP IP using com_MRTWU to disable enable Modbus RTU slave port PWM I O demo Pulse Width Modulation minimum scale is 2ms for ViewPAC Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS UO Boards Used slot 1 87024W Slot 2 8017HW slot 0 87055W slot0 I 87055W slot0 I 87055W slot0 I 87055W slot 0 B055W OH Project Name vpdmo_23 vpdmo_ 24 vpdmo_ 26 vpdmo_2 vpdmo_ 28 vpdmo_ 29 vpdmo_ 30 vpdmo_ 31 vpdmo_ 32 vpdmo_ 33 vpdmo_ 36 vpdmo_3 vpdmo_ 38 vpdmo_ 39 vpdmo_ 41 vpdmo_ 42 vpdmo_43 vpdmo_44 vpdmo_45 vpdmo_46 vpdmo_48 vpdmo_ 50 D Send Time String to COM3 RS 232 every second by using COMOPEN COMSTR_W FAQ 59 Send string to COM3 when alarm 1 to 8 happens To move some pulse at x axis of I 8091W of slot 1 in VP 25W 7 Chapter 18 of ISaGRAF User s Manual Motion x Chapter 18 of the ISaGRAF User s Manual Motion x y Chapter 18 of the ISaGRAF User
141. may require to modify the lt body gt related charset at the beginning of this page lt To ensure no cache work gt lt head gt lt meta http equiv pragma content no cache gt This code is only for the Login htm lt html gt please do not apply to other pages For example the menu htm amp main htm amp other bim pages That s all the login htm need You can insert more images or text to it Only remember to keep its basic code 5 3 menu htm Note If you want to Know more about the multi page application there are two demos in the VP 25W7 23W7 CD napdos isagraf vp 25w 7 23w vp webhmi demo vphmi_05 amp vphmi_0O5a The vphmi_05 place its page menu on the left while vophmi_05a on the top The Menu bim 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 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 3 Z Welkome Microsoft Intemet Explorer Oj x BRO RHEE RAO RREA IAM HAU SLE 233 Que genet Gee 3 3 SGR F 4987 On the left AED S Natty 10 0 0 103login dl sl CBE ia Norton AntiVirus Logout This is a Web HMI sample page The width amp scrolling KI K2 can be modified Error width OU TOL OUTO2 T1 3000 ms g Horr fox Enter Hello Welcome to the Web HMI Sample l ty ARAE 7 ll x ARE RH
142. mm ID rz NJA 6 mmm IP_8 NYA E Am vip Ka al Es ip DL de w a H sl E Please re compile your ISaGRAF project and download it to the controller if you have modified the IO connection Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 5 21 Chapter 6 VB NET 2008 Program Running In ViewPAC Access To ISaGRAF Variables This chapter lists the procedure for creating the first demo program by Visual Studio NET 2008 development tool There is some sample programs in the VP 25W7 23W7 CD ROM VP 25W7 23W7 CD ROM napdos isagraf vp 25w7 23w 7 vb net 2008 demo wp_vb01 Digital IO demo with one I 87055W in slot 0 of the ViewPAC wp_vb02 Analog I O demo with one I 87024W in slot 1 and one I 8017HW in slot 2 wp_vb03 Read Write ISaGRAF internal integers timers and real variables No I O The related ISaGRAF demo project name are wp_vb01 pia wp _vb02 pia and wp_vb03 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 Dart Page Microsoft Visual Studio Edit Wiew Tools Test Window Help ER New Project Ctd L E E LN G e New Web Site ShifttAlttN Page I New File u Microsoft GT pen Proyect Cl ic a P Open Web Site ShiftrAlt O Visual Studio 2008 Ge cent Projects Get News from News from 2 Check
143. mp HTTP WebHM My Device A desktop Ed Internet Explorer L DN Microsoft WordPad 3 2 5 Step 5 Show Time Please run Internet Explorer Rev 6 0 or higher key in the IP address of your VP 25W7 For example 61 218 42 10 or http 61 218 42 10 E Login Microsoft Internet Explorer Gah Loi cat Chea Ga see ohare 3 mDr 26 S S amp T eee L 61 218 42 10 PBE js a Norton AntiVirus Gl Pow SORES e UE HT AEE SRR SARE v Hotmail Messenger ViewPAC The Web PAC Please click on Enter to login Enter zal TI E FIRS EES 3 14 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Chapter 4 Programming A Web HMI Example The VP 2xW7 is the abbreviation of the VP 25W7 and VP 23W 7 The VP 2xW 6 is the abbreviation of the VP 25W6 and VP 23W 6 The VH 2xW7 is the abbreviation of the VH 25W7 and VH 23W7 The VH 2xW6 is the abbreviation of the VH 25W6 and VH 23W6 Important Notice 1 VP 25W7 VP 23W7 VP 25W6 and VP 23W6 support only High profile I 8K and I 87K I O cards in its slot 0 to 2 Please refer to VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w english manu vp 25w 23w datasheet pdf 2 Please always set a fixed IP address to the VP 2xW 7 VP 2xW6 VH 2xW7 and VH 2xW6 No DHCP Recommend to use the NS 205 NS 208 Industrial Ethernet Switch for them This chapter shows you how to build a simple ISaGRAF project and its Web HMI pages Please refer
144. n 3702p I BJU EE A W main htm x 4 lt body gt div gt gt This is a Web HMI sample page K2 K1 Layer14 OK Layer15 OUTO1 OUTO2 T1 xxx ms layer1 HOFF BHAS este Ae Loyer d over 7 EZE D x Te Gs Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 29 Click on Save to save this page EI Microsoft FrontPage D Chun_DiUser_Menuel_WinCon8000 Meb_HMIWemo examplel tnan hia JE x ie se FF ERE TO AT K ac SL BEAD ERR SS OM an BHH D ES da alma IA AFl a if it Times New Roman 3 12 ph lu a Ee E main hf A This is a Web HNI sample page E layeri GHSS Bess Ae d HH 56K bps Ss 0 01 t G1 285 Ree EST g 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 SI Micros oft FrontPage DC hun Dieser Mama Wat on UUWeb HM H you want to know more about the Web HMI s see me ID mo eo TRO 4 source code please refer to Chapter 5 D g Maa alEa Ice IK SBS H Times New Roman Sl7 12 np ee ee ee P Di lt html gt blink step 1 lt title gt Your Title here lt title gt un display your object fi blink Ble For example 7 THAT EEE e if BlZ blink 1 lt head gt if BlZ innerText 1 SCRIPT LANGUAG E Javascript gt 7 TETAS TTT TAT eT E eT bd lt SCRIPT gt JavaScript code
145. n absolute width 61px height 48px z index 2 left 5px top 45px id layer13 gt lt img style 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 name form_B2 method post action main dll gt lt input name BEGIN type hidden gt lt input name B2 type hidden value 0 gt lt input name END type hidden gt lt form gt Please insert lt p gt amp nbsp lt div gt Style cursor hand name B2 onclick ON_OFF form_B2 form_B2 B2 boolean_vall 2 just after the lt img tag Please insert lt form name form_B2 method post action main dll gt lt input name BEGIN type hidden gt lt input name B2 type hidden value 0 gt lt input name END type hidden gt lt form gt T1 Area Layer14 to Layer17 lt div style position absolute width 181px height 90px z index 6 left 374px top 162px id layer14 gt lt div style position absolute width 119px height 28px z index 1 left 4px top 7px id layer15 gt T1 lt 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 I1 gt xxx ms lt b gt lt div gt lt div style position absolute width 98px height 28px z index 2 left 4px top 45px id layer16 gt lt form name form_L21 method post action main dll gt
146. n OFF if flag obj value 0 if GetUserlD form_obj true form_obj submit function refresh_data Display the current boolean image In this example 0 img big_Tcircle_redQ jpg 1 mg bg Tcircle_red1 jpg B2 src img big_ IT circle_red boolean_val 2 jpg z 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 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 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 15 lt input type button value ON style cursor hand onClick ON_ form_B2 A button to call ON _ First parameter is the name of the form Here is form_B2 form_B2 B2 gt The second is the name of the lt input gt inside the form Here is form _B2 B2 lt form name form_B2 method post action main dll gt lt input name BEGIN type hidden value gt lt input name B2 type hidden value 1 gt lt input name END type hidden value gt lt form gt Name of lt input gt inside the form Here is B2 Because it is inside form B2 then must use the name of form B2 B2 to identify it lt
147. n be one of the COM2 or COM3 which can be set on the ViewPAC s monitor refer to the appendix A 2 2 User may enable 2nd 3rd 4th or 5th Modbus RTU slave port in COM5 COM6 COM7 or COMBS No support other COM port number 3 Before using this function in COM5 to 8 please make sure COM5 COM6 COM7 COM8 do exist and well configured refer to the appendix E 4 Via 2nd 3rd 4th or 5th Modbus RTU slave port user may use ISaGRAF to Debug Set_val to the controller however user can not Stop Download Update the ISaGRAF program 5 To Debug Set_val Stop Download Update the ISaGRAF program please use Ethernet port or the first Modbus RTU slave port that is COM2 or COMS if enabled COM5 to COM8 are not for ISaGRAF to Stop Download Debug How to setup Please connect Rtu_slav in the IsaGRAF IO connection window Re compile the project and download to the ViewPAC via Ethernet or first Modbus RTU port if it is enabled BER File Make Project Tools Debug Options Help gem ne she an Ree om SaGRAEF TE I O connection Ioj x File Edit Tools Options Help l erent FA e _ GI SC x w Dn Slave Port 5 Gem Baud Don 19200 mbus_asc Modbus ASCII master Ok sama reserved 0 mmicon Connect MMICOM by Coma or Corr EE mu Rtu Slave Port3 0 modem_ ps Set Ge of Com Modem GE Eee ote lacie ttu slay end 5th Modbus ATU slave port el ma reserved 0 256 51
148. n input variables K1 amp K2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 15 4 2 Compiling amp Simulating The Example Project For ANY AND EVERY ISaGRAF program to work properly with any of the l 7188EG 7188XG uPAC 7186EG 8417 8817 8437 8837 iPAC 8xx7 W 8xx7 VP 2xW7 VH 2xW7 and WinPAC 8xx7 controller systems it is the responsibility of the programmer to properly select the correct Compiler Options You MUST select the ISA86M TIC Code For Intel option as described below To begin the compilation process first click on the MAKE option from the main menu bar and then click on Compiler Options as shown below BER File Make Project Tools Debug Options Help Make application ic m 2 oe Beqir verify Touch Application run time Options Begir Resources 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 a xj Targets gt SIMULATE Workbench Simulator Select ISA68M TIC code for Motorola WW 29 gt ISA86M TIC code for Intel Unselect DEE EAA jw Use embedded SFC engine sf AKE SURE Upload East THESE BOXES em jw Run two optimizer passes peo CHECKED yaluate constant expressio press unused labels Suggest you do not check on these items to make better code og Cancel Default M ptim
149. n of Text object L11 is defined lt body gt here by the lt b tag and id L21 and lt b gt tag the initial value of this L11 is xxx 5 4 2 4 Displaying Dynamic String Data If user want to display the dynamic string value max length is 255 the below code can be used function refresh_data The action of the Text object S31 is defined here 31 innerText string_val 31 The layout or location of the Text object S31 is lt body onLoad init gt 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 79px gt lt b id S31 gt empty lt b gt lt div gt Ba The declaration of Text object 831 is defined lt body gt here by the 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 vohmi_02 and vphmi_05 section 3 1 Some 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 5 10 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS The below code can do this job WW The blinking period unit is ms var blink_period 500 setTimeout bl
150. nese_user_manual_i_ 8xx pdf and chinese_user_manual_i_ 8xx _appendix pdf http www icpdas com products PAC i 8000 getting started manual bim Industrial Ethernet Switch NS 205 NS 208 http Awww icodas com products Switch switch Jei bim Model NS 205 _Model NS 208 gt Power Supply http Awww icodas com products Accessories power supply power et bim DP 660 24V 2 5A 5V 0 5 A power supply DIN Rail mounting DP 665 24V 2 5A 5V 0 5 A power supply DP 1200 24 V 5 A power supply Se Model DP 660 Model DP 1200 Model DP 665 FAQ www icpdas com gt FAQ gt Software gt ISaGRAF for Frequently Asked Questions http www icodas com fag isagraf htm Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS UO Modules Selection Guide for VP 25W7 VP 23W7 VP 25W6 VP 23W6 The VP 25W7 VP 23W7 VP 25W6 VP 23W6 support only 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 w icpdas com v K r EE Ma HORTA ote Ur Le wre itt L SQ ICP DAS PACT A A o e Rm KE Dm vontact us site map Search Search e w Home Catalon gt Subscribe Industrial Zep Fiber Switch mepy Ethernet Switch 4 Ethene Rea ameving Satch Programmable Automation Controller PA
151. ng Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 1 A 2 Modify The NET ID amp Modbus RTU Port Setting User may set VP 25W7 VP 23W 7 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 ViewPAC once after the modification to make the new setting work F My Device isglw35 ViewPA 2owW i esw ISaGRAF Driver cE Ba ee conf turation Slave Number F i Modbus RTU Slave Pork hone Ed Ed Internet isaviewPAL Baud Rate Eer JN 5 1 Explorer t Project G Current Application fwpdmo_O4 ISA11 4444 ISA12 1124 Microsoft WordPad Elapsed Time bh 01 58 Gontguration Setting Configuration Settirg Slave Modbus RTU Slave Pork Baud Date Ap 2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS A 3 Setting The IP Address For The ViewPAC Please run Start Setting Control Panel on the ViewPAC then double click on Network and Dial up Connections Then click on CANT Set your ViewPAC s IP address and its Subnet Mask Please always set as Fixed IP for ISaGRAF application No DHCP Note Please refer to the Appendix D for enabling the 2 Ethernet port of VP 2xW7 and VP 2xW6 LANL Fast Ethernet Adapter Settings P aches Ap IF address can
152. ng the project downloading progress O x ISaGRAF SIMPLELD Debugger i Fie Control Tools Options Help Qpi EH AO 23 39 37 0 application stopped 4 22 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS When the example project has successfully completed the downloading process to the ViewPAC controller system the following two windows will appear D taGRAF ERAMPLEI Debugger o _lolx File Contol Toole Optons Help th G Ae RUN allowed 0 current maximum 4 overnlow 0 43 1003 0 application stopped saGR AF EXAMPLE Debug programe To terminate the communication File Project Tools Options Help between your PC amp the controller B He op L please click on X Begin LOY Ladder Diagram RUNNING THE EXAMPLE LD PROGRAM You can observe the real time I O status from several ISaGRAF windows while you are running the example 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 I 87055W I O board to see what happens about K1 amp K2 IpaGRaF EX iM Debug program You may also click on Dictionary to ow saGtRAF ESAMPLEL IO connection o am i_ 67055 a mnj ref 870554 B DI ne S aput 1 inthe l 6077 board
153. of ICP DAS add on functions amp function blocks A SaGR AF Project Management 3 SE Ioj x File Edit Project Toole Optons Help Ey Gl Cy Ge ti 12 8 User s evide Language reference PR creation m wdemo UI Wincon demo m wdemo 02 incon demol Ahont et To output at EY SDAT ON SYSTIM_R Techuical notes E x Project 2003 12 IO boards Funchons Function blacks f sample LL functions t hteger analog addition C function blocks g ah Conversion functions GG i Ie i am fo rread float value from array array read byte value from array aray wowe bite value to ara far F rread float value from array read float value 32 bit f ary T wowe float value bo array an P read long value from array an P Wi wie long value to array any wi read short value from array ary ow wwie short value to array BLD VY Convert BCD to decimal value binZeng 2 s Complement to engin format bit_wd transter 16 bit to 1 word chsample read comar carte byte to COM port camar wowrite byte to COM port Comal pat wie mtegerz to COM port camay Wat wt skort int to COM port comclearopen COM port comelose close LOM port comoper open COM port T pugin ary f r Target W 8037 833 call NUM Integer whit ADR Integer return 9 2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS On line help of ICP DAS add
154. olated Digital Input Module amp 8 ch Isolated Open Collector Digital Output l 8054W Module Non isolated 8 ch Digital Logic Input Module amp 8 ch Open Collector Digital 8055W Output Module l 8056W 16 ch Non isolated Open Collector Output Module l 8057W 16 ch Isolated Open Collector Output Module l 8058W l 8060W 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 2 A 30 V 4 ch Diff Isolated digital input amp 4 ch Relay output module AC 0 6 A 125 V 8063W 0 3 A 250 V 8 ch Power Relay Output Module AC 5 A 250 V DC 5A 30V 4 ch Form A 5 A 250 Vac 28 Voc amp 4 ch Form C 5 A NO 3 A NC 277 Vac 30 Vpc Relay Output Module 8 ch PhotoMOS Relay Output Module Max AC DC 1 A 60 V 8064W B068W 3069W l 8K Counter Frequency Modules Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 8084W 4 8 ch Counter Frequency Module Isolated or TTL level Can measure 4 ch Encoder without Z index 8088W 8 ch PWM Output and 8 ch isolated DI Module software support 1 Hz 100 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 l 8090W 3 axis Encoder Module I 8091W 2 axis Stepping Servo Motor Control Card without encoder input l 8K Communication Modules
155. olkit More at Caen Open SoftLogic Languages e HMI Easy amp Useful www icpdas com gt a FAQ gt Software gt ISaGRAF ISaGRAF Ver 3 FAQ 115 WP 8x47 8x37 XP 8xx7 CE6 VP 25W7 23W7 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 1 1 3 Redundant Communication System More at www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 119 RS 485 or Ethernet redundant communication mechanism applications For XP 8xx7 CE6 WP 8xx7 amp VP 2xW7 series ms a JA Ns 208 Central Control PAC WP 8x47 WP 8x47 Local PAC 1 L gal PAC n 1 4 New Hot Swap and Redundant System Please plug one l 8135W and enable the 2 Ethernet port of VP 25W7 23W7 lf one Ethernet cable of VP 25W7 23W7 is broken or damaged the other one will still work f one controller is damage the other one will take over the control of the RS 485 I O PC HMI can connect to this redundant system by one or two active IP More at www icodas com gt FAQ gt Software gt ISaGRAF Ver 3 English 093 New VP 2xW7 Hot Swap Redundant System pcr U te um Ethernet i NS 205 208 COM2 VP 25w7 23W7 1 8135W Ge An D D 1 8135W RU 87P4 RU 87P8 i H E a UI Hot Swap RU 87P4 8 1 87K I O High Profile cards COM2 1 2 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 1 5 Modbus Master TCP IP Each VP 2
156. om products PAC i 8000 getting started manual bim English napdos isagraf vp 25w7 23w english manu User_Manual_ 8xx pdf and User Manual 8xx 7_Appendix pdf ISaGRAF FAQ www icodas com gt FAQ gt Software gt ISaGRAF V 3 English http www icodas com fag isagrat htm Example lists Project Name Description UO Boards Used Bebe A simple Soft GRAF HMI demo gr sofgr_01 sofgr_08 FAQ 131 sofgr_ 02 A Soft GRAF demo which use 18 HMI objects i sofar 03 A Soft GRAF demo Display 10 temperature values and 8 gr D I values and control 8 D O Data amount less than 255 A Soft GRAF demo Read process parameters from a file sofgr_04 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 file sofgr_05 or store them Data format is Integer data only handle one file Data amount less than 255 A Soft GRAF demo Read process parameters from a file sofgr_06 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 sofgr_07 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 sofgr_08 or store them Data format is Float data handle several files Data amount 1000 can be more A simple Web HMI example slot 0 87055W wp_vb01 VB NET 2008 demo 01 for VP 2xW7
157. on to read them For example user may write a ST program as below to read the State of F1 F2 EA FA F5 and FO buttons F1_ btn F2_ btn F6 btn are declared as Boolean Internal variables The following EEP_B_R returns True if the related button is pressed The following EEP_B_F returns False if the related button is released True means pressed False means released F1_btn EEP_B BI 16 A00F1 F2 btn EEP_B BI 16 A00F2 F3 btn EEP_B BI 16 A00F3 F4_btn EEP_B_R 16 A00F4 F5 btn EEP_B_R 16 A00F5 F6_btn EEP_B_R 16 A00F6 The EEP_B_R ADR_ Y definition for ViewPAC s buttons ADR 16 A00F1 F1 16 A00F4 F4 16 A00F2 F2 16 A00F5 F5 16 A00F3 F3 16 A00F6 F6 16 A0030 0 16 A0031 1 16 A0032 2 16 A0033 3 16 A0034 4 16 A0035 5 16 A0036 6 16 A0037 7 16 A0038 8 16 A0039 9 16 A006E 16 A0008 BackSpace 16 A0025 Left 16 A0027 Right 16 A000D Enter 16 A0010 Shift 16 A0026 Up 16 A0028 Down Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 27 Appendix K Enable the Screen Saver of ViewPAC Please set the following two items to enable the screen saver of VP 25W7 VP 23W 7 Inthe Control Panel gt Power gt Schemes please select Power Scheme as AC power and then set both User Idle and S
158. on I O boards amp I O complex equipments ISaGRAF WDEMO_03 Programs 0 x Fie Make Project Tool Debug Options Help A HSM Oem ste Ow SES Begin HA get time SYSDAT_R SYSNET W SYSTIM_R SYSTIME WY cal time calculate time_vq WO connection FH SOO control output ow SaGRAF WDEMO_03 IO connection LU x File Edit Toole Optons Help Begin cor i Pe D EA e Technical note a cu de p a ao bus UU Fa remot ro h eleo Me eeke On line help of ISaGRAF languages A SaGEAF Project Management RE 3 Ioj x Fie Edit Project Tools Optone Help pe Dm me vss nut mm creation E Language reference BAD RHE SES HIHA AIC iza ISaGRAF u Language reference E Project architecture Common objects BO language LD language ST langua L language S standard operators function blacks and functions Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 3 9 2 Installing The ISaGRAF Programming Examples The ISaGRAF programming examples are installed on the same CD ROM that you receive with the VP 2xW7 VH 2xW7 You will find the programming example files in the VP 25W7 23W7 Demo Example files CD ROM napdos isagraf vp 25w7 23w 7 demo Web http www icpdas com products PAC i 8000 isagraf_demo list htm FTP fto fto icodas com pub cd vp 25w 23w napdos isagraf vo 25w 23w demo ISaGRAF User s Manual http Awww icopdas c
159. oolean_val 11 jog if boolean_val 12 0 B12 innerText Ok font_B12 color blue B12_blink 0 else B12 blink 1 T1 innerText timer_val 21 ms 4 34 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Now we have finished all the code Please save it EI Microsoft FrontPage D Chun_Diser_Manual_WinCon8000iMeb_Hh TEE an BAH m6 To refresh displayed data this function is called by IE about every 1 5 3 IE function refresh dataj Bl sre img circle blue boolean val l rt ing E Bea 3re ing cmud boolean valf2 jpg Bll sre ing big Teircle red boolean val 1l jpg if boolean val l2 0 Bl2 innerText 0k font Bl2 color blue Blz_blink 0 Gest r E1251 4h fase Bal RI Microsoft FrontPage DAChun_D User_Manual_WinCon8000 Web_HMIdemo exemple nein hin E 0 x EXO RHE REAO MAD BAO LA Si BAD HERR RMD AH D S HwAAIB 46N VisABAaAIIYX9 C SBSEBSRAIL ge LL A A J 5 J Je z u E This is a Web HMI sample page K1 K2 8 OUTOL OUTO2 Tl xxx ms g Horr XXX Enter H Daer Gast Giese Hello Welcome to the Web HMI Sample 677 x334 Aix Bal 4 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 b
160. plorer 5 5 2 Switch One Page To One Another Page Please take a look at the menu htm of the vphmi 05 demo as below The goto_R_page function can be used for switching to other page lt top _or_left 0 scrolling 0 width 110 resize 1 gt lt html gt lt head gt lt title gt Title 1 lt title gt lt meta hitp equiv Content Type content text html charset big5 gt lt SCRIPT LANGUAGE JavaScript src msg wincon js gt lt SCRIPT gt lt SCRIPT LANGUAGE JavaScript gt function start A_11 5 18 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS function refresh_data if run_at_pc 1 return if simulate at the PC just return lt SCRIPT gt lt head gt lt body onload start1 gt lt Logout button gt lt form name form_logout method post action login dll gt lt input style cursor hand name CMD type submit value Logout onClick return logout this form gt lt form gt br pers cursor hand will display the mouse arrow as a 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 H lt A gt lt br gt lt br gt Switch page to main htm lt Goto kitchen htm gt lt A style cursor hand onClick goto_R_page kitchen htm gt Kitchen lt A gt lt br gt lt br gt lt br gt Switch page to kitchen htm
161. pplication to access to the ISaGRAF variables running at the same ViewPAC 25W 7 or VP 23W7 VH 25W7 VH 23W7 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 VP 25W7 23W7 CD ROM napdos isagraf vp 25w 23w evc lib The DLL at run time is the Oucker d which is in ViewPAC e System_Disk isagraf Please copy the execution file after successfully compilation to the ViewPAC 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 Boolean 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 iIDType 0 type is word 1 data type is float 2 data type is long use long for Timer value in ISaGRAF unit is ms for ex float float val long word_val long_val long temp_val set word_val 32768 to 32767 to ISaGRAF variable with network address 1 word val 20000 temp_val long amp word_ val UserSetReg 1 temp_val 0
162. 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 download monitor amp debug the controller system Item B is free and it is burned inside the CD ROM which is delivered with the VP 2xW7 and VH 2xW7 controllers 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 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 2 1 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 Cancel SaGRAF workbench select the language ISaGRAF Documentation Recommend to use English Ehe because this manual uses English version Language istas Ai Install cl 1990 2007 ICS Triples 15 aGARAF ISaGRAF is a trademark of ICS TRI
163. ration of Text object B12 is defined here by the lt b tag and id B12 and lt b gt tag the initial value of this B2 is OK lt body gt 5 4 2 6 Displaying Float Value With Fixed Digit Number Behind The Symbol Demo example vphmi_06 and vphmi_07 section 3 1 The float_str1 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 while float_str1 1 234567 2 return 1 23 ce 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 5 12 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 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 ViewPAC 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 i method should be post name of this form action should be main dll
164. receiver without attached file FAQ 67 71 72 76 or 77 For WP 8xx7 VP 2xW7 only Send email to one receiver with one attached file FAQ 67 71 72 76 or 77 station 1001 Time synchronization of many controllers via Ethernet station 1002 Time synchronization of many controllers via Ethernet VP 2xW7 Record temperature per minute to a file Then send it by email per day FAQ 67 71 72 76 or 77 VP 2xwW7 Same as wdmo 65a but add time synchronization and state report to PC FAQ 67 71 72 76 or 77 Record 1 to 4 Ch 18017HW voltage per 20ms then send this record file by Email VP 25W7 COM2 connects l 7530 CANopen ID 1 device 8DI 8DO 4AO 8Al FAQ 86 Similar as wdmo_71A but connecting two l 7530 One is at COM one is at COM6 VP 25W7 COM2 7530 CAN device to get string with Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS UO Boards Used slot 2 87018z slot 2 87018z slot 1 B024W slot 2 8017HW KN Sall float or integer data inside Similar as wdmo_71c but connecting two l 7530 One is at vpdmo 1d GOMS one is at COM6 VP 25W7 COM5 l 7530 CANopen device vpdmo 1e COM6 1 7530 CAN device vpdmo72a a redundant system with RU 87P4 I 87K I O RDN new vpdmo 72c New VP 2xW7 redundant system with I 8KE8 MTCP I O RDN_new vpdmo 4a get average value of one REAL value FAQ 99 vpdmo74b get average value of
165. ries according to the Register Read and write equipment float point values using two consecutive Holding Registers 32 bit Integer value Holding Varies according to the Register Read and write 32 bit DW DW 2 equipment integer values using two consecutive Holding Registers DRV DRV DRV DRV Descripfon D o ao mema Tag Name mo ao meio D Z when Idle Tag Change Address in nn When finished all setting press Ctrl F4 to close all inside windows and save all files Project Setting Select Project gt Settings to open Project Settings window Click the tab of Runtime Desktop In the Startup screen edit box fill in MainPage scr then click OR to close this window Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 8 9 File Edit View Insert Project Tools Window Help iM Titlebar Application Name Ml Minimize Box Active area indication Mi Maximize Boy Show Object Edge Mi Close Box O Change Mouse Cursor Mi Start Maximized M Mouse Cursor M Menu Options O Virtual Keyboard i Resize Border Default 7 mi status Line Scale Dos F 3 E ality O Enable ToolTips Auto Screen Scaling MAIN DRIVER SHEET Gy OPC TCP IP Web Thin Clients select Project gt Settings to open Project Settings window On the Web tab select Data Server IP Address then type VP 2xW6 s correct IP ad
166. rk 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 vphmi_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 vphmi 05 demo What is a Level2 page Only users login with the Middle or High priority can get access to it To access to the Level3 page users have to login as a High priority Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 9 17 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 ViewPAC 25W7 2aW7 ISaGRAF Driver OK Setting Web Security Settings OK yet desktop FS wb e l jority Low 4 Disable Telnet Serveice F H User Name evel deck Savile wep a To set up advanced security d Password Xplorer Settings Ws Priority Middle H User Mame evaz Password Edit Priority High User Name Jevels Password EE Note If Enable Account Security is not check any user can easily get access to your VP 2xW7 VP 2xW6 VH 2xW7 VH 2xW6 through the Internet Ex
167. roject manager And then check on run in separate memory space option in the shortcut property Projects Properties WS Pi x General Shortcut Security a Projects Ed Target type Application Target location EXE Target IY Runin separate memor space Run as different user ee Startin CAISAWIN exe Shortcut key None Rur Normal window T Comment Find Target Change Icon 2 4 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 2 2 Step 2 Installing The ICP DAS Utilities For ISaGRAF The ICP DAS Utilities For ISaGRAF consists of 3 major items 1 O libraries for all ICP DAS ISaGRAF controllers Modem_Link utility Auto scan I O utility Note The ISaGRAF Workbench software program must be installed before attempting to install the ICP DAS Utilities for ISaGRAF If you have not already installed the ISaGRAF Workbench program please refer to step 1 before continuing There is a CD ROM supplied with each of the ViewPAC ISaGRAF controllers with the ICP DAS Utilities for ISaGRAF Please insert the CD ROM into your CD ROM drive Then run CD ROM napdos isagraf setup exe Follow the steps to install it SaGRAFP Utilities InstallShield Wizard Welcome to the InstallShield Wizard for IS aGRAF Utilities A The InstallShield Wizard will install IG aGRAF Utilities on your computer To continue click Ment Ins stalls eld
168. s 2 2 2 1 2 Important Notice For Window NT Ueere 2 3 2 1 3 Important Notice For Window 2000 User 2 3 2 2 Step 2 Installing The ICP DAS Utilities For ISaGRAF ec eeeceeeeeeeeeeeeeees 2 5 2 3 Step 3 Installing The Web Page dor 2 6 2 4 Working eLogger HMI with ISAGRAF Goitl og 2 6 2 5 Working Soft GRAF HMI with ISAGRAF SoftLlogic cccceccccseeeeeeeeeeeeeeesaeeeesenes 2 7 Chapter3 Setting Up A Web HMI DemMmO ccsccceeesseeeeneeeeenseeeenseseeseeeeeneesenneesensessensens 3 9 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 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 2 1 4 3 4 4 4 4 1 4 4 2 4 4 3 4 4 4 Chapter 5 5 1 6 4 1 6 4 2 Chapter 7 Chapter 8 Chapter 9 9 1 9 2 9 3 Web Demo st 3 9 steps To Set Up A Web HMI DeM0 2 2 5 0 5 c0cccccccccecccscetecccueecseeeesedescsedetedaeeens 3 10 Step 1 Setup The Hardware 3 10 step 2 Setting The Web Options Saeron 3 10 step 3 Download ISAGRAF Project esSSEEEKEEEERESEEEEEEEEEREREEN SEENEN ESENESEN EEN 3 11 Step 4 Download Web Pages TofhevViewb t 3 14 DIED o SMOW TIME EE 3 14 Programming A Web HMI Example ccccscsccessecessecesseseeseeenseeeasenenseeseeeenees 4 1 Writing A Simple ISaGRAF Prora E 4 1 Open ISaGRAF Project Management 4 2 Creating An ISaGRAF Users EE c2iniseenn2ecuesne dentine 2eciears E 4 3 Greatin
169. s COM3 refer to Appendix A 2 or it can only be download via Ethernet PC 9 Pin DSUB VP 25W7 23W7 COM3 RS 232 2 RxD 2 RxD 3 TxD 3 TxD 5 GND 5 GND 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 VP 25W7 VP 23W7 please refer to section 3 2 3 1 Click on the Link Setup icon in the ISaGRAF Programs window When you click on the Link Setup icon the following window will appear Please set the proper value ekip EXAMPLEL Programs E 0 x File Make Project Tools Debug Optons Help BD aam Den zt mk 3 zx Begin mef LD Net ID of the ViewPAC Default is 1 Target Slave Number Communication port SI DC DLC link parameters Begin OK dili Click on it to set COMM other parameter Baudrate Parity OF Format COMM s parameter default is 19200 N Flow control E 8 1 No flow control Sa 4 20 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS The RS 232 communication parameters for the target VP 25W7 controller MUST be set to the same serial communication parameters for the development PC For VP 25W7 23W7 controllers serial 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
170. same controller 502 is the Modbus TCP IP port No the last 1 is the Net ID of the ViewPAC MOTCPO01 _DRY Description DI Increase priority Read Trigger Enable Read when Idle Read Completed Read Status l r Write Trigger Eable Write on Tag Change Write Completed Write Status Station Header 127 0 0 1 502 1 1X 0 A Tag Name Address Div Add 1 DI 1 0 is for reading Boolean data 0 is for writing Boolean data 0 is for reading short integer data 16 bit integer Word 32768 to 32 67 O is for writing short integer data 16 bit integer Word 32768 to 32 67 DW 0 is for reading amp writing long integer 32 bit integer Double Word FP OQ is for reading amp writing floating point data 82 bit REAL For more details please refer form as below 8 8 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Type Syntax Addresses per Worksheet Coil Status Read and write events Varies according to the using Modbus instructions 01 05 equipment and 15 Varies according to the Input Status Read events using 1X 1X 5 equipment Modbus instructions 02 Varies according to the Input Register Read events using 3 4 3 l equipment Modbus instruction 04 OX 0X 1 X 3X Varies accordina to the Holding Register Read and write 4X 4X5 J events using Modbus instructions equipment 03 06 16 FP 1 Floating point value Holding Ep Va
171. t cards will be listed on the left The original COM port setting is listed on the right Then 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 ViewPAC will re boot itself once ViewPAG Utility 2 0 1 0 Ale Holp Configuration Ethernet Setting ETP Setting System Information Auto Execution Multi serial port wizard Syst Slot 0 8112 Mismatch J Siati P Slot 1 8144 i the original COM ports setting Slot 2 Mismatch Slot 3 Ee SS Mismatch Slot 4 Current found cards KE a Slot 5 Mismatch Slot l Install driver Slot 7 Slot Ra Step2 Go b File gt Save and Reboot to enable criver Of SCan RBTeS D ViewPAG Utility 2 0 0 0 d SUR Help Configuration Save and Reboot Reboot without Go 4 Restore Default Settngs Eat Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Ap 19 After the configuration is succeed the COM port No for the expansion board is COM5 to COM16 in the ISaGRAF definition The relation between ViewPAC e COM setting and the ISaGRAF definition is as the following ViewPAC ISaGRAF ViewPAC ISaGRAF Example of slot 0 MSA1 COM5 MSA7 COM11 l 8112iW and slot 1 MSA2 COM6 MSA8 COM12 BS MSA3 COM7 MSB1 COM13 S won MSA4 COM8 MSB2 COM14 PE MSA5 COM9 MSB3 COM15 a MSA6 COM10 MSB4 COM16 gt ie An Si ge MI
172. t demo program by Visual Studio NET 2008 development tool There is some sample programs in the VP 25W7 23W7 CD ROM VP 25W7 23W7 CD ROM napdos isagraf vp 25w7 23w7 CSharp net 2008 demo wp_CSharp01 Digital UO demo with one I 87055W in slot 0 of the ViewPAC wp_CSharp02 Analog I O demo with one 87024W in slot 1 and one l 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 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 B Start Page Microsoft Visual Studio Edit Miew Tools Test Window Help ehiftrAltt h et New Web Site 3 Mew File ae Open Web site Shift Alt O J Open File Projects Get News from eam 2 Check the Smart Device on the left then selecting the NEI frame work 2 0 and Smart Device Project Then entering a proper project name and the last click on OK Hew Project x Project types Tenghir NET Framework 2 0 a Visual C Visual Studio installed templates Windows Prowct b Microsoft e Open Project Colt j Visual Studio 2008 _ My Templates Other Languages a Other Project Types Test Popit i Search Onbir Templates
173. tarted VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 9 Now we have one program inside this project Please double click on the LD1 to get into it ISaGRAF EXAMPLE Programs 0 x File Make Project Tools Debug Options Help D HSM Oat ZX ow zee Begin Begin Li 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 aie SaGRAF EXAMPLELLD1 Quick LD Program ioj x File Edit Ioolk Options Help Undo cohZ g agaj F240 Cut Cheez IO Fs a Fo Fi E Copy Cre a Paste Etl Paste special Delete Del Ae Be os set sanboltext Enter mT 8 sal FE 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 ig SaGRAF EXAMPLELLD1 Quick LD Program E 15 x File Edit Tools Options Help be Yara m xb d Pr Qqu e F2 JEW RG IE Fa GH FS 40H Fe HE F7 JH FS Kl Fa ti 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 4 10 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS ae SaGR AF EXAMPLELLD Quick LD Pro
174. thernet Setting FTF Setting System Information Aut 1 Doc uments LANI 8135 A Slot hb Ki Mac Address 9 OPSET w oat spe A amp dign IP address 6 FP Address 197 168 1 180 Mask 255 255 255 Dawa 0 0 0 0 DAS Server l U d Save Save and Reboot Reboot Without SCH Restore Default Settings Exit 3 Then run Network and Dial up Connections as the figure in the next page to set 8135 Ethernet port to a fixed IP address ISaGRAF PAC can use only fixed IP no DHCP Then remember to run ViewPAC utility to Save and Reboot once to save the settings Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS Programs sde Favorites Documents BF Control Panel Ki Network and Dial up Connections Taskbar and Start Menu E Settings amp Help F RUN pore N File Edit View Advanced FOE E SJ Si FF Lia Lala Make Mew LAMI 5135 Connection N 8135 Fast Ethernet Adapter Settings fok IP Address Name Servers E An ID address can be Obtain an IP address via DHCP automatically assigned to this computer If your network does not automatically assign IF addresses ask your network 192 163 1 160 administrator for an address Subnet Mask 555 255 255 0 and then type it in the space provided Default Gateway Help Configuratior Save Save and Reboot Reboot Without Sav Restore Default Settin
175. ting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 10 3 Compiling an Application Program When you have finished writing a program you can build an application by the following steps fy project Microsoft Visual Studio File Edit View Project Build Debug D 1 Remember to save at any time for safety d g a H E 4 Se GE Formi 2 Then compile Build the project The result is listed in the Error List windows at the bottom All Device C ontrols wo b Potnter 129 Eindin gra ten fy project Microsoft Visual Studio File Edit View Project Build Debug Data Form ale amp a All Device Controls oi bk Potnter MT BindingSource id El ay Buld project Febuild preyect Deploy project Clean project Build 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 ViewPAC 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 the Micro_SD path if there is three plus one file in it The project1 exe QuickerNet dll Quicker dll and Mscorlib dill The QuickerNet dll Quicker dll and Mscorlib dll can be copied from t
176. to CD ROM napdos isagraf vp 25w7 23w 7 english manu user_manual_i 8xx pdf Section 2 1 for detailed ISaGRAF programming basics If user would like to program ViewPAC by using both ISaGRAF amp EVC or VS NET it is also possible Please refer to Chapter 6 Chapter 7 Chapter 10 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 VP 25W7 controller with one I 87055W UO board in its slot 0 to make it work If you haven t installed ISaGRAF amp ICP DAS Utilities for ISaGRAF please go back to read chapter 2 This example contains one Ladder program This demo program resides at the ViewPAC ISaGRAF CD ROM napdos isagraf vp 25w7 23w demo example1 pia A ISsGRAF Project Management E Name of your project group Fie Edit Project Tools Options Help Be Dn re to bres 2 fi creation o SEN Project name example1 Pm touti Pm UU link to T506 j x m te DECHE HE Pro eran kM iia sten els ite Onion ah Author Be S Oem S Mel om aae Date o ies Begin mef LD DDT Deier ee EE Begin Li Ladder Diagram Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 4 1 Variables declaration Name Type Attribute E ae OUTO1 Boolean Output Output 1 in the 87055W Modbus network addr l OUT02 Boolean Output Output 2 in the 1 87055W Modbus network addr ki
177. ulate the stress of constructions 092 Q Setting uUPAC 7186EG s and I 7188EG XG s COM3 or COM2 as Modbus RTU Slave port 093 Q New Hot Swap and Redundant solution for the WinCon 8347 8747 094 IQ 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 by an USB pen drive without Mouse and VGA 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 2 100 JQ How to use l 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 101 Modbus RTU ASCII devices by using MBUS_XR or MBUS_XR1 function block for WP 8xx7 8xx6 and VP 25W7 23W 7 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 I 8088W In WP 8xx7 VP 25W7 23W7 And iP 8xx7 PAC 106 Q How to display the frequency trend curve by r
178. unning ISaGRAF and C net 2008 program in the WinPAC 8xx7 plus 8084W 107 Q How to do auto time synchronization and measure the local Longitude and Latitude 097 by using the i 87211W GPS I O module in ISaGRAF PAC 108 IQ How to display the temperature trend curve by running ISaGRAF and C ner 2008 14 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS co 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 128 129 130 131 132 English ISaGRAF Ver 3 FAQ program in the WinPAC 8xx7 plus i 87018z Q How to adjust the system time of some ISaGRAF PACs via Ebus by using ISaGRAF PAC and I 87211w Q ZigBee Wireless Application How to control remote I O and acquire data Q How to use the GIM 201 RS232 to send a short message in user s local language 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 IP Protocol 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 XP 8xx7 CE6 PAC the document version is 1 03 released on Jul 15 2010 Q How to enable the second to fifth Modbus RTU slave port of the WP 8xx7 and VP 2xW7 without modifying the ISaGRAF project Q How to install the IsaGRAF Ver 3 on Windows Vista or Windows 7 Q A M S VC 6 0 Demo Program
179. v 2010 by ICP DAS Create Modbus TCP workspace Click Comm in the Workspace and in the folder of Drivers click right mouse button and select Add Remove drivers to open Communication Drivers window as below Workspace x gh P SC DI APE Click mouse right button on Drivers Avallable drivers DLL Description MISTC OPTO22 MISTIC Protocol OPTO22 Controller NT 2000 MIT SA MITSUBISHI Protocol Melsec A MW T 2000 9x CE s66 Sh MITSU MITSUBISHI Protocol Fs Gees N7 2000 9x CESs66 Sh MODBU MODBUS Protocol RTUAASCI NT 2000 9s CE e686 SHS MODPL GE E Protacal INT 2u HM 3 MOL goear sree stro haar UI LH NI GENE Pro toc m RT Wha Lt D 8 NT SS DIR e MPI 7 MPIAD SIEMENS MFI Green Cable ZER 3964F NT 2000 9 Selected drivers DLL Description Click MOTCP driver then click Select and click OK to close this window Expanding file folder of Drivers and it will show a file folder named MOTCP Click right mouse button and select Insert to add a workspace of Modbus TCP Workspace X v gfe Project Demo_02 APP e E Drivers Click on mouse right button on Insert Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 8 7 When a MOTCP001 DRV window appears fill in following data as corresponding field What does 127 0 0 1 502 1 mean 127 0 0 1 is the local host IP address It means send data to the
180. vp 25w 7 23w wp webhmi demo sample Please copy this sample folder to your drive and rename it for example example 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 4 24 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS whmi_filter dll three DLL files login dll mam OI index htm first default page login htm the Web HMI welcome page menu htm the page menu page normally on the left on the Internet Explorer main htm first page when successfully login User may put his own image files into the folder named as user_img And put user defined JavaScript file or css file into the folder named as user_msg Other folder name is not acceptable by the ViewPAC Web HMI The index htm file is the default entry page of the web server User should not modify it The index htm re directs to the login htm file in 1 to 2 second if someone visits the VP 25W7 VP 23W7 via the Internet Explorer User may modify the login htm menu htm amp main htm to fit his own need We will only modify the main htm in this example 4 4 2 Step 2 Building The Main htm Please run the Microsoft Office FrontPage 2003 or advanced version and open the main htm R Microsoft FrontPag DAChmn_DiUser_Manv
181. wer over Ethemet PC Based Flexible COM Ports PET 7000 vs i Boards Built in Watchdogs and DI DO 4 F Vitual COM technology ISaGRAF SoftLogic PAC ISaGRAf WinPAC V3 n Manual Ordering Information Selection Guide Related Products SMS g BI Short Message service Data Sheet ISaGRAF PACs BA Sage WP 8x37 8x47 a A VP 25W7 23W7 HMI amp SCADA Demo Fies VP 2117 Software PC HMI iD 8x47 E 1 Bx amp 1 8x37 80 ee a i becnpresoce yPAC 7 186EG All ped GEES a E7188X6 GE Oparia tA Modbus 4 7000 RU B7Pn 1 87Kn FAQ A a Devices Remoteio P7000 Remate VO a 187K Remote VO 3 Comparison Table Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS 11 Specifications VP 25W7 VP 23W7 E System OS Windows CE 5 0 Net Compact 2 0 Framework Embedded Service FTP Server Web Server E Development Software ISaGRAF Version 3 IEC 61131 3 standard ISaGRAF Software Languages LD ST FBD SFC IL amp FC Support Soft GRAF HMI in the XP 8xx7 CE6 WP 8xx7 and VP 2xW7 PAC Max Code Size Accepts max 1 MB ISaGRAF code size Appli x8m must lt 1 MB Options Microsoft EVC 4 0 or VS NET 2003 2005 2008 Non ISaGRAF VB NET2003 2005 2008 C NET 2003 2005 2008 E Web Service Support Web HMI function PC running Internet Explorer can access to the Web HMI VP 25W7 VP 23W7 via local Ethernet Internet or dial Modem to monitor and control security Web HMI supports three leveled
182. x 1535 means 15 35 degree Q Setting a special ADR_ parameter of remote l 7000 amp I 87K temperature input 28 9 2 ce LA LA NO ch O 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 W 8036 8336 8736 amp W 8046 8346 8746 33 34 35 36 37 8 3 39 Q ISaGRAF version 3 4 amp 3 5 now supporting Variable Array Q Setting l 8437 1 8837 1 8437 80 1 8837 80 s COM3 as Modbus RTU Slave port N 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 TCP IP NO N CO server device Or WinCon automatically report data to PC via TCP IP Q Setting a special CODE_ parameter of MBUS_R amp MBUS_R 1 to get a clear Degree Celsius or Degree Fahrenheit input value of M 7000 temperature module For ex 3012 means 30 12 degree 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 PA
183. ystem Idle to the same value or setting the System Idle value larger than the User Idle value and then remember to run ViewPAC Utility gt File gt Save and Reboot The VP 2xW7 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 VP 2xW7 will turn on the backlight again f Programs d e Favorites d Documents E Settings E Control Panel Network and Dial up Connections of Taskbar and Start Menu Power Properties A TN Status Display Input Panel 3 PL connection A Switch state to User Idle After 1 minute 3 Battery Power Scheme After 1 minute Switch state to Suspend 6 Never v Documents a SL CM Save and Reboot e Se Reboot Without Sav g Restore Default Settings Exit To disable the screen saver please set both User Idle and System Idle to Never and then remember to run ViewPAC Utility gt File gt Save and Reboot VIEWPAC Ap 28 Getting Started VP 25W7 23W7 Ver 1 3 Nov 2010 by ICP DAS
Download Pdf Manuals
Related Search
Related Contents
Epson NX510 Network Installation Guide ICC ICRW11EOIV KDD90VX Z88Aurora User Guide Uso del Panel Coordinador Parroquial ORCHESTRA MODUL DPS - Frank's Hospital Workshop システムキッチン り据え付け工事は、 この 「安全上のご霊 意」 をよく 売みのうえ確実に行っ Actiontec electronic GT704 Computer Drive User Manual ステップ&ガード 取扱説明書 1 ! 2 1 2 4 3 Copyright © All rights reserved.
Failed to retrieve file