Wiki source code of 01 Getting Started

Last modified by Mora Zhou on 2024/12/05 14:00

Hide last authors
Stone Wu 8.1 1 (% class="wikigeneratedid" id="HPIStudio" %)
Mora Zhou 108.3 2 PIStudio (HMI configuration software) Help can help you master the basic operation and usage of the configuration software more quickly, and assist you in completing your work successfully.
Stone Wu 20.1 3
4 (% class="wikigeneratedid" %)
Karen 55.1 5 The following steps will show how to install PISudio.
Leo Wei 1.1 6
Leo Wei 11.1 7 = Requirement =
Leo Wei 1.1 8
Karen 54.1 9 PISudio installation package downloaded.
Leo Wei 1.1 10
11 * Windows 7 (32bit / 64bit)
12 * Windows 8 (32bit / 64bit)
13 * Windows 8.1 (32bit / 64bit)
14 * Windows 10 (32bit / 64bit)
15
Leo Wei 11.1 16 = Download =
Leo Wei 1.1 17
Mora Zhou 108.3 18 [[Download>>https://docs.we-con.com.cn/bin/view/PIStudio/Download/3%20Software/]]
Leo Wei 1.1 19
Leo Wei 18.1 20 = Installation =
Leo Wei 7.1 21
Leo Wei 11.1 22 Steps:
Leo Wei 1.1 23
Leo Wei 3.2 24 (((
Karen 55.1 25 1. Decompress downloaded file get PISudio installation package.
Karen 53.1 26 1. Select PISudio installation package.
Mora Zhou 108.3 27 1. Right-click it.
Leo Wei 1.1 28 1. Select "Run as administrator".
Mora Zhou 108.3 29 1. Select language for PISudio, it supports Chinese (Simplified), Chinese (Traditional), English, Italian, Russian.
Leo Wei 3.2 30 )))
Leo Wei 1.1 31
32 (% style="text-align:center" %)
33 [[image:2.Installation Software_html_f3d49e1396c6e4f6.png||data-xwiki-image-style-alignment="center" height="153" width="300" class="img-thumbnail"]]
34
35 (% start="6" %)
36 1. Click "Next".
37
38 (% style="text-align:center" %)
Karen 53.1 39 [[image:2.Installation Software_html_a8017b2a399a513a.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
Leo Wei 1.1 40
41 (% start="7" %)
Karen 53.1 42 1. If there is a previous version of PISudio on the PC, please remove it before installation.
43 1. Select a folder for PISudio installation, or use the default folder, then click "Next".
Leo Wei 1.1 44
45 (% style="text-align:center" %)
Karen 53.1 46 [[image:2.Installation Software_html_e36b4ee18ae58696.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
Leo Wei 1.1 47
48 (% start="9" %)
Mora Zhou 108.3 49 1. Click "Browse..." to specify a folder, or use the folder suggested by the program, click "Next" to continue the installation process.
Leo Wei 1.1 50
51 (% start="10" %)
52 1. Select additional tasks, for example: "Create a desktop icon". Click "Next".
53
54 (% style="text-align:center" %)
Karen 50.2 55 [[image:2.Installation Software_html_4e0e99bed6dace57.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
Leo Wei 1.1 56
57 (% start="11" %)
Karen 44.3 58 1. At this stage, all settings have been completed. Please check if it is correct. If there is any need to re-select the part, please press "Back". If all is correct, please press "Install" to start the installation process.
59
Leo Wei 1.1 60 (% style="text-align:center" %)
Karen 53.1 61 [[image:2.Installation Software_html_4a34d864617e2e2c.png]]
Karen 44.3 62
Karen 45.2 63 (% start="12" %)
Leo Wei 1.1 64 1. Installer execution
65
66 (% style="text-align:center" %)
Karen 53.1 67 [[image:2.Installation Software_html_cffc7ff7dee59cd6.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
Leo Wei 1.1 68
69 (% start="13" %)
70 1. Please check "Launch VC Runtime" to install "Microsoft Visual C++2008" in your PC.
71
72 (% style="text-align:center" %)
Karen 50.2 73 [[image:2.Installation Software_html_8ac33d46970c9f0a.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
Leo Wei 1.1 74
Karen 53.1 75 **Result: **Users could see shortcuts to PISudio's features in the "Start" » "All Programs" » “PISudio” directory.
Leo Wei 1.1 76
Jim 79.1 77 (% class="box infomessage" %)
78 (((
Leo Wei 1.1 79 ✎**Note:**
80
Karen 53.1 81 * In case of incompatible problems, it is suggested to install and run PISudio as administrator.
Jim 80.1 82 * Microsoft Visual C++ 2008 provides the necessary runtime components for PISudio.
Jim 79.1 83 )))
Leo Wei 1.1 84
Stone Wu 8.1 85 = PISuite (Toolkit) =
Leo Wei 1.1 86
87 In addition to being editable on PIStudio, HMI has other related components that can be used.
88
Stone Wu 10.1 89 Open the "Start" ->"All Programs" ->HMI Editor installation directory to quickly open functional tool.
Leo Wei 1.1 90
91 (% style="text-align:center" %)
92 [[image:工具箱 1.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
93
94 (% style="text-align:center" %)
95 [[image:工具箱 2.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
96
97 (% class="wikigeneratedid" %)
98 The tools of toolkit are as follows.
99
100 (% class="table-bordered" %)
101 |=(% style="width: 200px;" %)Tool|=(% style="width: 118px;" %)Icon|=(% style="width: 756px;" %)Function
Stone Wu 21.1 102 |(% style="width:200px" %)[[Download>>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HDownloadproject]]|(% style="width:118px" %)[[image:工具箱 3.png||height="66" width="66"]]|(% style="width:756px" %)Get information about HMI such as upload and download project, updata HMI's time, get HMI version, get machine colde etc,.
103 |(% style="width:200px" %)[[Decompile>>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HDecompile]]|(% style="width:118px" %)[[image:工具箱 4.png||height="66" width="66"]]|(% style="width:756px" %)After reading the project from HMI to PC, you need to decomcompile the project before opening it with PIStudio.
Leo Wei 1.1 104 |(% style="width:200px" %)DataLogTool|(% style="width:118px" %)[[image:工具箱 5.png||height="62" width="66"]]|(% style="width:756px" %)To view the "DB" such as file data records, alarm records or operation records collected by HMI. You could also convert it to "excel" format.
105 |(% style="width:200px" %)LogoMakerTool|(% style="width:118px" %)[[image:工具箱 6.png||height="66" width="66"]]|(% style="width:756px" %)To make the boot logo of PI series HMI.
106 |(% style="width:200px" %)DataUpload|(% style="width:118px" %)[[image:工具箱 7.png]]|(% style="width:756px" %)Upload data record ,alarm records or operation records collected by HMI.
Stone Wu 21.1 107 |(% style="width:200px" %)[[PIRecordUpload>>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HDataRecordUpload28Onlyigseries29]]|(% style="width:118px" %)[[image:工具箱 8.png]]|(% style="width:756px" %)Monitor devices in real time, update and export data records, alarm records or operation records collected by HMI synchronously. (Only supported by ig Sseries)
108 |(% style="width:200px" %)[[CreatInstallmentPwd>>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HPasswordtool]]|(% style="width:118px" %)[[image:工具箱 9.png]]|(% style="width:756px" %)The installment payment mode is dynamic password. You can use the Installment password tool "CreatInstallmentPwd" to generate the dynamic password.
Leo Wei 1.1 109 |(% style="width:200px" %)PIMonitor|(% style="width:118px" %)[[image:工具箱 10.png]]|(% style="width:756px" %)LAN monitoring of 3000 series HMI screen.
Stone Wu 21.1 110 |(% style="width:200px" %)[[Levi2PI>>https://docs.we-con.com.cn/bin/view/PIStudio/17.Levi2PI/]]|(% style="width:118px" %)[[image:工具箱 11.png||height="67" width="66"]]|(% style="width:756px" %)Convert LEVI series engineering to PI series engineering.
Leo Wei 1.1 111 |(% style="width:200px" %)HMIPrjStdNeutral|(% style="width:118px" %)[[image:工具箱 12.png]]|(% style="width:756px" %)Project conversion between PI standard and PI neutral version
112 |(% style="width:200px" %)PIRptEditTool|(% style="width:118px" %)[[image:工具箱 13.png]]|(% style="width:756px" %)Convert the record files generated by LEVI or PI to the specified format.
113 |(% style="width:200px" %)HMIProjectReportTool|(% style="width:118px" %)[[image:工具箱 14.png]]|(% style="width:756px" %)Analyze and generate HMI engineering report.
114
Jim 81.1 115 (% class="box infomessage" %)
116 (((
Leo Wei 1.1 117 **✎Note:**  HMI supports the use of USB and Ethernet to download/upload project and record files.
Jim 81.1 118 )))
Leo Wei 1.1 119
Leo Wei 16.1 120 = Getting Started =
Leo Wei 1.1 121
Karen 71.1 122 This chapter provides a quick and precise introduction of PISudio.
Leo Wei 1.1 123
124 It does not contain a comprehensive list of all functions, but it only takes 6 simple steps to create a new project.
125
126 (% class="table-bordered" %)
127 |=(% style="width: 243px;" %)Operation |=(% style="width: 832px;" %)Description
128 |(% style="width:243px" %)(((
Leo Wei 14.1 129 1. [[Create a new project>>||anchor="HCreatenewproject"]]
Leo Wei 1.1 130 )))|(% style="width:832px" %)(((
131 [[image:新建工程 4.png]]
132
Mora Zhou 108.4 133 Click the "New" in the upper left corner of the software to create a new project. You could click [["New screen">>https://docs.we-con.com.cn/bin/view/PIStudio/04.Software%20Menu/#HScreen]] to create a new screen. See the [["Screen Style (only for ig series)">>https://docs.we-con.com.cn/bin/view/PIStudio/04.Software%20Menu/#HScreenstyle28Onlyigseries29]] for details.
Leo Wei 1.1 134 )))
135 |(% style="width:243px" %)(((
136 (% start="2" %)
Stone Wu 21.1 137 1. [[Project Settings>>doc:PIStudio.05\.Project Settings.WebHome]]
Leo Wei 1.1 138 )))|(% style="width:832px" %)(((
139 [[image:工程配置 1.png]]
140
Karen 47.2 141 Click [["Communication">>https://docs.we-con.com.cn/bin/view/PIStudio/05.Project%20Settings/#HCommunication]] and [["Project settings">>doc:PIStudio.05\.Project Settings.WebHome]] to set communication protocol and port parameters.
Leo Wei 1.1 142 )))
143 |(% style="width:243px" %)(((
144 (% start="3" %)
145 1. Project design
Karen 47.2 146 )))|(% style="width:832px" %)Create screens and place the objects you need. You could draw your own project through [["draw">>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HDraw]], import the required pictures and vector maps using [["Shape">>https://docs.we-con.com.cn/bin/view/PIStudio/7.Library/#HShape]] library, and enrich the project as much as possible by using the diversified objects.
Leo Wei 1.1 147 |(% style="width:243px" %)(((
148 (% start="4" %)
149 1. Compile and save
150 )))|(% style="width:832px" %)(((
Stone Wu 21.1 151 You need to [["compile">>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HCompileProject]] every project before downloading to it HMI.
Leo Wei 1.1 152
Stone Wu 21.1 153 When uploading a project from the HMI to the PC, you need [["Decompile">>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HDecompile]].
Leo Wei 1.1 154 )))
155 |(% style="width:243px" %)(((
156 (% start="5" %)
Karen 47.2 157 1. [[Simulaion>>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HSimulation]]
Leo Wei 1.1 158 )))|(% style="width:832px" %)(((
Karen 47.2 159 HMIEditorP provides two simulation modes: offline simulation and online simulation.
Leo Wei 1.1 160
Stone Wu 21.1 161 1. **Offline: **Simulate the operation of the HMI and PL on the computer. There is no need to connect with PLC.
162 1. **Online: **Simulate the operation of the HMI and PL on the computer, but require the PC to be connected to the PLC and set the correct communication parameters. There is a 30-minute time limit for using online simulations.
Leo Wei 1.1 163 )))
164 |(% style="width:243px" %)(((
165 (% start="6" %)
Stone Wu 21.1 166 1. [[Download project>>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HDownloadproject]]
Karen 47.2 167 )))|(% style="width:832px" %)Downloading is the last step. After completing the download, the HMI can run the designed project, and the project downloaded to the HMI can also be uploaded to the PC.
Leo Wei 1.1 168
Leo Wei 14.2 169 == Create new project ==
Leo Wei 1.1 170
171 The following steps will show how to start PIStudio and create a project.
172
173 **Requirement**
174
175 PIStudio programming software is installed.
176
Karen 43.2 177 **Operating Procedure**
Leo Wei 1.1 178
Karen 60.1 179 1. Start PISudio software by clicking icon, or from Start Menu.
180 1. Find " PISudio" folder.
181 1. Click " PISudio" icon to start software.
Leo Wei 1.1 182
183 (% style="text-align:center" %)
Mora Zhou 110.1 184 [[image:PI1.jpg||alt="新建工程 1.gif" class="img-thumbnail"]]
Leo Wei 1.1 185
186 (% start="4" %)
187 1. Click "New project".
188
189 (% style="text-align:center" %)
Mora Zhou 110.1 190 [[image:PI2.jpg||alt="新建工程 2.png" class="img-thumbnail"]]
Leo Wei 1.1 191
192 (% start="5" %)
193 1. Configure project name, project path.
194 1. Select HMI model and communication protocol.
195 1. Click "OK" to save setting.
196
197 (% style="text-align:center" %)
Karen 52.1 198 [[image:新建工程 3.gif||class="img-thumbnail"]]
Leo Wei 1.1 199
200 **Result**
201
202 * User could find a folder named HMIProject on the desktop.
203 * In the folder user could find a file with a suffix named ".pi". Double click the file to open the project.
204
Leo Wei 16.1 205 == Add screen ==
Leo Wei 1.1 206
Karen 47.2 207 The following steps will show how to create and rename screens in HMIEditorP.
Leo Wei 1.1 208
209 New screens, which are still blank, could be created using the "Common object". User could choose different objects to design screen according to project's requirements.
210
211 **Requirement**
212
213 The "Quick_Start" project is open.
214
Leo Wei 2.1 215 **Steps:**
Leo Wei 1.1 216
217 1. Create a new process screen: Clicking "New" will appear "New screen" setting.
218
219 (% style="text-align:center" %)
Mora Zhou 110.2 220 [[image:PI3.jpg||alt="新建画面 1.gif" class="img-thumbnail"]]
Leo Wei 1.1 221
222 (% start="2" %)
223 1. Set screen parameter in "New Screen", such as screen number, screen name, background type.
224
225 (% style="text-align:center" %)
Mora Zhou 111.1 226 [[image:企业微信截图_17333673989587.png||alt="新建画面 2.gif" class="img-thumbnail"]]
Leo Wei 1.1 227
228 (% start="3" %)
229 1. After making a new screen, user could insert objects in screen. For example, button and trend.
230 1. Add button object in screen.
Karen 47.2 231 1. Set button object parameters, such as read address, mode, etc.
Leo Wei 1.1 232
233 (% style="text-align:center" %)
Mora Zhou 111.1 234 [[image:PI5.png||alt="新建画面 3.gif" class="img-thumbnail"]]
Leo Wei 1.1 235
236 (% start="6" %)
237 1. Add "Trend Chart" from "Chart".
238
239 (% style="text-align:center" %)
240 [[image:新建画面 4.gif||class="img-thumbnail"]]
241
242 (% start="7" %)
243 1. And "Function key" for screens switch.
244
245 **Result**
246
Karen 47.2 247 Do a project screen with a bit button, one chart display object, and one Function key for switching screen.
Stone Wu 12.1 248
Leo Wei 16.1 249 == Project size limits ==
Stone Wu 12.1 250
251 * 3000 series limits the project file size to 25M
252 * 3070i series limit the project file size to 25M
253 * 3070ie series limit the project file size to 22M
254 * 3070ig series limit the project file size to 25M
255 * 8000&9000 series limit the project file size to 165M
Stone Wu 22.1 256
257 = Create communication with WECON PLC =
258
Stone Wu 35.1 259 (% class="wikigeneratedid" %)
260 [[11 PLC Protocol - Wecon (we-con.com.cn)>>https://docs.we-con.com.cn/bin/view/PIStudio/12.PLC%20protocols/#HCreatecommunicationwithWECONPLC]]
Leo Wei 86.1 261
Lucas Zane 100.1 262 = Upgrade from old(LEVI) project =
263
264 == **General** ==
265
266 This document mainly introduces how to use the conversion tool Levi2PI. Its function is converting the project from Levi to PI.
267
268 (% style="text-align:center" %)
269 [[image:LEVI2PI_html_1f551a34b9514d7c.png]]
270
271 == **Operation steps** ==
272
Hunter 107.1 273 (((
Lucas Zane 106.1 274 **Select source project**
275 )))
Lucas Zane 100.1 276
277 Select the .ump file of Levi project.
278
279 (% style="text-align:center" %)
280 [[image:LEVI2PI_html_69bf6c9539a62a15 (1).png]]
281
Lucas Zane 106.1 282 **Select destination**
Lucas Zane 100.1 283
284 Select the saved path of converted project.
285
286 (% style="text-align:center" %)
287 [[image:LEVI2PI_html_e0a8696b9eda61ee.png]]
288
Hunter 107.1 289 **Convert**
Lucas Zane 100.1 290
291 Click the "Start" to start conversion.
292
293 (% style="text-align:center" %)
294 [[image:LEVI2PI_html_21849369a58dc272 (1).png]]
295
296 It will pop up a reminder to confirm the model to be converted.At present we don't support changing model at this process. Please change that in PIStudio after conversion done. Click “Yes” to continue.
297
298 (% style="text-align:center" %)
299 [[image:LEVI2PI_html_a7c00d5cb446622b (1).png]]
300
301 After the conversion is finished,it can click the “OPEN” button to quick open the project.
302
303 (% style="text-align:center" %)
304 [[image:LEVI2PI_html_375ef97c32946fc8.png]]
305
306 Currently most Levi models are converted into PI3000 series or PI3000i series by default.
307
308 So if you want to change the model, please remember to change it in PIStudio.
309
310 (% style="text-align:center" %)
311 [[image:LEVI2PI_html_3fc4689aa730099d.png]]
312
Hunter 107.1 313 **Appearance**
Lucas Zane 100.1 314
315 **Original project:** To choose the ump file you want to convert
316
317 **Purpose project:** To choose the converted project saved path.
318
319 (% style="text-align:center" %)
320 [[image:LEVI2PI_html_f47a745337309281.png]]
321
322 Print out the info of conversion.
323
324 **LEVI software:** To choose the LeviStudioU or HMIEditorU Editor.exe file for original project.
325
326 (% style="text-align:center" %)
327 [[image:LEVI2PI_html_74559da3a782d43c.png]]
328
329 **PI software:** To choose the PIstudio or HMIstudioP Editor.exe file for conversion.
330
331 (% style="text-align:center" %)
332 [[image:LEVI2PI_html_718d5f0f834821ed.png]]
333
334 **Informations:** To view original project's basic info.
335
336 (% style="text-align:center" %)
337 [[image:LEVI2PI_html_925b4e6c906746c3.png]]
338
339 **Records:** To view historical convert records.
340
341 **Start:** To start the conversion.
342
343 **Open report:** To get the convert report(A HTML format file).
344
345 (% style="text-align:center" %)
346 [[image:LEVI2PI_html_c37ae5ba105cc8a5.png]]
347
348 **Update address:** It is refer to the tab "Special register". It is for replacement function of the special register without corresponding relationship between PI and Levi.
349
350 (% style="text-align:center" %)
351 [[image:LEVI2PI_html_cc2666c31919115f.png]]