Wiki source code of 01 Getting Started

Version 17.1 by Leo Wei on 2022/07/27 09:42

Show last authors
1 (% class="wikigeneratedid" id="HPIStudio" %)
2 The following steps will show how to install PIStudio.
3
4 = Requirement =
5
6 PIStudio installation package downloaded.
7
8 * Windows 7 (32bit / 64bit)
9 * Windows 8 (32bit / 64bit)
10 * Windows 8.1 (32bit / 64bit)
11 * Windows 10 (32bit / 64bit)
12
13 = Download =
14
15 **Official Website** [[https:~~/~~/ftp.we-con.com.cn/Download/Software/PIStudio20211210.zip>>https://ftp.we-con.com.cn/Download/Software/PIStudio20211210.zip]]
16
17 **Google Drive **[[https:~~/~~/drive.google.com/open?id=1Im7YS2rtnRI7yFIHmqHDVPBUyWahqSXN>>https://drive.google.com/open?id=1Im7YS2rtnRI7yFIHmqHDVPBUyWahqSXN]]
18
19 = Installment =
20
21 Steps:
22
23 (((
24 1. Decompress downloaded file get PIStudio installation package.
25 1. Select PIStudio installation package.
26 1. Right click it.
27 1. Select "Run as administrator".
28 1. Select language for PIStudio interface, it supports Chinese (Simplified), Chinese (Traditional), English, Italian, Russian.
29 )))
30
31 (% style="text-align:center" %)
32 [[image:2.Installation Software_html_f3d49e1396c6e4f6.png||data-xwiki-image-style-alignment="center" height="153" width="300" class="img-thumbnail"]]
33
34 (% start="6" %)
35 1. Click "Next".
36
37 (% style="text-align:center" %)
38 [[image:2.Installation Software_html_a8017b2a399a513a.png||data-xwiki-image-style-alignment="center" height="388" width="500" class="img-thumbnail"]]
39
40 (% start="7" %)
41 1. If there is a previous version of PIStudio on the PC, please remove it before installation.
42 1. Select a folder for PIStudio installation, or use the default folder, then click "Next".
43
44 (% style="text-align:center" %)
45 [[image:2.Installation Software_html_e36b4ee18ae58696.png||data-xwiki-image-style-alignment="center" height="387" width="499" class="img-thumbnail"]]
46
47 (% start="9" %)
48 1. Click "Browse" to specify a folder, or use the folder suggested by the program, click "Next" to continue the installation process.
49
50 (% style="text-align:center" %)
51 [[image:2.Installation Software_html_5a03d3f06568a2e4.png||data-xwiki-image-style-alignment="center" height="387" width="499" class="img-thumbnail"]]
52
53 (% start="10" %)
54 1. Select additional tasks, for example: "Create a desktop icon". Click "Next".
55
56 (% style="text-align:center" %)
57 [[image:2.Installation Software_html_4e0e99bed6dace57.png||data-xwiki-image-style-alignment="center" height="387" width="499" class="img-thumbnail"]]
58
59 (% start="11" %)
60 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.
61
62 (% style="text-align:center" %)
63 [[image:2.Installation Software_html_4a34d864617e2e2c.png||data-xwiki-image-style-alignment="center" height="387" width="499" class="img-thumbnail"]]
64
65 (% start="12" %)
66 1. Installer execution
67
68 (% style="text-align:center" %)
69 [[image:2.Installation Software_html_cffc7ff7dee59cd6.png||data-xwiki-image-style-alignment="center" height="387" width="499" class="img-thumbnail"]]
70
71 (% start="13" %)
72 1. Please check "Launch VC Runtime" to install "Microsoft Visual C++2008" in your PC.
73
74 (% style="text-align:center" %)
75 [[image:2.Installation Software_html_8ac33d46970c9f0a.png||data-xwiki-image-style-alignment="center" height="387" width="499" class="img-thumbnail"]]
76
77 **Result: **Users could see shortcuts to PIStudio's features in the "Start" » "All Programs" » "PIStudio" directory.
78
79 ✎**Note:**
80
81 * In case of the incompatible problems, it is suggested to install and run PIStudio as administrator.
82 * Microsoft Visual C++ 2008 provides the necessary runtime components for PIStudio
83
84 = PISuite (Toolkit) =
85
86 In addition to being editable on PIStudio, HMI has other related components that can be used.
87
88 Open the "Start" ->"All Programs" ->HMI Editor installation directory to quickly open functional tool.
89
90 (% style="text-align:center" %)
91 [[image:工具箱 1.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
92
93 (% style="text-align:center" %)
94 [[image:工具箱 2.png||data-xwiki-image-style-alignment="center" class="img-thumbnail"]]
95
96 (% class="wikigeneratedid" %)
97 The tools of toolkit are as follows.
98
99 (% class="table-bordered" %)
100 |=(% style="width: 200px;" %)Tool|=(% style="width: 118px;" %)Icon|=(% style="width: 756px;" %)Function
101 |(% style="width:200px" %)[[Download>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/2.Installation%20Software/#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,.
102 |(% style="width:200px" %)[[Decompile>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/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.
103 |(% 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.
104 |(% 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.
105 |(% style="width:200px" %)DataUpload|(% style="width:118px" %)[[image:工具箱 7.png]]|(% style="width:756px" %)Upload data record ,alarm records or operation records collected by HMI.
106 |(% style="width:200px" %)[[PIRecordUpload>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/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)
107 |(% style="width:200px" %)[[CreatInstallmentPwd>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/05.Project%20Settings/#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.
108 |(% style="width:200px" %)PIMonitor|(% style="width:118px" %)[[image:工具箱 10.png]]|(% style="width:756px" %)LAN monitoring of 3000 series HMI screen.
109 |(% style="width:200px" %)[[Levi2PI>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/17.Levi2PI/]]|(% style="width:118px" %)[[image:工具箱 11.png||height="67" width="66"]]|(% style="width:756px" %)Convert LEVI series engineering to PI series engineering.
110 |(% style="width:200px" %)HMIPrjStdNeutral|(% style="width:118px" %)[[image:工具箱 12.png]]|(% style="width:756px" %)Project conversion between PI standard and PI neutral version
111 |(% 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.
112 |(% style="width:200px" %)HMIProjectReportTool|(% style="width:118px" %)[[image:工具箱 14.png]]|(% style="width:756px" %)Analyze and generate HMI engineering report.
113
114 **✎Note:**  HMI supports the use of USB and Ethernet to download/upload project and record files.
115
116 = Getting Started =
117
118 This chapter provides a quick and precise introduction of PIStudio.
119
120 It does not contain a comprehensive list of all functions, but it only takes 6 simple steps to create a new project.
121
122 (% class="table-bordered" %)
123 |=(% style="width: 243px;" %)Operation |=(% style="width: 832px;" %)Description
124 |(% style="width:243px" %)(((
125 1. [[Create a new project>>||anchor="HCreatenewproject"]]
126 )))|(% style="width:832px" %)(((
127 [[image:新建工程 4.png]]
128
129 Click the "New Project" in the upper left corner of the software to create a new project. You could click [["Screen">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/04.Software%20Menu/#HScreen]] to create a new screen. See the [["Screen Style (only for ig series)">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/04.Software%20Menu/#HScreenstyle28Onlyigseries29]] for details.
130 )))
131 |(% style="width:243px" %)(((
132 (% start="2" %)
133 1. [[Project Settings>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/05.Project%20Settings/]]
134 )))|(% style="width:832px" %)(((
135 [[image:工程配置 1.png]]
136
137 Click [["Communication">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/05.Project%20Settings/#HCommunication]] and [["Project settngs">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/05.Project%20Settings/#HProjectSettings]] to set communication protocol and port parameter.
138 )))
139 |(% style="width:243px" %)(((
140 (% start="3" %)
141 1. Project design
142 )))|(% style="width:832px" %)Create sreens and place the objects you need. You could draw your own project through [["draw">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HDraw]], import the required pictures and vector maps using [["Shape">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/7.Library/#HShape]] library, and enrich the project as much as possible by using the diversified objects .
143 |(% style="width:243px" %)(((
144 (% start="4" %)
145 1. Compile and save
146 )))|(% style="width:832px" %)(((
147 You need to [["compile">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/14.Tools/#HCompileProject]] every project before downloading to it HMI.
148
149 When uploading a project from the HMI to the PC, you need [["Decompile">>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/14.Tools/#HDecompile]].
150 )))
151 |(% style="width:243px" %)(((
152 (% start="5" %)
153 1. [[Simulitaion>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/14.Tools/#HSimulation]]
154 )))|(% style="width:832px" %)(((
155 PIStudio provides two simulation modes: offline simulation and online simulation.
156
157 1. **[[Offline>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/14.Tools/#HOff-line]]: **Simulate the operation of the HMI and PL on the computer. There is no need to connect with PLC.
158 1. **[[Online:>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/14.Tools/#HOn-line]] **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.
159 )))
160 |(% style="width:243px" %)(((
161 (% start="6" %)
162 1. [[Download project>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/14.Tools/#HDownload]]
163 )))|(% style="width:832px" %)Download 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.
164
165 == Create new project ==
166
167 The following steps will show how to start PIStudio and create a project.
168
169 **Requirement**
170
171 PIStudio programming software is installed.
172
173 **OperatingProcedure**
174
175 1. Start PIStudio software by click icon, or from Start Menu.
176 1. Find "PIStudio" folder.
177 1. Click "PIStudio" icon to start software.
178
179 (% style="text-align:center" %)
180 [[image:新建工程 1.gif||class="img-thumbnail"]]
181
182 (% start="4" %)
183 1. Click "New project".
184
185 (% style="text-align:center" %)
186 [[image:新建工程 2.png||class="img-thumbnail"]]
187
188 (% style="text-align:center" %)
189 [[image:新建工程 4.png||class="img-thumbnail"]]
190
191 (% start="5" %)
192 1. Configure project name, project path.
193 1. Select HMI model and communication protocol.
194 1. Click "OK" to save setting.
195
196 (% style="text-align:center" %)
197 [[image:新建工程 3.gif||class="img-thumbnail"]]
198
199 **Result**
200
201 * User could find a folder named HMIProject on the desktop.
202 * In the folder user could find a file with a suffix named ".pi". Double click the file to open the project.
203
204 == Add screen ==
205
206 The following steps will show how to create and rename screens in PIStudio.
207
208 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.
209
210 **Requirement**
211
212 The "Quick_Start" project is open.
213
214 **Steps:**
215
216 1. Create a new process screen: Clicking "New" will appear "New screen" setting.
217
218 (% style="text-align:center" %)
219 [[image:新建画面 1.gif||class="img-thumbnail"]]
220
221 (% start="2" %)
222 1. Set screen parameter in "New Screen", such as screen number, screen name, background type.
223
224 (% style="text-align:center" %)
225 [[image:新建画面 2.gif||class="img-thumbnail"]]
226
227 (% start="3" %)
228 1. After making a new screen, user could insert objects in screen. For example, button and trend.
229 1. Add button object in screen.
230 1. Set button object parameters, such as read address, mode etc.
231
232 (% style="text-align:center" %)
233 [[image:新建画面 3.gif||class="img-thumbnail"]]
234
235 (% start="6" %)
236 1. Add "Trend Chart" from "Chart".
237
238 (% style="text-align:center" %)
239 [[image:新建画面 4.gif||class="img-thumbnail"]]
240
241 (% start="7" %)
242 1. And "Function key" for screens switch.
243
244 **Result**
245
246 Do a project screen with bit button, one chart display object, and one Function key for switching screen
247
248 == Project size limits ==
249
250 * 3000 series limits the project file size to 25M
251 * 3070i series limit the project file size to 25M
252 * 3070ie series limit the project file size to 22M
253 * 3070ig series limit the project file size to 25M
254 * 8000&9000 series limit the project file size to 165M