Home

ISaGRAF WinCE ViewPAC User Manual

image

Contents

1. csscsscscsscsccscsscsccsccscsccscescssees 28 Why my PC running ISaGRAF cannot connect the ISaGRAF PAC correctly seeeseees 29 Control Buttons On the Front Panel c ccsidsssvscanicssecsivesedcanteesteaiuceussawieabecsbuscudesetiescesevceussseys 30 Enable the Screen Saver of ViewPAC s sssesssssessososcssssscscscsososososcscsoscsosososcssecsososssssseo 31 How to Detect the Status of Dual Battery and the Ethernet Port sessesessesessssessesecesseseeseo 32 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 Reference Guide ISaGRAF English User s Manual ISaGRAF WinCE ViewPAC CD napdos isagraf vp 25w7 23w7 english manu user_manual_i_8xx7 pdf and user_manual_i_8xx7_appendix pdf ISaGRAF P37 SS AF ISaGRAF WinCE ViewPAC CD napdos isagraf vp 25w7 23w7 chinese manu chinese_user_manual_i_8xx7 pdf and chinese_user_manual_i_8xx7_appendix pdf Web www icpdas com gt Product gt Solutions gt Soft PLC ISaGRAF amp Soft GRAF HMI gt ISaGRAF gt Manual Industrial Ethernet Switch NS 205 208 or RS 405 408 Ring Switch www icpdas com gt Product gt Solutions gt Industrial Ethernet Switch amp Fber Switch gt Unmanaged Ethernet Switches Model NS 205 Model NS 208 Model RS 405 Model RS 408 Power Supply www icpdas com gt Product gt Solutions gt Accessories gt Power Suppl DP 660 24V 2 5A 5V 0 5 A power supply DIN Rail mounting DP 665
2. Rebuild Deploy Clean Add a Add Reference Add Web Reference 2 Select the mscorlib in the list box and click the button OK the component mscorlib must appear in the Selected Components area Add Reference NET Projects Browsew Recent Component Name anaa SCO PRT ee lick on Browse to search QuickerNet dll re Microsoft VisnalBasic OU Wee A riles Wy TOSOILIVE 1 E nines WindowsCE Forms 2 0 0 0 2 0 0 C AProsram Files Microsoft NE T E WindewsMobile 2 0 0 0 2 0 0 0 Program Files Microsoft NET lt Ensc SCC as PARIRI 200 0 Program Files Wicro yster 20 0 0 2 0 0 0 i Frosram E NETS System Data nA Pu CsProgram Files Microsoft WETS System Data SqlC svete im Data eqlse Mscorlib dll is here System Drawing 200 0 40 00 System Messaging 2 0 0 0 0 0 0 System Met KDA 20 00 20 00 System Web Services 2 0 0 0 240 00 System Windows Forms 2 0 0 0 20 0 0 System Windows Forms Dat 2 0 0 0 20 0 0 cia a l DAN SAAN 4 C Program Files Microsoft SOL CsProgram Files Microsoft SOL CProgram Files Microsoft WETS C Program Files Microsoft NE T S Cs Program Files Microsoft WET CProgram Files Microsoft WETS Ci Program Files Microsoft NET CriProgram Files Microsoft NETS q OUND ye cream Dalen dieracadt MET H ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS emt 3 Clic
3. In ISaGRAF Workbench you must connect the I O board to the I O connection windows correctly and select the io state board then you can observe the I O status When you Hot Swap the I 87K High Profile I O the message will show on the front panel of ISaGRAF PAC wo LS URAP HOTSWAP I O connecthon Gesie ne mej rel 5 C siss ve 7 4 TRUE E io_state ne Version tor CP DAS 1 7 188A B0004ViewANincen teries cor rolers only 1 14 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 25 Database Application Supports SQL Client functions to write data to or read data from Microsoft SQL Servers 2000 SP3 2005 2008 One PAC can connect max 4 Servers The PAC supports Multi Language depends on the model number include Traditional Chinese Taiwan Simplified Chinese English French German Italian Portuguese Russian Spanish and others Integrating Machine Business Automation Application More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt 135 SQL Server Communication SQL Client SQL Server m M S ISaGRAF PAC SQL Server 2000 SP3 2005 2008 WinPAC Machine to Business WP 5xx7 WP 8xx7 Write data to server amp nos a Fe oe 8xx7 Atom XP 8xx7 CE6 nme sna j ViewPAC J VP 2xW7 Read data from server VP 4xx7 e One PAC can connect max 4 servers ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP D
4. fi creation m wdemo O01 Wincon demo fi wdemo U2 incon demo Ahont m To output at Technical notes E YSDAT Wy SYSTIM_R Project i eO03 12 IO boards Functions Function blocks sample C functions an t fteger analog addition C function blocks i j Eeli el in an 995 CJ International author call P1 P2 ANA returr 7 ee aIray_T er bite value from array aray wowe byte value to ara ei far fo cread float value fron array ian Ew vte float value to array am n rread long value from array am on wciwrite long value to array ary Worread short value from array ary ow owore short value to array BCO V Convert BCD to decimal value binveng 2 s Complement to engin format bit wd transfer 16 bit to 1 word clsample read comar r write byte to COM port camar wowrite byte to COM port camay nwowrte integers to COM port Comey wwr short int to COMM port comclearopen COM port comeclose close LOM port comopen open COM port read float value 32 bit Target W4 603 7 633 NUR Integer whit ADR Integer ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS On line help of ICP DAS add on I O boards amp I O complex equipments ISaGRAF WDEMO_O3 Programs E Oo x File Make Project Tools Debug Options Help D meal Am xr Om zee Begin mA get time SYSDAT_R SYSNET VY SYSTIM_
5. Boolean data O is for reading short integer data 16 bit integer Word 32768 to 32767 0 is for writing short integer data 16 bit integer Word 32768 to 32767 0 is for reading amp writing long integer 32 bit integer Double Word O is for reading amp writing floating point data 32 bit REAL For more details please refer the table as below Data Sample Valid Range of Initial ET Type Syntax Addresses per Worksheet Jaee accordne othe cdu omeni Coil Status Read and write events using j Man Modbus instructions 01 05 and 15 Input Status Read events using Modbus Varies according to the equipment instructions 02 l l Input Register Read events using Modbus 3X 3X 4 Varies according to the equipment ei i instruction 04 l l l Holding Register Read and write events 4X 4X V h ae as eles eS eOr AINE LONE CAMPO using Modbus instructions 03 06 16 Floating point value Holding Register Read Varies according to the equipment and write float point values using two consecutive Holding Registers 8 8 32 bit Integer value Holding Register Read Varies according to the equipment and write 32 bit integer values using two consecutive Holding Registers ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Please add the following 4 Modbus TCP workspace _ maps aa o DRV Name DRV 127 0 0 1 502 1 When finished all setting press Ctrl F4 to close all inside win
6. i4ld simpleld Help i st inter Import IL program work_01 work_02a work_02b F Compress M 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 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 3 3 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 the backed up file from the Archive window then click on the Restore button The ISaGRAF project will now be restored to the sub directory you designated Archive Projects x Workbench Archive Backup Restore Close Help Compress Archive location C SCOTTS Browse 3 2 3 3 Steps To Download a ISaGRAF Project To The Controller Double click on the vphmi_05 to get into the project Then click on Link setup 15 x File Edit Project Tools Optons Help AS CH tm MSi t 2 B vesem GE vphmi_04 ViewPAC Web HMI example 4 RAN controle A mH ViewPAC Web HMI example 5 Multi Page dem fo wohmi O6 ViewPAC Yeb HM examel 6 Al dima slot i I8aGRAF PHMI 05 Programs Hej File Make Project Took Debug Option Help MEERL
7. in slot O and enable the 2nd Ethernet port to make it work Please refer to www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 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_8xx7 pdf and user_manual_i_8xx7_appendix pdf Ap 22 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 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 User can refer to www icopdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 159 to use the tGW 700 series of Modbus TCP RTU ASCII gateway to expand the Modbus master RS 232 485 422 port 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 I 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 0 to 2 and then run ViewPAC utility gt Multi serial port wizard then click on Slot scan The current found multi serial port cards will be listed on the left Th
8. vphmi_01 CD ROM napdos isagraf vp 25w7 23w7 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 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 ISaGRAF Project Management ioj x File Edit Project Tools Options Help 3 oom EZEN ra ll Common data st exam m il exam mD sft exam a Archive Projects xi Rel Workbench Archive Aut demo_15a B EEE Dai demo_15b Ver iy domo_t6 Restore De fbd_exam il_exam Close
9. Control Center ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 28 Measure humidity and temperature values via DL 100TM485 More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 156 ISaGRAF PAC iSaGRAF WinCE PAC WP 8xx7 WP Sxx7 XP 8xx7 CE6 VP 2 W7 4xx7 XP Bxx7 Atom CE6 ISaGRAF MiniOS7 PAC iPAC pPAC iP 8xx7 uPAC 7186EG Without Soft GRAF 1 18 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Chapter 2 Software Installation And Working Soft GRAF HMI with ISaGRAF Refer to Section 2 5 for programming the Soft GRAF HMI applications with ISaGRAF Refer to Section 2 4 for programming the eLogger HMI application with ISaGRAF The ISaGRAF WinCE ViewPAC in this manual include abbreviation VP 2xW7 4xx7 VP 25W7 VP 23W7 VP 4137 VP 4147 Support ISaGRAF logic running in the PAC VP 25W6 VP 23W6 VP 4136 VP 4146 Support InduSoft amp ISaGRAF logic running in the same PAC Important Notice 1 ISaGRAF WinCE ViewPAC support only High profile I 8K and I 87K I O cards in its slot 0 to 2 Please refer to the accompanying CD ROM napdos isagraf vp 25w7 23w7 english manu Datasheet files 2 Please always set a fixed IP address to the ISaGRAF WinCE ViewPAC No DHCP Please refer to below ISaGRAF WinCE ViewPAC CD ROM for detailed ISaGRAF User s Manual napdos isagraf vp 25w7 23w7 english manu user_manual_i_8xx7 pdf NOTE The ISaGRAF WinCE ViewPAC sup
10. Export data of this week Ok 11 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Appendix A Hardware System amp Setting A 1 Applying Correct Power Supply Please apply a regular power supply between 10V 30V gt 25W or higher is better to ISaGRAF WinCE ViewPAC VP 2xW7 Power Supply 10 30 Voc VS GND Mouse or VP 2xW7 VP 4137 10 30 VDC PPWR PGND 10 30 VDC PWR Power Input 1 Frame Ground Powerlnput Frame Ground Power Input 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 1 Options Power supply http www icodas com root product solutions accessories power supply power supply selection ht ml 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 htto www icodas com root product solutions industrial ethernet switch switch selection html NS 205 10 100M 5 ports NS 208 10 100M 8 ports RS 405 10 100M 5 ports Ring Switch RS 408 10 100M 8 ports Ring Switch Ap 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS A 2 Modify The NET ID amp Modbus RTU Port Setting User may set ISaGRAF WinCE ViewPAC 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 ap
11. If your computer does not auto start the installation use the Windows Explorer and go to the CD ROM drive where the Workbench CD is installed 2 Double click on the install bat file listed on the Language 3 ISaGRAF CD If the install bat file is not SaGRAF Workbench Select the language Recommend to found on your ISaGRAF CD C ISaGRAF Documentation use English because this manual then double click on the M acrobat Reader 4 0 uses English version ISaGRAF exe file to start the installation process ic 1990 2007 ICS Triples 15 aGARAF ISaGRAF is a trademark of ICS TRIPLEX 15 aGRAF 3 To begin the ISaGRAF 3 x software program Book click the Windows Start button then click Diagnosis Programs and you should see the ISaGRAF g Libraries program group as illustrated below Click ja Licensing Projects can start ISaGRAF software A Projects k Read Me Ey Feport 2 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 1 1 The Hardware Protection Device Dongle amp USB Key Pro 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 3 18aGRAF Project Management About SaGRAF File Edit Project Toole Options
12. OK Add New Smart Device Project project Windows CE 0000 YS WET ina Framework Version 4 0 p ompact Framework Version 2 0 Class Library baei Control Library M Froject Application 10 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 10 2 Add Project Reference for an Application The QuickerNet library contains all modules functions Before you use the Quicker keyword in the program you must add the QuickerNet dll into the reference list of your application 1 Right click on the Project name on the right hand side then select Add Reference Solution Explorer pr w 1 X Fa a eA Al Build Right Click Rebuild Deploy Clean Add 4 Add Feference Add Web Reference 2 Select the mscorlib in the list box and click the button OK the component mscorlib must appear in the Selected Components area Add Reference NET Projects Browse Recent ie ee ie ee E nn CustomMarshalers Click on Browse to search Files Microsoft NE T S Microsoft VisnalBasic QuickerNet dll Files Microsoft NET Microsoft WindowsCE Fo Files Microsoft NET S Microsoft WindowsMobile 2 0 0 0 2 00 0 C Program Files Microsoft NET S mscorlib 20 00 20 00 CiProoram Files Microsoft WE I s 2 00 0 200 0 CsProgram Files Microsoft WET 2 00 0 2 0 0 0 C Program Files Microsoft NET S System Data ql yet
13. VP 25W7 s COM2 connecting 1 M7017RC Current input 20mA 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 ina file Read 10 REAL value from a file 10 rows each row has 1 REAL value use str_real Msg F i8xx7 since 3 19 i7188EG XG since 2 17 2 15 W8xx7 since 3 36 WP 8xx7 and VP 2xW7 Msg_N i8xx7 since 3 19 i7188EG XG since 2 17 2 15 W8xx7 since 3 36 WP 8xx7 and VP 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 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS I O Boards Used slot 0 I 87055W Project Name vpdmo56b vpdmo56c vpdmo56d vpdmo56e vpdmo_ 61 vpdmo_ 62 vpdmo_ 63 vpdmo64a vpdmo64b vpdmo65a vpdmo6 5b vpdmo_ 66 vpdmo71a vpdmo71b vpdmo71c vpdmo71d vpdmo71e vpdmo72a vpdmo72c vpdmo74a vpdmo74b vpdmo_ 76 lt Q 3 O J J Q 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
14. fF Microsoft FrontPage D Wohoun_D User_Manual Win BRE 4HE RO onS000 Web_HMI demolexamplel main titia oR aaa MLO RAO IAD SEW BHD RQ een HHH ak FiRL D G a amp 2 Bit oe B FI L PRm itr Times New Re a Ee R Microsoft FrontPage DAChim_D Jser_Manual_WinCons000 Web_H MI demo examplel main h oj x BAA HRED WRO GRAD fri TA tet BED ERE Reo CW am BHH DOF HAAR IIA Fl aAA Ran B he Times New Roman d2 B 7 U E amp E 2 amp 22 j main_him x Jeee Layers o This is a Web HMI sable page a Layer5 l Click here to insert Layer5 layer Follow the similar steps as former to insert Layer6 amp Layer7 inside the Layer5 po AA SK bps SBE O01 FP 38x 191 RE BT y Please follow the similar steps to insert OUTO1 amp OUTO2 as below The OUTO1 uses img circle_blueO jpg as its image source while OUTO2 using img cmd0 jpg F Microsoft FrontPage D Wohun_D0ser_Manual_ Winton OOO Web _HMTdemo excmple main him E Io x EAE RAE WAD WAD AO IRAD iud OBA WEE AEN an BHH D G Ham aA FAAO aR fr Times New Roman ai 2p a aS aS S main him x 1 od i iir g This is a Web HMI sample page Layer10 Layer13 EFA S6Kbps Ens 0 01 581x395 FREE BT y 4 28 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS We will use OUTO1 to display the stat
15. i Times New Roman 3 020 B Z U Z ZZjJAsJV Ej main him x E g This is a Web HMI sample page You may switch from these three items BH BAel Giese Ae r Z ERA S6Kbps SAR 00E Gh x 204 RR BE Please switch the window to design the page Please insert a layout object Layer as below loj x ERA RA Fi D CER x EE pTFT pargi a f Times New R Lt Blew ne SS OR AIEEE rr lil WAL m 5 x ERD GEO RAC MAD RAO IAD BW ENO ERE RHO HRD 1 SG dHAS B 1G8 F7 4BOZi9 SER ob aa A HR Times New Roman 3 2p Br U 2 fw gl tS bh main him x Hl H This is a Web HMI sample page C f ID of this Layer object Layer2 GH AAs Ass Ae J FA SK bps SEES O01 FP GSK 292 BES BET Cy ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 25 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 Dhun DUs r_Manal Winconstiiieb HM Wemoesamiple urnam hin H E joj x BAD wei TAIT 4 BAD HERR ey JAE EAD RE WRA D chA 2 5 a CEARA Fil b exe a gt fr Times New Ro t Apor e SS S S gle i main him x ctoa tiv g h This is a Web layerz aE DA Dlm Meson Wes cog Ah BT wei eee ee aa aimi xh UN SAY MAD ERD TAD AY WH MER ae MAW S
16. otet Cfalee true 4 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 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 T 8s then click on the Store button Then please click on X to close the dictionary window ISaGRAF EXAMPLE Global timers E x File Edit Tools Options Help P BOOS sxmd RE Booleans Integers Reals Timer Messages FB instances Defined worda Timer Variable a E x Hame Comment Attributes Cancel intemal Constant Retain SaGRAF EXAMPLE Global timers E joj File Edit Tools Options Help BOOM Sl exes ig Booleans Integersi Reals Timers Messages FB instances Defined words Mame Attrib Addr Comment Perr Perret Perret Perri rrr Prerrreeriererrrrrerecrrererrrrrererrrrrer rrr terre rrr rrr rrr rer rrr rrr err rrr errr rrr rrr rrr rer errr rer rrr ere Peer Peer Peer Perret re I a Ti 20000 internal t os ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 7 4 1 5 Assign Modbus Network Address No to Variables The Web HMI will exchange the variable value with the ISaGRAF project if they have assigned the proper Modbus network address The Web HMI only recogni
17. wy J 5 viewPACZSW7 23W7 ISaGRAF Driver Ok Setting Web About Security Settings OK Options desktop rs_wphmi jority Lowy User Name jeveli To set up advanced security cl password G Edit Settings Er Priority Middle User Name Jievel2 Password eee Priority High Jevels Liser Hame Password ese Disable Telnet Serveice Internet isaviewPAC Explorer 9 Note If Enable Account Security is not check any user can easily get access to your ISaGRAF WinCE ViewPAC through the Internet Explorer ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 17 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 Title1 lt title gt lt meta http 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 start1 A_11 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 han
18. 1 ISaGRAF WinCE ViewPAC support only High profile 1 8K and I 87K I O cards in its slot 0 to 2 Please refer to the accompanying CD ROM napdos isagraf vp 25w7 23w7 english manu Datasheet files 2 Please always set a fixed IP address to the ISaGRAF WinCE ViewPAC No DHCP Recommend to use the NS 205 208 or RS 405 408 Industrial Ethernet Switch for them This chapter shows you how to build a simple ISaGRAF project and its Web HMI pages Please refer to CD ROM napdos isagraf vp 25w7 23w 7 english manu user _manual_i_8xx7 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 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 1 4 1 Writing A Simple ISaGRAF Program We are going to use ISaGRAF Workbench to write a simple IsSaGRAF example program then download it to the VP 25W7 controller with one I 87055W I O 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 ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 demo examplet pia SM TSatRLAF Project Management ES Name of your project group File Edit Project Tools Options Help B GE th ia ft 2 Bs t
19. 24V 2 5A 5V 0 5 A power supply DP 1200 24 V 5 A power supply Model DP 660 Model DP 1200 Model DP 665 FAQ www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS I O Modules Selection Guide for ISaGRAF WinCE ViewPAC ISaGRAF WinCE ViewPAC support only the I 8K I 87K High Profile I 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 1 www icpdas com Windows Internet Exp Language Company Product Support Soft PLC WEE Greenhouse Automation ISaGRAF Soft HMI SOR GRAF gt Home gt Product gt Solutions gt Soft PLC ISaGRAF amp Soft GRAF HMI gt Download Data Sheet Manual Demo eain Download Center What is ISaGRAF Saua kaak see ii gt Available soon Will be phased out Software Features a si Applications pe Ordering Information Products I O Selection Size Date Download i All PDF ZIP 13 1 MB Aug 02 2013 Driver 3 Data Sheet 0 4 E AO ee Date Sheet ISaGRAF 199 KB Jul 30 2013 Data Sheet Date Sheet Soft GRAF Studio 1
20. 61 218 42 10 Zep Mee e g ICAS ViewPAC The Web PAC Please click on Enter to login If there is something wrong with the web page You may enable the below item to display the debug message every time it has error ay Welcome Microsoft Intemet Explorer ERD RED WAO BERE IAD HAH 7 StH 9 QO2 d Ques Gane Gee 65 59 B4A9 46 fob D E http 10 0 0 103login dll PRE JB a Vir f Sa search A J Hotbar ge a gt Meet This 1s a Web HMI sample page Internet Explorer 1T 256 I 3 Double click here to display the W HARAP error message aR UE S E As And also check if your ISaGRAF project already download to the controller Section 4 3 or section 3 2 3 Wincon ISaGRAF Driver Setting About Current running ISaGRAF project Configuration name is listed here Slave Number Modbus RTU Slave Port None And do you assign the correct Modbus Network address to the respective ISaGRAF variables Section 4 1 5 Baud Rate Project Current Application jexamplei j Delete Elapsed Time 0 0 44 18 End Driver 4 38 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Chapter5 Web HMI Basics Important Notice 1 ISaGRAF WinCE ViewPAC support only High profile I 8K and I 87K I O cards in slot 0 to 2 Please refer to the accompanying CD ROM napdos isagraf vp 25w7 23w7 english manu Datasheet files 2 Please always set a fixed IP address
21. Create a virtual machine running Windows XP 32 bit SP3 Install ISaGRAF Workbench 3 55 on a virtual machine Install ISaGRAF I O Library on a virtual machine The related settings for a virtual machine ss 2 Install USB dongle driver on a virtual machine More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 174 2 1 6 Important Setting for Using Variable Arrays Important setting for using variable arrays Please add two lines on the top of the c isawin exe isa ini file to enable the usage of variable arrays DEBUG Arrays 1 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 7 2 2 Step 2 Installing The ICP DAS Utilities For ISaGRAF The ICP DAS Utilities For ISaGRAF consists of 3 major items 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 2 1 step 1 before continuing There is a CD ROM supplied with each of the ISaGRAF ViewPAC 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 SaGRAF Utilites InstallShield Wizard Welcome to the InstallShield Wizard for ISaGRAF Uti
22. Embedded Lice Target W y nly newer files l Keep user files ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 8 11 Configuration Web directory of ViewPAC Run ViewPAC Utility and change Web directory to System_Disk InduSoft Demo_01 Web Click Setting and Save and Reboot to finish this configuration ViewPAG Utility 2 0 1 0 Save Save and Reboot Reboot Without Save Restore Default Settings lt M Exit un 7 3 a a etting FTP Setting System Information auto Execution Multi Welcome to use ViewPAC Utility This tool will help you to set ViewPACc Display Resolution Jean 460 w ViewPAC P Industrial Control Products f SRS Data Acquisition System Setting Battery1 Task Bar Setting Battery2 OK Auto Hide Always On Top Change HTTP document root directory windows www ywwwsub to System_Disk IndusSoft pemo_O1 veb oS a 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 a http 10 0 0 80 MaimPage html Microsoft Internet Explorer Sele PREO fH RAO BREA IAM HAD ae O x 2m see zan Q ha H FED httpy 10 0 0 80 MeinPage html Oo MEB m 87055W_DI1 1 87055W_D0 1 1 87024W_AO_1 Interior 0 8 12 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Chapter9 Example Program amp FAQ The
23. Fie Make Project Tools Debug Options Help D HSE Det Xr Oe AB 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 x Target Slave Number Po Cancel Setup Communication port Control Time out seconds z 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 ViewPAC controller Port number 502 Internet address The Workbench uses the WINSOCK DLL library for TCP IP communications Ensure that this file is 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 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 5 A 5 Pin Assignment of COM2 COM3 and Multi Clients Each ISaGRAF WinCE ViewPAC 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
24. I 8x37 80 I 8xx7 and 84 7 8 0 0 l 7188EG XG with S256 512 and X607 608 no longer support old retain method please change to use the better new retain method to retain variables Q Why my uPAC 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 Vibration Wire frequency to calculate the stress of constructions Q Setting UPAC 7186EG s and I 7188EG XG s COM3 or COM2 as Modbus RTU Slave port Q New Hot Swap and Redundant solution for the WinCon 8347 8747 Q How to update the WinCon 8347 8747 s OS 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 Q How to use I 8084W 4 8 Ch Counter or 8 Ch frequency Q How to read max 120 Words or max 60 Long Integers or max 60 Real value from 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 089 091 092 093 095 097 098 100 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 O mS Modbus RTU ASCII devices by using MBUS_XR or MBUS_XR1 f
25. IMPORTANT NOTICE 1 I O Slots O through 7 are reserved for REAL I O boards that will be used in the VP 2xW7 4xx7 You can use slot No 8 and above for additional functionality 2 All of the variables with Input and Output attribute MUST be connected through the I O connection as described above for any program to be successfully compiled Only the Input and Output attributed variables will appear in the I O Connections window In this example we have only 2 Boolean output variables OUTO1 OUTO2 and 2 Boolean input variables K1 amp K2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 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 ISaGRAF PAC XPAC XPAC Atom WinPAC ViewPAC PAC and iPAC it is the responsibility of the programmer to properly select the correct Compiler Options You MUST select the ISA86M TIC Code For Intel option as described below To begin the compilation process first click on the MAKE option from the main menu bar and then click on Compiler Options as shown below SaGRAF EXAMPLE Programs ojx i Project Tools Debug Options Help Make application ofa ga om H a ie Begi Yenfy Touch Application mn time Options Compiler options Vers Resounces fincon series controllers only The Compiler Options window will now appear Make sure to select the options as sho
26. VP 4147 Support ISaGRAF logic running in the PAC VP 25W6 VP 23W6 VP 4136 VP 4146 Support InduSoft amp ISaGRAF logic running in the same PAC Important Notice 1 ISaGRAF WinCE ViewPAC support only High profile I 8K and I 87K I O cards in its slot 0 to 2 Please refer to the accompanying CD ROM napdos isagraf vp 25w7 23w7 english manu Datasheet files 2 Please always set a fixed IP address to the ISaGRAF WinCE ViewPAC No DHCP Recommend to use the NS 205 208 or RS 405 408 RING SWITCH Industrial Ethernet Switch for them 3 1 Web Demo List The Web page location ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 vp webhmi demo The respective ISaGRAF project location ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 demo Demo list Multi P vphmi_05 By eee este slot 0 I 87055W Page menu is on the Left i P vphmi_05a AUI RAEE ene slot 0 1 87055W Page menu is on the Top i PONDE slot 1 87024W E slot 2 1l 8017HW i slot 1 87024W Record 1 to 8 Ch i8017HW s volt every 50ms and ee 7 trend curve by M S Excel slot 1 8024W Record 1 to 4 Ch i8017HW s voltage every 10ms Se 7 draw trend curve by M S Excel slot 1 3024W ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 3 1 3 2 Steps To Set Up A Web HMI Demo 3 2 1 Step 1 Set up The Hardware A Please have one VP 25W7 and then plug one I 87055W board in its slot O If you don t have the I 87055W 8 IN a
27. amp K2 IsaGRAk EXAMPLE Debug prog steel YOU May also click on Cictionary to aw IsalitRAF EX AMPLEI FO connection s A TRUE e FALSE E FALSE EE 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 ISaGRAF EXAMPLE Debug programe loj x File Project Toole Options Help CME Begin LD1 Ladder Diagram ie lba RAF RAAMPLEL LD Quick LD Program File Edit Options Help D mS QQ oe xe i ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 23 4 4 Design The Web Page After finishing the ISaGRAF project amp download it to the ISaGRAF WinCE ViewPAC we are going to design the Web Page for this ISaGRAF project If you haven t practiced Chapter 3 Setting Up A Web HMI Demo listed in the 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 ISaGRAF WinCE ViewPAC CD ROM at design time However it is better to do it one time by yourself to get more understanding ISaGRAF WinCE ViewPAC CD napdos isagraf vp 25w7 23w7 wp webhmi demo example1 4 4 1 Step 1 Copy The Sample Web HMI pages These is
28. el project Option Explicit On Each variable must be declared well i E a My Project Imports Quicker Bi pen Open With ElPublic Class Forml Dim is_try_ok s Hyte tiy catch state l k Us 11 L F 17 l 1 1 oe a C View Designer Then you can design all required objects and actions inside your VB Forms 6 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 6 3 Compiling an Application Program When you have finished writing a program you can build an application by the following steps 1 Remember to save at any time for safety H project Microsoft Visual Studio File Edit View Project Build Debug D gle CF il ellie amp WEE jie P Save Al prml vb k Pointer Led RindineSanree 2 Then compile Build the project The result is listed in the Error List windows at the bottom Error List B project Microsoft Visual Studio File Edit Miew Project Debug Data Form Hcn E Pee eee i v p3 a m F ba Emld projectl Febuild projectil Deploy project i BindingSource 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 NET execution file to other path to run it but there should contain at least three DLL
29. gt FAQ 160 ISaGRAF WinCE PAC n VP 23W7 25W7 ay Da 8212W 3GWA Send Short Message to Cell phone t Tgt ot oer SEJ WP 5xx7 WP 8xx7 Export S Daily History Alarm File Remote PC XP 8xx7 CE6 Been m ig ia XP 8xx7 Atom CE6 csv rye txt ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 11 3 11 4 FAQ 158 Soft GRAF Application Data Logger Users can use the Soft GRAF HMI software to build a data logger application in the ISaGRAF WinCE based PAC The Soft GRAF HMI object g Logger1 can record the max of 50 tags Data format Boolean 16 bit signed integer 32 bit signed integer and 32 bit Float The system can create a new file to save the alarm messages in each day Users can also export thease alarm files to a USB pen drive File format csvor txt Users can enable the function of FTP Client to send the alarm file to the control center FTP Server1 FTP Server2 automatically at a fixed time each day Or users can also get the PAC files through the FTP Server Moreat www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 158 m4 Trend Curve Paused Curves 100 0 p Export Logger file to USB pen drive Note The exporting wil overwrite existing files which have the same path and name in the USE C Today Yesterday wae This week C Last week T recent 31 days ee 14 49 30 14 51
30. lot 0 I 87055W WiewPAC Web HMI example 9 pop up an alarm window on PC h lot 0 I 87055W slot 0 87055W a slot 1 87024W vphmi_11 trend curve demo slot 1 87024W slot 2 8017HW slot 2 8017HW vphmi_ 12 Record 1 to 8 Ch I 8017HW s volt every 50ms and draw trend 8017HW curve by M S Excel vphmi_ 13 Record 1 to 4 Ch I 8017H s voltage every 10ms and draw trend 80174 curve by M S Excel 9 8 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 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 4 ISaGRAF Project Management File Edit Project Tools Options Help pol Det me to lA 2 bottlef Flow Chart Simulation of bot 5 EEEE ode demo demo vith Quick LD programming ef rfa ray demonstatres array management functions E Default c savvini apl samples ciisavwintlismp Cancel Browse 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 x B oj xj File Edit Project Tools Options Help DE BE aes mm bottef Libraries Common dat demo Import IL program rfarray emonstatres array management functions rfbars demonstrates graphic bra graphs rfbool de
31. r function refresh_data if boolean_val 12 0 The action of the Text object B12 is defined here B12 innerText 0Ok font B12 color blue If boolean_val 12 0 no blink B12_blink 0 However If boolean_val 12 1 blink I else i B12_blink 1 I a 7 The layout or location of the Text object B12 is defined lt body onLoad init gt 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 0K 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 declaration 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_stri paral1 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 Ex float_str1 1 234567 3 return 1 234 float_str1 1 234567 2 return 1 23 Convert float
32. 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_red0 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 Layer5 to Layer lt div style position absolute width 101px height 93px z index 3 left 241 px top 51px id layer5 gt lt div style position absolute width 47px height 26px z index 1 left 6px top 4px id layer6 gt K2 lt div gt lt div style position absolute width 92px height 35px z index 2 left 7px top 38px id 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 OUTO1 Area Layers to Layer10 lt div style position absolute width 82px height
33. 0 20 mA 4 20 mA requires Optional External 125 Q Resistor I 87019PW 8 ch Universal Analog Input Module RoHS With a CN 1824 Daughter Board 87019RW 8 ch Diff 16 bit 8 Hz Total Universal Analog Input Module with 240 Vms Over Voltage Protection I 87018ZW Open Wire Detection V mA Thermocouple Range of 20 20 mA need to set Jumper on board 10 ch Universal Analog Input Module Gray Cover RoHS Includes the I 87019ZW Module and a DB 1820 I 87019ZW Daughter Board 87024CW 87024DW 87024RW 4 ch 14 bit analog output module 0 5 V 5 V O 10 V 10 V O 20 mA 4 20 mA 87028CW 87H17W I 87024W l 87K Multifunction I O Modules 87026PW I 87K Digital I O Modules ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 87063W 4 ch Differential Isolated Digital Input and 4 ch Relay Output Module 5 A NO 3 A NC 5 24 Vpc 5 A NO 3 A NC 0 250 Vac I 87064W 8 ch Relay Output Module 5 A 47 63 Hz OY 250 Vac 5 A 0 30 Voc I 87065W 8 ch AC SSR Output Module AC 1 0 Ams 24 265 Vim I 87066W 8 ch DC SSR Output Module DC 1 0 Ams 3 30 Voc 87068W 4 ch Form A Relay Output and 4 ch Form C Relay Output Module Form A 8 A 250 Vac 8A 28 Voc Form C 5 A NO 3 A NC 277 Vac 5 A NO 3 A NC 30 Vac I 87069W 8 ch PhotoMOS Relay Output Module Max AC DC 0 13 A 350 V Il 87K Counter Frequency Modules I 87082W 2 ch C
34. 024 i DOE o amp AO 7 L me 2 E i_87024 E E iT gt Lr The ISaGRAF variables to be exchanged with InduSoft must be declared with a Modbus Network Address as below _tol xil ISaGRAF EXAMPLE2 Programs a File Make Project Tools Debus Options He fh ep HS E Dy E E a E m g a File Edit Tools Options Help FTEs LDI empty program Suick declaration see Modbus SCADA addressing map B on et Eile Edit Options Help Hexadecimal hag Segment MEESTE DE j Please set No as Decima 00000 Reserved In this example Please assign No 1 to DI_1 No 11 to DO_1 No 21to AO 1 No 31 to Internal 00011 Variables not mappet Boolean Let qersi Reals Timers Messages Please save amp compile the ISaGRAF example project amp then download to the PAC If you are not familiar with ISaGRAF please refer to section 4 1 to 4 3 8 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Step 2 Create an InduSoft project 1 Select File gt New from the InduSoft Web Studio main menu 2 Click on Project tab in the New window Then type in the name for the new user s project in the Project name and select Windows Embedded Lite in the Product type Press OK 3 The Project Wizard window will appear Select Empty Application on the Template 320 x 240
35. 2 to check it amp re compile the project again Cancel The example project will now start downloading to the VP 25W7 VP 23W7 controller system A progress bar will appear in the ISaGRAF Debugger window showing the project downloading progress 0 x ISaGRAF SIMPLELD Debugger File Control Tools Options Help Opim rA AL 23 39 37 0 application stopped When the example project has successfully completed the downloading process to the ViewPAC controller system the following two windows will appear SaGRAF EXAMPLE Debugger E l0 x Fie Contol Toole Optons Help Opie A Ae RUN allowed 0 current maximum 4 overnlow 0 43 103 0 application stopped ISaGRAF EXAMPLEI Debus T To terminate the communication between File Project Tools Options Help your PC amp the controller please click on owe ok X Begin Begin LO1 Ladder Diagram 4 22 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 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 1 0 board to see what happens about K1
36. 2014 by ICP DAS Ap 7 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 fd My Device isqhw35 a desktop rs wohmi ry Ed Ed Internet saviewP AL Explorer t ViewPAG oWw is feaW7 ISaGRAF Driver OK aF l Bi Web About Microsott a EET E had Modbus RTU Slave Pork None eee Baud Rate jis200 m Ww Project UATR ie Current 4pplication wpdmo_O4 ISA11 4444 ISA1Z 1124 Elapsed Time banana End Driver 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 ISaGRAF current running application If you find no ISA11 in the System_Disk isagraf directory please goto Explorer gt View gt Options to modify the setting 3 Turn the rotary switch to position O normal then reboot ViewPAC Then when ISaGRAF is connected it will display No Application Ap 8 ISaGRAF WinCE ViewPAC User
37. DAS 4 19 4 3 Download amp Debug The Example Project We have two ways to download the project to the ISaGRAF WinCE ViewPAC 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 if you would like to download the project via Ethernet Hardware Wiring The RS 232 cable wiring should be as below figure Please make sure the Modbus RTU Slave Port is set as COMS3 refer to Appendix A 2 or it can only be download via Ethernet PC 9 Pin DSUB VP 2xW7 4xx7 COM3 RS 232 2 RxD 2 RxD 3 TxD B85 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 2xW7 4xx7 please refer to section 3 2 3 Link Setup 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 ISaGRAF EXAMPLE1 Programs E _ oO x File Make Project Tools Debug Optone Help P eee Oe m se Mie mm Zoe Begin Net ID of the ViewPAC Default is 1 Target Slave Number Communication port Setup COMM port of your PC Click on it to set COMM s other PC PLC link parameters Begin Baudrate in parameter Parity Format j COMM s parameter default is 19200 N 8 1 No Flow contrat none A flow control 4 20 ISaGRAF WinCE ViewPAC Use
38. I 8KE8 MTCP G Modbus TCP based 10 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Specifications VP 25W7 VP 23W7 VP 4137 VP 4147 Specification Modes VP 23W7 VP 25W7 VP 4137 VP 4147 System Software Net Compact 3 5 Framework Embedded Service FTP server Web server supports VB script JAVA script Embedded SQL server SDK Provided DII for eVC DII for Visual Studio Net 2005 2008 English German French Spanish Russian Italian Korean Simplified Chinese Traditional Multilanguage Support Chinese Development Software ISaGRAF Ver 3 IEC 61131 3 standard LD ST FBD SFC IL amp FC Support Soft GRAF HMI XP 8xx7 CE6 8xx7 Atom CE6 WP 8xx7 5xx7 and VP 2xW7 4xx7 PAC Languages 1 MB 3 15 ms for normal program 15 50 ms or more for complex or large program Options MS eVC 4 0 or VS NET 2005 2008 VB NET C NET Max Code Size w z 4 q O Y LL lt oc N Scan Time Non ISaGRAF Web Service Web HMI Security CPU Module G SDRAM Flash Expansion Flash Memory PC running Internet Explorer can monitor control PAC via Internet modem Support three level username and password protection high middle low PXA270 520 MHz 128 MB 128 MB 96 MB microSD socket with one microSD card support up to 32 GB Dual Battery Backup SRAM EEPROM RTC Real Time Clock 64 bit Hardware Serial Number Dual Watchdog
39. ISaGRAF WinCE ViewPAC in this manual include abbreviation VP 2xW7 4xx7 VP 25W7 VP 23W7 VP 4137 VP 4147 Support ISaGRAF logic running in the PAC VP 25W6 VP 23W6 VP 4136 VP 4146 Support InduSoft amp ISaGRAF logic running in the same PAC Please refer to VP 2xW7 4xx7 CD napdos isagraf vp 25w7 23w7 english manu user_manual_i_8xx7 pdf amp user_manual_i_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 ISaGRAF Project Management Joj x Fie Edit Project Toole Options Help Ey Gl tet 1c a User s guide 2 m creation Language reference m wdemo Ol incon demo Library f wdemo O Wincon demo yp a le m ISaGRAF E 0 x RE RPE trac SRSA Project create AJC 275 B ISaGRAF 2003 12 16 14 Language reference Project architecture Common objects E SFC language a FC language r FED language LD language oT language el IL language Standard operators function blocks and functio ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 9 1 On line help of ICP DAS add on functions amp function blocks 9 2 Ey Gl Cy Ge th 1c ae User s guide SM TSatRAF Project Management 3 3 Ioj x Fie Edit Project Toole Options Help Language reference
40. ISaGRAF Workbench kL m H ser s guide Version 3 55 mm blinkseq S Copyright 71990 2007 ICS Triples I5aGRAF Ine mp bottlef Flow Chart 5 demo with Qu Configuration While using ISaGRAF and the dongle is plugged well if the Help About says Maximum number of IO variables 32 it means ISaGRAF workbench cannot find the dongle well Please reset your PC and then check the Help About again If it still displays Maximum number of IO variables 32 the dongle driver may not be installed well Please do the following steps Dongle Protection Please execute the ISaGRAF CD_ROM Sentinel5382 setup exe for ISaGRAF 80 or Sentinel setup exe for other ISaGRAF version and then reset the PC again USB Key Pro Protection 1 To make your PC recognize the ISaGRAF USB protection key please un plug the USB protection key from your USB port first then run Sentinel SSD5411 32bit exe in the ISaGRAF 3 55 CD ROM or later version after you have installed the ISaGRAF Then please reset your PC 2 Torun ISaGRAF Ver 3 5x please always plug the USB protection key in the PC s USB port ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 3 2 1 2 Important Notice For Window 2000 Users If you close some ISaGRAF windows it holds about 20 40 seconds No response This may caused by the procedure CTFMON EXE of Windows 2000 First click on Ctrl amp Alt amp Del at
41. Idle value and then remember to run ViewPAC Utility gt File gt Save and Reboot The ViewPAC 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 ViewPAC will turn on the backlight again Programs d oi Favorites d Documents E Settings E Control Panel SF Help RUN ith a Power Properties Battery Un H Status Power Scheme 3 TN i Metwork and Dial up Connections Taskbar and Start Menu Display Input Panel After 1 minute Switch state to Suspend G Hever Help Configuratic Save Ww Save and Reboot Reboot Without Saves Documents VIEWPAL 7 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 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 31 Appendix L How to Detect the Status of Dual Battery and the Ethernet Port NOTICE Please power off the Controller before replacing the battery it may cause permanent damage if the battery accidently touches other metal electronic parts The ViewPAC equips a 512 KB SRAM with dual battery design to retain the data even in the case of total power loss This dual battery design allows for the replacement o
42. Manual V 1 5 10 2014 by ICP DAS A 8 Linking l 7000 and I 87K Modules For Remote I O The ISaGRAF WinCE ViewPAC system can use its COM2 RS 485 or COM3 I 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 7000 I O Modules 1 87K COM2 I O Modules RS 485 D ISaGRAF ial WinCE ViewPAC Addr 1 Addr 2 Addr 3 4 5 6 A 9 Linking To An HMI Interface Device One of the COM2 RS 485 or COM3 RS 232 or max four of the COMS 6 7 8 please refer to appendix G amp appendix E ports of the ISaGRAF WinCE ViewPAC 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 COMS3 ICP DAS provides a full line of touch screen displays su
43. Setup Pel iW Al Osc car shin a E N A 3 2 SEED 2 etine ME WeKOpPHON S serdiion ine cdaune asus ecitnca cab suantealsicrne desu teleisancetenaeecahc 3 2 Step 3 Download ISAGRAP Project sisccsscsinedisiveccecasadunelassaurssracieedcaiweosscnsadeacdasiaersrmaai esta neeeestt 3 3 Step 4 Download Web Pages To The ViEWPAC ccccsssccccssececenececeeeceeeeseeeseeceseuscessueeeees 3 6 SES SNOW Finean naaa dence eeica notion bee a nad ada cence eee ae 3 6 Programming A Web HMI Exaimpple ccccscsccccscscsccccecscsccccccscsccscccscsceccccscscescsecscesees 4 1 Writing A Simple IS AGRAF Prograln ssccccsseccsosescccsssecesssccccsesenensseceusseceensceneuesencusseseenseens 4 2 Open ISaGRAF Project Management annsira Man dure T AEN 4 3 crediting Am ISaGRAG USERS GIOU iid io taderetiicehieceas a tetas 4 3 Creatine A New IsaGRAF PTO CU croen iii Enean S E 4 4 Declaring The ISaGRAF Project Variables ccccccssscccsssceceesecccesececeesceceeseceeeaeceseeecesseeeeseees 4 5 Assign Modbus Network Address No to Variables ccccccsssccccssececesececeeseeeeeecesesceseeeeees 4 8 Create The LD LDI Procra M arernanniio iena AE A EE R 4 10 Edit TNE LIPO 2 rai iiieoo aa A E RO ie O a EA R A 4 11 Connectine The Oceanos a a a e Al ial Pa ole a a ea aaao 4 14 Compiling amp Simulating The Example Project nercurcineriiii a a E A 4 16 Download amp Debug The Example Project ccccccssecccesseccesececesececeesceeeenee
44. The 1 parameter is the name of the form The 2 parameter is the lt input gt name inside the form flag confirm turn ON 2 The last parameter is the current Boolean value if flag obj value 1 else flag confirm turn OFF Demo example vphmi_02 and vphmi_05 if flag obj value 0 if flag if GetUserlD form_obj true form_obj submit I Display the current Boolean image In this example n refresh_data 0 display img cmd0 jpg 1 img cmd1 jpg B2 src img cmd boolean_val 2 jpg i The layout or location of the image object B2 is defined here lt body onLoad init gt by the lt div and lt div gt tags lt div style position absolute width 100px height 100px z index 5 left 242px top 164px gt cursor hand will display the mouse arrow as a hand when entering the image area lt img style cursor hand name B2 onclick ON_OFF form_B2 form_B2 B2 boolean_val 2 src img cmd0 jpg gt Name of the The onclick will call ON_OFF when the mouse click on it image object The 1 parameter is the name of the form Here is form_B2 The 2 parameter is the lt input gt name inside the form Here is form _B2 B2 Name of the The last is the current boolean value Here is boolean_val 2 form lt form name form_B2 method post action main dll gt lt input nam
45. Timers 512 KB data valid up to 5 years for retain variables 16 KB Provide second minute hour date day of week month year Yes for Software Copy Protection Yes 0 8 second Rotary Switch Yes 0 9 Communication Interface RJ 45 x 1 RJ 45 x 2 10 100 Base TX Auto negotiating LED indicators Ethernet USB 1 1 host USB 1 1 client COM 0 COM 1 Internal communication with the high profile 87K series modules in slots a ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 COM 2 RS 485 Data Data with internal self tuner ASIC 2500 VDC isolated COM 3 RS 232 RxD TxD CTS RTS DSR DTR CD RI and GND Non isolated MMI Man Machine Interface LCD 3 5 TFT 5 7 TFT 10 4 TFT Resolution 320 x 240 Resolution 640 x 480 Resolution 800 x 600 Microphone In and Earphone Out Earphone Out 3 Dual Color LEDs LED Indicators PWR RUN LAN1 L1 L2 L3 L1 L3 for User Programmable 2 LEDs PWR RUN I O Expansion Slots 3 Note For High Profile l 8K and I 87K Modules Only AEO 182 mm x 158 mm x 125 mm 293 mm x 231 mm x 129 mm WxLxH Installation Panel Mounting Ingress Protection Front panel IP65 Environmental i Temperature ki i Temperature Ambient Relative 10 90 RH non condensing Humidity 10 30 VDC Slot Number Input Range Isolation Capacity 12 5 W N y r lt 2 vI Co
46. User Manual V 1 5 10 2014 by ICP DAS Ap 15 Appendix C Hardware Interface amp Dimension VP 23W7 VP 25W7 Rubber Keypad Rubber Keypad 3 5 TFT LCD 5 7 TFT LCD with Touch Panel LED Indicators LED Indicators microSD Socket microSD Socket Rotary SW Rotary SW d a pisiy amp rrel rClree aiia VP 23W7 25W7 I O Expansion Slots Power In amp FG Microphone In COM3 LAN RS 232 Ethernet Ap 16 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS VP 23W7 23W6 Unit mm Jee ea ne me ARBA RAOS jz 153 5 7 O oy g g pogogog OoOooo0 Recommended Panel Cut Out Front View Right Side View 117 0 a tec sabba Bhia oto Bottom View ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 17 VP 25W7 25W6 Unit mm of era AANA GBDD 78 ee 1 153 0 1 1367 158 0 Recommended Panel Cut Out Right Side View Neo it Tite aBn Bottom View Ap 18 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS VP 4137 4147 10 4 TFT LCD with Touch Panel Ea X _ al 7 e 4 a ae as hee et amp TTT set ee te VP 4137 Power In amp FG I O Expansion Slots microSD Socket USB Client Earphone Out USB RS 485 RS 232 Ethernet ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 19 VP 41x7 41x6 Unit mm 291 0 276 9 1 2147 229 0 27
47. 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 Get short value of the variable of Modbus Network Address 11 UserShare UserGetReg_short Convert ToUInt16 11 out short_val Demo program ISaGRAF WinCE ViewPAC 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 25w7 23w7 english manu User_Manual_ _8xx7 pdf 10 8 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Chapter 11 More Useful Features This chapter will introduce gradually added and some useful featu
48. ViewPAC support only High profile I 8K and I 87K I O cards in its slot 0 to 2 Please refer to the accompanying CD ROM napdos isagraf vp 25w7 23w7 english manu Datasheet files 3 Please always set a fixed IP address to the ISaGRAF WinCE ViewPAC No DHCP Recommend to use the NS 205 208 or RS 405 408 Ring Switch 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 SaGRAF Ver 3 4x or Ver 3 5x IEC61131 3 standard LD ST FBD SFC IL amp FC or Non ISaGRAF Microsoft EVC 4 0 or VS NET 2008 2005 2003 VB net C net Reference Guide ISaGRAF English User s Manual VP 25W7 23W7 CD napdos isagraf vp 25w7 23w7 english manu user_manual_i_8xx7 pdf and user_manual_i_8xx7_appendix pdf IS
49. 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 cannot run correctly Forex the projecti 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 dll The QuickerNet dll Quicker dll and Mscorlib dil can be copied from the 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 1 Digital R W Functions 2 Analog R W Functions ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 10 5 10 4 1 Digital R W Functions E UserSetCoil Description This function is to set the value to a Boolean variable by Modbus network address Syntax UserShare UserSetCoil ushort iUserAddress byte iStatus Parameter iUserAddress Specify the Modbus Network Address of Variable 1 to 8191 iStatus Set the status For instance iStatus 1 for True iStatus O for False Return Value None Example Set the output variab
50. get average value of one REAL value FAQ 99 get average value of one Integer value FAQ 99 SMS VP 25W7 COM3 GTM 201 RS232 use your own phone No to_who in dictionary sending Receiving UDP bytes by using eth_udp and eth_send ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS I O Boards Used slot 2 I 87018z slot 2 I 87018z slot 1 8024W slot 2 8017HW RDN_new RDN_new T N Paneth re ed l h h aimore sending Receiving TCP bytes by using eth_tcp and eth_send and eth_recv ohn OL WiewPAC Web HMI example 1 Display controller s date amp time Pom No I O board WiewPAC Web HMI example 2 DI amp DO demo slot O 1 87055W vphmi_02 87055W Slot 0 I 87055 WiewPAC Web HMI example 3 R W Long float amp Timer value vphmi_03 No I O board WiewPAC Web HMI example 4 R W controller s String No vphmi_04 I O board WiewPAC Web HMI example 5 Multi Page demo slot O 1 87055W daimi I 87055W Menu is on the Left AORA WiewPAC Web HMI example 5A Multi Page demo slot O 1 87055W upnia2e I 87055W Menu is on the Top i e ee vohmi 06 WiewPAC Web HMI exampl 6 AIO dmo slot 1 I 87024W slot 1 I 87024W ponu 2 8017HW scaling is in ISaGRAF slot 2 8017HW vohmi 07 WiewPAC Web HMI example 7 AIO demo slot 1 I 87024W slot 1 l 87024W pom 2 8017HW scaling is in PC slot 2 8017HW l WiewPAC Web HMI example 8 download controller s file to PC h
51. gi Change your account name certificates Change your account type Configure advanced user Jey yp profile properties Change my environment pi Manage another account vanapies Change User Account Control settings 2 After clicking it will show up the screen as below Windows Vista Uncheck the option Use User Account Control UAC to help you protect your computer and then click on OK Sac y G i amp Turn User Account Control On or Off 4 Search p Turn on User Account Control UAC to make your computer more secure User Account Control UAC can help prevent unauthorized changes to your computer We recommend that you leave UAC turned on to help protect your computer Wee User Account Control UAC to help protect your computer ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 5 Windows 7 Move the slider down to Never Notify and then click on OK D GRSESSHLE 2 2 Sine SEER ERSEF STEM LTR SEARE THEN OO L 3 2L j b Ae ee Fr l A iE Ast F i BE Falls FRAR E 8 ee a EE E 38 Windows Hi TERGA RATERS RANELAS THRE PAR Peal NSS Windows 7 BR TE EELA B 3 Reboot your computer to apply the change 4 After rebooting please refer to section 2 1 Installing the ISaGRAF Software 2 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 1 5 Important Notice for Windows 7 64 bit Users Because the ISaGRAF Workben
52. gt FAQ gt ISaGRAF Soft Logic PAC gt 129 oe ro perest are a isa e Af ISaGRAF PAC XPAC WinPAC al a XP 8xx7 CE6 WP 8xx7 ViewPAC iPAC yPAC 5xx7 XP 8xx7 Aton CE6 WP 5xx7 VP 2xx7 4xx7 iP 8xx7 uPAC 718xEG SSS ee 6O oy e Modbus RTU protocol PM 213x Modbus RTU protocol A be ac PM 213x Modbus RTU protocol PM 213x ICP DAS Intelligent P Paine Meter PM 2133 2134 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 11 1 21 ZigBee Wireless Solution The ISaGRAF PAC plus ZB 2550P and ZB 2551P RS 232 RS 485 Converters can apply wireless communication reduce the wiring cost and achieve the mission of remote I O control and data acquisition Please refer to www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt 110 Wireless Solution ISaGRAF PAC Plus ZigBee RS 232 485 Converter to Connect 1I 7000 1 87K ZB 2000P Series I O Modules or Modbus RTU ASCII Devices PC PC HMI PC HMI lt CG Z6 2551P Slave ZB 2550P Host RU 87P4 8 I 87K 1 7000 I O 40 gh Profile 1 0 reseed ce NET ID 4 5 6 7 Ethernet Modbus TCP IP PC HMI La a RS 232 485 700 a i O i 1 ey 51 4 k ZB 2000P Series I O t yo An NET ID 8 NET ID 9 os a E ZB 2551P gt Slave g E 5 ZB 2551P Slave 1 7000 1 0 RU 87P4 8 I 87K High Profile 1 0 M 7000
53. left 234px top 150px gt lt input type button style cursor hand onClick return Check form1 value Enter gt lt div gt r hand will display th lt body gt A A When mouse click on this button it calls Check to post to the controller mouse arrow as a hand when entering the button area 5 16 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 5 Multi Pages The Web HMI in the ISaGRAF WinCE ViewPAC supports multi pages application You may refer to Chapter 3 to setup the multi page demo vphmi_05 to see how it works 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 hAtm 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 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 zi i 5 E
54. nothing else Please apply your charset here For example English UTF 8 Simplified Chinese gb2312 lt html gt Traditional Chinese big5 or other language lt head gt lt title gt Title1 lt title gt lt meta http equiv Content Type content text html charset UTF 8 gt lt SCRIPT LANGUAGE JavaScript src msg wincon js gt lt SCRIPT gt This line is necessary for menu htm main htm amp other multi pages 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 when the Internet Explorer has received the lt head gt 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 amp other multi pages lt font color blue size 4 gt C lt div yle position absolute width 353px height 24px z index 1 left 73px top 12px id layer1 gt Helle divs gt lt font gt lt body gt A layout object is starting with lt div amp ending at lt div gt tags lt html gt Here only show a message Hello You may replace the main htm in the ISaGRAF WinC
55. 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 25w7 23w7 english manu User_Manual_ _ 8xx7 pdf That means if you assign a Network Address No 11 to a Real type variable or Timer or integer will have 32 bit value larger than 32767 or smaller than 32768 the next No 12 should not assigned to any other variable in the ISaGRAF project However you may assign No 13 to one another variable ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 13 5 4 3 1 Post Boolean Value to The Controller ON_OFF function is used for posting Boolean value to the A To post by the image controller by refer to the current Boolean value function ON_OFF form_obj obj current_boo_value if current_boo_value 0
56. on the Resolution and None on the Shared Tags 4 Then the new project will show on the Project Explorer window as the figure Project name C Location C Users Stephen Documents WinduSoft Web Studio v7 1 Projects Configuration file C Wesers StephenWDocumentsWinduSoft Web Studio v7 1 Projects De Target platform AID hd Product type Windows Embedded Professional Windows Local Interface Windows Embedded Standard Windows Lite Interface Plus Windows Embedded Lite Plus Lite for Windows Embedded 150 tags S W A Project Demo_01 APP Template O i oo Screens Empty Application DIP IeY a Resolution Screen Group 320 x 240 b Thin Clients a Project Symbols 2 Graphics Script shared Tags Name lt None gt v Configure ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 8 3 Define application tags Select Insert gt Tag on the main menu bar gt y tr 7 gal E _ J A 7 Create a new tag in the Project Tags database Screen Group p L Thin Clients Project Symbols Graphics Script Name Array Type Description 87055W DI Channel 1 scope This demo uses a DI DO module I 87055W an AO module I 87024W and one internal variable defined as follow Please create these tags one by one i f Project Tags x pe Type De
57. or link to its COM5 to COM8 refer to the appendix G amp appendix E PC HMI lt lt lt 2 lt lt PC HMI Modbus TCP IP Modbus RTU Options Industrial Ethernet switch www icodas com root product solutions industrial ethernet switch switch selection html NS 205 10 100M 5 ports NS 208 10 100M 8 ports RS 405 10 100M 5 ports Ring Switch RS 408 10 100M 8 ports Ring Switch Pin Assignment of COM2 and COM3 VP 2xW7 VP 4xx7 COM 2 RS 485 COMS RS 232 COM2 RS 485 COMS RS 232 D D RS 485 ISO GND Ap 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS A 6 Connecting PC To VP 2xW7 s COM2 or COM3 The default Modbus RTU slave port of ISaGRAF WinCE ViewPAC 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 appendix E for more Modbus RTU ports Default communication parameter is 19200 8 N 1 ViewPAC PC RS 232 COMS3 RS 232 9 Pin DSUB i CD 2 ame RXD GND 5 R l dade TxD 3 KAY S RxD 2 If connecting PC to ViewPAC s COM2 RS 485 an l 7520 RS 232 485 converter is necessary as below ViewPAC PC RS 232 9 Pin DSUB COM2 RS 485 2 RxD n l 7520 or 7520R 3 TxD Rs 232 to RS 485 5 GND Conveter ISaGRAF WinCE ViewPAC User Manual V 1 5 10
58. read long value trom array write lang value to array read short value from array Cancel write short value to array get ascii code Info arc sine arc tangent running average Convert BCD to decimal value Transter BCD to decimal value 2 s Complement to engin format transfer 16 bit to 1 word blinking Signal Aon convert to boolean Click on Info to get detailed explanation 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 aig Sa RAF EXAMPLEL LDI Quick LD P 8 15 x File Edit Tools Optons Help D l MOR melxBd Sr aae Fo 4Ei F3 JHE Fd GH FS H F Hi F73 F8 EI Fo AFE 4 12 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS select variable to Integer A eal C function Move your cursor to the coil Double click on it select Boolean and then double click on variable name OUTO1 i ISaGRAF EXAMPLE1 LD1 Quick LD Progra o JOJ x File Edit Toole ptone Help Aa 4 Ee Hes xHd wr Qaak FO 4Hi F3 IHE Fd GH FS 40H Fe HE F7 JH FS El FQ StF 94a o DETE eal Timer Message Prograrr C function Input 1 in the 870554 board Input 2 in the 870554 board Now we have finished our Ladder code click on Save and then click on X to exit H SaGRAF RR AMPLEL LDI Quick L
59. 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 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 byemail perday FAQ 67 71 72 76 or 77 VP 2xW7 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 i8017HW voltage per 20ms then send this record file by Email VP 25W7 COM2 connects l 7530 CANopen ID 1 device SDI 8DO 4AO SAI FAQ 86 Similar as wdmo_71A but connecting two l 7530 One is at COMS one is at COM6 VP 25W7 COM2 7530 CAN device to get string with float or integer data inside Similar as wdmo_71c but connecting two l 7530 One is at COMS one is at COM6 VP 25W7 COM5 l 7530 CANopen device COM6 l 7530 CAN device New VP 2xW7 redundant system with RU 87P4 I 87K I O FAQ 93 New VP 2xW7 redundant system with I 8KE8 MTCP I O
60. slot 1 8091W Chapter 18 of the ISaGRAF User s Manual slot 2 1 8090W Moving to the Abs position when CMD is given slot 1 8091W Chapter 18 of the ISaGRAF User s Manual slot 2 83090W 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 slot 0 87055W ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 9 5 Project Name vpdmo_ 33 vpdmo_ 36 vpdmo_ 37 vpdmo_38 vpdmo_ 39 vpdmo_41 vpdmo_ 42 vpdmo_43 vpdmo_44 vpdmo_45 vpdmo_46 vpdmo_48 vpdmo_50 vpdmo_ 51 vpdmo_ 52 vpdmo_53 vpdmo_54 vpdmo_55 vpdmo56 vpdmo56a re 0 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 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 M7017R 2 M7024 MBRTU format baud 9600
61. 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 Isa C ISAWIN IsaExe C ISAWIN EXE Group Samples IsaApl c isawin smp IsaTmp C ISAWIN TMP 2 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 1 4 Important Notice for Windows Vista or Windows 7 32 bit Users Before installing the ISaGRAF if your operating system is Windows Vista or Windows 7 32 bit please change the User Account Control settings to avoid some of the setup restrictions How to disable UAC User Account Control The UAC User Account Control setting requires administrator level permission 1 From the Start menu choose Control Panel gt User Accounts and Family Safety gt User Accounts then click Change User Account Control settings or Turn User Account Control on or off HI User Accounts and Family Safety User Accounts v s E Search Control Pane Control Panel Home Make changes to your user account Manage your credentials Change your password Create a password reset disk a Remove your password Administrator Password protected Link online IDs i Change your picture Manage your file encryption
62. the ISaGRAF User s Manual for COM OPEN COM_READ functions to read write COM ports 1 Example of slot 0 I 8142iW and slot 1 i 8144iW Please refer to Appendix G of this manual for setting up more Modbus RTU slave ports Pin assignment i 8112iW i 8114W i 8114iW 2 Ch RS 232 4 Ch RS 232 GND1 05 C a j 09 Rit DCD3 ajo 2 s 08 CTS 03 1 ol 22 DSR3 TxD 03 CTS3 Hilo 07 RTS1 Of RTS3 RxD1 02 RxD3 05 jo gt lt A pcp 0 06 DSRI Rid alo O 25 DCD4 DTR4 7 jo gt DSR4 Jo 26 RTS4 o lo O2 TxD4 wWlo 28 RxD4 DCD2 ilo Om Ri2 S n ilo DTR2 Ta 13 lo om DSR2 DTR 09 RI RxD2 lo sos 08 CTS2 RI lol x TxD2 03 10 O 34 DCD1 07 RTS2 OTRA 16 bee enn RxD2 02 DSR1 Who 06 DSR2 O 36 CTS1 DCD2 RTS1 18 10 ois aud a a S id wih Ot 9 Male Connacior Port 37 Pin Female D Sub Connector Port Port4 Ap 24 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS i 8142iW i 8144iW 2 Ch RS 422 RS485 4 Ch RS422 RS485 RS485 Ch 1 D1 D1 RS485 Ch 2 D2 D2 RS485 Ch 1 D1 D1 RS 485 Ch 3 D3 D3 RS485 Ch 2 D2 D2 RS485 Ch 4 D4 D4 RS422 Ch 1 TxD1 TxD1 RxD1 RxD1 RS422 Ch 1 TxD1 TxD1 RxD1 RxD1 RS422 Ch 2 TxD2 TxD2 RxD2 RxD2 RS422 Ch 2 TxD2 TxD2 RxD2 RxD2 RS422 Ch 3 TxD3 TxD3 RxD3 RxD3 RS422 Ch 4 TxD4 TxD4 RxD4
63. the default calibration It is necessary to calibrate your screen when it works not precise The calibration process is different from the PCB version so before starting the calibration process you must first check with the PCB version as follows The latest version PCB 1 7 or later The earlier version PCB 1 5 If your PCB version is 1 7 or later there is a rev If your PCB version is 1 5 there is no rev number number sticker between the I O slots sticker between the I O slots eee ee eee eee ee ee eee eee eee ewe eeee i eee eee eee eee ee ee After checking the PCB version then select the calibration process that corresponds to your PCB version The latest version PCB 1 7 or later The earlier version PCB 1 5 1 Run the Touch_ calibrate 1 Open the Control Panel fan Programs d vy Favorites E3 Documents gt E Settings E Control Panel EF Macrosoft WordPad Help Network and Dial up Connections Run W Taskbar and Start Menu g V virtual CE E ViewPAC_Quick Test G VIEWPAC_Utility je Pin a a ann ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 11 2 Click the 4 Points or the 9 Points button Calibration Mode Select v1 6 Click on the preferred mode Wait 53 seconds to 9 Points o Da 3 Tap the touch pen in the exact center of each of the calibration markers 4 Touch the panel to finish the calibration program 5 Run the View PAC Utility to save
64. the same time to stop the CTFMON EXE process and then you may create a short cut for the ISaGRAF project manager And then check on run in separate memory space option in the shortcut property in x Projects Properties e Processes pk Gener Shote Secu Applications Processes p rformance Networking Users CPU Time Mem Usage a Projects mdm exe s20 00 0 00 00 144 E a NAVAPSVC EXE 560 00 0 00 02 3 724 E NISUM EXE 604 oO 0 00 00 4316 E TESE EME 656 Ov 0 00 00 O50 E Target type Application metask exe 696 0 00 00 3 202 E SYMPROEYSYC 720 00 0 00 00 9 500 K r Wink emtexe 500 00 0 00 06 290K Target location Eee svchnet exe a76 00 0 00 02 0 672 E inetinfo exe a4 03 0 00 00 0 688 K NIS SERV EXE g36 D 0 00 00 5 200 K 1140 o 0 00 06 5940 K Ugg D0 ee MF SUL 9 304 NAVA i444 00 0 00 00 7 120 E menappav eXe 1468 OU 0 00 00 4504 K UaFrmapt exe 1504 Ov 0 00 00 1 672 K TCO Lite exe 1512 00 0 00 01 14 246 E A Piri El Start m C ISAWIN exe HROF i Admin ewe 1529 nn nA Shortcut key None S Run Normal window Processes 22 CPU Usage 4 Commit Charge 97M j 2729M 2 2 1 3 Important Notice for Window NT Users If your computer is using the Windows NT operating system you will need to add one line to the isa ini file in the ISaGRAF Workbench EXE subdirectory C ISAWIN EXE isa ini You can use any ASCII based
65. the settings and reboot the View PAC sis Help Configuration ZA EAE d Save and Reboot Reboot Without Save solution 320 240 se Restore Deteult Settings Setting E m LE Le E Always On Top Change HTTP decument root directory to WAITICOW Ss WAAAY LI ugd Setting 2 Run the Stylus Double Click the Stylus 3 Tap the touch pen in the exact center of each of the calibration markers Double Click the ViewPAC Utility Ap 12 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Appendix B Upgrade ISaGRAF Driver to Newer Version Note If you have purchased ISaGRAF WinCE ViewPAC 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 ISaGRAF WinCE ViewPAC s ISaGRAF driver can be obtained in the ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 driver lt version Number gt For example version 1 01 is located at napdos isagraf vp 25w7 23w7 driver 1 01 Or download it from www icpdas com gt Product gt Solutions gt Soft PLC ISaGRAF amp Soft GRAF HMI gt ISaGRAF gt ISaGRAF Download List gt Driver 1 If your ViewPAC is VP 2xW7 4xx7 please stop ViewPAC 2xW7 4xx7 ISaGRAF Driver first Click on End Driver to stop it However if it is VP 2xW1 4xx1 ViewPAC without ISaGRAF license please go to step 2 r ny og Microsoft isa
66. the tGW 700 Series Modbus TCP to RTU ASCII gateway with the ISaGRAF PAC 160 Soft GRAF Application Alarm Lists 161 Using many Modbus function blocks Mbus_AR and Mbus_AW ina for loop in the ISaGRAF PAC Q How to deliver event data by ISaGRAF PAC 163 The reason of blinking power LED or L1 LED on PAC while Ethernet connect fail nee Q How to use the ISaGRAF PAC to control the tM series and LC series Modbus I O Modules Q ISaGRAF WinCE PAC Schedule Control Q Develop your own c function and c function blocks in the ISaGRAF WinCE PAC m e m e m e 9 16 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Chapter10 C NET 2008 Program Access To ISaGRAF Variables Important Notice Please store your application programs and data files in the Micro_SD Don t store them in the System_disk That is because the System_Disk is using Nor Flash memory Its size is small and major purpose is for storing OS ISaGRAF driver some basic utilities and DLL The Nor Flash memory is not good for frequently updating files If update files frequently in the System_Disk for example update a file every 1 to 5 seconds then it will be about ten thousand more updates in one day the data or files in the System_disk may crush or lost for some days or months later 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 ISaGRAF Wi
67. time Options Compiler options Resources Beygir 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 Ap 28 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Appendix Why my PC running ISaGRAF cannot connect the ISaGRAF PAC correctly The document can also be download at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 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 connect to the controller Close all ISaGRAF windows then O Windows THEME ipress Ctrl Alt Del to open the task EH SSO MA MAW manager Then stop the process which is with empty memory And then run ISaGRAF to connect eeen lenses ___ cru controller again wrnipryse EXE NETWORK SER conime exe Administrator SYSTEM feast aRarhee WOWEXEC EWE Administrator ntvdim exe Administrator wuauclt exe Administrato
68. 1 F2 F3 F4 F5 and F6 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_R returns False if the related button is released True means pressed False means released F1 btn EEP_B_R 16 A00F1 F2 btn EEP_B_R 16 A00F2 F3_ btn EEP_B_R 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_ definition for ViewPAC s buttons ADR_ 16 A00F1 F1 16 A00F2 F2 16 A00F3 F3 16 A00F4 F4 16 A00F5 F5 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 A000D Enter 16 A0008 BackSpace 16 A0010 Shift 16 A0025 Left 16 A0026 Up 16 A0027 Right 16 A0028 Down Ap 30 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Appendix K Enable the Screen Saver of ViewPAC Please set the following two items to enable the screen saver of the ViewPAC In the Control Panel gt Power gt Schemes please select Power Scheme as AC power and then set both User Idle and System Idle to the same value or setting the System Idle value larger than the User
69. 1234567 to the variable of Modbus Network Address 1 UserShare UserSetReg_long Convert ToUInt16 1 Convert Tolnt32 1234567 Set a short value 1234 to the variable of Modbus Network Address 3 UserShare UserSetReg_short Convert ToUInt16 3 Convert Tolnt16 1234 Set a float value 2 174 to the variable of Modbus Network Address 4 UserShare UserSetReg_float Convert ToUInt16 4 Convert ToSingle 2 174 Demo program ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 vb net 2008 demo wp_vb02 for R W analog I O napdos isagraf vp 25w7 23w7 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 25w7 23w7 english manu User_Manual_ _8xx7 pdf 6 8 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS MiUserGetReg short UserGetReg long Mi 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 iUserAddress As System UInt16 ByRef iStatus As Integer As Byte UserShare UserGetReg_Long ByVal iUserAddress As System UInt16 ByRef iStatus A
70. 1W can Motion Control do X Y dependent motion por Second VP 2xW7 2xW6 4137 can add one optional I 8135W card in its slot 0 2 to expand the Ethernet second Ethernet port Note The COM5 COM14 ports are located in the expansion boards if they are installed in slots 0 2 of VP 2xW7 4xx7 ISaGRAF FAQ www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC ICP DAS recommends using NS 205 NS 208 or RS 405 408 Ring Switch Industrial Ethernet Switches 14 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Chapter1 Typical Application The website for the applications supporting list of all ISaGRAF PACs www icodas com gt Product gt Solutions gt Soft PLC ISaGRAF amp Soft GRAF HMI gt ISaGRAF gt Applications 1 1 Soft GRAF HMI Application Colorful HMI Support Various and Colorful HMI Objects Pages Max 200 Support Password Security Label Normal Reverse Type Under line Boolean Value Normal Reverse Type Blinking Numeric Value Normal Scaling Limit Blink Color Text Message Value Dynamic Message Multi language Button Value Title Picture Security Confi rm Password Picture Static Dynamic Boolean Picture Login Logout Bar Meter Vertical Horizontal Scale Unipolar Bipolar Trace 1 axis 2 axis Trend Real time Historical Schedule Control Gauge Meter Alarm Lists Data Logger Log data support USB export or FTP upload Built in Various Obje
71. 2 M 7000 Modules M 7000 Series Modbus I O Supports ICP DAS Ethernet I O 8KE4 MTCP and I 8KE8 MTCP If LAN1 malfunctions it will automatically switch to the 2nd Ethernet port in optional 8135W card to continuously work The IP address for LAN1 and the 2nd Ethernet s IP should be set in the same IP domain FAQ 042 Enable a max of 3 pcs I 8172W boards in slot 0 2 to be used to connect to FRnet I O FRnet I O modules such as FR 2053 FR 2057 FR 32R FR 32P Each l 8172W board can link toa max of 256 DI plus 256 DO channels FAQ 082 154 Send Email Provide functions to send email with a single attached file via the Ethernet port Used to exchange data between ICP DAS ISaGRAF Ethernet PACs via the Ethernet port Ebus LAN1 Port only Either COM3 or COMS5 can link to a GSM Modem to support SMS The user can request SMS Short Message data control the controller via a cellular phone The controller can also send data and Service alarms to the user s cellular phone Optional GSM Modem GTM 201 RS232 850 900 1800 1900 GSM GPRS External Modem COM3 or COMS5 supports the ICP DAS MMICON The MMICON is featured with a 240 x MMICON LCD 64 dot LCD amp a 4 x 4 Keyboard to display picture string integer float amp input a char string integer amp float UDP Server amp UDP Client Exchange Message amp Auto report Modbus TCP IP I O LAN1 or the 2nd Ethernet in optional I 8135W card support
72. 2 166 353 198 come 0430 Move up in list Move down in list m demo 47b ug Project comment text a 2 x x E Reference exa Author Project ey ammole Cancel minar You will now see the name of the new project in the Project Management window Double click on the name of the new project to open the new project A SaGEAF Project Management O x Fie Edit Project Tools Options Help Be bem Melt 9 Bes 2 f demo bla T188E redundant Master 192 166 3 199 com lt gt 7043 f demo 46b 7188 G redundant Slave fH demo 49b S437 08837 redundant Slave m demo 451b T188EG redundant Slave 192 168 3 198 com lt gt 7043C Go Gee tee l epa m demo 4 b Double click on the project name to Reference exa get into the project window Author E z 4 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 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 ISaGRAF EXAMPLE Programs E 0 x Fie Make Project Toole Debug Options Help D mew Oem axr Ow Aes To declare the program variables for the ISaGRAF project double click on the color
73. 2nd Ethernet port of VP 25W7 23W7 4137 VP 4147 default has 2 Ethernet ports If one Ethernet cable is broken or damaged the other one will still work If 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 icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 093 VP 2xW7 4xx7 Hot Swap Redundant System PC vw D ll PC HMI Ethernet aeaa Ns 205 208 LAN2 Backup PAC PAC i LAN1 Em LAN1 i com2 VP 2xw7 4xx7 COM2 1 8135W es 4as5 D D RU 87P4 D E AE iL Hot Swap RU 87P4 8 1 87K I O High Profile cards VP 2xw7 4xx7 1 8135W RU 87P8 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 3 1 5 Modbus Master RTU ASCII RS 232 485 422 Support up to 10 ports COM2 COM3 amp COM5 COM 14 if 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 Modbus RTU ASCIlI Master Modbus tM 7000 I O Modbus Device Module w q id im 4XX7 1 6 Modbus Master TCP IP Each ISaGRAF WinCE ViewPAC supports to link to max 100 Modbus TCP IP slave devices Support various Standard Modbus TCP IP Slave devices 1 4 More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 113 Modbus TCP IP Master XP 8xx CE6 Modbus T
74. 4 6 Recommended Panel Cut Out Ap 20 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Appendix D Enable The Second Ethernet Port Of The VP 2xW7 2xW6 4137 4136 The VP 4147 4146 default has 2 Ethernet ports But the VP 25W7 23W7 25W6 23W6 4137 4136 default has only one Ethernet port named LAN1 User can add one I 8135W card in the slot 0 to expand the 2nd Ethernet port named 8135 For example the ISaGRAF WinCE ViewPAC redundant solution need the 2nd Ethernet port Please refer to www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 093 To setup the second Ethernet port in the I 8135W please follow below steps 1 Power off the ViewPAC then install the l 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 rs wphni ViewPAG Utility 2 0 1 0 fy File Help Configuration VIEVWPAL LSS ea System Setting Ethernet Setting FTP Setting System Information Alte LANL SLN D Mac Address Use DHCP to get IP address A amp ddign IP address 6 F Address 192 168 1 180 Documents ho Mask 255 255 255 0 Datewanv 0 0 0 0 DNS Server Tr D i cr mF a Enable 8135 Module Help Configu
75. 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_blueO 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 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 31 OUTO2 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 lt div style position 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 jog 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_val 2 ju
76. 8 4 CH DI amp 4 CH DO H Mote ve kew Keypad Input mbus Modbus master on COMMS or COM4 MMICON Connect MMICOM by Coma or Ce modem ps Set Password of Com Modern riteps000 Link to MTCP 6430 6830 S256 412 Batter backup SAAM for l 87 SM5 Short Message Service Library I Boards MESME Aadbus TCP IP Fauioments 107 BOL amp 700 for the 188G EG 119 FOL amp 700 for the 7188G EG am SeGRAF WHMI 05 LO connection 5 x File Edit Toole Optons Help B aBem tel RK g i ao i_ 87055 g ceume fe A DIG n ian IP_1 10 0 0 2 DOB ae IP 2 10 0 0 4 sue PAA m IP_ 4 NYA m IP_5 NJA 4 m IP_6 amp NJA m IP_ 7 NA e mm IP_8 NJA 7 am vip if B ip ng ia a fa Emilie Please re compile your ISaGRAF project and download it to the controller if you have modified the IO connection 5 20 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Chapter6 VB NET 2008 Program Access To ISaGRAF Variables Important Notice Please store your application programs and data files in the Micro_SD Don t store them in the System_disk That is because the System_Disk is using Nor Flash memory Its size is small and major purpose is for storing OS ISaGRAF driver some basic utilities and DLL The Nor Flash memory is not good for frequently updating files If update files frequently in the System_Disk for example update a file
77. 92 KB jul 30 2013 Maua scsssesesesasstatistsssee Date Sheet XPAC k Motion Control 190 KB Jul 30 2013 Demo Files ai Date Sheet ISaGRAF PAC Applications 1 98 MB Jul 30 2013 ISaGRAG PAC nile sca XP Byx7 Atom CE6 iaaii WinCE PAC See eee eee eee eee eee eee esse esse ess sess esssssssessssss ONES O Oai All WinCE PDF and I O Selection ZIP 4 4 MB Aug 02 2013 WP Ox37 8x47 SUSSCSVSSUSSCSRFSISSTSESSIS See FSIS Date Sheet XP Sxx7 CE6 XP 8xx Atom CE6 1 67 MB Jul 30 20 13 VP 20W7 4x i WP 5147 5147 0D _ Sheet NER BAST i 1 45 MB Jul 30 2013 VP 2117 Date Sheet VP 25W 7 23W 7 4137 iP 8x17 8x47 ie VP 4147 PERT ERS 80 HOOP Date Sheet WP 5 147 5 147 0D 1 2 MB Aug 02 20 13 PA amp C 5x07 I es ce an ISaGRAF Mini0S7 PAC UPAC 7 186EG 7188xXG ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 7 High Speed Local I O Modules Parallel Bus I 8K High Profile Modules More at www icpdas com gt Product gt Solutions gt Remote I O Modules Units gt I 8K amp 87K Il 8K Analog I O Modules 8014W 16 bit 250K sampling rate 8 16 ch analog input module The scan rate cannot reach 250K when using in the ISaGRAF PAC 8017HW 8 ch Differential or 16 ch Single ended 14 bit High Speed Analog Input Module current input require external 125 resistor The scan rate cannot reach 100K when using in the ISaGRAF PAC I 8024W 4 ch Isolated Analog Output Module 10 V O 20 mA I 8K Digital
78. AS 1 15 1 26 HART Solutions ISaGRAF PAC support I 87H17W modules to communicate with other HART Devices Driver version XP 8xx7 CE6 1 15 XP 8xx7 Atom CE6 1 01 WP 8xx7 1 35 VP 2xW7 4xx7 1 27 ISaGRAF PAC support I 87H17W modules in its main control unit only XP 8xx7 CE6 XP 8xx7 Atom CE6 slot 1 7 WP 8xx7 slot O 7 VP 2xW7 4xx7 slot 0 2 They don t support I 87H17W modules plugged in the RS 485 remote O expansion unit I 87H17W provides eight Analog Input channels to measure 4 to 20 mA current input It also can be used as 8 ch HART communication ports More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt 136 ICP DAS HART Solutions for the ISaGRAF PAC WinPAC XPAC ViewPAC XP 8xx7 CE6 WP xp 8xx7 Atom CE6 _VP 2xW7 4xx7 ik EI HART Devices DN 37 DN 37 A 1 87H17W HART Module ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 27 2G 3G Wireless Application Support to communicate with remote Server by 2G 3G wireless modem More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 143 151 153 2G 3G Wireless Application 1 8212W 1 8213W 2G GSM GPRS module 8212W 3GWA I 8213W 3GWA 3G WP 8xx7 XP 8xx7 CE6 VP 2xW7 4xx7 XP 8xx7 Atom CE6 ISaGRAF PAC apne TCP UDP GPRS 2G data A WinPAC GSM 201 RS232 2G WP 5xx7 GTM 201 3GWA 3G WCDMA 3G e mail with attached file jL all
79. Address type in the correct IP address of your PAC and click OK a 4 nOn ff ie os 3 nduSoft Web Studic oy be cee NEG ter amd Ti d ks ae amp Screens i MainPage scr E Screen Group Send Period ms 1000 Disable Remote Client Commands Enable ToolTips Auto Screen Scaling Enable File Compression Log Virtual Keyboard Enable Default Keypad X FileName Show Hin Sd Built in Dialogs Scale Enable Min Max fields 8 10 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Download and run the project Select Home gt Connect to open Remote Management window In the Network IP of Target Station type in the correct IP address of your PAC and click Connect gD Download r Ca Run onne sor Tasks Database LogWin Spy Project Target Station Network IP oo A ke XYK wss Status e Embedded Lice Securi Platform Install Systm ACERT Linky newer filer The Install system files button can update ViewPAC s 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 If connection is fine click on the tab of Project then click Download When download finished click RUN to start the project Remote Ma agement
80. CP IP XP 8xx7 Atom CE6 n connections egy ray ay Modbus TCP IP a Slave Meter ISaGRAF PAC UPAC 7186EG iIP 8xx7 m e WP 8xx7 Gere p om iDCS 8000 z Vane Modbus TCP IP Master Protocol Redundant I O ET 7000 I O tPET 7000 I O ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 7 Modbus Slave RTU TCP Modbus RTU RS 232 485 422 max 5 ports Modbus TCP IP max 32 connections HMI SCADA hn Ethernet I Ethernet f RS 232 AE oRS 232 Multi serial ports modules I 8112iW 8114W 8114iW 8142iW 8144iW VP 2xW7 4xx7 Touch 8000 Touch 6000 Touch 500 1 8 Communicate With Other TCP IP Server or UDP Client Server Devices VP 2xW7 4xx7 eget TCP IP Server or UDP Client TCP IP Client or Sn UDP Client Server Devices ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 5 1 9 Multiple Web HMI Monitor amp Control Everywhere PC Running the Internet Explorer _ _ e foipese aay 6 5 o 3 8 s 1 pipo ee p a ou _ e m lt Ea a n A 4 4 d oe e te n j i a gt A n Ethernet VP 2xW7 4xx7 am PC running Internet Explorer Modem RS 485 plore ode l 7000 RU 87P4 8 1 87K 1 87K4 5 8 9 1 87K VO Modules High Profile I O Modules I O Modules 1 10 Send Email with One Attached File More a
81. D Program E Z oO File Edit Tools Options Help ME2a mHsl xBd Prt QQaake g Fo 4H FONE F4 GH FS 40H Fe Hi F7 Fe Gl Fo ti SAYE OLITO4 4 13 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 1 8 Connecting The I O We have defined variables name of OUT0O1 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 O of the ViewPAC amp then check on the Equipments amp double click on the I_ 87055 8 CH DI amp 8 CH DO ISaGRAF EZAMPLE1 Programs PERE File Make Project Tools Debug Opton Help a BSE DEO xrel Begi File Edit Tools Options Help Vers arbel nts Ii a K Select board fequipment o 053c 16 CH Del amp Cnt Max 100Hz L87054 Isolated 8 CH DI amp 8 CH DO i g7055 aie H il amp 8 CH DO i Cancel 87055c 16 CH 1 0 amp Cnt Maz THUHz 87058c 8 CH Dal amp Cnt Max 100Hz Click Note to _ 87063 Isolated 4 CH DI amp 4 CH DO Note ese WGI ofUBb3c 8 CH VO amp Crit Max 100Hz ofleec 2 Counter 2 read back DO LofUeet 2 Frequency amp 2 00 Libr
82. E EE T E 1 1 1 1 Soft GRAF HMI Application Colorful HMl eeeseessseessseseseessssesssersseersseesssersseereseersseessseressereses 1 1 1 2 etocger TINIAN DING AION Msasa a E a casaracawaneeaeooees 1 2 1 3 Redundant Communication System s esssesssesesserrsseesssresssrresrrreseressrerssreessrreseerssreessreeserreses 1 3 1 4 New Hot Swap and Redundant System ccccssccccssecccessceceescceeesececeesceseuseceseaeceseuecessueceseees 1 3 1 5 Modbus Master RTU ASCII RS 232 485 422 cccccessssseececccccccceseeseeeeseeeeeseseseeeeececeesseeess 1 4 1 6 WOE DUS Master TCP IP norna a a O E TE 1 4 1 7 Modbus Slave RU TGP rreren EE EE N 1 5 1 8 Communicate With Other TCP IP Server or UDP Client Server Devices cseececeeeeeeeeeees 1 5 1 9 Multiple Web HMI Monitor amp Control Everywhere ccccccssecccsssecceseeeeeseceeeeecesseeeeeeees 1 6 1 10 Send Emal wWithsOne Attached File tsicigileceicnttsaestellndenl dice e EA 1 6 1 11 Data Recorder amp Data Ose CF arruina a aa a a 1 7 1 12 REMO SD OAPI a O aaea 1 7 1 13 SMS Short Mes ace Sery CE ainin a a T 1 8 1 14 As a Modbus Gateway for the Remote I O Modules cccccccccccccccceeeeeeeeeeeeessesceeeeeeeceeseess 1 8 1 15 MOIO o1g vol OD oei n EE EIEN ONA 1 9 1 16 Stress Monitoring Application of Constructions sesseessseessseresrerssresssresserreseereseesssrerssereses 1 9 1 17 Fast FRNetREMOtE VOo TA E ASTA 1 10 1 18 Integrate with CAN CANopen De
83. E ViewPAC CD ROM napdos isagraf vp 25w7 23w7 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 5 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Welcome Microsoft Intemet Explorer eS oki oF SHE HRO BARF IAM KAH m E e t H O2 Que uiter Gee 3a 50 HEAS HOA DY http 10 0 0 103ogindll iE EE Norton Antivims O Logout Hello A moving word is display here This is because the action of calling show_scroll_world Hello Welcome to the Web HMI Sample Ee 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 about 10 to 45 seconds A Welcome Microsft Intemet Explorer BAD SED HAO RRB IAM HAH F a OHA Ars Genet One Oh au HEAS Logout Hello ie O emme i 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 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 4 2 More About The refresh_data Function And Dynamic Data Note The code variable name and function name is case sensitive For exampl
84. E sve moe ae Begin alarmMsg modify alarm message S11 For String amp Integer amp Float O x sequential 3 stcl mode tos Begin LOT Ladder Diagram 3 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Click on Setup first and then entering the IP address of your controller The port number should be 502 PC PLIC link parameters Target Slave Number Communication port ETHERNET Cancel Control Setup x Time out seconds ETHERNET link parameters Retries Internet addres The Workbench uses the WINSOCE DLL library for TCP IP communications Ensure that this file i corectly installed on the hard Cancel Pork number disk To download vphmi_05 project to the VP 25W7 Click on Debug If communication is established click on stop first to stop the old project running in the VP 25W7 SaGRAF PHHMI 05 Programe File Make Project Tools Debug Optons Help D mP De S wie Oe Aes Begin loj x Seguential E sf Begin ST1 Structured Te File Control Tools Options Help Ams gt Ho o Ae wo thi active Stop application Then click on Download to download it to the controller SaGRAF PHMI 05 Debugger l O x File Control Toole Option Help m gt gt i gt LT wp whi active Download Application sy
85. F WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS get_random_val should be always called at the beginning of the Login htm It is the entry point of the Login htm lt body onload get_random_val gt lt div style position absolute width 332px height 34px z index 5 left 147px top 27px id layer1 gt Welcome lt div gt Your caption here 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 own lt div gt word For example aa This may lt body gt require to modify the 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 lt html gt This code is only for the Login htm please do not apply to other pages For example the menu htm amp main htm amp other htm pages That s all the login htm need You can insert more images or text to it Only remember to keep its basic code ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 3 5 3 menu htm Note If you want to know more about the multi page application
86. F WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 9 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 lt body onLoad init gt The layout or location of the Text object L11 is defined here by the lt div and lt div gt tags lt div style position absolute width 214px height 53px z index 2 left 102px top 79px gt lt b id L11 gt xxx lt b gt lt div gt se The declaration of Text object L11 is defined here by the lt body gt 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 lt body onLoad init gt The layout or location of the Text object S31 is defined here by the lt div and lt div gt tags lt div style position absolute width 214px height 53px z index 2 left 102px top 79px gt lt b id S31 gt empty lt b gt lt div gt ve The declaration
87. I O Modules I 8057W 16 ch Isolated Open Collector Output Module I 8058W 8 ch Differential Isolated Digital Input Module Max AC DC Input 250V 83060W 6 ch Relay Output Module AC 0 6 A 125 V 0 3 A 250 V DC 2 A 30 V 8063W 8064W 4 ch Differential Isolated digital input amp 4 ch Relay output module AC 0 6 A 125 V 0 3 A 250 V 8 ch Power Relay Output Module AC 5 A 250 V DC 5 A 30 V 4 ch Form A 5 A 250 Vac 28 Vne amp 4 ch Form C 5 A NO 3 A NC 277 Vac 30 Voc Relay Output Module l 8068W 8069W 8 ch PhotoMOS Relay Output Module Max AC DC 1 A 60 V l 8K Counter Frequency Modules 8084W 4 ch Encoder can be dir pulse or up down or A B phase Quad mode Not support Encoder 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 3 axis Encoder Module max 1M Hz for quadrant input mode max 4M Hz for pulse direction and cw ccw input model l 8093W 1 8090W 3 axis Encoder Module l 8091W 8092F 2 axis Stepping Servo Motor Control Card without encoder input High Speed 2 axis Motion Control Module with FRnet Master For XP 8xx7 CE6 only l 8094 High Speed 4 axis Motion Control Module For XP 8xx7 CE6 only l 8094F High Speed 4 axis Motion Control Module with FRnet Master For XP 8xx7 CE6 only l 8K Communication Modules l 8112iW 2 ch Isolated RS 232 Expansion Module l 8114W 4 ch non is
88. I O Other Modbus Device 89 SiD Seren an NET ID 4 5 6 ee n NET ID 10 11 12 NET ID 13 14 15 16 1 12 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 22 GPS Application ISaGRAF PAC Plus I 87211W or GPS 721 ISaGRAF PAC can support one I 87211W slot 0 7 or I 87211W GPS 721 as RS 485 remote GPS I O For doing auto time synchronization and getting local Longitude and Latitude More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 107 More GPS receivers at www icpdas com gt Products gt Wireless gt GPS receiver GPS Application ISaGRAF PAC I 87211W or GPS 721 iP 8x47 pate Tin 8xx7 Atom CE6 E XP 8xx7 CE6 Longitud Je giii I h LW Ge e Date Time om 5 C d C S Longitude Latitude HPAC 5xx7 i GPS 721 VP 2xW7 4xx7 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 13 1 23 Data Exchange Ebus Ebus Ethernet Network Each ISaGRAF PAC can use its Ethernet port to talk to each other via the Ebus communication mechanism When PC is talking with controllers via Ethernet the controllers can also talk to each other via the same Ethernet It makes the configuration more flexible and faster Note The XP 8xx7 CE6 XP 8xx7 Atom CE6 WP 8xx7 and VP 2xW7 4xx7 don t support Fbus RS 485 Fbus _ iP 8x47 _ HPAC 7186EG EGD VP 2117 1 24 Detect Hot Swap I 87K High Profile I O Status
89. ISaGRAF WinCE ViewPAC User Manual Version V 1 5 ViewPAC Models VP 25W7 VP 23W7 VP 4137 VP 4147 VP 25W6 VP 23W6 VP 4136 VP 4146 ays Lu 7 PRC P 2aWT PWR RUN LAN VP 25W7 Pump 01 Speed Meter Fane Ti Resume Coa AAARAAR Le menial d 5 r b P s F D aa EPP al f F gt j d E h5 E k i Elephant Turtle Ladybug Hippopotariiass AR GLT MA A pS 2a S i Lucky Cat Fox Dolphin Rare animal i DEE 8 Bhs The ISaGRAF WinCE ViewPAC in this manual include abbreviation VP 2xW7 4xx7 VP 25W7 VP 23W7 VP 4137 VP 4147 Support ISaGRAF logic running in the PAC VP 25W6 VP 23W6 VP 4136 VP 4146 Support InduSoft amp ISaGRAF logic running in the same PAC ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS ISaGRAF WinCE ViewPAC User Manual Important Notice 1 Please store your application programs and data files in the Micro_SD Don t store them in the System_disk That is because the System_Disk is using Nor Flash memory Its size is small and major purpose is for storing OS ISaGRAF driver some basic utilities and DLL The Nor Flash memory is not good for frequently updating files If update files frequently in the System_Disk for example update a file every 1 to 5 seconds then it will be about ten thousand more updates in one day the data or files in the System_disk may crush or lost for some days or months later 2 ISaGRAF WinCE
90. M3 and Multi Clients ceccccessecceesececeesceceeseeeeeeecesseecessenees 6 Connecting PC To VP 2xW7 s COM2 or COM ccccccsseceessececesceceesececeeeceseenceeeeecesseesesseeeeees 7 Deleting the ISaGRAF Project From The VieWPAC c ccccssscccesseeccesececeeececeeneceseeceseeeceeaenees 8 Linking l 7000 and I 87K Modules For Remote I O cccccccccccccccceeeseseeeeeseseeseeeecceccsseeeeeeeeeeaeegs 9 Linking To An HMI Interface DeVICE csccccesssccesseccuenececessccecseccteneseseussececuscencueseseuaseceensss 9 Linking TO Other Modbus DEVICES csscedeice cies tavsioasseevsedeavadeduar E a iudeduae esses te edleds 10 Recalibrate Ine Touch Screen OF VPH25 WF cseco casts Coes caniet etna sean E E E 11 Upgrade ISaGRAF Driver to Newer VersiOn cscscscsscscscsccscscsccccccsceccccecsceccecscscececcececes 13 Hardware Interface amp DIMENSION scsscsccsccscsccsccscsscsccsccscnscscescsscsscscsscscescescnsescnsonss 16 Enable The Second Ethernet Port Of The VP 2xW7 2xW6 4137 4136 ccccccceccsccsceccece 21 Using Expansion RS 232 485 422 ccssccsssssccssccsscseccnscceseecccsscesseccusscessseccesssessseseussees 23 Slow Down ISAGRAF Driver s Spe ed sccscscscsscscsccccccscsccccccscnceccccscnceccccscsceseccecsceseecess 26 Setup More Modbus RTU Salve Ports scscssccscsscsscscsccsccsccscsscsccscnscscoscsscsssscnscssescnsees 27 Compiling Error Result In Different IS GRAF Version
91. Manual V 1 5 10 2014 by ICP DAS W UserGetCoil Description This function is to get the value from a Boolean variable by Modbus network address Syntax UserShare UserGetCoil iUserAddress As System UInt16 ByRef iStatus As byte Parameter iUserAddress Specify the Modbus Network Address of Variable 1 to 8191 iStatus Get the variable status iStatus 1 for True iStatus O for False Return Value None Example Get the variable status of Network Address 1 Dim iStatus As Byte UserShare UserGetCoil Convert ToUInt16 1 iStatus Demo program ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 vb net 2008 demo wp_vb01 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 6 7 6 4 2 Analog R W Functions MiUserSetReg short UserSetReg long Mi 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 iStatus As Integer As Byte UserShare UserSetReg_Long ByVal iUserAddress As System UInt16 ByRef iStatus As Integer As Byte UserShare UserSetReg_ Float ByVal iUserAddress As System UInt16 ByRef iStatus As Single As Byte Parameter iUserAddress Specify the Network Address of Variable 1 to 8191 iStatus Set the short or long integer or float value Example Set a long value
92. Modbus TCP Protocol Q How to implement the communication redundancy between the central control station and the local stations 116 117 118 119 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 120 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 129 Q How To Connect The ICP DAS Power Meter PM 2133 and PM 2134 By The ISaGRAF PAC 130 Q How to automatically synchronize the time of WP 8x47 VP 23W7 over a network 131 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 Q How to send and receive UDP TCP data Q How to reset the ISaGRAF driver or reset the whole controller by software Q How to program ISaGRAF PAC to support SQL Client to write data to or read data f
93. P4 and RU 87P8 expansion unit plus the I 87K high profile I O cards to support the hot swap application If the I O card is damaged the maintenance person just takes one good card with same model number to hot swap the damaged one without stopping this redundant system FAQ 093 COM3 or COM5 14 can connect to one l 7530 converter RS 232 to CAN to support CAN CANopen CAN CANopen devices and sensors One PAC supports a max of 10 RS 232 ports to connect a max of 10 I 7530 FAQ 086 Enable the I 8123W CANopen Master card to connect to other CANopen Slave devices CANopen Master FAQ 145 HART Solutions Enable 87H17W modules in slots O to 2 to communicate with other HART devices Enable the FTP Client to upload files from the PAC to a remote FTP server on a PC FTP Client FAQ 151 The Soft GRAF g Alarm and g_Logger1 HMI objects also support FTP Client FAQ 146 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 13 TCP Client Exchange Message amp Auto report Hot Swap and Redundant System Provide support for the Soft GRAF HMI The user can design the HMI screen using the Soft GRAF HMI Soft GRAF Studio on the PC and then download it to the PAC to display the HMI on the PAC FAQ 146 Optional I O Functions Refer to the ISaGRAF PAC I O Selection Guide for I O Module list High Speed PWM Module l 7088 I 8088W I 87088W 8 ch PWM outputs software support 1 Hz 100 kHz non continuous du
94. Q How to use WinCon 8xx7 8xx6 to control FRnet I O Q Setting a special CODE_ parameter of MBUS R amp MBUS R11 to get a clear Degree Celsius or Degree Fahrenheit input value of M 7000 temperature module For ex 3012 means 30 12 degree 50 Q How to connect an ISaGRAF controller to M 7000 Remote I O 51 Q VB net 2005 Demo program using Modbus TCP IP protocol to control ISaGRAF PACs 52 Q VB 6 0 Demo program using Modbus TCP IP protocol to control ISaGRAF PACs 53 Q Performance Comparison Table of ISaGRAF PACs 12 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS O 1 54 55 56 UI N UI 0 0 59 OD Oy OD N e UI U9 1 62 67 70 N N 73 74 75 N N 81 English ISaGRAF Ver 3 FAQ Q iPAC 8xx7 and WPAC 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 Thermo couple temperature Input And also display the value on PC by VB 6 0 program 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 256 512 in I 8437 80 or l 8837 80 The sampling t
95. R SYSTIME WW cal time calculate time vq WO connection A OE control output aw SaRAF WDEMO_03 I O connection E Oo x File Edit Toole Optons Help Pre SB PRA TEIHEA S g Technical note z t i_80 w amp mm busz 000 wa remot ro eleo Meee On line help of ISaGRAF languages loj x JA aG RAF Project Management Fie Edit Project Toole Options Help BS DEM We Ters guide D Language reference fm creation IsaGRAF RAE ASHE EM BRAH AEC pjs SBB Mize ISaGRAF Language reference E Project architecture E Common objects 3 SFC language 1 l C language F 1 BO language standard operators function blacks and functions ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 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 4xx7 ISaGRAF WinCE ViewPAC Demo Example files CD ROM napdos isagraf vp 25w7 23w7 demo Web ICP DAS Home gt Product gt Solutions gt Soft PLC ISaGRAF amp Soft GRAF HMI gt Download Demo FTP ftp ftp icodas com pub cd vp 25w7 23w7 napdos isagraf vp 25w7 23w7 demo ISaGRAF User s Manual ICP DAS Home gt Product gt Solutions gt Soft PLC ISaGRAF amp Soft GRAF HMI gt Download Manual English napdos isagraf vp 25w7 23w7 english manu User Manual_ _ 8xx7 pdf and User Manual_ 8x
96. RAF max string length is 255 To access to long integer value 32 bit integer please use get_long_val function For example get_long val 11 get_long val 13 get_long val 15 get_long val _ long integer value in the ISaGRAF 2147483648 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 25w7 23w7 english manu User_Manual_ _8xx7 pdf That means if you assign a Network Address No 11 to a Real type variable or Timer or integer will have 32 bit value larger than 32767 or smaller than 32768 the next No 12 should not assigned to any other variable in the ISaGRAF project However you may assign No 13 to one another variable 5 8 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 4 2 1 Displaying Dynamic Boolean Data Demo example vphmi_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 The action of the image object B1 is defined here function refresh_data B1 src img circle_blue boolean_val 1 jpg 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_blue0O jpg lt body onLoa
97. RAF SoftLogic in the WP 8xx7 VP 2xW7 4xx7 and XP 8xx7 CE6 PAC for more information about programming an eLogger application eLogett Develop FIO 20 MOWVIIT C UCIDASwLogerrvlegger_ Developer inj n ore Project Edw View Layout Size About jams On As nr y ANE Page 1 OK1 DO 101 DO 102 Goto Page 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 9 2 5 Working Soft GRAF HMI with ISaGRAF SoftLogic Soft GRAF is an HMI Human Machine Interface software developed by ICP DAS which allows user to create his colorful HMI application running with the control logic in the same ISaGRAF WinCE series PAC Using the PAC with the Soft GRAF support user can easily edit its HMI screen by Soft GRAF Studio and design the control logic by ISaGRAF software Running HMI and Control Logic in th e Same PAC Pr ta TPM 4100 XP 8xx7 Atom CE6 XP 8xx7 CE6 WP 5147 WP 8xx7 VP 2xW7 4xx lt a s amm I O Control lt 1 t Po ical EO m el Feature Support Various and Colorful HMI Objects Pages Max 200 Support Password Security Label Normal Reverse Type Under line Boolean Value Normal Reverse Type Blinking Numeric Value Normal Scaling Limit Blink Color Text Message Value Dynamic Message Multi language Button Value Title Picture Security Confi rm Password Picture Static Dynamic Boolean Picture Login Logout Bar Meter Vertical Horizontal Scale
98. RxD4 MEZ D1 TxD1 vs 01 D1 TxD1 ped D1 Tx01 a 02 D1 TxD1 hed RxD1 a 03 RxD 1 HEI RxD1 re 04 RxD1 hel GND Wa 05 GND1 hel D2 TxD2 Wa f 06 D2 TxD2 HEI D2 TxD2 Wa 07 D2 TxD2 Rof RxD2 Ka 08 RxD2 Rel RxD2 Wa 09 RxD2 hel GND2 ho 10 GND2 HEI N C MEY D3 TxD3 HE N C ro 42 D3 TxD3 HEI N C a 13 RxD3 HEI N C HET RxD3 HEI N C Halj 45 GND3 HEI N C HE D4 TxD4 HE N C M o 17 D4 TxD4 helft N C HETET RxD4 HEI N C Wa 49 RxD4 Le N C 20 GND4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 25 Appendix F Slow Down ISaGRAF Driver s Speed You may wonder Why The faster speed is not good The reason to slow down the speed of ISaGRAF driver is when you running some other HMI program For example InduSoft 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 to slow down the speed of the ISaGRAF driver PLC Mode Description plc_mode Function Change the ISaGRAF driver speed MODE C Argument MODE_ integer Can be 0 1 2 0or3 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
99. Tools Options Help Aa Mee MS Bd eA aaga Fo AHR IE Fd GH FS 40H F CHE F7 3H FS Il Fo Se F9 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 sie SaGRAF EXAMPLEL LD Quick LD Program a _ O x File Edit Tools Options Help Aa Yee HS syed PH QQei Move the cursor to the first contact and then click on cut to delete it ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 11 Click on the F6 Block on the left icon and you will create a block on the left of the coi m sa RAF EXAMPLELLDI Quik LD Program E O x File Edit Tools Optons Help Dal xp Mp Edl P aga sg F24HE FSi Fd Gel FS 4H Fe QB FP FS IG Fo Fa gt 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 aig SaGRAF EXAMPLELLD Quick LD F EE 10 x File Edit Tools pt tons Help D l Mea m l md Pr age gs F2 4JHE F3 JHE Fa GH FS H Fe HE F7 J0 Fe IA Fa tS Double click on anywhere inside the block write float value to array
100. Unipolar Bipolar Trace 1 axis 2 axis Trend Real time Historical Schedule Control Gauge Meter Alarm Lists Data Logger Log data support USB export or FTP upload Built in Various Objects Button Gif LED will be More Multi language English Traditional Chinese Simplify Chinese Russian etc VV V VV VV VV VV VV VV WV Support user designed graphics e g JPG PNG 2 10 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Information and links For more information refer to FAQ 146 www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 146 Q Soft GRAF Studio V x xx Software amp manual Create a Colorful HMI in the ISaGRAF WinCE PAC The following ISaGRAF drivers support the Soft GRAF ISaGRAF PAC ISaGRAF Driver Version XP 8xx7 CE6 Ver 1 41 or later XP 8xx7 Atom CE6 Ver 1 02 or later WP 8xx7 Ver 1 61 or later WP 5147 Ver 1 07 or later VP 2xW7 4xx7 Ver 1 53 or later The latest version of ISaGRAF driver http www icodas com root product solutions softplc based on pac isagraf download isagraf li nk html www icpdas com gt gt Product gt Solutions gt Soft PLC ISaGRAF amp Soft GRAF HMI gt ISaGRAF gt ISaGRAF Download List ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 11 Chapter 3 Setting Up A Web HMI Demo The ISaGRAF WinCE ViewPAC in this manual include abbreviation VP 2xW7 4xx7 VP 25W7 VP 23W7 VP 4137
101. Via 2nd 3rd 4th or 5th Modbus RTU slave port user may use ISaGRAF to Debug Set_val to the controller however user cannot Stop Download Update the ISaGRAF program 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 COM3 if enabled COM5 to COMB 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 SaGRAF T1 Programs O x File Make Project Tools Debug Options Help a HSe Ae m s vel qh aes ee EE aw ISaGRAF T1 I O connection O x File Edit Tools Options Help B SBBeam tL EA S O _ Select board equipment X mbus asc Modbus ASCII master mmicon Connect MMICON by Coma or Corr modem ps Set Password of Com Modern tdn Redundant system For Wincor tu slay 2nd oth Modbus RTO slave port 3256 51 Battery backup SAAM for Sax y f Hote ems Short Mhegsage Service udp ip Set up NUDPYIP socket wip Permissive IP via Modbus TCP IP s107 BDL amp FOO for the 188G EG HITE 401 600 for the 188G EG 4115 FOL amp FOO for the 188 G EG HOS ZAD BDO 2D for 7188 G EG moO TO 140 EDO 4D for Yeo EG Atu Slave Port2 5 Baud Port 19200 mm reserved 0 ima Atul Slave_Port3 0 sot Baud Po
102. a files in the Micro_SD Don t store them in the System_disk That is because the System_Disk is using Nor Flash memory Its size is small and major purpose is for storing OS ISaGRAF driver some basic utilities and DLL The Nor Flash memory is not good for frequently updating files If update files frequently in the System_Disk for example update a file every 1 to 5 seconds then it will be about ten thousand more updates in one day the data or files in the System_disk may crush or lost for some days or months later User can write his EVC 4 0 application to access to the ISaGRAF variables running at the same VP 2xW7 4xx7 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 ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 evc lib The DLL at run time is the Quicker dll which is in ViewPAC s 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 sho
103. a sample Web HMI pages in the ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 wp webhmi demo sample Please copy this sample folder to your drive and rename it for example example1 The basic Web HMI files include 2 folders and 3 DLL files and 4 htm files as below Fass OO ji DLL Fi 2 find SOSC SSSC C SSSSSCS re main dll HTM Files first default page the Web HMI welcome page 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 ISaGRAF 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 IsaGRAF PAC via the Internet Explorer User may modify the login hAtm menu htm amp main htm to fit his own need We will only modify the main htm in this example 4 24 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 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 FrontPage DAChon_DiUser_Manual_WinConS000 Web HMI Wemolexaniple Wien hin E Oj x HRE ARPE te HADT feo LAT 2 BAD HESR REH T D F HAPS I4G8 Fi4ABaJ 9 aA aa F
104. aGRAF P NE Bes E H F VP 25W7 23W7 CD napdos isagraf vp 25w7 23w7 chinese manu chinese_user_manual_i_8xx7 pdf and chinese_user_manual_i_8xx7_appendix pdf More from the Internet www icodas com gt Product gt Solutions gt Soft PLC ISaGRAF amp Soft GRAF HMI gt ISaGRAF gt Manual Technical Service service icpdas com FAQ www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC Writer Chun Tsai Last Editor Eva Li Copyright Jul 2009 by ICP DAS CO LTD All Rights Reserved 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Table of Contents ISAGRAF WinCE ViewPAC User Manual scsscsscsscsscscsscsccsccccsccsccscsccsccscnscscsscsscscescnsscescssssescssossesoses 1 NMIDONT ANE IN OUIC Gi css ccciscconceaasess NA A A aan 2 keeartiap ihi Gata ieee a ET en a detpeae ah rat T RR 2 Trademark amp COD VMEME NOUCE arinena teeta tetera t i hactamshaaad am tageh deena teat ues hime a a 2 Development SOLOW le rar a acai a r e 2 REITE COU aa A ae re nae eee 2 Technical Sery CE nasaun aa a T a T a 2 Taple OF CONLENES nainii T 3 Reference GUNG revires renne e r E A NEA E N E A EA T E E EEA E 6 I O Modules Selection Guide for ISaGRAF WinCE VieWPAC cccceccsccccecceccccecceccecscceccccecceccccecceceececes 7 Specifications VP 25W7 VP 23W7 VP 4137 VP 4147 ccssccsscssscssscsssceccnscccssecccsscesesesccsssessseseussees 11 Chapter 1 Typical AD DMICATION sarreran n r
105. ary of O89 Master card of Wy sensors of let Concrete Freg amp Temper input Boards iake Link AKE 4 MTCF or i 8KES MTCF mbus Modbus ATU master mbus_ asc Modbus ASCII master mimcon Connect MMICON by Coma or Con e nae Then we have If you don t have the I 87055W you may click the Real Virtual board to make it become virtual board at SaGRAF EXAMPLE I O conne File Edit Toole Optons Help File Edit Toole Options Help SB pPBrm tl KK Spire t ele at SaGRAF EXAMPLE 40 connec 4 14 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS To map input variables K1 amp K2 to the input channel No 1 amp 2 of the I 87055 double click on the channel 1 and then click on Connect Then click on Connect again to connect channel 2 aw SaGRAF EXAMPLE I O connection File Edit Tools Optione Help 2 PBPro ELIRAS am i 8 055 j noua ref 87055A B DI F DOs Ear Channel Close Free Connect h av SaGRAF EZ AMPLE I O connecthon File Edit Tools Options Help ut Dh Re Ean TE By the same way please connect OUTO1 OUTPUTO2 to output channel 1 to 2 Then we have below window Click on Save and then exit av SaGRAF EXAMPLE IO connecthon File Edit Tools Opton Help ma eos tm to ave n i_87055 muj ref 87055B LJ Es Dis n ol OUTOI B Dos ns ol OUTO a a a a
106. as Enable Remember to click on Setting Then click on Auto Execution to do the next step ViewPAG Utility 2 0 1 0 File Help Configuration System Setting Ethernet Setting System Information Auto Execution Multi serial por FTF Disable Allow Anonymous Disable Allow Anonymous Disable Upload Change FTF default download directory Termp to Largekb keyboar Hide Input Panel e 5 57 PM A ks D Please click on Browse to select or type System_Disk isagraf isaViewPAC exe and click on Setting ViewPAG Utility 2 0 1 0 File Help Configuration Program 1 system_Disk jsagrafsaViewPAC exe La jc lt lt At most 10 programs can be 4 BULE ae i execute Se O a a system startup Ap 14 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS E Run Save and Reboot to store the setting in step A thru D and then it will auto reboot the ViewPAC once ViewPAG Utility 20 1 0 a Help Configuration Save ae ae 7 a En Save and Reboot NE eirig SEM IMO Ls A aeann am 1 System _Disk isagrafiisa iewPAC exe Reboot Without Save Restore Default Settinoas 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 25W7 23W7 have it i ag E Microsoft isavViewP AL WordPad ViewPAG 2oOWifesaWwe ISaGRAF Driv
107. asks Ta Comm Communication Drivers Available drivers DLL Description MODPI MODSI v h MPIAD SIEMENS MPI Green Cable Protocol 3964R CE v1 00 RCS MPMPI SIEMENS MPI Protocol HMI MP370 57 200 57 300 57 400 only CE v1 04 v _Select gt gt gt gt Selected drivers DLL Description Cancel 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 Project Explorer q X 4 Project Demo_01 APP a Drivers Click on mouse right button on Insert bt MOTCP R OPC DA 2 pce Insert scccey b OPC UA Sati i in oj TCPAP igs Help Global M Graphics Tas Geom ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 8 7 When a Modbus TCP workspace MOTCP001 DRV appears fill in following data as corresponding field Description DI _ Increase priority Read Trigger Enable Read when Idle What does 127 0 0 1 502 1 mean 3 127 0 0 1 is the local host IP address It means send data to the same controller 502 Write Trigger Enable Write on Tag Cha is the Modbus TCP IP port No the last 1 is Station 4 01 Header 127 0 0 1 502 1 1X 0 1X OX 3X 4X DW FP the Net ID of the PAC Tag Name i Address Div Add A 0 is for reading Boolean data 0 is for writing
108. assword Then remember to click on OK Note If Enable Account Security is not check any user can easily get access to your ISaGRAF WinCE ViewPAC through the Internet Explorer My Device A desktop 5 c iyi E 5 rs wphmi Pa Ed Internet Explorer a9 5 d Y i yy H 4 L ViewPAt2ow 723W 7 Sata Setting Web Options _ Disable FTP Serveice Disable Telnet Serveice To set up advanced security cl RAF Oriver Security Settings Account IM Enable Account Security jority Lowy User Name Password jievelt ee Priority Middle Liser Mame Password llevel2 ee Priority High User Mame Password levels ee 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 HTTP WebHMII 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 WebHMII My Device A desktop j 5 q Wi E 5 Ed Ed Internet Explorer iy ag Microsoft WordPad i 5 g Vi Wy P A L ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 37 Show Time Please run Internet Explorer Rev 6 0 or higher key in the IP address of your ViewPAC For example 61 218 42 10 or http
109. bsolute left 85px top 124px width 42px height 27px gt lt input type button value ON style cursor hand onClick ON_ form_B2 form_B2 B2 gt A button to call ON _ First parameter is the name of the form Here is form _B2 The second is the name of the lt input gt inside the form Here is form _B2 B2 lt form 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 lt div 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 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 p A button to call OFF_ First parameter is the name of the form Here is form_B2 lt body gt The second is the name of the lt input gt inside the form Here is form_B2 B2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 15 5 4 3 2 Post Word amp Long amp Float amp Timer amp String Value to The Controller function Check form_obj Check is used for flag confirm Are you sure posting any form if flag if GetUserlD form_obj false return fals
110. can be visualized in a remote station using a regular web browser Note For the Output object as 87024W_AO_1 and 87055W_DO_1 the Input Enabled of the Text Data Link should be checked as below ee eeeReplacencs Hint _Text Data Link Tag Expression AO ia Format Auto V Input Enabled Back to text Minimum Value Maximum Value Checking the box Disable means user May input its value at run Password Auto Size E Sign Require confirmation tual Keyboard lt Use Default gt The main screen is created as below Propect Exptorer ax be MainPagescr gt sA Project Demo_01LAPP 4 Screens ke MainPage scr 8 055W DI 1 ka E Screen Group E Thin Clients 8705 SW DO 1 amp Project Symbols Graphics Script R7024W AO 1 HHHHH u Symbols my yi alee Internal 8 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Create Modbus TCP workspace 1 Click Comm tab in the Project Explorer 2 Click right mouse button on the folder Drivers and select Add Remove drivers 3 In the Communication Drivers window click MOTCP driver then click Select and click OK to close this window Project Explorer i x 4 A Project Demo_01 APP 2 Right click Drivers and select Add Remove drivers Drivers po OPC DAW Add Remove drivers w OPC UA i i oj TCPAP 3 Select the MOTCP DLL Global Graphics T
111. ceceseceeesececesceceeneeeeeaecessuecesseaees 10 3 Compiling an Application Prograi ccccssccscsssessssscccsssscccnsrencusscscsesseccusrencusssscasssenenssencas 10 5 ick erne BB US IR nee ean TPE eS N ee 10 5 Digital R W PUM CUOMS ii ciceeccssotncedesiaacsasnciendccimtexcentetseadessgecssaaalend E 10 6 AtvalOe R WF UNCON iser E E ENO EO O EANAN ETENN 10 7 M re Useful Feat reS urcra aa E EAE ATE ER 11 1 FAQ 167 Develop Your Own C function and C function Blocks in the ISaGRAF WinCE PAC clans age eh da esac TETE NE len tn aha Be als sate ie aca and ste a da rd ane tale Tete ne Sara ESEA E EET 11 1 FAQ 166 ISaGRAF WinCE PAC Schedule Control cccccsscccesesccesssccessecccenssenensseseeuseess 11 2 FAQ 160 Soft GRAF Application Alarm Lists cccccssccccssececsececescceeeseceeeecesseecesseneeees 11 3 FAQ 158 Soft GRAF Application Data LOG geP ccccescccsssecccsececesceeeeseeeeeeeceseeecesseeeees 11 4 Hardware System amp Setting sessesesessesessesessecessecescecescecesoecesesoecescesesoesesoesesoesesseceseeceese 1 ADDIVINE Correct POWER SUDD Yeo irni an EE E sie TOE daw E OET A EN devresecees 1 Modify The NET ID amp Modbus RTU Port Setting cccccccsscccessecceesececeececeeeeeeeneceseeeceseeaess 3 Setting Lhe IP Address FOr Tne VIEWPAC sirrinin O 4 Connecting Your PC To The ViewPAC Ethernet Port ccccccsssccccssececeseceeeseeeeeeceeseecesseeeeees 5 Pin Assignment of COM2 CO
112. ch 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 RsS 232 TxD RxD tee RxD _ TxD Cable Wiring GND GND CTS RTS Ei Touch 500 Touch 8000 Touch 6000 ISaGRAF WinCE ViewPAC Modbus RTU slave port RS 485 D _ WU _ d D D ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 9 A 10 Linking To Other Modbus Devices ISaGRAF WinCE ViewPAC s COM2 RS 485 or COM3 RS 232 or COMS 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 ISaGRAF WinCE ViewPAC Modbus Device TxD _ RxD RS 232 RxD _ _ TxD GND GND CTS RTS E RS 485 ISaGRAF WinCE ViewPAC Modbus Device Modbus Device RS 485 D _____ _ RS 485 ___________ RS 485 D RS 485 __ RS 485 Ap 10 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS A 11 Recalibrate The Touch Screen Of VP 25W7 The touch screen has function with
113. ch can only be installed on a 32 bit version of Windows operating system users can use the following ways to create a proper installation environment for the ISaGRAF Workbench 3 55 If using Windows XP Mode that can be installed on 64 bit version of Windows 7 Professional Enterprise and Ultimate editions If using VMware Workstation Player that can be installed on any 64 bit version of Windows OS e g Windows 7 or Windows 8 Installing the Virtual PC and XP Mode 1 Download Windows Virtual PC and Windows XP Mode installers from the Windows Virtual PC Web site http go microsoft com fwlink LinkID 160479 2 Double click on WindowsXPMode_nn NN exe where nn NN is the locale e g en US and follow the instructions in the wizard to install Windows XP Mode Double click on Windows6 1 KB958559 x64 msu to install Windows Virtual PC 4 Reboot your computer 5 After rebooting click on Star gt All Programs gt Windows Virtual PC and then click Windows XP Mode 6 Follow the instructions in the wizard to complete Windows XP Mode Setup and Configuration Record the password that is provided during the Setup because it is required to log on to your virtual machine 7 Now go back to section 2 1 to install the ISaGRAF Using VMware Workstation Player 1 Download and install VMware Workstation 10 trail version on VMware website https my vmware com web vmware info slug desktop end user computing vmware workstation 10 O
114. cts Button Gif LED will be More Multi language English Traditional Chinese Simplify Chinese Russian etc VVVV VV VV VV VV VV V WV Support user designed graphics e g JPG PNG More at Chapter2 5 amp FAQ www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC FAQ 146 Running HMI and Control Logic in the Same PAC m 4 TPM 4100 XP 8xx7 Atom CE6 i P 8xx7 CE6 WP 5147 WP Sxx7 VP 2xW7 4xux ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 1 1 2 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 Recommend to use Soft GRAF HMI the performance is better Please refer to Section 2 5 More at www icodas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC FAQ 115 41 PY Page 1 CK CO 0O10 rr lt WP28xx7 5xx7 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 3 Redundant Communication System More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 119 RS 485 or Ethernet redundant communication mechanism applications For XP 8xx7 CE6 XP 8xx7 Atom CE6 WP 8xx7 amp VP 2xW7 4xx7 series WP 8x47 Central Control PAC Local PAC 1 WP 8x47 Local PAC 2 b oh Local PAC n 1 4 New Hot Swap and Redundant System Please plug one I 8135W and enable the
115. d Default Gateway f 192 166 1 1 Please run Start Programs ViewPAC Utility click on Save and Reboot to store the setting Wy Ed Ed Microsoft isaVviewP AC WordPad ViewPAC Utility 2 0 1 0 ia aA Help Configuration ROE e Sens RA FTP Setting System Information Auto Execution Multi yy Reboot Without Sa Welcome to use ViewPAC Utility J Restore Default Settings F This tool will help you to set ViewPAC VIEVWPAC Exit Display Resolution 640 4680 v a ViewPAC cT Industrial Control Products o 4 Oh 5 Data Acquisition System Setting Battery 1 Task Bar Setting attery2 OK Auto Hide Always On Top Change HTTP document root directory windows www ywywsub to at Ap 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS A 4 Connecting Your PC To The ViewPAC Ethernet Port Before you can download an ISaGRAF application to the ISaGRAF WinCE ViewPAC 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 Please 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 ol xj
116. d init gt The layout or location of the image object B1 is defined here by the lt div and lt div gt tags lt div style position absolute width 214px height 53px z index 2 left 102px top 79px gt lt img name B1 src img circle_blueO jpg gt lt div gt p The declaration of image B1 is defined here by the img tag amp lt body gt name B1 src src defines the initial value of B1 5 4 2 2 Displaying Dynamic Float amp Word amp Timer Data Demo example vphmi_01 vphmi_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 of the Text object F21 is defined here F21 innerText float_val 21 If want to display Word data please use word_vall If want to display Timer data please use timer_vall 1 Forex F21 innerText timer_val 21 ms lt body onLoad init gt The layout or location of the Text object F21 is defined a 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 ako 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 ISaGRA
117. d name CMD type submit value Logout onClick return logout this form gt lt form gt lt br gt lt br gt cursor hand will display the mouse arrow as a hand when entering the button area lt Goto main htm gt lt A style cursor hand onClick goto_R_page main htm gt 53 1 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 5 18 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 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 ViewPAC ISaGRAF Driver web About Options V Enable Web HMI eevererr err s v Disable FTP Serveice AREER EERE EEE EEE EERE EEE EEE EERE REE ETOH EEE EE Ee V Disable Telnet Serveice Check it to disable To set up advanced security click on Settings Settings And about item 4 please set proper user
118. dows and save all files o O ee fo O ene Enable resa when a a 3X 0 Interior Enable Write on Tag Change Address Project Setting Select Project gt Settings to open Project Settings window In the Startup screen edit box fill in MainPage scr then click OK to close this window a ae Home View eJ BOO duSoft Web Studio A Pi Seek g lewer Preferences E Mal FTP Service Configure Log Anssi Target System Information Options Communication Project Settings Information Options Communication Active area indication Minimize Box me z Show Object Edge Maximize Box Close Box Preferences Change Mouse Cursor Start Maximized Men Virtual Keyboard v Menu si Resize Border Default Keypad Status Line lv Show Hint V Enable MIN MAX fields Startup screen v T Show when quality is not GOOD Built in Dialogs 100 Hide Taskbar V Mouse Cursor lr a Execute only topmost object Disable Palm Rejection E PSS PRETE Enable ToolTips F yy Enable focus on buttons commands and texts nhierts Auto Screen Scaling Use popup input for text objects KW Cancel ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 8 9 Web Thin Clients Select Project gt Settings to open Project Settings window In the Data Server IP
119. e form_obj submit return true Demo example vphmi_03 vphmi_04 vphmi_05 vphmi_06 and a vphmi_07 return false B function refresh_data Display dynamic value here L15 innerText get_long_val 15 If data is word please use word_val F17 innerText float_val 17 If data is timer please use timer_val If data is string please use string vall lt body onLoad init gt The layout or location of the text object L15 amp F17 are defined here by the lt div and lt div gt tags lt div style position absolute width 195px height 25px z index 2 left 45px top 52px gt L15 lt b id L15 gt xxxx lt b gt lt div gt lt div style position absolute width 196px height 29px z index 3 left 45px top 82px gt F17 lt b id F17 gt xxxx lt b gt lt div gt 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 lt form gt text input L15 amp F17 inside the form1 if data is timer please use lt div gt L And W for word S for string lt div style position absolute width 74px height 31px
120. e BEGIN type hidden gt lt input name B2 type hidden value 0 gt lt input name END type hidden gt lt form gt lt div gt Name of lt input gt inside the form Here is B2 Because it is A inside form_B2 then we must use the name of form_B2 B2 lt body gt to identify it 5 14 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS B To post by buttons Demo example vphmi_02 and vphmi_05 function ON_ form_obj obj ON_ function is used for posting Boolean value as flag confirm turn ON True to the controller if flag obj value 1 if GetUserlD form_obj true form_obj submit a OFF form obj obj OFF_ function is used for posting Boolean value as False to the controller flag confirm turn OFF if flag obj value 0 if GetUserlD form_obj true form_obj submit Display the current boolean image In this example 0 img big_Tcircle_red0 jpg function refresh_data 1 img big Tcircle_red1 jog B2 src img big_Tcircle_red boolean_val 2 jpg The layout or location of the image object B2 is lt body onLoad init gt defined here by the lt div and lt div gt tags lt div style position absolute width 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 a
121. e refresh_data is correct however Refresh_data is not correct The refresh_data function must always apply in the main htm and other multi pages It is called when the Internet Explorer has received the requested data from the controller The calling period is about 1 25 to 5 seconds depends on the communication quality The refresh _data is often used for refreshing the dynamic data For example the Boolean value integer value timer value or float value of the variables in the ISaGRAF project The Internet Explorer can access to the data in the ISaGRAF project only when they are assigned a unique Modbus Network Address No refer to section 4 1 5 The Web HMI only accepts Network Address No in the range of 1 to 1024 The data without a Network Address No No 0 or not in the range of 1 to 1024 is not accessible by the Internet Explorer The main htm and other multi pages can use the below variable array to access to the ISaGRAF s data case sensitive The identifier appeared in the is the related Network Address No For example boolean_val 2 means the Boolean value of the ISaGRAF Boolean data which is assigned with the Network Address No 2 boolean_val Boolean value in the ISaGRAF word_val word value in the ISaGRAF 32768 to 32767 float_val real value in the ISaGRAF for ex 1 234 0 456E 02 timer_val timer value in the ISaGRAF unit is ms max 86399999 lt 1 day string val message value in the ISaG
122. e Simulation Program When you double click on LD1 in the ISaGRAF Debug Programs window the follow window should appear File Edit Options Help A HS aAa You can see outputs OUTO1 will blink in the period of 8 seconds 4 18 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 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 ms Then click on Write File Edit Options Help f AN SsGRAF EXAMPLE1 Global timers Te File Edit Tools Options Help e E ZL obe Booleans Integers Feal Timer k Messages FB instances Defined worda Attrib Addr Value Comment intern al Oooo Bs 2OU000 internal t os Enter new value T 4000ms Jo Start Stop Cancel Now we are going to simulate the K1 amp K2 input Click on K1 using the left button of the mouse lox Fie Tools Options Help To exit simulation please close the debugger window SaGRAF EXAMPLE Debugger sae File Control Tool Options Help Pua Ae RUN Close debugger will end simulation ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP
123. e im Data eqs System Drawing System Messaging 2 0 0 0 svete Met KDA 20 00 System Web Services 2 0 0 0 System Windows Forms 2 0 0 0 yetem Windows Forms Dat 2 0 0 0 Dirytavn Y val 4 aAA ET Ci Program Files Microsoft SOL C Program Files Microsoft SOL CsProgram Files Microsoft WETS Ci Program Files Microsoft WET C Program Files Microsoft WET CProgram Files Microsoft WETS C Program Files Microsoft WET C Program Files Microsoft NETS q ONDye cea on Dalen dieracadt MET H ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Cancel 3 Click the Browse button Select the QuickerNet dll from VP 2xW7 4xx7 CD ROM napdos isagraf vp 25w7 23w7 CSharp net 2008 demo wp_CSharp01 subfolder or from your own location Add Reference S AnS ERANT Component Files Od tlh olb ocx t eme h7 u m solution Explorer pis orl x 4 When both mscorlib and QuickerNet dll Aa a are added you can see them in the solution a a2 2 explorer as below F solution wp CShacpOl 1 project J wp_CSharp01 WH Sal Properties B References 4 mecorlib 4 oe T I System 1 42 System Data 42 System Drawing 42 System Windows Foon 42 System Arl S For cs H Formal Desener cs H Formani ess H 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 firs
124. e of the first output of the I 87055W board while OUTO2 is for controlling and displaying the second output of the 87055W 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 TAE RA DAC han W col onAO00 Fh TMI demoenamgli amm n S E RD GED wee MAD 3 IAD 284 HD WED ASTD KAH J S AAB DOD ESAE T E EAEE E ii a A F gt Tinet New Roman 30230 Bey amp ESaeB A main btm y x ebcd ads cdm 5 This ts a Web HMI sample page Ri K2 OK Layer14 Layer15 OUTO OUT Tl xa ms W Horr ier Saa Cae ame Click on Save to save this page i Microsoft FrontPage D Chun_D Ueer_ Manual Win onS000 Web_HMIWemo esunple Oinati Nin WE aE wR AD feo TAC AD MD Se MCD MH a y WT ib Oe Fld L E E AEEA hb Eai Li iH Times New Roman 302 B Z U EEEN j mein hime MANSE ea aie iv This is a Web HMI sample page a OK OUTO OUTO2 T1 XxX ms ayerl ae x meat cay Erst awst f HHA Seip ited COL Goiza my ry ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 29 4 4 3 Step 3 Adding Control Code To The Main htm Please switch the
125. e 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 After the configuration is succeed the COM port No for the expansion board is COM5 to COM 16 in the ISaGRAF definition The relation between ViewPAC s COM setting and the ISaGRAF definition is as the following ViewPAG Utility 2 0 2 6 File Help Configuration Ethernet Setting Network Setting System Information Auto Execution Multi serial port wizard Ke 4j gt 1 2 3 Slot0 81421 Slot 0 81421 E MSA1 i Driver enabled i E MSA2 Senn EAN 2 9 Slot1 8144 X Driver disabled Slot 2 E amp E E MSA3 E sad 9 MSAS E MSA6 Install driver Apply to 1 8112 8114 8142 8144 series modules USE MSA MSBx _ USE co 2 Select Step2 Go to Filg ass Save and Reboot to enak MSA MSBx Slot scan Refresh ViewPAG Utility 12 0 2 EA Hep Configuratior Save Save and Reboot on ne SY it ST r r ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 23 ViewPAC MSA1 MSA2 sacar viewpac 1saaRaF MSA3 MSA4 MSA5 MSA6 Note Please refer to the section 8 4 of the ISaGRAF User s Manual for multi ports Modbus Master ISaGRAF WinCE ViewPAC can setup max 10 Modbus RTU ASCII Master ports in COM1 to 14 Please refer to the Appendix A 4 of
126. ed 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 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 bal RAF EE AMPLE Global booleans File Edit Tools Options Help ti t HOM OE KE S Booleans IntegersiRe ers Messages FB instances D Mame Addr Comment KI O inp I We es inthe 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 SaGRAF EXAMFLEL Global booleans File Edit Tools Options Help C t OMG e xed Booleans IntegersiReals Timers Messages FB instances Defi Mame Attrib Addr Comment o000 Input 1 in the l 8 Hay ka Input 2 in the l 5077 board MQ0000 input false true ISaGRAF WinCE ViewPAC Use
127. ed in the error message window Compiling Error Result In Different ISaGRAF Version please refer to appendix H 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 ISaGRAF EXAMPLE Programs E o x Fie Make Project Tools Debug ptons Help E ee ee Begin Begin LOT Ladder Diagram When you click on the Simulate icon three windows will appear The windows are the ISaGRAF Debugger the ISaGRAF Debug Programs and the I O Simulator windows If the I O variable names you have created DO NOT appear in the I O simulator window just click on the Options and Variable Names selection and the variable names you have created will now appear next to each of the O s in the simulator window In the ISaGRAF Debug Program window double click on the LD1 where the cursor below is positioned This will open up the ISaGRAF Quick LD Program window and you can see the LD program you have created ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 17 SaGRAF EXAMPLE Debugger Ioj x Fie Contool Tools Option Help gt b gt i Click here to exit iaixi mm o Options Help M ISaGRAF EXAMPLE1 Debug programs o x w Color display File Project Tools Options Help D we me Hexadecimal valti Alwanrs on top Running Th
128. eeeeecesseecesseeeees 4 20 DESIGN TAG WED PAG C urene a T E TE EAO TE 4 24 Step 1 Copy The Sample Web HMI pages cccccssscccesseeceesececeeceeseseeeeeeceeenecessuscessenees 4 24 Step 2 BUldine TNE MAINA N ina a a eateea tas Gree nesunaeep acim eeaiea wee ets 4 25 Step 3 Adding Control Code To The Main Atm ccccccssccccssececesscecesceceeseceseaeceseeecessenees 4 30 Step 4 Download Web HMI Pages To The Controller ccccccssscccssecceeseceeesecessesceeeeeees 4 37 Wep HMI Basis eisirean E S 5 1 Basic es FOr NMC WEDHA MI oenen aE ETEN 5 1 EOSIN VEIN knna a a a a a a a a aan 5 2 AE ENE AAEE AA AE P ne EA E A EA N AE TAE S A E AE A aR a AA 5 4 manO neata N T N bed tanosund Ruseeadiociaisehseeas 5 6 A SIMPL eV is EME XAT E eniri n aaae TE A E RE ORE N 5 6 More About The refresh_data Function And Dynamic Data c ccccsscccceesseceeeeeeeeeeeees 5 8 Post Dati TO Tine CONOC eee E T 5 13 MUN RAB SS soyani E E E T a 5 17 EVEL Z2 ANd Levels Page sorrara E EEAO TE 5 17 Switch One Page To One Another Page cccccssecccessccceeseeceeececaececeescesseneceseaecessuecessenees 5 18 Web Securit avsrsrniciin i a AN EE 5 19 VB NET 2008 Program Access To ISaGRAF VariableS s ssssesessesessecessecesseceseecesescesseoese 6 1 Create a NEW PTO CCL roniieneoiena e a EA ON 6 1 Add Project Reference for an Application esessessessereereresreessrreseeresreesereosseresseresreesseeesseresseee 6 3 Compiling a
129. eger or float value Example 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 Set a float value 2 174 to the variable of Modbus Network Address 4 float temp3 2 174 UserShare UserSetReg_float Convert ToUInt16 4 out temp3 Demo program ISaGRAF WinCE ViewPAC 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 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 25w7 23w7 english manu User_Manual_ _8xx7 pdf ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 10 7 Mi UserGetReg_ short MiUserGetReg long J 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 ushort iUserAddress out int iStatus UserShare
130. er EJ bs Piy Documents Configuration Slave Mumber f m y W Modbus RTU Slave Pork None WIEVWELA Baud Rate rs200 Jf 5 1 Project Current Application ts 15411 1116 I5412 556 Elapsed Time o 0 03 52 Note If the ISaGRAF driver is still running the files copied are failed even your eye telling you it is successful 4 Download the files from PC to WinPAC directory System_Disk isagraf The files listed below are the driver of version 1 01 The files may different in different version isaViewPAC exe rs _wphmi exe mscorlib dll QuickerNet dll Quicker dll login dll main dll whmi_filter dll isaViewPAC Ink and license bin if your ViewPAC is VP 2xW1 4xx1 And then re cycle your PAC s power Please open Internet browser and then type in ftp lt IP address gt forex 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 ti ao E Microsoft isawiewPAC E z WordPad Setting Web N ViewPAG 2oW 7 23 7 ISaGRAF Driver m My rs wphmi Documents Procuct WiewPAC ToaGRaF Driver Copyright 2009 by ICP DAS All rights are reserved This product is licensed isaviewpac exe For ViewPaC 25W 7l z3w 7 Ver 1 01 Jun 25 2009 ISaGRAF WinCE ViewPAC
131. ers lan1 status 1 ok 0 broken line Ap 32 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS
132. est fi creation mp touti mo t500 link to T506 m te peN E o x Bem sis Wile mus ok hie Onie Eh salsa alumen DBO sXe mk SOs Ladder program name LD1 Begin LD1 Ladder Diagram Begin Variables declaration Name Type Attribute Description OUTO1 Boolean Output Output 1 in the l 87055W Modbus network addr 1 OUTO2 Boolean Output _ Output 2 in the 87055W Modbus network addr 2 K1 Boolean Input _ Input 1 in the 87055W Modbus network addr 11 K2 Boolean Input Input 2 in the l 87055W Modbus network addr 12 T1 Timer Time Period of blinking initial value set as T 8s Modbus network addr 21 Ladder Logic Program Outline 4 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 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 a S5aGRAF 3 4 Jasc Software b Diagnosis Logitech Mouseware gt g Libraries A Macromedia Dreamweaver 4 gt eS Projects E Macromedia Extension Manager gt D Read Me Master Converter b Y Report Matrikon OPC JA MCSD Training E Microangelo Microcim Windows Update Micro IDE v A Microsoft NET Framework SDK Programs U Microsoft Developer Network Documents JA Microsoft Office Tools JA Microsoft Press settings Microsoft Visual Studio 6 0 E Microso
133. eueeeeeaeceseuecessensessens 2 4 2 1 4 Important Notice for Windows Vista or Windows 7 32 bit USers ccccccssseeceeseceeeeseseeeeeeeees 2 5 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 3 2 1 5 2 1 6 2 2 2 3 2 4 2 5 Chapter 3 3 1 3 2 3 2 1 3 2 2 3323 3 2 4 3 2 9 Chapter 4 4 1 4 1 1 4 1 2 4 1 3 4 1 4 4 1 5 4 1 6 4 1 7 4 1 8 4 2 4 3 4 4 4 4 1 4 4 2 4 4 3 4 4 4 Chapter 5 5 1 5 2 5 3 5 4 5 4 1 5 4 2 5 4 3 5 5 S51 5 5 2 5 6 Chapter 6 6 1 6 2 6 3 6 4 6 4 1 Important Notice for Windows 7 64 bit USerS sssssssssssesesreesrresrrrsereresrrresrrrserresrrrrsrereens 2 7 Important Setting for Using Variable Arrays ccccsscccsssccccsseceeesececeesceceuseeeeeaeceseeecesseeeeeees 2 7 Step 2 Installing The ICP DAS Utilities For IS GRAF ccsccccssececessceceesececeeceeeesceseeeeeees 2 8 Step 3 Installing The Web Page Editor Avsesinccevevicsverstensacedvveviedsda iid dienes A 2 9 Working eLogger HMI with ISAGRAF SoftLogic cccccessccccesececeececeeececeeneeeseeeceseescesseeeees 2 9 Working Soft GRAF HMI with IS GRAF SoftLlogic ccccccsssecccesececesecceeseceeeeeceseeeceesenees 2 10 Setting Up A Web HMI Demo essssessssesessesessecessscessecessscesescesssoecsesesescecsesoecesoecesoecsessececee 3 1 Web Demais ernro aiaa A A wenntenarueeedbeaaeete 3 1 Steps TOSEeEtCUDAWEeDHMI DEMO asuran iana n N R N eee 3 2 Step T
134. every 1 to 5 seconds then it will be about ten thousand more updates in one day the data or files in the System_disk may crush or lost for some days or months later 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 ISaGRAF WinCE ViewPAC CD ROM ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 vb net 2008 demo wp_vb01 Digital I O 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 801 7HW 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 6 Start Page Microsoft Visual Studio Edit View Tools Test Window Help BH New Project Ctrl N New Web Site ShifttAlt N New File 3 Open Project Ctrl O Open Web Site Shift Alt O Open File i Microsoft A Visual Studio 2008 cent Projects ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 6 1 2 Check the Smart Device on the left then selecting the NET frame work 2 0 and Smart Device Project Then enterin
135. f one of the batteries without losing power and thus not losing the data stored in the memory Warning Please do not take out these two batteries at the same time or the data will be lost during this period of non power Use R_MB_ADR function to Detect the Status of Dual Battery Use the Function R_MB_ADR and assign its parameter ADR as 9992 and 9993 to read the batteries status Show as the 1 and 2 line of the LD program listed as below ADR number 9992 the status of battery number 1 ADR number 9993 the status of battery number 2 Use R_MB_ADR function to Detect the Status of Ethernet port Use the Function R_MB_ADR and assign its parameter ADR as 9987 to read the status of the Ethernet ports Show as the 3 line of the LD program listed as below ADR number 9987 the status of LAN1 Attrib ADR 9992 Detect the status of battery 1 9993 Detect the status of battery 2 9987 Detect the status of LAN1 get battery 1 state 0 no power 99 power ok R_MB_ADR en eno lt gt TYPE_ DATA_ batery7 get LAN state 1 ok 0 broken line After executing the program 1 The return values for parameters batery1 amp batery2 status 99 Power ok no require to replace the battery at the moment O Low power status please replace the battery as soon as possible 2 The return values for paramet
136. 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 projectl exe QuickerNet dll Quicker dll and Mscorlib dil The QuickerNet dll Quicker dll and Mscorlib dll can be copied from the ViewPAC s System_disk ISaGRAF path ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 6 5 6 4 QuickerNET DLL This section we will focus on the description of the application example of QuickerNET DLL functions There are some functions that can be used to R W data from to the ISaGRAF SoftLogic The functions of QuickerNET DLL can be clarified as two groups as depicted as below 1 Digital R W Functions 2 Analog R W Functions 6 4 1 Digital R W Functions E UserSetCoil Description This function is to set the value to a Boolean variable by Modbus network address 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 O for False Return Value None Example Set the output variable of Modbus Network Address 1 to True UserShare UserSetCoil Convert ToUInt16 1 1 Demo program ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 vb net 2008 demo wp_vb01 6 6 ISaGRAF WinCE ViewPAC User
137. ft Web Publishing Morpheus Help MSDN HelpDesk Sample NC 3 1 NetZero Internet New Visio Drawing Shut Down oe ms Norton Antivirus Corporate Edition SAstart ne EN A NT Service Toolkit 4 1 2 Creating An ISaGRAF User s Group Search EKIA Run E j i ee ee EE te EO te A uE A 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 ag Sat RAF Project Management Ee E o x Fie Edit Project Tools Options Help DE tet mee tf 2 Bl test 2 error mp t00 link to TSO mp test k fo testli m t s256 cn isawiniapl a g sawinemp c sawintest c isawinidemo cisavintestt cilsayvinige test cisavintest Location CASAWwIH Cancel Path cawn T est ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 3 4 1 3 Creating A New ISaGRAF Project To start a new ISaGRAF project click on the Create New Project icon and then enter in the name for the new project You can then enter additional information for your project by clicking on the Edit and then Set Comment Text menu as illustrated below JA SaGEAF Project Management 0 x File Edit Project Tools Options Help met comment text T Toggle separator redundant Master 192 168 3199 com lt gt 7043 BEE mort HEE redundant Slave oor redundant Slave redundant Slave 19
138. g a proper project name and the last click on OK Froject types Templates WET Framework 2 0 El oe Basic isual Studio installed templates Windows JES mart Device Project m Smart Device s Office kiy Templates 7 faces jjeearch Online Templates ba Reporting EEN Test JA project for Smart Device applications Choose target platform Framework version and template in the next dialog be 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 m Sa Framework ae 2 MET C T Lal Templates i Jors a D Description Device Class Diw Coole Cael Library Eni Project Application Application A project for creating a MET Compact Framework 4 0 forms application for Windows CE Flatform Download additonal emulator images and smart device SOEs Cancel 6 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 6 2 Add Project Reference for an Application The QuickerNet library contains all modules functions Before you use the Quicker keyword in the program 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
139. gn OUTO1 to No 2 K1 to No 11 K2 to No 12 and then Timer variable T1 to No 21 Then we have below window SaGRAF EXAMPLE Global booleans I E File Edit Tool Options Help bal RAF EXAMPLEL Global timers E ioj x id OW s E Eit Iob Options Bel a ome ex ms Booleans lintegers Reals Timers Messages FB ir Hame Attrib Addr Booleans Integers Reals Timers MegSages FB instances cdl Se E commen J Sn was teal OOS a The Modbus Addr Numbers displayed here are always in 00 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 2xW7 4xx7 CD ROM napdos isagraf vp 25w7 23w7 english manu user_manual_i_8xx7 pdf Section 4 2 for detailed information ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 9 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 Quic
140. h as normal days weekend special holidays make up workdays and four seasons to meet the complex scheduling control needs One ISaGRAF PAC can control many Schedules for maximum 10 control devices Target Each control device Target can control one Boolean one Integer and one Real variable total 3 variables More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 166 2013 Dec nnn Holjday 1 Sat Sun Holiday 2 Wed Special Day 10 1 10 10 12 24 Normal Days Mon Fri Schedule Control f w ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 11 3 FAQ 160 Soft GRAF Application Alarm Lists Users can use the Soft GRAF HMI software to build an alarm list application in the ISaGRAF WinCE based PAC The Soft GRAF HMI object g Alarm can send the max of 3000 messages a day The FAQ 160 provides demo programs that can send a short message to some operator s mobile phone when some emergency occurs The system can create a new file to save the alarm messages in each day Users can also export thease alarm files to a USB pen drive File format csvor txt Users can enable the function of FTP Client to send the alarm file to the control center FTP Server1 FTP Server2 automatically at a fixed time each day Or users can also get the PAC files through the FTP Server Moreat www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC
141. happens Q Does the ISaGRAF 256 software have I O Tag limitation Why not using ISaGRAF L Large version Q Why my l 8417 8817 8437 8837 or l 7188EG XG stop running Q How to search a variable name in an ISaGRAF project Q When closing my ISaGRAF window it holds for long time Why me Q How to use Proface HMI Touch panel to link to 7188EG XG I 8xx7 and WinCon 8x37 Q How to reduce ISaGRAF code size How to directly Read Write ISaGRAF variables by using Network address 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 19 20 21 22 23 24 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 9 11 English ISaGRAF Ver 3 FAQ 25 26 27 Q How to link to Modbus ASCII Slave device Q How to use multi port Modbus Master in the WinCon 8037 8337 8737 amp WinCon 8036 8336 8736 Q How to send receive message from ISaGRAF PAC to remote PCs or Controllers via Ethernet UDP communication Q How to detect controller Fault Q New ISaGRAF retained variable is better than old one N 00 N Q Setting special range parameter of temperature input board to get clear Degree Celsius or Degree Fahrenheit input value For ex 1535 means 15 35 degree Q Setting a special ADR_ parameter of remote l 7000 amp I 87K temperature input module UJ m e to get clear Deg
142. hb pga Bn i x E RER HAT ah HERE First Click inside the Layer4 and then insert an image EA p MT big Toquais_gvent pe IEY edo ARAZ aly 15 Wat A big Tayuare red0 jpg wf ema j E UAT C _blus0 jpg big _Tsquare_red1 jpg B login 1 7 E ANR D _bluel jpg big_Taruar _yellow0 jpg re wua s 2 Chun_D _greent jpg big_ Tayuare yellow jpg te CI User Manual WinCon8000 greeni ipg cirole_blueO jpg CI Web_HMI d0 jpe circle _blus1 jpg ri muar N C demo vod jpg circle greet ipa Lif auare C3 examplet yellow0 jpg circle greeni jpg BY square 1 He oe _yollow jpg cirole_redO jpg AT square w EWA E 6 bluel ipg cirele_ved jpg E auare f OFFICEL F o blui jpg BF circle_yellow0 jpg LB wincor aay GE ALN Sy Rii You will see a window as below T EEO BET EAD RAO TAO ET AD Ea RE HAH D gr HA S B 1468 7 4 BBS 9 L pee fir Times New Roman 3 2p rul EBE S32 K main him T eme e EE 5 DHEAS Beste aga fe EH 5oKbps A 0 01 PP 538 x191 mE BET 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 27 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
143. iewPAC User Manual V 1 5 10 2014 by ICP DAS 4 35 Now we have finished all the code Please save it 4 36 E Microsoft FrontPage DAChin_Dser_Manual_WintConS000 Web_HMIWemo examople mean hin BAD GRRE RC FAD fori IRD RAD BRD EE REW HAH Or a ig 8 alm 4Ga 7l iA BRS 9 P SCRE Oo 2 gt fing circle blue boolean val l jpg E f img cud boolean val 2 jpg 113 Bl sre 114 B2 8re 115 may Bll sre img big Toircle red boolean yal ll jpg s ll 116 if boolean val l2 0 119 120 Bl2Z innerText 0kE l l font_Blz color blue 122 Blz2 blink 0 Fee a ait HEEE Je o oft a et Bet g iD Web EMT bernc eomeren b eee Titre Sef p AQ MAD HO IAD 284 PAD 3E SEY MAD EEI EA NE i Ear EOE AE ABBR 9O OC BBB L exes E S E Js ol ee muni him s i al This is a Web HMI sample page KI K2 o OUTO OUTO2 Tl Xxx ms ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 4 4 Step 4 Download Web HMI Pages To The Controller The steps are similar as listed in Section 3 2 If you haven t practiced Setting Up A Web HMI Demo listed in the Chapter 3 it s better to do it once to get familiar with it Set the Web Pptions Check on Enable Web HMI and then click on Setting Please check on Enable Account Security and then click on Edit to set username p
144. ime 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 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 I 8xx7 I 7188EG XG and WinCon 8xx7 PAC How to program RS 485 remote I 7017RC I 87017RC and I 7018Z Q How to setup a redundant system with Ethernet I O Q Why my RS 485 remote l 7000 and I 87K Output module s host watchdog function doesn t work to reset its output channels to safe output value while the RS 485 communication cable is broken Q ICP DAS release Stable and Cost effective Data Acquisition Auto Report System VC 6 0 VB 6 0 and ISaGRAF demo program are available Q How to process the Integer or Real value coming from the RS 232 RS 485 device Like the device of Bar Code reader or RS 232 weight meter Q How to send email with one attached file by WinCon 8xx7 or iPAC 8447 8847 or UPAC 7186EG Q Why the W 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 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 App
145. ite direction FAQ ISaGRAF FAQ Questions Descriptions Demo programs www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC FAQ Table No Cah iaGRAFVeraFAQ 5 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 1l 8417 8817 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 8417 8817 8437 8837 I 7188EG amp I 7188XG Q Can not fine I O boards in the ISaGRAF I O connection window Q Want to email my ISaGRAF program to someone How can archive one ISaGRAF project to a single file Q How can I implement motion control in 8417 8817 8437 8837 gt 10 11 Q My HMI software wants to access to float values and long word values inside the 8417 8817 8437 8837 7188EG amp 7188XG How Q PWM Can I generate D O square pulse up to 500Hz with I 8417 8817 8437 8837 7188EG amp 7188XG controllers How Q Can use 8K Parallel D I board to get counter Input up to 500Hz How me N Q How to output something at a time interval For ex Turn ON at 09 00 18 00 on Monday 13 14 15 to Saturday while 13 00 20 00 on Sunday 16 Q How to determine a D I if it has bouncing problem 17 Q How to trigger something at some seconds later when one event
146. k 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 Now we have one program inside this project Please double click on the LD1 to get into it SaGRAF EXAMPLE Programs E 5 x File Make Project Tools Debug Options Help CHE A ee ae a Be haGRAF EX AMPLEL Provan File Make Project Tools Debug Optons Help B Bl 10 Hem ox te com REET LD1 Create new program ee es Begin LOT Ladder Diagram Language Style 4 10 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 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 Hie SaGRAF EXAMPLEL LD1 Quick LD Program e ioj x File Edit Ioolk Options Help Unio coz lt it QQ ca Hi Fo 1 Ca O E H Fe Fo gt ta E Copy CrHc F Paste lE Paste special Delete Del a Pie os Set samnboltext Enter mT u 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 Gig SaGRAF EXAMPLELLDI Quick LD Program E Ioj x Fie Edit
147. k the Browse button Select the QuickerNet dll from VP 2xW7 4xx7 CD ROM napdos isagraf vp 25w7 23w7 vb net 2008 demo wp_vb01 vb01 subfolder or from your own location Add Reference WET Projects Browse Recent Hae vb0 Om ECE obj Sonae BRAID fe see TS Component Files C dll tlo olb ocx exe OE Cancel 4 When both mscorlib and QuickerNet dll olution Explorer are added please double click on My Project to check if the QuickerNet dll is well added lt projectl Forml vb Design Start Page yx Application Feferences Reference ame Type Vers Copy Local QuickerNet DAChun_DVWPex47 Vile 2xx7 CD napdostisagrafwp Sxx7 wk vtem CsProgram Files Microsoft ME T SDE Co mpactFramework we System Data CsProgram Files Microsoft NETISDE Co mpactFramework we System Drawing CsProgram Files Microsoft NE TISDE Co mpactFramework we Resources System Windows For CsProgram FilesMicrosoft ME T SDE Co mpactFramework we System Xml CsProgram Files Microsoft NE T SDE Co mpactFramework we Compile Sirning Devices Te iina 5 Right click on the Form1 vb and select View Code from the pop up Move cursor to top and insert the Option Explicit On and Imports Quicker in the first two statements Solution Explorer wi xX _ Form1 b Design Form vb ES a 211 2 E E 1 General a EJ Weclarati
148. le of Modbus Network Address 1 to True UserShare UserSetCoil Convert ToUInt16 1 1 Demo program ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 CSharp net 2008 demo wp_CSharp01 i 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 Value None Example Get the variable status of Network Address 1 byte iStatus UserShare UserGetCoil Convert ToUInt16 1 out iStatus Demo program ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 CSharp net 2008 demo wp_CSharp01 10 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 10 4 2 Analog R W Functions MUserSetReg short JUserSetReg long JMfUserSetReg_ 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 int
149. lication 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 UPAC 7186EG every second for 1 to 10 minutes Then send this record file by email Q Application Record 10 Ch temperature value into a file in UPAC 7186EG every minute When 24 hour recording is finished send this record file by email every day Q How to measure 150VDC in ISaGRAF controllers plus the I 87017W AS I O card ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 9 13 English ISaGRAF Ver 3 FAQ 82 Q An easy way to program the fast FRnet remote I O modules Q How to set l 8x37 I 8x37 80 I 7188EG and UPAC 7186EG s TCP recycling time 0 0 WW Q Application A Cost Effective and Hot Swap Redundancy System by WPAC 7186EG 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 ErrO2 ErrO3 Err90 or E 0001 after booting the PAC Q Function Modifications The W 8347 8747 UPAC 7186EG
150. lities The InstallShieldR Wizard will install ISaGRAF Utilities on your computer To continue click Next instal shield Note If ICP DAS Utilities for ISaGRAF is not in your CD ROM please download ICP DAS Utilities For ISaGRAF zip from www icpdas com gt Product gt Solutions gt Soft PLC ISaGRAF amp Soft GRAF HMI gt ISaGRAF gt Driver 2 8 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 3 Step 3 Installing The Web Page Editor This is an option You may not need it if you are very familiar with the HTML design It is also possible to use any text editor to build web pages For example Notepad on the windows 2000 or XP We will use Microsoft Office FrontPage 2003 or 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 Recommend to use Soft GRAF HMI the performance is better Please refer to Section 2 5 eLogger HMI application can work with ISaGRAF softlogic application in the following PACs WP 8147 8447 8847 WP 8137 8437 8837 VP 25W7 23W7 4137 4147 XP 8047 CE6 8347 CE6 8747 CE6 Please refer to www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 115 Working eLogger HMI with ISaG
151. mbols Cencel ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 3 5 3 2 4 Step 4 Download Web Pages To The ViewPAC A Please copy all files in the CD ROM From VP 2xW7 4xx7 CD napdos isagraf vp 25w7 23w7 vp webhmi demo vphmi_05 To the VP 25W 7 s Miscro_SD Temp HTTP WebHMI vphmi_05 demo need one I 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 Temp HTTP WebHMII My Device a deskto p Ed Internet jsaviewPAL Explorer An 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 in s Mi oft Inte faro mmo m TEI iok eee J Pma E aN ViewPAC The Web PAC Please click on Enter to login 3 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Chapter 4 Programming A Web HMI Example The ISaGRAF WinCE ViewPAC in this manual include abbreviation VP 2xW7 4xx7 VP 25W7 VP 23W7 VP 4137 VP 4147 Support ISaGRAF logic running in the PAC VP 25W6 VP 23W6 VP 4136 VP 4146 Support InduSoft amp ISaGRAF logic running in the same PAC Important Notice
152. monstrates SFC boolean actions Reference Rf Tmr FB gt Author CJ international m Date of creation 9 2 94 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 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 23w7 demo _ in the VP 25W7 23W7 CD ROM Archive Projects i k x Workbench Archive Backup Restore Close Help File name Folders OK backup c desktop Bxx 771 demo een Was CX mean Browse DESKTOP 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 09 Backup Restore Close Help work 02b Compress Archive location C DOCUME 1 SCOTTADESKTOPAI 8XX77 1 Browse 9 10 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 9 3 Frequently Asked Questions ISaGRAF frequently asked questions FAQ webs
153. mp 8 OUT board please follow the same steps as below however your Web HMI demo may be replaced to vphmi_01 not vphmi_05 B 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 C 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 then click on Edit to set username password Then remember to click on OK Note If Enable Account Security is not checked any user can easily get access to your ViewPAC through the Internet Explorer desktop rs wphmi jority Low Disable Telnet Serveice User Mame jeveli To set up advanced security cl password pe o Settings Pi a Ed Ed Internet isaviewPAC Explorer ag Priority Middle User Mame fevel Password ees sat Priority High Liser Mame Jevels Password BE 3 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 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 2xW7 4xx7 CD ROM napdos isagraf vp 25w7 23w7 demo vphmi_05 pia vphmi_05 demo need one I 87055W 8 IN amp 8 OUT board If you don t have it you may download
154. n Application Progra ccccsssccssssccsssecccssssececssccccnsceneusseseusscceeueseneueseneusseceensss 6 5 Aucke NE FDO erii E Cain auie ten nongscia alacan ancaet TA N net eiateasemouete 6 6 Digital R W FUNCION Sanan aa a gbaisaunicesees 6 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 6 4 2 Chapter 7 Chapter 8 Chapter 9 9 1 9 2 9 3 Chapter 10 10 1 10 2 10 3 10 4 10 4 1 10 4 2 Chapter 11 11 1 11 2 11 3 11 4 Appendix A A 1 A 2 A 3 A 4 A 5 A 6 A A 8 A 9 A 10 A 11 Appendix B Appendix C Appendix D Appendix E Appendix F Appendix G Appendix H Appendix Appendix J Appendix K Appendix L Pale WV PUI CUION S coania cadena eecean cease san sagen NN 6 8 EVC Program Access To ISaGRAF Variables cscsccscscscsccscscecsccscsceccccscscescccscncscees 7 1 InduSoft Project Access To ISAGRAF Variables csccscscecsccscsccccccscsceccccscscesescecscecees 8 1 Example Program amp FAQ ciccone nrinn e a a crcuseleskesabeeeuters teas caste sevens 9 1 Ger OMe Nel Onire an a T a A 9 1 Installing The ISaGRAF Programming ExaMples cccssscccsssecccssececesceceeseceeeeceseeecessueeeseees 9 4 Freguenti y Asked Question S eeina N A NN 9 11 C NET 2008 Program Access To ISaGRAF Variables csccscscsssecscsceccccscsceccccecscecees 10 1 create a NeEwWoPLOIOC Tymers aa E E N E N 10 1 Add Project Reference for an Application cccccccssecccess
155. nCE ViewPAC CD ROM ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 CSharp net 2008 demo wp_CSharp01 Digital I O demo with one I 87055W in slot 0 of the ViewPAC wp_CSharp02 Analog I O demo with one I 87024W in slot 1 and one I 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 ey Start Page Microsoft Visual Studio Edit View Tools Test Window Help BE New Project Ctrl N IIE S z O r New Web Site A Shiftt Alt N New File Open Project Ctrl O Open Web Site Shift Alt O Open File b Microsoft Visual Studio 2008 cent Projects ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 10 1 2 Check the Smart Device on the left then selecting the NET frame work 2 0 and Smart Device Project Then entering a proper project name and the last click on OK CADocuments and Settings AdministretoriMy DocumentAV iual Stodio 2008 Projects tue oe create directory for solution 3 Select the Device Application and Windows CE and NET Compact Framework Version 2 0 then click on
156. name amp password for the Web HMI ViewPAC ISaGRAF Driver Setting Wep About Options POET OLE E NNER EEE EEE REEE peot SEH EE pe M Enable Web HMI Security Settings Account Modbus List 1P Setting Dsable FTP Serveice n Deae TORRE rh A NINA Setting user name amp Pridkty Low password here User Name Password Priority Middle User Name Password Priority High User Name Password ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 19 About item 1 user may set up to eight IP address for ISaGRAF or other HMI to get access to the ISaGRAF WinCE ViewPAC via the Modbus TCP IP protocol as below On the I O connection 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 am SaRAF WHMI_OS5 LO connection E 0 x File Edit Toole Optons Help a a gt Ben tllhA amp Wm em i_ 87055 DIS DOG select board equipment e x 6063 Isolated 4 CH DI amp 4 CH DO Ok ofUBSC 8 CH IO amp Crit Max 100Hz of06ec 4 Counter amp 4 read back DO Sf082F 2 Frequency amp 2 00 Cancel iv_diob 4 CH DI amp 2 CH Relay DO i dio
157. nce Optimization V Receive focus on open Das Hide screen instead of closing it V Share tab order with other screens 0 Keep screen file in memory Global Graphics i Tasks Saq Database Sov a x Output 4 Select Text icon then clink on the main screen where want to establish a text and type 87055W_DI_1 5 Select Text icon again following the previous text and type then select Text Data Link means 1 digit means 4 digits HH HH means 6 digits Project Dema OLAPP S lt reers 87055W_DI_1 tte 5 Click on Text to add a label and then click on Text Data Link L Screen Group E Thin Chents Propect Symbols A Graphics scnpt k Symbols lw Layout 4 Click on Text to add a label means the display Text has 1 digit EE es 87055W_DI_1 HHHH means 4 digits ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 8 5 6 Double click the object and then type DI in the Tag Expression CS Replace Hint Text Data Link v Tag Expression ODI iii Input Enabled Back to text Format Auto Auto Size Require confirmation tual keyboe lt Use Default gt 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
158. ning in the same PAC 1 Please always set a fixed IP address to the ISaGRAF WinCE ViewPAC No DHCP Recommend to use the NS 205 208 or RS 405 408 Industrial Ethernet Switch for them 2 Please refer to ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 english manu user_manual_i_8xx7 pdf for detailed ISaGRAF English User s Manual A simple example to run InduSoft amp ISaGRAF logic in the same controller Step 1 Create a new ISaGRAF project This demo uses a DI DO module I 87055W in slot 0 of VP 25W6 PAC and an AO module I 87024W in slot 2 and one internal variable defined as follow ISaGRAF Variable Definition Variable Type Network Address Attributes If you are not familiar with ISaGRAF please refer to section 4 1 to 4 3 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 8 1 I O Connection Setting f ISaGRAF TEST4 Programs io File Make Project Tools Debug Options Help ov 8aGRAF TEST4 140 connection lol BI a File Edit Tools Option Help Begin SB SBP tL FRA g An empty LD is just fine o m i_ amp 87055 a tj ref 870554 B Dis o amp DII Begin LOW Ladder Diagram A wa D G E x E x ISaGRAF TEST4 I O connection loj x 7 iE File Edit Tools Options Help ea alesan to KR ee le Edit Took Options Help o am i 87055 mj ref 670556 DIS fo S DO1 a esem To RK S B DOs G o i_ amp 7055 aj bao ref 87024 4 DIB mo range 33 tt 87
159. nk_period 4 34 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 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 ff PE ESE Ee BD EEEE EEE Rae at ee E E ene cm EE EEE SP E NOD as Oey E E E EE sa a ea EE function Check_L21 I a a a ea ap a a a i a O a ag a EA E a na E a as ac ay a as ee eat 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 K K K K K K K K K K K K K K K K K OK K K K K K K K K K K K K K K K K K K K K K K K K K K K K K K OK K OK K K K K K K K K K K K K K K K K K K K K K K K K K XK K KK 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 H a E EE E a E E E a a E E a E E E E E a E E a a EE Se E T B1 src img circle_blue boolean_val 1 jpg B2 src img cmd boolean_val 2 jpg B11 src img big_Tcircle_red boolean_val 11 jpg if boolean_val 12 0 B12 innerText 0Ok font_B12 color blue B12_blink 0 else B12_blink 1 T1 innerText timer_val 21 ms ISaGRAF WinCE V
160. nsumption Protocols Note that certain protocols require optional devices NET ID 1 255 user assigned by software Modbus TCP IP Link to a max of 100 devices that support the Standard Modbus TCP IP Slave protocol Master FAQ 113 Modbus RTU ASCII A max of 10 ports COM2 3 and COMS5 14 To connect to other Modbus Slave devices Master Support Multi port A max of 5 ports one of COM2 3 COM5 8 For connecting ISaGRAF PC HMI OPC Server and HMI panels Modbus RTU Slave Modbus TCP IP LAN1 and optional 2nd Ethernet Port in 8135W support total up to 32 connections for connecting ISaGRAF and PC HMI If one of the Ethernet port malfunctions the other one l Slave can still be used to connect to the PC HMI Web HMI Protocol User defined Custom protocols can be applied at COM2 3 and COM5 14 using Serial communication Protocol function blocks One of COM2 or COM3 supports l 7000 I O modules I 87K base I 87K Serial I O boards Ethernet ports for connecting a PC running Internet Explorer l 7000 amp I 87K or RU 87Pn I 87K High Profile I O boards as remote I O A max of 255 I 7000 87K remote RS 485 R S 485 Remote 1 0 I O modules can connect to one PAC 12 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS A max of 10 RS 485 ports COM2 3 5 14 Each port can connect to up to 32 M 7000 modules With optional I 7510 repeater connected can connect to up to more than 3
161. o a long type which stores the data returned iDType 0 type is word 1 data type is float 2 datatype 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 amp ret_val 1 float_val float amp ret_val get long of ISaGRAF variable with network address 13 UserGetReg 13 amp ret_val 2 long val ret_val Note The long integer timer and float variable s Network Address No must occupy 2 No in the ISaGRAF project Please refer to section 4 2 of User s Manual of ISaGRAF Embedded Controllers or in the ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 english manu User_Manual_ _8xx7 pdf 7 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Chapter 8 InduSoft Project Access To ISaGRAF Variables Note If the HMI program behavior is not so smooth or slow please refer to Appendix F The ISaGRAF WinCE ViewPAC in this manual include abbreviation VP 2xW7 4xx7 VP 25W7 VP 23W7 VP 4137 VP 4147 Support ISaGRAF logic running in the PAC VP 25W6 VP 23W6 VP 4136 VP 4146 Support InduSoft amp ISaGRAF logic run
162. of Text object S31 is defined here by the lt b tag lt body gt and id S31 and lt b gt tag the initial value of this 31 is empty 5 10 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 4 2 5 Trigger A Boolean Object To Blink Demo example vphmi_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 The below code can do this job se The blinking period unit is ms var blink_period 500 setTimeout blink_obj blink_period Setup a timer to handle the blinking action var B12_blink 0 init as O not blink var blink_step 0 1 to blink O no blink function blink_obj if blink_step 1 blink_step 0 l Blink step 1 if B12_blink 1 To display Error in red color B12 innerText Error font_B12 color red ee ee ee ee ee ee eB eB eB eB eB eB Be eB eB eB eB eB eB eB eB eB ee eS Ld blink_step 1 Blink step 2 a a ent een re re ier ein To display if B12_blink 1 nothing in red color B12 innerText font_B12 color red setTimeout blink_obj blink_period ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 11
163. olated RS 232 Expansion Module l 8114iW 4 ch Isolated RS 232 Expansion Module I 8142iW 2 ch Isolated RS 422 485 Expansion Module I 8144iW 4 ch Isolated RS 422 485 Expansion Module ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS I 8172W 2 port FRnet Module I 8K CAN Bus Modules I 8123W 1 Port High Performance CANopen Master Module RS 485 Remote I O Modules Serial Interface HOT SWAP I 87K High Profile Modules More at www icpdas com gt Product gt Solutions gt Remote I O Modules Units gt I 8K amp 87K l 87K Analog I O Modules Il 87005W 8 ch Thermistor input and 8 ch digital output module I 87013W 4 ch 16 bit 10 Hz Total 2 3 4 Wire RTD Input Module with Open Wire Detection I 87015W 7 ch 16 bit 12 Hz Total RTD Input Module with Open Wire Detection for short sensor distance 87015PW 7 ch RTD Input Module with 3 wire RTD lead resistance elimination and with Open Wire Detection for long sensor distance 8 ch Differential 16 12 bit 10 60 Hz Total Analog Input Module with 240 V Over Voltage Protection Range of 20 20 mA Requires Optional External 125 Q Resistor I 87017RCW 8 ch Differential 16 12 bit 10 60 Hz Total Current Input Module I 87017RW 87017 W 8701 7W AS 87017DW 87017ZW 87018PW 87018RW 87018W 10 ch Differential 16 bit 10 Hz Total Thermocouple Input Module with 240 V Over Voltage Protection Open Wire Detection Range of 20 mA
164. op 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 We have finished the code inthe lt body gt lt body gt area ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 33 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 K OK OK KK OOK KK KK KK OK KK KKK var B12_blink 0 init as O not blink K function to blink object The Error symbol will blink when the K2 True var blink_step 0 in this example Please un mask the code inside function blink_obj these 3 areas if blink_step 1 blink_step 0 display your object here blink B12 For example s RK OK KOK OK KK KK KF if B12_blink 1 2K K K K K K K K OK K K XK K B12 innerText Error font_B12 color red aK OK K K K OK K OK K K OK KOK K K K K K K K K K KKK ye else blink_step 1 un display your object here blink B12 For example I KK K K K K K K K K K K K K K K K K K B12 innerText font_B12 color red a 2K 2K 2K OK K K OK OK OK OK OK K K K K AOR OK K K KXK KXK XK XK KOK K K setTimeout blink_obj bli
165. orother value Slowest Mode the min PLC scan time is about 19 21 ms Return Q_ Boolean always return True Note 1 The system s default setting is Fast Mode 2 User may call PLC_mode in the first PLC scan to change the PLC speed 3 The reason to slow down the PLC speed is to improve the speed performance of other HMI program running with ISaGRAF driver at the same time For example running InduSoft with ISaGRAF in the same 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 Ap 26 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Appendix G Setup More Modbus RTU Salve Ports The ISaGRAF WinCE ViewPAC can setup up to five Modbus RTU slave ports in one of the COM2 or COM3 and in four of the COM5 COM6 COM7 COMB8 expansion multi serial ports in slot O to 2 refer to the appendix E 1 The 1 Modbus RTU slave port can 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 oo a 4 or 5 Modbus RTU slave port in COM5 COM6 COM7 or COMB No support other COM port number 3 Before using this function in COMB5 to 8 please make sure COM5 COM6 COM7 COM8 do exist and well configured Refer to the appendix E 4
166. ors SaGRAF WinCE ViewPAC supports max 10 l 7530 RS 232 to CAN Converter Support l 8123W CANopen master card too FAQ 145 More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt 086 145 ISaGRAF PAC XP 8xx7 CE6 WinPAC ViewPAC iPAC ypac 5xx7 XP 8xx7 Atom CE6 WP 8xx7 5xx7 VP 2xx7 4xx7 iP 8x47 AC 7186EG ks 232 l 7530 RS 232 to CAN Converter g t mmm na i CANopen Device Sensor CAN Device Sensor 1 10 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 19 VIP Communication Security Set VIP Very Important IP No for Modbus TCP IP security BeORAP TESTI LA comnectoe Bb Edt ook Opiom Help a PBrS tsa FM S 6 a nj ret 19 a 1 gt IP_1 10 0 0 808 E mmi IP_2 10 0 0 25 sm IP_3 10 0 0 49 to t pushdkey n mee IP_4 10 0 0 72 u amp amp vip mani IP_5 10 0 0 66 B gt Ip A ne IP_6 NIA A ma IP_7 NJA smi IP_8 NIA a f J 4 xj 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 Support
167. ounter Frequency Module Isolated or Non isolated Inputs I 87K PWMS Modules I 87088W 8 ch PWM outputs software support 1 Hz 100 kHz non continuous duty 0 1 99 9 I 87K GPS Modules I 87211W Time Synchronization and GPS module for getting UTC local time and local Longitude Latitude RS 485 Remote I O Modules l 7000 www icpdas com gt product gt solutions gt remote i o modules units gt l 7000 amp M 7000 DCON Protocol M 7000 www icpdas com gt product gt solutions gt remote i o modules units gt l 7000 amp M 7000 Modbus RTU and DCON Protocol tM 7000 DCON Modbus RTU Modbus ASCII WWwW icpdas com gt product gt solutions gt remote i o modules units gt tm series Protocol RS 485 Remote I O Expansion Unit RU 87P1 2 4 8 www icpdas com gt product gt solutions gt pac gt I O Expansion Unit Hot Swap Auto Config I 87K1 4 5 8 9 www icpdas com gt product gt solutions gt pac gt I O Expansion Unit Ethernet I O Modules ET 7000 Web based www icpdas com gt product gt solutions gt Remote I O gt Ethernet I O PET 7000 i gt gt i gt gt Boe Wak based www icpdas com gt product gt solutions gt Remote 1 0 gt Ethernet I O tPET tET 7000 http www icpdas com products Remote lO petl 7000 PETL Series Main Page htm Modbus TCP based PoE Ethernet I O Expansion Unit I 8KE4 8 MTCP www icpdas com gt product gt solutions gt pac gt iPAC 8000 gt I 8KE4 MTCP G
168. pendix E for more Modbus RTU ports Then please reset the ViewPAC once after the modification to make the new setting work bs A aae F My Device isglw35 vViewPAG 29W77 23W77 ISaGRAF Driver ee Coni uration Slave Number fi i Modbus RTU Slave Port ione Ed Ed Internet isaViewPAC Baud Rate 19200 if 6 1 Explorer i Project mre Current Application wpdmo_O4 I5A11 4444 ISA12 1124 Microsoft WordPad Elapsed Time b n 01 58 Contguration Setting Configuration Settirg Slave Modbus ATU Slave Port Baud Rate ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 3 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 LAN1 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 2xW6 4137 4136 TANI Fast Ethernet Adapter Settings IP Address Ware Servers n IF address can be Obtain an IP address via DHCP automaticaly assigned to this E EE E Tac computer If your network specify an IP address does not automatically assign IP addresses ask your network F Agdress 132 168 1 175 administrator for an address Subnet Mask 255 255 255 0 and then type it in the space me provide
169. ports ISaGRAF programming method amp provides Web HMI solution by default If user would like to program the VP 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 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 2 1 2 1 Step 1 Installing The ISaGRAF Software The user has to install two software before he can program the ISaGRAF ViewPAC controller system They are A ISaGRAF Workbench amp B ICP DAS Utilities For ISaGRAF User has to purchase at least one pcs of ISaGRAF Ver 3 4x or Ver 3 5x ISaGRAF 256 E or ISaGRAF 256 C 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 ISaGRAF WinCE ViewPAC 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 e Windows NT Version 3 51 or Windows NT Version 4 0 e Windows XP or Vista or Windows 7 refer to FAQ 117 or 2 1 4 Steps To Install The ISaGRAF Workbench AN If your PC OS is Windows Vista or Windows 7 32 bit refer to 2 1 4 If your PC OS is Windows 7 64 bit please refer to 2 1 5 1 Insert the IsSaGRAF Workbench CD into your CD ROM drive
170. r msimmn exe Administrator svchost exe SYSTEM taskmer exe Administrator explorer exe Administrator msmumnser exe Administrator mspaint exe dministrator smartMON exe Administrator wdfimer exe LOCAL SERVICE 00 216 K naPrdM er exe SYSTEM 00 1 024 K sTskM er exe SYSTEM 00 400 K Meshield exe SYSTEM n0 16 912 K Frameworkservice SYSTEM 00 6 104 K manlar ewe LOCAT SERVICE nn 244 K x RETR BATA Samet IEF S te RIE tz RIRI 38 220 BFA 623K 1250K 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 cannot 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 Ifthe 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 CPU RAE 0 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 29 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 function to read them For example user may write a ST program as below to read the state of F
171. r Manual V 1 5 10 2014 by ICP DAS The RS 232 communication parameters for the ISaGRAF WinCE ViewPAC MUST be set to the same serial communication parameters for the development PC For the ISaGRAF WinCE ViewPAC 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 Debug the Link Before you can download the project to the PAC you must first verify that your PC and the PAC system are communicating with each other To verify proper communication click on the Debug icon in the ISaGRAF Programs window as shown below ISaGRAF EXAMPLE Programs E 0 x Fie Make Project Tools Debug ptones Help E E SMe Om Ss wie me ES Begin LOY Ladder Diagram Begin HEF LU If the development PC and the PAC 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 SBR eee A Semel software on the PC Current running project name inside the controller 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 mo
172. r Manual V 1 5 10 2014 by ICP DAS 4 5 There are two outputs used in this example program named OUTO1 and OUTO2 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 within 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 W saltRAF EXAMPLE Global booleans File Edit Toole Opton Help i te OM Ole KE S Vel Booleans integersiReals Timers Messages FB instances Definer wore Mame Attrib Addr Comment dick declaration Kl i 0000 Input 1 in the 87055 board i iti i input Din the LETOS men pon Ce ee NEAN Cancel Internal C Constant Other Retain tire finega Real engt 7 When you click on the OK button all two outputs will be immediately added to the Global Boolean window Click on Save to store them SaGRAF EXAMPLE Global booleans g 5 x File Edit Tools Options Help lal obe eked Xs Booleans IntegersiReals Timers Messages FB instances Defined swords Mame Attrib Addr Comment E Input 1 inthe l 57055 board ae EZ a Input 2 in the 67055 board 0 tii 17 eae See eee aS ne cee eon aon nner OUTO 2 F DUTOT w000
173. ratior Save 3 Save and Reboot Reboot Without Say Restore Default Settings Exit ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 21 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 Programs ie Favorites 3 Documents H Control Panel i Network and Dial up Connections ef Taskbar and Start Menu E Settings amp Help W RUN EEEN N File Edit View Advanced E Ed E a a Make Mew LAMI 95135 Connection N 139 Fast Ethernet Adapter Settings IP Address Name Servers An IP address can be Obtain an IF address via DHCP automatically assigned to this computer If your network does not automatically assign 192 166 1 180 IP addresses ask your network 1932 168 1 130 administrator for an address Subnet Mask 955 755 2755 0 and then type it in the space provided Default Gateway Looe oe Help Configuratior Save Save and Reboot Reboot Without Say Restore Default Settings 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 LAN2 2 When program the RDN_new in VP 25W7 23W7 25W6 23W6 4137 4136 it is necessary to install the I 8135W
174. ree 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 UJ N 33 Q Setting up more Modbus RTU Slave ports in WinCon ISaGRAF PACs 34 Q Compiling error result in different ISaGRAF version Q Slow down ISaGRAF driver speed to work better with InduSoft software in W 8036 8336 8736 amp W 8046 8346 8746 36 Q Redundancy Solution in WinCon 8xx7 37 Q I 7188EG XG support remotely downloads via Modem Link 38 Q Setting I 7188EG XG s COM3 as Modbus RTU Slave port 39 Q ISaGRAF version 3 4 amp 3 5 now supporting Variable Array Q Setting 8437 I 8837 I 8437 80 I 8837 80 s COM3 as Modbus RTU Slave port U9 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 Server device Or WinCon automatically report data to PC via TCP IP Q WinCon 8xx7 8xx6 automatically report data to PC InduSoft or PC HMI 45 Q ISaGRAF controllers display message to EKAN Modview LED Q How to Write 16 bits to Modbus RTU devices by Mobus function call No 6 NS N D U9 WW 47 Q How to Read or Write Floating Point value to Modbus RTU Slave device
175. res in ISaGRAF WinCE based PAC Users can visit the ISaGRAF FAQ to understand these usages 11 1 FAQ 167 Develop Your Own C function and C function Blocks in the ISaGRAF WinCE PAC The FAQ 167 provides demo programs to guide users to develop their own C function and C function Block More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC gt FAQ 167 A SaGRAF Project Management File Edit Project MEMA Options Help ky Archive u CE ISaGRAF Libraries iO x File Edit Toole Options Help ham ssea se JO complex equipments ea mple Convert 3801 H s input value to become 0 100 psi or ie gt D 3000 rpm a Tunic C functions a nE d related range setting of Analog input board or module should UTES TNCs mA range for ex 20 20mA 0 20m 4 20m whatever which m range Please refer to below similiar functions to A4 20 to O 10 A4 20 to VO 10 to BAT F681 FRA FERS l 7188EG l 71868x6G gt W805 Fass fe 7s V incon lsaGHaAF version UPAC 7166EG Target 4 iPAC 6 4 7 Target 5 WinPaAc ixx f Oxxb Target 6 YP 25 7 f 2a f 256 f 23V 6 Target 7 P G x CE6 XP 8xx6 CE6 Target 6 YP 2117 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 11 1 11 2 FAQ 166 ISaGRAF WinCE PAC Schedule Control The ISaGRAF WinCE based PACs support Schedule Control Users just need a few simple steps to configure the date events suc
176. rom Microsoft SQL server Q HART Solution ISaGRAF PAC plus I 87H17W Q How to connect to remote server and send network package via GPRS with uPAC 5000 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 9 15 121 122 123 124 125 126 28 1 132 133 134 135 136 37 1 No English ISaGRAF Ver 3 FAQ sconce O 138 Q How to program an XP 8xx7 CE6 redundant system with I 87K8 expansion base or Modbus I O or other I O 139 fa How to install use ISaGRAF 3 55 Demo Version and its limitations 40 Q How to communicate between InduSoft local HMI and ISaGRAF PACs via Modbus TCP protocol 141 Q iP 8xx7 UPAC 7186EG I 8xx7 I 8xx7 80 provide the Flash memory write protect feature 142 a How to protect your ISaGRAF program from used by the unauthorized people 43 Q How to Make ISaGRAF WinCE PAC to Connect to the Internet and Send Data by GPRS Dial up 153 Q How to use the ISaGRAF PAC to communicate with a far away Modbus TCP server or a ftp server by the 3G or 2G wireless GPRS Q How to use the FRnet AI AO module with the ISaGRAF PAC 155 Q How to save the value of ISaGRAF variables to the Micro _SD memory in the WP 5xx7 WP 8xx7 and VP 25W7 PAC Q ISaGRAF PAC connects a DL 100TM485 to measure humidity and temperature values 57 Q How to link to the Temperature and Humidity module DL 100T485 with the ISaGRAF PACs 158 Soft GRAF Application Data Logger 159 Q How to use
177. rt iUserAddress long iStatus unsigned char iDType iUserAddress 1 to 8191 Variable s network address in ISaGRAF project iStatus A pointer to a long type which stores the data to set iDType 0 type is word 1 data type is float 2 data type is long use long for Timer value in ISaGRAF unit 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 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 4 long val 12345678 temp_val long amp long_val UserSetReg 4 temp_ val 2 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 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 t
178. rt3 19200 reserved 0 Cancel ddi FSelelesei Eel Baud Port4 19200 reserved 0 Atu Slave Ports 0 Library The 4 ch Boolean inputs indicate the C Boards Equipments related port is well enabled or not True Enable Ok False Disabled RTU_Slave_Port2 5 defines the COM Port number to enable Value can be O 5 6 7 or 8 Value of O means not enable it Baud rate setting can be 600 1200 2400 4800 9600 19200 38400 57600 115200 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 27 Appendix H Compiling Error Result In Different ISaGRAF Version In the recent years since 2003 all the IsSaGRAF 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 2 iol x File Make Project Tools Debug Options Help Make application p OHM ABs Begir Verity Application nmn time Optio Compiler options Resources SaGRAF DEMO 04 Programs i z ioj x File Make Project Tools Debug Options Help Make application a Em TH a Begir Verity Touch Application mn
179. s Integer As Byte UserShare UserGetReg_ Float ByVal iUserAddress As System UInt16 ByRef iStatus As Single As Byte Parameter iUserAddress Specify the Network Address of Variable 1 to 8191 iStatus Get the short or long integer or float value Example Dim float_val As Single Dim short_val As Int16 Dim long_val As Int32 Get float value of the variable of Modbus Network Address 7 UserShare UserGetReg_float Convert ToUInt16 7 float_val Get long value of the variable of Modbus Network Address 9 UserShare UserGetReg_long Convert ToUInt16 9 long_val Get short value of the variable of Modbus Network Address 11 UserShare UserGetReg_short Convert ToUInt16 11 short_val Demo program ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 vb net 2008 demo wp_vb02 for R W analog I O napdos isagraf vp 25w7 23w7 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 25w7 23w7 english manu User_Manual_ _8xx7 pdf ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 6 9 Chapter 7 EVC Program Access To ISaGRAF Variables Important Notice Please store your application programs and dat
180. s the UDP Server and UDP Client protocols allowing messages to be sent received to from a PC HMI or other device For example data can be automatically reported to the InduSoft s RXTX driver LAN1 or the 2nd Ethernet in optional I 8135W card supports the TCP Client protocol allowing messages to be sent received to from a PC HMI or other device that supports the TCP server protocol For example data can be automatically reported to the InduSoft s RXTX driver or to connect a location camera Enable the 8212W 2G 3G card allowing short messages to be sent received to from or GPRS SMS to access a dial up connection to link to the Internet and using a GPRS connection to send an email or communicate with remote stations using the FTP Client FAQ 151 or the TCP Client UDP Server UDP Client FAQ 143 protocols SQL Client Support for the SQL Client function that allows data to be written or read from a Microsoft SQL Server 2000 SP3 2005 2008 Must enable the 2nd Ethernet port in the optional 8135W card This redundant system has setup two Active IP address point to the active VP 2xW7 2xW6 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 2xW7 2xW6 is currently active Moreover the new redundant system can integrate with the RU 87
181. sagraf vp 25w7 23w7 english manu PID_AL Atm Store amp backup boolean amp long integer value To From files ne Store amp backup boolean amp long integer value To From EEPROM i 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 file every minute change file name every day Send UDP String to PC when alarm happens using variable array Time _Gap is 1 sec slotO I 87055W Chapter 19 2 of the ISaGRAF User s Manual Send UDP String to PC 3 sec later Time_Gap is 250ms lot0 1 837055W Chapter 19 2 of the ISaGRAF User s Manual slot0 l 87055 Send UDP Str to PC 3 sec later vpdmo19a is better Time_Gap is 250 ms Chapter 19 2 of the ISaGRAF User s Manual slot0O I 87055W receive String coming from remote PC or controller via UDP IP using com_MRTU to disable enable Modbus RTU slave port PWM I O demo Pulse Width Modulation minimum scale is slot 0 8055W 2ms for ViewPAC 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 slot 0 87055W To move some pulse at x axis of 8091W of slot 1 in VP 25W7 lot 1 l Chapter 18 of ISaGRAF User s Manual tober ova Motion x slot 1 8091W Chapter 18 of the ISaGRAF User s Manual slot 2 1 8090W Motion x y
182. scription 0 Boolean 87055W DI Channel 1 Server 2 0 Boolean 187055W DO Channel 1 Server 3 Lf AO 0 Integer 87024W AO Channel 4 Server 4 Len Internal 0 Integer Internal Tag Server ee Integer fo Server integer _ d sever 8 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Create main screen 1 Select the Graphics tab in the Project Explorer window 2 Click mouse right button in the file folder of Screen then the Screen Attributes window appears 3 Set up the screen attributes such as Size Location Runtime Properties and Background Picture then press OK to edit screen 2S amp ot 4a Home View Insert Project Help ai i a Aj Transiati lt A Procedu Tag Class Gene Project Explorer Description MainPage 4 Project Demo_ iR Screens J Screen Insert gt i Thin Clients E Project Symbols Background Picture Size Location _ Enable Background BMP v Width 320 Top 0 Shared image Height 240 Lett 0 ve Graphics Script Runtime Properties Security T Symbols Titlebar Level 0 B Layout ER vstem Menu Style Replace Partial v T Maximize Box Border Aa Coen 1 Goto G raphics __ Minimize Box ie rll i 2 Don t redraw F While Open Disable Commands a On Close Focus Performa
183. st 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 T1 gt xxx ms lt b gt lt div gt lt div style position absolute width 98px height 28px z index 2 left 4px top 45px id layer16 gt lt form 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 Please insert below code inside Layer16 amp nbsp lt div gt lt form name form_L21 method post action main dll gt lt input name BEGIN type hidden gt lt input name L21 type text size 8 value xxx gt lt input name END type hidden gt lt form gt 4 32 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS lt div style position absolute width 67px height 33px z index 3 left 106px t
184. st 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 system You may have to either change the serial port communication settings for the development PC which may require changing a BIOS setting or change the Serial Link Parameters in the ISaGRAF program If there is a project already loaded in the PAC system you will need to stop that project before you can download the example project Click on the STOP icon to halt any applications that may be running ISaGRAF EXAMPLEI Debugger E O xl Fie Contol Toole Options Help Am Poo Oo Ae test 4 active Stop application ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 4 21 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 E O x Fie Control Took Options Help aie gt AH No appiication Download pplication stopped ISaGRAF SIMPLELD Debugger No anr licatinn 23 Downoad aplication stopped Download If ISA86M TIC code fort Intel is not found ISAS6M TIC code for Intel Angbcation tymbols here that means the compiler option ISA86M TIC code for Intel is not checked Please refer to section 4
185. t head gt lt title gt Title1 lt title gt lt meta http equiv Content Type content text html charset UTF 8 gt lt SCRIPT LANGUAGE JavaScript src msg wincon js gt lt SCRIPT gt 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 other Simplified Chinese gb2312 A_11 multi pages Traditional Chinese bigS or other language function refresh_data if run_at_pc 1 return lt SCRIPT gt head start1 is the entry point of the menu htm lt body onload start1 gt form_logout is for the logout button lt l Logout button gt lt form name form_logout method post action login dll gt lt input style cursor hand name CMD type submit value Logout onClick return logout this form gt lt form gt lt body gt lt html gt Note If you want to know more about the multi page application there are two demos in the VP 2xW7 4xx7 CD napdos isagraf vp 25w7 23w7 vp webhmi demo vphmi_05 amp vphmi_05a The vphmi_05 place its page menu on the left while vphmi_05a on the top ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 5 5 4 main htm 5 4 1 A Simple Main htm Example Before going further in the main htm first take a look at a simple main htm example This example only display a Hello message when successfully login
186. t statements solution Explorer Solution w e A Xx Form cs Formi cs Design Les ay Es Eel ewp_CSharp01 Formal a Combo F solution wp _Cehaptl il project Upusing System 32 wp_CSharp01 2i H s Properties 2 using System Collections Generic E fay References Right 4 using System ComponentModel E Click 5 using system Data z 6 using system Drawing O Open fi using System Text of using Se ete toes cH Open With q Lusing Quicker i 10 View Code 11g namespace wp CSharp 12i EI View Designer 132 public partial class Forml Form Then you can design all required objects and actions inside your C Forms 10 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 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 1 Remember to save at any time for safety ORs Microsoft Visual Studio All Des e Pointer 2 RindineSanree 2 Then compile Build the project The result is listed in the Error List windows at the bottom Error List B project Microsoft Visual Studio File Edit View Project Debug Data Formi Eu pa a Al a Buld project OPA Eeee a E E pT Febuild projectil Deploy project MT BindingSource Clean projectil Build succeeded 3 You can find the execution file in lt Your C net Project folder gt
187. t www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 067 Se meee i 4 Gateway Server in a ISP Company a S Internet 4 V VP 2xW7 4xx7 Internet 4 rs485 Ethernet lt NS 205 Y 1 87K4 8 Y 1 7000 I 87K4 8 I 87K_ Remote I O Modules High Profile 1 0 1 6 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 11 Data Recorder amp Data Logger PCcan load the data file stored in the VP 2xW7 4xx7 s Flash Disk or micro SD card by FTP or by Web HMI exnernes i VP 2xW7 4xx7 1 12 Remote I O Application Nearly 100 choices of Remote I O modules T 7000 amp I 87K ee Ethernet l VP 2xW7 4xx7 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 7 1 13 SMS Short Message Service Short message can be sent in multiple language format like Chinese English others and pure text can be sent received More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 111 Tas Alarm Message gr PAC WinPAC PAC ViewPAC GTM 201 RS 232 al GSM GPRS Modem 1 14 As a Modbus Gateway for the Remote I O Modules The ISaGRAF PACs with Ethernet port can be a Modbus RTU Serial amp TCP IP gateway of l 7000 amp I 87K Series I O modules The ISaGRAF PACs without Ethernet port can be a Modbus RTU Serial gateway of l 7000 amp I 87K Series I O modules HMI SCADA a 3 Modb
188. there are two demos in the ISaGRAF WinCE ViewPAC CD napdos isagraf vp 25w7 23w7 vp webhmi demo vphmi_05 amp vphmi_05a The vphmi_05 place its page menu on the left while vphmi_05a on the top The Menu htm defines the Page menu of the Web HMI especially for the multi page application The page menu can place only on the left or on the top 1B xi Ezp S85 40 RNY IAM MEH Siew 0O32 Qne yamar Gee j a 3T ceive RED La oe 10 0 0 Abad CUS BiA Kora Auitew O On the left This is a Web HMI sample page The width amp scrolling can KI K2 be modified Error OUTOI ouTo2 T1 5000 ms 2 E exa Enis Halbu Wakorea t the Web HIO Sampin O mn iOi x EZO MD MV ANAP IAD WAW Hi E OJA Gee yerat Gar vau Aas uver ate 4 Moo0 Olver dl R i a v zp F L This is a Web HMI sample page KI K2 Error On the top The width amp scrolling can be modified OuUTOI OUTO2 TI 5000 ms Horr i Erter 2 Hello Weleome w the Web HMI Sample o amai 5 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Below is the basic code for the menu htm lt top_or_left 1 scrolling 0 width 60 resize 1 gt The first row is not a comment it defines the Page Menu behavior top_or_left 1 Top O Left scrolling 1 Yes O No width width of the Menu Frame 0 999 unit is pixel lt html gt resize 1 Yes O No l
189. to the ISaGRAF WinCE ViewPAC No DHCP Recommend to use the NS 205 208 or RS 405 408 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 whmii_filter dll three DLL files login dll first default page 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 must not modify it The index htm re direc
190. ts to the login htm file in 1 to 2 seconds when someone visits the ViewPAC via the Internet Explorer User may modify the login htm menu htm and main htm to fit the requirement ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 5 1 5 2 Login htm Login htm is the first welcome page when a user visiting in It can be modified Below is the basic code for the login htm lt html gt lt head gt This row is only for the Login htm please do not apply to other pages For example the lt title gt Login lt title gt menu htm amp main htm amp other htm 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 JavaScript gt var random_val 123 function get_random_val Please apply your charset here For example var rightNow new Date English UTF 8 random_val 323456789 rightNow getMinutes Simplified Chinese gb2312 107654321 rightNow getTime 1000 Traditional Chinese big5 setTimeout get_random_val 197 repeat call or other language check if username and possword are empty function validate fm setKey fm return true Embed key while submitting function setKey fm var rightNow new Date cookieVal random_val rightNow getTime fm key_ value cookieVal lt script gt lt head gt 5 2 ISaGRA
191. ty 0 1 99 9 8 ch max 250 Hz max For Off 2 amp On 2 ms Output square curve Off 2 32766 ms On 2 DO 32766 ms Module as Optional DO Boards I 8037W 8041W 8041AW 8042W 8050W 8054W 8055W 8056W PWM 8057W 8060W 8063W 8064W 8068W 8069W Relay Output boards cannot generate fast square wave 8 ch max For 1 controller Counter val 32 bit 250 Hz max Min ON amp OFF width must gt 2 Parallel DI ms Counter 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 87K DI boards l 87040W 87046W 87051W 87052W 87053W 87053W A5 87054W 87055W 87058W 87059W 87063W R te DI All remote I 7K I 87K DI modules support counters 100 Hz max Value 0 65535 High Speed Counter Il 8093W 3 axis Encoder Module max 1M Hz for quadrant input mode max 4 MHz for Encoder pulse direction and cw ccw input mode FAQ 112 Il 8084W 250 kHz max 4 ch encoder pulse direction or up down or A B phase Quad mode Not support Encoder Z index FAQ 100 87082W 2 ch 1 Hz 100 kHz I 87088W 8 ch 0 1 Hz 500 kHz 1 8084W 8 ch 1 Hz Serial DI Counter l 87082W 100 kHz max 32 bit 1 8084W 250 kHz max 32 bit Encoder FrequencyCounter equency 250 kHz Motion one l 8091W 2 axis or two l 8091W 4 axis can do motion control only one 809
192. unction block for WP 8xx7 8xx6 and VP 25W7 23W7 25W6 23W6 and Wincon 8xx7 8xx6 only Q Why PC can not connect the WP 8xx7 or VP 25W7 23W7 s FTP server Q Using RS 232 Or USB Touch Monitor With WinPAC Q Why my PC running ISaGRAF can not connect the ISaGRAF PAC correctly Q Program The 8 Channel PWM Output Board 8088W In WP 8xx7 VP 25W7 23W7 And IP 8xx7 PAC 102 103 104 105 Q How to display the frequency trend curve by running ISaGRAF and C net 2008 program in the WinPAC 8xx7 plus I 8084W Q How to do auto time synchronization and measure the local Longitude and Latitude by 106 07 1 using the i 87211W GPS I O module in ISaGRAF PAC 108 Q How to display the temperature trend curve by running ISaGRAF and C net 2008 program in the WinPAC 8xx7 plus i 87018z 14 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS O 1 English ISaGRAF Ver 3 FAQ Q How to adjust the system time of some ISaGRAF PACs via Ebus by using ISaGRAF PAC and I 87211w Q Working eLogger HMI with ISaGRAF SoftLogic in the WP 8xx7 VP 2xW7 and XP 8xx7 CE6 109 110 111 112 113 14 1 115 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 To Connect One WP 8xx7 by
193. us TCP IP Ethernet ISaGRAF Modbus serial RS 232 485 a PACs ir pa p HMI SCADA o_o m l 7000 l 7000 87K 1 8 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 15 Motion Control One 8091W can control 2 axes X Y plane or 2 axes independent Two 8091W can control 4 axes X Y plane 2 axes independent or 4 axes independent Encoder Modules 8084W 4 axis without Z index 8090W 3 axis ISaGRAF WinCE ViewPAC 1 16 Stress Monitoring Application of Constructions More at www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC 091 128 p meu VW Sensor or Carlson Strain Gauge Inputs ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS 1 9 1 17 Fast FRnet Remote I O Advantage of FRnet I O Fast I O scan About 3 ms scan It depends on your program s PLC scan time Ex If the ISaGRAF program s PLC scan time is about 9 ms then the scan time for all will be 9 ms not 3 ms Support FRnet DI DO Al and AO I O modules More at www icpdas com gt S ort gt FAQ gt ISaGRAF Soft Logic PAC 082 154 VP 2xW7 4xx7 1 8172W Port 0 Max distance 400 M Port 1 gt FR 2053T FR 2057T FR 32P FR 32R DI DO DI Relay output Max distance 400 M FR 2053T FR 2057T FR 32P FR 32R DI DO DI Relay output 1 18 Integrate with CAN CANopen Devices amp Sens
194. val at Network Address 21 to a string with digit function refresh_data number 3 behind the dot symbol F21 innerText float_str1 float_val 21 3 5 12 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 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 method should be post name of this form H action should be main dl lt form name form_L21 method post action main dll gt Inside the form the lt input name BEGIN type hidden gt first lt input gt must lt input name L21 type text size 8 value xxx gt name as BEGIN lt input name END type hidden gt case sensitive and lt form gt type as hidden Inside the form the last lt input gt All the other lt input gt appeared between must name as END case sensitive BEGIN amp END are the data to post to and type as hidden the controller The lt input gt name to control the ViewPAC s data must follow below format The
195. vices amp S NSOMS cccsccsccecccccccccceeeeeceeeeeeeeessseeeeeseceeseseuens 1 10 1 19 VIP COMMUNICATION SECU Y eaea E E danratiewcerdeetecueetes 1 11 1 20 ISaGRAF PAC Connects the Smart Power Meter cc csscccsssecccsececessceeeeseceeeeceseeecesseeeees 1 11 1 21 ZE BEE Wireless SONTO iarrata a a AN 1 12 1 22 GPS Application ISaGRAF PAC Plus l 87211W or GPS 721 0 0 eee cceeccccsecceeeseeeeeeeceseneeeeeees 1 13 1 23 Beyehere Wl lt e1 asia 22d ol cee ener ne nana ne ton er ee eer N nee en eo oan eee ea eee 1 14 1 24 Detect Hot Swap I 87K High Profile I O Status cccccccccccccccccceeeeeeeeeeeeeeeeeseeeeeeeeceeseeess 1 14 1 25 Data ASS APPICCATI 1 15 1 26 FAR SOM OAS opererades eiar e E E T 1 16 1 27 2GISG Wireless APPC CION orara E OE ENA EAV RATI 1 17 1 28 Measure humidity and temperature values via DL 100TM485 sssssosssosseseserseseessrersserreseess 1 18 Chapter 2 Software Installation And Working Soft GRAF HMI with ISaGRAF sessssesessesessecessecece 2 1 2 1 Step 1 Installing The ISaGRAF Software esessesssreesereesseresreresrerssrrosseresseeesreessrresseresseeesseesses 2 2 2 1 1 The Hardware Protection Device Dongle amp USB Key Pro ccccccsssccccessececeeseceseeeeeceseeees 2 3 2 1 2 Important Notice For Window 2000 USESS cccccesecccessecccseeeeeececeeececauceeeeaeceseuecessueeeeees 2 4 2 1 3 Important Notice for WINdOW NT USESS ccccsseccessecceessceccesececeececeeeces
196. view PAL WOoIdPs ViewPAC 25W7 2aW ISaGRAF Driver foal hes aa Ed Configuration yy meats EE E tW Modbus RTU Slave Port one VIEWPAC Baud Rate fiszo0 es Project Current Application iS ISA11 1116 5A12 556 Elapsed Time Jo 0 03 52 Setti 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 ViewPAC s IP address amp its Subnet Mask Please always set as Fixed IP for ISaGRAF application No DHCP TANI Fast Ethernet Adapter Settings Mame Servers IP Address An IP address can be Obtain an IP address via DHCP automatically assigned to this pol PR eee eee l computer If your network specify an IP address does not automatically assign 192 168 1 178 IF addresses ask your network IP Address ele oa ede administrator for an address Subnet Mask 555 955 255 0 and then type it in the space E provided Default Gateway 192 168 1 1 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Ap 13 C Please run Start Programs ViewPAC Utility Set FTP directory to the root directory Then check all three ftp options
197. window to the source code A valid HTML document will contain the basic objects as below R Microsoft FrontPage D VChun_D User_Manval_WinConS000 Meb HMI f yo u want to k now more a b outt h e We b H M S source BRO REO HA MAO BO TAD 8 code please refer to Chapter 5 ee ry erica ee f Times Hew Roman 3 lap lB F i ili li Ii g gt il III Wk I Wel lt html gt blink step 1 f f un display your object t lt title gt Your Title here lt title gt blink El For example ff RRRAA EER AAA TERRA AERA ATT 5 if B12_hlink 1 lt head gt Vy Bl2 innerText S if font Bl2 color red 5a T lt SCRIPT LANGUAGE JavaScript gt Lea mo ww D ff SEPARATES EASES EEE EEE in L i setTimeout blink obj bid lt SCRIPT gt JavaScript code is normally placed inside the head area LA on J cy CheckE lagfiecessary when e h d oai 858 Bas ame e lt head gt 22477 31 tl lt body gt The body area describes the lt body gt behavior of this page lt html gt 4 30 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Please go to the lt body gt area and then modify the code as below Caption Area Layer1 A Layer is starting with lt div amp ending with lt div gt tag lt Caption lt font coldr blue size 4 gt yle position absolute widt amp 353px height 24px
198. wn below then press the OK button to complete the compiler option selections Compiler options x Targets gt SIMULATE Workbench Simulator IS 468M TIC code for Motorola gt S A86M TIC code for Intel CCAGM C source code 3 04 x E a Unselect if Use embedded SFC engine Upload Select these ae O optimizer items i Aun two optimizer passes aluate constant expressions Default Suggest you do Optimize expressions not check on Suppress unused cade these items to Oplmize arithmetic operations make better code ild binary decision diagrams BDC s Cancel OF 4 16 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Compile the Project Now that you have selected the proper compiler options click on the Make Application Code icon to compile the example project If there are no compiler errors detected during the compilation process CONGRATULATIONS you have successfully created our example program ISaGRAF EXAMPLE Programs E 0 x Fie Make Project Tools Debug ptons Help CM E AAEE Mic mk 2ee TE Begin Make application code ai ode Generator Begin LOT Ladder Di Ho eror detected Do you want to esit the Code Generator now Continue If errors are detected during the compilation process just click on the CONTINUE button to review the error messages Return to the Project Editor and correct the errors as outlin
199. x7_Appendix pdf ISaGRAF FAQ www icpdas com gt Support gt FAQ gt ISaGRAF Soft Logic PAC Example lists a Soft GRAF HMI demo01 demo07 demo07 sofgr_01 sofgr_08 FAQ 146 A simple Web HMI example slot 0 87055W NET 2 1 for VP 2xW7 DI wp vb01 VB N 008 demo 01 for X O demo slot 0 1 87055W Please refer to Chapter 6 sa 0D VB NET 2008 demo 02 for VP 2xW7 Analog I O slot 1 l 87024W P_ Please refer to Chapter 6 slot 2 8017HW VB NET 2008 demo 03 for VP 2xW7 wp_vb03 Read Write long integer float amp Timer No I O board Please refer to Chapter 6 vpdmo_01 ViewPAC demo_ 01 R W float value from file FAQ 60 odie Oc To output at a time interval SYSDAT_R SYSDAT_W P SYSTIM_R SYSTIM_W ST QLD ViewPAC demo_04 User defined Modbus protocol vpdmo_04 o ii No using Mbus imed aan at some sec later when an event happens slot 0 8705SW vpdmo_06 Using Message Array MsgAry_r MsgAry_w vpdmo_07 Convert float value to string using real_str amp rea_str2 vpdmo_02 ViewPAC demo_ 02 R W long integer from file FAQ 60 n 9 4 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Project Name vpdmo_08 vpdmo_09 vpdmo_10 vpdmo_11 vpdmo_14 vpdmo_ 16 vpdmo19 vpdmo19a vpdmo19b vpdmo_ 20 vpdmo_ 21 vpdmo_ 22 vpdmo_ 23 vpdmo_ 24 vpdmo_ 26 vpdmo_27 vpdmo_ 28 vpdmo_29 vpdmo_ 30 vpdmo_ 31 vpdmo_ 32 PID control refer to VP 25W7 23W7 CD napdos i
200. y ARR J F HAD 4A F AUB a BOLE S 4 ana a EDE CtihE Tiea Mew Ronin 3120 psp EEJ As a Z mata hhe x E iy aw era This is a Web HMI sample page ze First click inside the Layer2 and then pr CI insert one another layer inside it Now we have Layer3 inside the Layer2 Denjean Sess awe RETR a Eke Ramo Set we Follow the same former steps to insert one another Layer to be in just below the Layer3 as below eum Win oni ah A xD wei MAT rie DIERO IAG Bu BaD MFE aew RAD ARES 1 G dAAD xray mso Litem E ro SED RRO BLO 18580 TAO E AID ERR ROD MAH D B GAS IB 4ea 7 4 aA 7l A l HR iit Times New Roman 3 2 pt EB T U Z ZZ S Web TO First Click inside the Layer2 and then insert the Layer4 inside it Please place Layer4 just below the Layer3 DEH DSH Hizm tom a SoKbps Seat 001 538x19 M T T 4 4 26 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Inside the Layer4 we are going to insert one image file to it as below The image file name is img big Tcircle_redO jpg Please browse to the correct folder in your hard driver Here we use example1 img in this example B Microsoft FrontPage DWChon_DiUser_Manual_ WintlonsU00 Web Arenie ane rain him 5 x BRE REE WAO IRAD fui IED Std APD EEE AEW BAG FL a E ire BS 4
201. zes Modbus No from 1 to 1024 However other SCADA software may R W the Modbus No from 1 to 8191 in the ISaGRAF WinCE ViewPAC Variables without assigning Modbus No will not be available by Web HMI and other SCADA software or HMI devices Please refer to VP 2xW7 4xx7 CD ROM napdos isagraf vp 25w7 23w7 english manu Uuser_manual_i_8xx7 pdf For section 4 1 amp 4 2 for detailed information about assigning Modbus network address Please get into the dictionary then click on Tools Modbus SCADA addressing map ISaGRAF EXAMPLE Programs E O x File Make Project Tools Debug Options Help H ee i Begin l0 x E E File Edit Tools Options Help Qvick declaration Modbus SCADA addressing map Impor text Export test s s lt i st stststs RRRA RARE AEA EIER R EA PPT err NPP rT OTE 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 Modbus Cl ADA addressing map a File Edit Options Help o Map Hexadecimal Segment fagi Masi DO000 Reserved 0000 Varables noat mapped Booleans IntegersiReals Timers Messages in the or O0SSv board K2 Input 2 in the 57055 board 4 8 ISaGRAF WinCE ViewPAC User Manual V 1 5 10 2014 by ICP DAS Please follow the same way to assi

Download Pdf Manuals

image

Related Search

Related Contents

Laser Bar Code Reader BL-500 Series User`s Manual 96M1125  2006年度版 - 東京海上日動  「KT 01D・KT 01DA」取扱説明書  Wayne-Dalton 3012 Garage Door Opener User Manual  Humax DIGITAL CABLE SET-TOP BOX CX-FOX C II User's Manual  Samsung Samsung  Οδηγίες χρήσης  DC Motor Drive Module EDP-AM-MC2 EDP-AM  

Copyright © All rights reserved.
Failed to retrieve file