\System_disk may crush or lost for some days or months later. 2. 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.
Important Notice For Window 2000 Users ................2-4 2.1.3 Important Notice for Window NT Users ................2-4 2.1.4 Important Notice for Windows Vista or Windows 7 (32-bit) Users ..........2-5 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 4
Create a New Project ......................6-1 Add Project Reference for an Application ................6-3 Compiling an Application Program ..................6-5 QuickerNET.DLL ........................6-6 6.4.1 Digital R/W Functions ......................6-6 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 5
Control Buttons On the Front Panel .................. 30 Appendix K Enable the Screen Saver of ViewPAC................. 31 Appendix L How to Detect the Status of Dual Battery and the Ethernet Port ........... 32 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
24 V / 2.5 A , 5 V / 0.5 A power supply DP-1200 : 24 V / 5 A power supply Model: DP-665 FAQ: www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC 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.
Page 9
16-channel 68-150 V solated Digital Input Module with 16-bit Counters I-87054W Isolated 8-ch. DI and 8-ch. Open Collector DO Module I-87055W Non-Isolated 8-ch. DI and 8-ch. Open Collector DO Module ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 10
Ethernet I/O PoE Web based tPET/tET-7000 http://www.icpdas.com/products/Remote_IO/petl-7000/PETL_Series_Main_Page.htm Modbus TCP based (PoE) Ethernet I/O Expansion Unit I-8KE4/8-MTCP www.icpdas.com > product > solutions > > iPAC-8000 > I-8KE4-MTCP-G/I-8KE8-MTCP-G Modbus/TCP based ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
RJ-45 x 1 Ethernet 10/100 Base-TX (Auto-negotiating, LED indicators) USB 1.1 (host) USB 1.1 (client) COM 0 Internal communication with the high profile I-87K series modules in slots COM 1 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 12
I-7000 & 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 Remote I/O I/O modules can connect to one PAC. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 13
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.6 , 1/2017 by ICP DAS...
Page 14
* Note: The COM5 ~ COM14 ports are located in the expansion boards if they are installed in slots 0~2 of VP-2xW7/4xx7. www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC * ISaGRAF FAQ: * ICP DAS recommends using NS-205/NS-208 RS-405/408 (Ring Switch) Industrial Ethernet Switches. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Support user designed graphics, e.g. JPG, PNG ... More at: Chapter 2.5 & FAQ www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC – FAQ-146 Running HMI and Control Logic in the Same PAC ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
(Recommend to use Soft-GRAF HMI, the performance is better. Please refer to Section 2.5.) More at: www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC – FAQ-115 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
PC/HMI can connect to this redundant system by one or two active IP. More at www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC - 093 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Can link to Modbus PLC or M-7000 I/O or Modbus devices (Power meter, temperature controller, inverter etc.) 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. More at www.icpdas.com...
Multiple Web HMI – Monitor & Control Everywhere! 1.10 Send Email with One Attached File More at www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC - 067 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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 Application ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Modbus RTU Serial & TCP/IP gateway of I-7000 & I-87K Series I/O modules. The ISaGRAF PACs (without Ethernet port) : can be a Modbus RTU Serial gateway of I-7000 & I-87K Series I/O modules. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
The ISaGRAF PACs combining with PM-213x can apply to various control/monitor systems about intelligent electric power measurement. More at www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC > 129 1-11 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
I/O control and data acquisition. Please refer to www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC > 110 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 1-12...
"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. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 1-14...
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 > Support > FAQ > ISaGRAF Soft-Logic PAC > 136 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 1-16...
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 PAC - 143, 151, 1-17 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
1.28 Measure humidity and temperature values via DL-100TM485 More at www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 1-18...
VP-25W6, VP-23W6, VP-4136 (Support InduSoft & 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.
3. To begin the ISaGRAF 3.x software program, click the Windows [Start] button, then click [Programs], and you should see the ISaGRAF program group as illustrated below. Click “Projects” can start ISaGRAF software. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
ISaGRAF. Then please reset your PC. 2. To run ISaGRAF Ver. 3.5x, please always plug the USB protection-key in the PC’s USB port. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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”. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 38
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 Installing the ISaGRAF Software. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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.6 , 1/2017 by ICP DAS...
If “ICP DAS Utilities for ISaGRAF” is not in your CD-ROM, please download “ICP DAS Utilities For ISaGRAF.zip” from www.icpdas.com > Product > Solutions > Soft PLC, ISaGRAF & Soft-GRAF HMI > ISaGRAF > Driver. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Support > FAQ > ISaGRAF Soft-Logic PAC > FAQ-115 : “Working eLogger HMI with ISaGRAF SoftLogic in the WP-8xx7, VP-2xW7/4xx7 and XP-8xx7-CE6 PAC” for more information about programming an eLogger application. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Built-in Various Objects (Button, Gif, LED... will be More) Multi-language: English, Traditional Chinese, Simplify Chinese, Russian, etc. Support user designed graphics, e.g. JPG, PNG ... ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 2-10...
Page 43
The latest version of ISaGRAF driver: http://www.icpdas.com/root/product/solutions/softplc_based_on_pac/isagraf/download/isagraf-li nk.html > Product > Solutions > Soft PLC, ISaGRAF & Soft-GRAF HMI > ISaGRAF > ISaGRAF www.icpdas.com > Download List 2-11 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
VP-25W6, VP-23W6, VP-4136 (Support InduSoft & 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.
“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. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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.6 , 1/2017 by ICP DAS...
Page 48
"Restore" button. The ISaGRAF project will now be restored to the sub-directory you designated. 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”. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 49
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. Then click on “Download” to download it to the controller. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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 ViewPAC – The Web PAC ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
VP-25W6, VP-23W6, VP-4136 (Support InduSoft & 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.
Input 2 in the I-87055W, Modbus network addr = 12 Time Period of blinking, initial value set as T#8s Timer Internal Modbus network addr = 21 Ladder Logic Program Outline: ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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". ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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. Double click on the project name to get into the project window. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Please follow the above same step to declare one another Boolean variable – “K2”. Then you will have as below. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 56
"Symbol" name for the output variables being declared, and lastly, set the attribute to "Output 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. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 57
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 WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
“Modbus network address”. The Web HMI only recognizes Modbus No. from 1 to 1024. However other SCADA software may R/W the Modbus No. from 1 to 8191 in the ISaGRAF WinCE ViewPAC. Variables without assigning Modbus No. will not be available by Web HMI and other SCADA software or HMI devices.
Page 59
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.6 , 1/2017 by ICP DAS...
"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. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-10...
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. Move the cursor to the first contact and then click on “cut” to delete it. 4-11 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 62
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”. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-12...
Page 63
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 then click on “X” to exit. 4-13 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Click “Note” to see more. Then we have. (If you don't have the I-87055W, you may click the “Real / Virtual board” to make it become virtual board.) ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-14...
Page 65
Output attributed variables will appear in the "I/O Connections" window. In this example we have only 2 Boolean output variables - OUT01, OUT02 and 2 Boolean input variables – K1 & K2. 4-15 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
The "Compiler Options" window will now appear. Make sure to select the options as shown below then press the "OK" button to complete the compiler option selections. Select these items. Suggest you do not check on these items to make better code. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-16...
Page 67
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. 4-17 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 68
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 period of 8 seconds. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-18...
Page 69
Now we are going to simulate the “K1” & “K2” input. Click on “K1” using the left button of the mouse. To exit simulation, please close the debugger window. Close debugger will end simulation. 4-19 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Download & 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...
Page 71
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...
Page 72
When the example project has successfully completed the downloading process to the ViewPAC controller system the following two windows will appear. To terminate the communication between your PC & the controller, please click on “X” ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-22...
Page 73
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. 4-23 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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.
You may switch from these three items. Please switch the window to design the page. Please insert a layout object – “Layer” as below. ID of this “Layer” object – “Layer2” 4-25 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 76
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 the “Layer4” inside it. Please place “Layer4” just below the “Layer3” ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-26...
Page 77
“./img/big_Tcircle_red0.jpg”. Please browse to the correct folder in your hard driver. Here we use “example1/img/” in this example. First Click inside the “Layer4”, and then insert an image. You will see a window as below. Layer3 Layer2 Layer1 Layer4 4-27 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 78
Please follow the similar steps to insert “OUT01” & “OUT02” as below. The OUT01 uses “./img/circle_blue0.jpg” as its image source, while OUT02 using “./img/cmd0.jpg”. Layer9 Layer11 Layer10 Layer12 Layer13 Layer8 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-28...
Page 79
And two empty Layers – “Layer16” & “Layer17” just below the “Layer15”. We will use T1 to display the Timer value “T1” in the ISaGRAF project. Layer14 Layer15 Layer16 Layer17 Click on “Save” to save this page. 4-29 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
<title>Your Title here</title> <head> <SCRIPT LANGUAGE="JavaScript"> </SCRIPT> JavaScript code is normally placed inside the “head” area. </head> <body> The “body” area describes the </body> behavior of this page. </html> ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-30...
Page 81
<div style="position: absolute; width: 37px; height: 31px; z-index: 2; left: 6px; top: 42px" id="layer10"> <img name=”B1” border="0" src="img/circle_blue0.jpg" width="19" height="20"></div> <p> </div> Please insert name=”B1” just after the “<img “ 4-31 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 86
Now we have finished all the code. Please save it. You may click on “Preview” to simulate its run time behavior. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-36...
Since the Web Pages are modified or new copied, please run “rs_wphmi.exe” to reset the Web server. The “rs_wphmi.exe” must be run every time when user has modified any file in the ViewPAC ’s \Micro_SD\Temp\HTTP\WebHMI\ 4-37 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 88
3.2.3). And do you assign the correct Current running ISaGRAF project Modbus Network address to name is listed here the respective ISaGRAF variables ? (Section 4.1.5) ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 4-38...
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 to the ISaGRAF WinCE ViewPAC.
//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; </script> </head> ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 91
“menu.htm” & “main.htm” & 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.6 , 1/2017 by ICP DAS...
On the left. The width & scrolling can be modified. width width On the top. The width & scrolling can be modified. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 93
If you want to know more about the multi-page application, there are two demos in the VP-2xW7/4xx7 \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. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
You may replace the main.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 when you login successfully. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 95
10 to 45 seconds. If the communication broken time exceeds 120 seconds, it will show the below message. You have to close the Internet Explorer & open it again to re-login. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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.6 , 1/2017 by ICP DAS...
Page 97
<b id="F21"> xxxx </b> </div> … The declaration of Text object “F21” is defined here by the “<b” tag & id=”F21” </body> & “</b>” tag initial value of this F21 is “xxxx” ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 98
The declaration of Text object “S31” is defined here by the “<b” tag </body> and id=”S31” and “</b>” tag, the initial value of this S31 is “empty” ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 5-10...
Page 99
To display “Error !” in red color. B12.innerText="Error !" ; font_B12.color="red"; else Blink step 2: blink_step=1; To display “” (nothing) in red color. if(B12_blink==1) B12.innerText="" ; font_B12.color="red"; setTimeout("blink_obj()", blink_period); … 5-11 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 100
Convert float 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) ; ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 5-12...
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-13 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 102
Name of “<input>” inside the form. Here is “B2”. Because it is </div> inside “form_B2”, then we must use the name of “form_B2.B2” … to identify it. </body> ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 5-14...
Page 103
A button to call OFF_( ). First parameter is the name of the form. Here is “form_B2” </body> The second is the name of the “<input>” inside the form. Here is “form_B2.B2” 5-15 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 104
“cursor:hand” will display the </body> When mouse click on this button, it mouse arrow as a hand when calls Check( ) to post to the controller entering the button area ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 5-16...
The other rules for multi-pages are almost the same as “main.htm” (section 5.4) Note: If “Enable Account Security” is not check, any user can easily get access to your ISaGRAF WinCE ViewPAC through the Internet Explorer. 5-17 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
For safety, recommend to disable item 2 and 3 at run time. Check it to disable. And about item 4, please set proper username & password for the Web HMI. Setting user name & password here 5-19 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 108
“N/A”), No HMI and ISaGRAF can get access to it anymore. Please re-compile your ISaGRAF project and download it to the controller if you have modified the IO connection. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 5-20...
\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.
Page 110
Project”. Then entering a proper project name and the last click on “OK” . 3. Select the "Device Application" and "Windows CE" and “.NET Compact Framework Version 2.0” , then click on “OK”. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
2. Select the “mscorlib” in the list box and click the button “OK” (the component “mscorlib” must appear in the Selected Components area) Click on “Browse” to search “QuickerNet.dll” Mscorlib.dll is here ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 112
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. Right- click Then you can design all required objects and actions inside your VB Forms. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
For ex, the project1.exe can run in the \Micro_SD\ path if there is three plus one file in it. The “project1.exe”, “QuickerNet.dll”, “Quicker.dll” and “Mscorlib.dll”. (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.6 , 1/2017 by ICP DAS...
= 1 for True, iStatus = 0 for False Return Value: None Example: ‘ Set the output variable of Modbus Network Address “1” to True. UserShare.UserSetCoil(Convert.ToUInt16(1), 1) Demo program : ISaGRAF WinCE ViewPAC CD-ROM: \napdos\isagraf\vp-25w7-23w7\vb.net-2008-demo\wp_vb01 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 115
: Get the variable status , iStatus = 1 for True, iStatus = 0 for False Return Value: None Example: ‘ Get the variable status of Network Address “1”. Dim iStatus As Byte UserShare.UserGetCoil(Convert.ToUInt16(1), iStatus) Demo program : ISaGRAF WinCE ViewPAC CD-ROM: \napdos\isagraf\vp-25w7-23w7\vb.net-2008-demo\wp_vb01 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
The long integer & timer & 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_I_8xx7.pdf”) ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 117
The long integer & timer & 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_I_8xx7.pdf”) ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
= (long *)(&float_val); UserSetReg(2 , temp_val, 1); // set long_val to ISaGRAF variable with network address 4 long_val = 12345678 ; temp_val = (long *)(&long_val); UserSetReg(4 , temp_val, 2); ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 120
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_I_8xx7.pdf”) ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
VP-25W6, VP-23W6, VP-4136 (Support InduSoft & ISaGRAF logic running 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.
Page 122
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. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 123
3. The “Project Wizard” window will appear. Select “Empty Application” on the “Template”, “320 x 240” on the “Resolution” and “None” on the “Shared Tags”. 4. Then, the new project will show on the “Project Explorer” window as the figure. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 124
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 defined as follow. Please create these tags one by one. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 125
5. Click on “Text” to add a “#” label, and then click on “Text Data Link” 4. Click on “Text” to add a label “#” means the display Text has 1 digit. “87055W_DI_1” “####” means 4 digits. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 126
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. Checking the box means user may input its value at run time. The main screen is created as below. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 127
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. Click on mouse right button on “Insert” ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 128
Holding Registers. 32-bit Integer value (Holding Register): Read DW:2 Varies according to the equipment and write 32-bit integer values using two consecutive Holding Registers. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 129
When finished all setting, press “Ctrl + F4” to close all inside windows and save all files. Project Setting Select “Project -> Settings” to open “Project Settings” window. In the “Startup screen” edit box, fill in “MainPage.scr” then click “OK” to close this window. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 130
Select “Project -> Settings” to open “Project Settings” window. In the “Data Server IP Address”, type in the correct IP address of your PAC and click “OK”. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 8-10...
Page 131
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. 8-11 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 132
“Setting” and “Save and Reboot” to finish this configuration. 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) ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 8-12...
Chapter 9 Example Program & FAQ ** The ISaGRAF WinCE ViewPAC in this manual include: (abbreviation: VP-2xW7/4xx7 ) VP-25W7, VP-23W7, VP-4137 (Support ISaGRAF 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.pdf”...
Page 134
On-line help of ICP DAS add-on functions & function blocks: ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 135
On-line help of ICP DAS add-on I/O boards & I/O complex equipments: On-line help of ISaGRAF languages: ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
To do something at some sec later when an event happens vpdmo_05 slot 0: I-87055W (FAQ-17) vpdmo_06 Using Message Array - MsgAry_r , MsgAry_w vpdmo_07 Convert float value to string, using real_str & rea_str2 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 137
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) vpdmo_31 (FAQ-42) vpdmo_32 Set up VP-25W7 as TCP/IP Client & link to other TCP/IP server (1 slot 0: I-87055W ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 138
Retain 17 REAL value in a file, 2 rows, Each row has 10 REAL vpdmo56 value Retain 2 Boo + 17 REAL in a file, 2 rows, Each row has 10 REAL vpdmo56a value ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 139
Integer value. (FAQ-99) SMS,VP-25W7 COM3--GTM-201-RS232, use your own phone vpdmo_76 No. "to_who" in dictionary vpdmo77a sending / Receiving UDP bytes by using eth_udp and eth_send( ) ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 140
Record 1 to 8 Ch. I-8017HW 's volt every 50ms and draw trend vphmi_12 I-8017HW curve by M.S.Excel Record 1 to 4-Ch. I-8017H's voltage every 10ms and draw trend vphmi_13 I-8017H curve by M.S.Excel ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 141
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". ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 142
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. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 9-10...
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? 9-11 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 144
Q: VB.net 2005 Demo program using Modbus TCP/IP protocol to control ISaGRAF PACs Q: VB 6.0 Demo program using Modbus TCP/IP protocol to control ISaGRAF PACs. Q: Performance Comparison Table of ISaGRAF PACs. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 9-12...
Page 145
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-A5 I/O card? 9-13 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 146
GPS I/O module in ISaGRAF PAC ? Q: How to display the temperature trend curve by running ISaGRAF and C# .net 2008 program in the WinPAC-8xx7 plus i-87018z? ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 9-14...
Page 147
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 9-15 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 148
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. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 9-16...
\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\CSharp.net-2008-demo\ wp_CSharp01 : Digital I/O demo with one I-87055W in slot 0 of the ViewPAC.
Page 150
Project”. Then entering a proper project name and the last click on “OK”. 3. Select the "Device Application" and "Windows CE" and “.NET Compact Framework Version 2.0”, then click on “OK”. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 10-2...
2. Select the “mscorlib” in the list box and click the button “OK” (the component “mscorlib” must appear in the Selected Components area) Click on “Browse” to search “QuickerNet.dll” Mscorlib.dll is here 10-3 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 152
5. Right-click on the “Form1.cs” and select “View Code” from the pop-up. Move cursor to top and insert the “using Quicker;” in the first statements. Then you can design all required objects and actions inside your C# Forms. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 10-4...
There are some functions that can be used to R/W data from/to the ISaGRAF SoftLogic. The functions of QuickerNET.DLL can be clarified as two groups as depicted as below: 1. Digital R/W Functions 2. Analog R/W Functions 10-5 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
: Get the variable status , iStatus = 1 for True, iStatus = 0 for False Return Value: None Example: // Get the variable status of Network Address “1”. byte iStatus; UserShare.UserGetCoil(Convert.ToUInt16(1),out iStatus); Demo program : ISaGRAF WinCE ViewPAC CD-ROM: \napdos\isagraf\vp-25w7-23w7\CSharp.net-2008-demo\wp_CSharp01 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 10-6...
The long integer & timer & 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_I_8xx7.pdf”) 10-7 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 156
The long integer & timer & 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_I_8xx7.pdf”) ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 10-8...
The FAQ-167 provides demo programs to guide users to develop their own C-function and C-function Block. More at: www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC > FAQ-167 11-1 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
(Target) can control one Boolean, one Integer and one Real variable (total 3 variables). More at: www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC > FAQ-166 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 11-2...
FTP Server2) automatically at a fixed time each day. Or, users can also get the PAC files through the FTP Server. More at: www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC > FAQ-160 11-3 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
FTP Server2) automatically at a fixed time each day. Or, users can also get the PAC files through the FTP Server. More at: www.icpdas.com > Support > FAQ > ISaGRAF Soft-Logic PAC > FAQ-158 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS 11-4...
A.1 Applying Correct Power Supply Please apply a regular power supply between +10V ~ +30V (> 25W or higher is better) to ISaGRAF WinCE ViewPAC. VP-2xW7 VP-4137 Ap-1 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
A.2 Modify The NET-ID & 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...
Appendix D for enabling the 2 Ethernet port of VP-2xW7/2xW6/4137/4136. Please run “Start” – “Programs” – “ViewPAC Utility”, click on “Save and Reboot” to store the setting. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS Ap-4...
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:...
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).
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 & Modbus RTU port setting”).
Explorer > View > Options to modify the setting) 3. Turn the rotary switch to position 0 (normal), then reboot ViewPAC. Then when ISaGRAF is connected, it will display “No Application”. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS Ap-8...
A.8 Linking I-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.
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 supports Modbus Master protocol. Please refer to Chapter 8 of the “User’s Manual Of The ISaGRAF Embedded Controllers” for more information.
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 Ap-11 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 172
( 4) Touch the panel to finish the calibration program 5) Run the View PAC Utility to save the settings and reboot the View PAC ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS Ap-12...
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.
Page 174
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 on “Browse” to select or type \System_Disk\isagraf\isaViewPAC.exe” and click on “Setting” ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS Ap-14...
Page 175
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. Ap-15 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
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 >...
Page 182
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”) ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS Ap-22...
After the configuration is succeed, the COM port No. for the expansion board is COM5 to COM16 in the ISaGRAF definition. The relation between ViewPAC 's COM setting and the ISaGRAF definition is as the following. Select MSA/MSBx Ap-23 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
Page 184
1. 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 ) 2. Please refer to the Appendix A.4 of the ISaGRAF User’s Manual for COM_OPEN, COM_READ, …...
Page 185
Ap-25 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
INIT := False ; (* Only do it once in the 1st PLC scan *) TMP := PLC_mode(2) ; (* Set PLC speed to 2:slower mode *) end_if ; ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS Ap-26...
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, COM8 (expansion multi-serial ports in slot 0 to 2, refer to the appendix E) .
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. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS Ap-28...
PC RS-232 port number to connect the controller. 5. The last way is re-start your PC and try again. Ap-29 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
To disable the screen saver, please set both “User Idle” and “System Idle” to “Never” and then remember to run ViewPAC Utility > “File” > “Save and Reboot”. Ap-31 ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS...
"0" : Low power status; please replace the battery as soon as possible. 2. The return values for parameters “lan1” status: "1" : ok. "0" : broken-line. ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS Ap-32...
Need help?
Do you have a question about the ISaGRAF WinCE ViewPAC and is the answer not in the manual?
Questions and answers