Wiki source code of 01 Getting Started

Version 7.1 by Leo Wei on 2022/06/15 15:37

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