Wiki source code of 01 Getting Started

Version 3.2 by Leo Wei on 2022/06/15 10:00

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