background image

ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017    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 

2. Click here to go to the ISaGRAF page 

3. Data Sheet 

Содержание ISaGRAF WinCE ViewPAC

Страница 1: ...ersion V 1 6 ViewPAC Models VP 25W7 VP 23W7 VP 4137 VP 25W6 VP 23W6 VP 4136 The ISaGRAF WinCE ViewPAC in this manual include abbreviation VP 2xW7 4xx7 VP 25W7 VP 23W7 VP 4137 Support ISaGRAF logic run...

Страница 2: ...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 ac...

Страница 3: ...r 1 7 1 12 Remote I O Application 1 7 1 13 SMS Short Message Service 1 8 1 14 As a Modbus Gateway for the Remote I O Modules 1 8 1 15 Motion Control 1 9 1 16 Stress Monitoring Application of Construct...

Страница 4: ...roject Variables 4 5 4 1 5 Assign Modbus Network Address No to Variables 4 8 4 1 6 Create The LD LD1 Program 4 10 4 1 7 Edit The LD1 Program 4 11 4 1 8 Connecting The I O 4 14 4 2 Compiling Simulating...

Страница 5: ...1 A 1 Applying Correct Power Supply 1 A 2 Modify The NET ID Modbus RTU Port Setting 3 A 3 Setting The IP Address For The ViewPAC 4 A 4 Connecting Your PC To The ViewPAC Ethernet Port 5 A 5 Pin Assignm...

Страница 6: ...ix pdf Web www icpdas com Product Solutions Soft PLC ISaGRAF Soft GRAF HMI ISaGRAF Manual Industrial Ethernet Switch NS 205 208 or RS 405 408 Ring Switch www icpdas com Product Solutions Industrial Et...

Страница 7: ...wPAC 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...

Страница 8: ...igital Logic Input Module 8 ch Open Collector Digital Output Module I 8056W 16 ch Non isolated Open Collector Output Module I 8057W 16 ch Isolated Open Collector Output Module I 8058W 8 ch Differentia...

Страница 9: ...ch Universal Analog Input Module RoHS With a CN 1824 Daughter Board I 87019RW 8 ch Diff 16 bit 8 Hz Total Universal Analog Input Module with 240 Vrms Over Voltage Protection Open Wire Detection V mA...

Страница 10: ...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 loc...

Страница 11: ...0 ms or more for complex or large program Non ISaGRAF Options MS eVC 4 0 or VS NET 2005 2008 VB NET C NET Web Service Web HMI PC running Internet Explorer can monitor control PAC via Internet modem Se...

Страница 12: ...on 7 2 W 8 5 W Protocols Note that certain protocols require optional devices NET ID 1 255 user assigned by software Modbus TCP IP Master Link to a max of 100 devices that support the Standard Modbus...

Страница 13: ...s 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...

Страница 14: ...ter input 100 Hz max Counter value 0 65535 16 bit Optional serial I 87K DI boards I 87040W 87046W 87051W 87052W 87053W 87053W A5 87054W 87055W 87058W 87059W 87063W Remote DI Counter All remote I 7K I...

Страница 15: ...caling 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...

Страница 16: ...ation 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 ref...

Страница 17: ...x7 Atom CE6 WP 8xx7 VP 2xW7 4xx7 series 1 4 New Hot Swap and Redundant System Please plug one I 8135W and enable the 2nd Ethernet port of VP 25W7 23W7 4137 If one Ethernet cable is broken or damaged t...

Страница 18: ...4W 8114iW 8142iW 8144iW in Slot0 2 Can link to Modbus PLC or M 7000 I O or Modbus devices Power meter temperature controller inverter etc 1 6 Modbus Master TCP IP Each ISaGRAF WinCE ViewPAC supports t...

Страница 19: ...ViewPAC User Manual V 1 6 1 2017 by ICP DAS 1 5 1 7 Modbus Slave RTU TCP Modbus RTU RS 232 485 422 max 5 ports Modbus TCP IP max 32 connections 1 8 Communicate With Other TCP IP Server or UDP Client S...

Страница 20: ...AF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS 1 6 1 9 Multiple Web HMI Monitor Control Everywhere 1 10 Send Email with One Attached File More at www icpdas com Support FAQ ISaGRAF Soft Logic PA...

Страница 21: ...E ViewPAC User Manual V 1 6 1 2017 by ICP DAS 1 7 1 11 Data Recorder Data Logger PC can load the data file stored in the VP 2xW7 4xx7 s Flash Disk or micro SD card by FTP or by Web HMI 1 12 Remote I O...

Страница 22: ...s and pure text can be sent received More at www icpdas com Support FAQ ISaGRAF Soft Logic PAC 111 1 14 As a Modbus Gateway for the Remote I O Modules The ISaGRAF PACs with Ethernet port can be a Modb...

Страница 23: ...ol 2 axes X Y plane or 2 axes independent Two I 8091W can control 4 axes X Y plane 2 axes independent or 4 axes independent Encoder Modules I 8084W 4 axis without Z index I 8090W 3 axis 1 16 Stress Mo...

Страница 24: ...LC scan time is about 9 ms then the scan time for all will be 9 ms not 3 ms Support FRnet DI DO AI and AO I O modules More at www icpdas com Support FAQ ISaGRAF Soft Logic PAC 082 154 1 18 Integrate w...

Страница 25: ...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 paramete...

Страница 26: ...reless 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 acqui...

Страница 27: ...r 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...

Страница 28: ...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 1 24 Detect Hot Swap I 87...

Страница 29: ...t 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 Germ...

Страница 30: ...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 0 7 VP 2xW7 4xx7 slot 0 2 They don t support I 87H17W modules plugged in...

Страница 31: ...iewPAC User Manual V 1 6 1 2017 by ICP DAS 1 17 1 27 2G 3G Wireless Application Support to communicate with remote Server by 2G 3G wireless modem More at www icpdas com Support FAQ ISaGRAF Soft Logic...

Страница 32: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS 1 18 1 28 Measure humidity and temperature values via DL 100TM485 More at www icpdas com Support FAQ ISaGRAF Soft Logic PAC 156...

Страница 33: ...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 Dat...

Страница 34: ...Windows 2000 or Windows XP Windows NT Version 3 51 or Windows NT Version 4 0 Windows XP or Vista or Windows 7 refer to FAQ 117 or 2 1 4 Steps To Install The ISaGRAF Workbench If your PC OS is Windows...

Страница 35: ...t 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 followi...

Страница 36: ...ortcut property 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 subd...

Страница 37: ...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 User Accounts and...

Страница 38: ...r Manual V 1 6 1 2017 by ICP DAS 2 6 Windows 7 Move the slider down to Never Notify and then click on OK 3 Reboot your computer to apply the change 4 After rebooting please refer to section 2 1 Instal...

Страница 39: ...o install Windows Virtual PC 4 Reboot your computer 5 After rebooting click on Star All Programs Windows Virtual PC and then click Windows XP Mode 6 Follow the instructions in the wizard to complete W...

Страница 40: ...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 c...

Страница 41: ...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 H...

Страница 42: ...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 langu...

Страница 43: ...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 la...

Страница 44: ......

Страница 45: ...CE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 demo Demo list Name Description IO board sample A Web HMI sample No I O board example1 A simple example listed in Chapter 4 slot 0 I 87055W vphmi_01 Displ...

Страница 46: ...thernet 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 Pleas...

Страница 47: ...To Backing Up 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 fo...

Страница 48: ...ects 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 ISa...

Страница 49: ...en entering the IP address of your controller The port number should be 502 To download vphmi_05 project to the VP 25W7 Click on Debug If communication is established click on stop first to stop the o...

Страница 50: ...e I 87055W in its slot 0 If you don t have the I 87055W 8 IN 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...

Страница 51: ...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...

Страница 52: ...his demo program resides at the ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 demo example1 pia Variables declaration Name Type Attribute Description OUT01 Boolean Output Output 1 in the I...

Страница 53: ...Windows Start button then click on Programs then click on ISaGRAF 3 4 or ISaGRAF 3 5 then click on Projects as shown below 4 1 2 Creating An ISaGRAF User s Group Click on the Select Project Group and...

Страница 54: ...er 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 You will now see the name of t...

Страница 55: ...ame 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 I 87055W board is added to the Comment Section The nex...

Страница 56: ...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 Ent...

Страница 57: ...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 t...

Страница 58: ...RAF 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...

Страница 59: ...T1 to No 21 Then we have below window 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 isagra...

Страница 60: ...he Create New Program icon and the New Program window will appear Enter the Name as LD1 next click on the Language scroll button and select Quick LD Ladder Diagram and make sure the Style is set to Be...

Страница 61: ...bar then click on Insert Rung Insert Rung means to insert a basic LD rung just above the current position Or you may just simply click on the F2 Contact On The Left icon and the following will appear...

Страница 62: ...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...

Страница 63: ...r Manual V 1 6 1 2017 by ICP DAS 4 13 Move your cursor to the coil Double click on it select Boolean and then double click on variable name OUT01 Now we have finished our Ladder code click on Save and...

Страница 64: ...ap 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 boar...

Страница 65: ...ave and then exit IMPORTANT NOTICE 1 I O Slots 0 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...

Страница 66: ...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...

Страница 67: ...on 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...

Страница 68: ...6 1 2017 by ICP DAS 4 18 Running The Simulation Program When you double click on LD1 in the ISaGRAF Debug Programs window the follow window should appear You can see outputs OUT01 will blink in the p...

Страница 69: ...pen 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 W...

Страница 70: ...is set as COM3 refer to Appendix A 2 or it can only be download via Ethernet This section lists how to download the ISaGRAF program via RS 232 cable However user may also use Ethernet cable to downloa...

Страница 71: ...ler system the name of the project will be displayed with the word active following it If the message in the ISaGRAF Debugger says Disconnected it means that the development PC and the controller syst...

Страница 72: ...stem A progress bar will appear in the ISaGRAF Debugger window showing the project downloading progress When the example project has successfully completed the downloading process to the ViewPAC contr...

Страница 73: ...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...

Страница 74: ...5w7 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 Folder...

Страница 75: ...p 2 Building The Main htm Please run the Microsoft Office FrontPage 2003 or advanced version and open the main htm Please switch the window to design the page Please insert a layout object Layer as be...

Страница 76: ...er K1 into the new created Layer Follow the same former steps to insert one another Layer to be in just below the Layer3 as below First click inside the Layer2 and then insert one another layer inside...

Страница 77: ...insert one image file to it as below The image file name is img big_Tcircle_red0 jpg Please browse to the correct folder in your hard driver Here we use example1 img in this example You will see a wi...

Страница 78: ...ll use K1 to display the state of the first input of the I 87055W board and K2 for its second input Please follow the similar steps to insert OUT01 OUT02 as below The OUT01 uses img circle_blue0 jpg a...

Страница 79: ...r controlling and displaying the second output of the I 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 L...

Страница 80: ...e code A valid HTML document will contain the basic objects as below If you want to know more about the Web HMI s source code please refer to Chapter 5 html title Your Title here title head SCRIPT LAN...

Страница 81: ...r5 div style position absolute width 47px height 26px z index 1 left 6px top 4px id layer6 K2 div div style position absolute width 92px height 35px z index 2 left 7px top 38px id layer7 font id font_...

Страница 82: ...position absolute width 119px height 28px z index 1 left 4px top 7px id layer15 T1 b id T1 xxx ms b div div style position absolute width 98px height 28px z index 2 left 4px top 45px id layer16 form...

Страница 83: ...ition absolute width 67px height 33px z index 3 left 106px top 44px id layer17 input type button value Enter onclick Check_L21 nbsp div p nbsp div We have finished the code in the body body area Insid...

Страница 84: ...ot blink function to blink object var blink_step 0 function blink_obj if blink_step 1 blink_step 0 display your object here blink B12 For example if B12_blink 1 B12 innerText Error font_B12 color red...

Страница 85: ...0 val 4000 alert T1 s value should be in the range of 4000 to 12000 return Check form_L21 post value to the controller And also inside the refresh_data function please insert below code To refresh dis...

Страница 86: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS 4 36 Now we have finished all the code Please save it You may click on Preview to simulate its run time behavior...

Страница 87: ...ble Account Security and then click on Edit to set username password Then remember to click on OK Note If Enable Account Security is not check any user can easily get access to your ISaGRAF WinCE View...

Страница 88: ...page You may enable the below item to display the debug message every time it has error And also check if your ISaGRAF project already download to the controller Section 4 3 or section 3 2 3 And do y...

Страница 89: ...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...

Страница 90: ...ghtNow new Date random_val 323456789 rightNow getMinutes 107654321 rightNow getTime 1000 setTimeout get_random_val 197 repeat call check if username and possword are empty function validate fm setKey...

Страница 91: ...return validate this form form div body To ensure no cache work head meta http equiv pragma content no cache head html That s all the login htm need You can insert more images or text to it Only reme...

Страница 92: ...napdos isagraf vp 25w7 23w7 vp webhmi demo vphmi_05 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...

Страница 93: ...onClick return logout this form form body html 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 vph...

Страница 94: ...in htm in the ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 vp webhmi demo sample to the above main htm download it to the controller refer to section 4 4 4 You will see the below window wh...

Страница 95: ...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 If the communication broken time exceeds 120 seconds it will show...

Страница 96: ...iable 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 dat...

Страница 97: ...Text float_val 21 body onLoad init div style position absolute width 214px height 53px z index 2 left 102px top 79px b id F21 xxxx b div body The action of the image object B1 is defined here if boole...

Страница 98: ...s 255 the below code can be used function refresh_data S31 innerText string_val 31 body onLoad init div style position absolute width 214px height 53px z index 2 left 102px top 79px b id S31 empty b d...

Страница 99: ...blink to attract viewer s attention The below code can do this job var blink_period 500 setTimeout blink_obj blink_period var B12_blink 0 init as 0 not blink var blink_step 0 function blink_obj if bli...

Страница 100: ...the dot symbol para1 is the float value to be converted for ex 1 234567 para2 is the digit number behind the dot symbol 0 to 6 Ex float_str1 1 234567 3 return 1 234 float_str1 1 234567 2 return 1 23...

Страница 101: ...e 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_Manu...

Страница 102: ...FF function is used for posting Boolean value to the controller by refer to the current Boolean value Demo example vphmi_02 and vphmi_05 The 1st parameter is the name of the form The 2nd parameter is...

Страница 103: ...ame END type hidden value form div div style position absolute left 85px top 166px width 47px height 31px input type button value OFF style cursor hand onClick OFF_ form_B2 form_B2 B2 div body Demo ex...

Страница 104: ...ame BEGIN type hidden value input name L15 type text value Enter long val L15 input name F17 type text value Enter float val F17 input name END type hidden value form div div style position absolute w...

Страница 105: ...tm 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 Midd...

Страница 106: ...PT SCRIPT LANGUAGE JavaScript function start1 A_11 function refresh_data if run_at_pc 1 return if simulate at the PC just return SCRIPT head body onload start1 Logout button form name form_logout meth...

Страница 107: ...02 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 serv...

Страница 108: ...on 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 Modb...

Страница 109: ...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 i...

Страница 110: ...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 3 Select the Device Application and Win...

Страница 111: ...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 2 Select t...

Страница 112: ...r from your own location 4 When both mscorlib and QuickerNet dll are added please double click on My Project to check if the QuickerNet dll is well added 5 Right click on the Form1 vb and select View...

Страница 113: ...le in Your VB net Project folder bin Release project_name 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...

Страница 114: ...ions 6 4 1 Digital R W Functions UserSetCoil Description This function is to set the value to a Boolean variable by Modbus network address Syntax UserShare UserSetCoil iUserAddress As System UInt16 iS...

Страница 115: ...tem UInt16 ByRef iStatus As byte Parameter iUserAddress Specify the Modbus Network Address of Variable 1 to 8191 iStatus Get the variable status iStatus 1 for True iStatus 0 for False Return Value Non...

Страница 116: ...ple Set a long value 1234567 to the variable of Modbus Network Address 1 UserShare UserSetReg_long Convert ToUInt16 1 Convert ToInt32 1234567 Set a short value 1234 to the variable of Modbus Network A...

Страница 117: ...l 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 varia...

Страница 118: ......

Страница 119: ...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...

Страница 120: ...pe 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 ret_val get word_val 32768 to 32767 of ISaGRAF var...

Страница 121: ...hernet 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...

Страница 122: ...ust be declared with a Modbus Network Address as below Please save compile the ISaGRAF example project then download to the PAC If you are not familiar with ISaGRAF please refer to section 4 1 to 4 3...

Страница 123: ...b 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 Em...

Страница 124: ...P DAS 8 4 Define application tags Select Insert Tag on the main menu bar The New Tag window will show as below This demo uses a DI DO module I 87055W an AO module I 87024W and one internal variable de...

Страница 125: ...icture then press OK to edit screen 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 t...

Страница 126: ...e main menu to save this main screen page as MainPage scr Select File Save As HTML to create this screen that can be visualized in a remote station using a regular web browser Note For the Output obje...

Страница 127: ...ve drivers 3 In the Communication Drivers window click MOTCP driver then click Select and click OK to close this window Expanding file folder of Drivers and it will show a file folder named MOTCP Clic...

Страница 128: ...ies according to the equipment Floating point value Holding Register Read and write float point values using two consecutive Holding Registers DW DW 2 Varies according to the equipment 32 bit Integer...

Страница 129: ...Station 127 0 0 1 502 1 Header 1X 0 0X 0 4X 0 3X 0 Tag Name DI DO AO Interior Enable Read when Idle 1 1 Enable Write on Tag Change 1 1 Address 1 11 21 31 When finished all setting press Ctrl F4 to cl...

Страница 130: ...CE ViewPAC User Manual V 1 6 1 2017 by ICP DAS 8 10 Web Thin Clients Select Project Settings to open Project Settings window In the Data Server IP Address type in the correct IP address of your PAC an...

Страница 131: ...ect IP address of your PAC and click Connect If connection is fine click on the tab of Project then click Download When download finished click RUN to start the project Type in the IP address of PAC T...

Страница 132: ...tory 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 Visualize your project in a remote stati...

Страница 133: ...F logic running in the PAC VP 25W6 VP 23W6 VP 4136 Support InduSoft 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 pd...

Страница 134: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS 9 2 On line help of ICP DAS add on functions function blocks...

Страница 135: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS 9 3 On line help of ICP DAS add on I O boards I O complex equipments On line help of ISaGRAF languages...

Страница 136: ...t Name Description I O Boards Used Soft GRAF demo01 demo07 Soft GRAF HMI demo01 demo07 sofgr_01 sofgr_08 FAQ 146 example1 A simple Web HMI example slot 0 I 87055W wp_vb01 VB NET 2008 demo 01 for VP 2x...

Страница 137: ...250 ms Chapter 19 2 of the ISaGRAF User s Manual slot0 I 87055W vpdmo_20 receive String coming from remote PC or controller via UDP IP vpdmo_21 using com_MRTU to disable enable Modbus RTU slave port...

Страница 138: ...d 9600 vpdmo_44 VP 25W7 s COM2 connecting 1 M7017RC Current input 20mA 4 20mA Modbus format vpdmo_45 VP 25W7 s COM2 connecting 1 M 7019R set as T C K type input MBRTU format baud 9600 vpdmo_46 VP 25W7...

Страница 139: ...ile Then send it by email per day FAQ 67 71 72 76 or 77 slot 2 I 87018z vpdmo65b VP 2xW7 Same as wdmo_65a but add time synchronization and state report to PC FAQ 67 71 72 76 or 77 slot 2 I 87018z vpdm...

Страница 140: ...ewPAC Web HMI example 5A Multi Page demo slot 0 I 87055W Menu is on the Top slot 0 I 87055W vphmi_06 WiewPAC Web HMI exampl 6 AIO dmo slot 1 I 87024W 2 I 8017HW scaling is in ISaGRAF slot 1 I 87024W s...

Страница 141: ...e ViewPAC controller it is recommended that you create an ISaGRAF Project Group to install the demo program files into To install the demo programs into the project you have created open the ISaGRAF P...

Страница 142: ...25W7 23W7 CD ROM 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 las...

Страница 143: ...ISaGRAF project to a single file 11 Q How can I implement motion control in I 8417 8817 8437 8837 12 Q My HMI software wants to access to float values and long word values inside the I 8417 8817 8437...

Страница 144: ...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 3 5 now supporting Variable Array 40 Q Setting I 8437 I 8837 I 8437 80 I...

Страница 145: ...output channels to safe output value while the RS 485 communication cable is broken 65 Q ICP DAS release Stable and Cost effective Data Acquisition Auto Report System VC 6 0 VB 6 0 and ISaGRAF demo pr...

Страница 146: ...8747 s OS 095 Q The WinCon 8xx7 supports Max 32 Modbus TCP IP connections since Its Driver version 4 03 096 Q Release two C Function Blocks to read max 24 Words or 384 Bits from Modbus RTU ASCII devic...

Страница 147: ...ariable by c functions Aver_N or Aver_F 121 Q How to install or remove the ISaGRAF development platform properly 122 Q How To Solve The USB Freeze Problem Of The W 8x4x How To Update The W 8x4x s OS I...

Страница 148: ...Client to upload log files to remote FTP Server on PC 152 Q How to control the IR module IR 210 IR 712 with the ISaGRAF PACs 153 Q How to use the ISaGRAF PAC to communicate with a far away Modbus TCP...

Страница 149: ...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 s...

Страница 150: ...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 3 Select the Device Application and Win...

Страница 151: ...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 2 Select...

Страница 152: ...net 2008 demo wp_CSharp01 subfolder or from your own location 4 When both mscorlib and QuickerNet dll are added you can see them in the solution explorer as below 5 Right click on the Form1 cs and sel...

Страница 153: ...he 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 For ex the project1 exe can run in the Micro_SD path if there is th...

Страница 154: ...hare UserSetCoil Convert ToUInt16 1 1 Demo program ISaGRAF WinCE ViewPAC CD ROM napdos isagraf vp 25w7 23w7 CSharp net 2008 demo wp_CSharp01 UserGetCoil Description This function is to get the value f...

Страница 155: ...dress 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 ToU...

Страница 156: ...e 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...

Страница 157: ...l features 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 pro...

Страница 158: ...o configure the date events such 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 m...

Страница 159: ...s 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 fi...

Страница 160: ...lean 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 Fi...

Страница 161: ...er Manual V 1 6 1 2017 by ICP DAS Ap 1 Appendix A Hardware System Setting A 1 Applying Correct Power Supply Please apply a regular power supply between 10V 30V 25W or higher is better to ISaGRAF WinCE...

Страница 162: ...ection 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 http www icpdas com root product solutio...

Страница 163: ...F 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 appendi...

Страница 164: ...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...

Страница 165: ...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 A PC PLC Link Parameters dialog b...

Страница 166: ...to COM3 RS 232 or COM2 RS 485 if one of them was set as Modbus RTU slave port refer to Appendix A 2 or link to its COM5 to COM8 refer to the appendix G appendix E Options Industrial Ethernet switch ht...

Страница 167: ...AF 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 Modbus RTU port setting Please refer to appendix G appendix E for more Modbus RT...

Страница 168: ...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 t...

Страница 169: ...ng an I 7000 I 87K remote module please refer to Chapter 6 Linking To I 7000 and I 87K Modules of the User s Manual Of The ISaGRAF Embedded Controller A 9 Linking To An HMI Interface Device One of the...

Страница 170: ...10 A 10 Linking To Other Modbus Devices ISaGRAF WinCE ViewPAC s COM2 RS 485 or COM3 RS 232 or COM5 to 14 refer to appendix E supports Modbus Master protocol Please refer to Chapter 8 of the User s Man...

Страница 171: ...bration process you must first check with the PCB version as follows The latest version PCB 1 7 or later If your PCB version is 1 7 or later there is a rev number sticker between the I O slots The ear...

Страница 172: ...s button 3 Tap the touch pen in the exact center of each of the calibration markers 2 Run the Stylus 3 Tap the touch pen in the exact center of each of the calibration markers 4 Touch the panel to fin...

Страница 173: ...7 23w7 driver 1 01 Or download it from www icpdas com Product Solutions Soft PLC ISaGRAF Soft GRAF HMI ISaGRAF ISaGRAF Download List Driver 1 If your ViewPAC is VP 2xW7 4xx7 please stop ViewPAC 2xW7 4...

Страница 174: ...rograms ViewPAC Utility Set FTP directory to the root directory Then check all three ftp options as Enable Remember to click on Setting Then click on Auto Execution to do the next step D Please click...

Страница 175: ...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 Quick...

Страница 176: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 16 Appendix C Hardware Interface Dimension...

Страница 177: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 17 VP 23W7 23W6 Unit mm...

Страница 178: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 18 VP 25W7 25W6 Unit mm...

Страница 179: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 19...

Страница 180: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 20 VP 41x7 41x6 Unit mm...

Страница 181: ...ple the ISaGRAF WinCE ViewPAC redundant solution need the 2nd Ethernet port Please refer to www icpdas com Support FAQ ISaGRAF Soft Logic PAC FAQ 093 To setup the second Ethernet port in the I 8135W p...

Страница 182: ...7 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 in slot 0 and enable the 2nd Ethernet port to make it work Please r...

Страница 183: ...S 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 Multi serial port wizard then click...

Страница 184: ...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 2 Please refer to the Appendix A...

Страница 185: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 25...

Страница 186: ...imum PLC scan time is about 2 3 ms 1 Slow Mode the minimum PLC scan time is about 6 to 7 ms 2 Slower Mode the minimum PLC scan time is about 9 to 11 ms 3 or other value Slowest Mode the min PLC scan t...

Страница 187: ...ed Refer to the appendix E 4 Via 2nd 3rd 4th or 5th Modbus RTU slave port user may use ISaGRAF to Debug Set_val to the controller however user cannot Stop Download Update the ISaGRAF program 5 To Debu...

Страница 188: ...ch 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 workb...

Страница 189: ...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 3 If the problem is still there and you are using Ethern...

Страница 190: ...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 BackSp...

Страница 191: ...le to the same value or setting the System Idle value larger than the User Idle value and then remember to run ViewPAC Utility File Save and Reboot The ViewPAC will turn off the backlight when time is...

Страница 192: ...and assign its parameter ADR as 9992 and 9993 to read the batteries status Show as the 1st and 2nd line of the LD program listed as below ADR number 9992 the status of battery number 1 ADR number 9993...

Отзывы: