Wiki source code of 05 Objects

Version 3.1 by Stone Wu on 2022/06/16 16:22

Show last authors
1 This chapter provides information about objects and a description of how to configure objects.
2
3 = **Button/Switch** =
4
5 Different button has different function.Such as: Bit Switch; Bit lamp; Word Switch; Word lamp; Function Switch; Keypad Switch; Combination Switch.
6
7 == **Bit switch** ==
8
9 Bit switch is designed to access the bit-address of the PLC/HMI. When bit switch is triggered, the changing of "Write Address" depends on the mode setting. When "Read" option is selected, the "Read Address" is editable.
10
11 === **General** ===
12
13 To operate, monitor and display the specified PLC or HMI bit address. When the bit switch is pressed, the bit value of the operation address changes as described by the switch type. When Monitor is available, the state displayed by the bit switch is the state of the bit to which the monitor address is pointing.
14
15 (% style="text-align:center" %)
16 [[image:位开关 1.png||class="img-thumbnail"]]
17
18 **(1) Read-write**
19
20 * **Write Address: **Bit switch controls PLC or HMI address.
21 * **Read Address: **Read and display PLC or HMI bit address state.
22
23 **(2) Mode**
24
25 * **Set OFF:** set off the write address.
26 * **Set ON:** set on the write address.
27 * **Momentary:** set on the write address when switch is pressed, and set off when switch is released.
28 * **Delay:** set off the write address after a delay. (for example: assign the delay time as 5, write address will be set off after released 5 ms.)
29 * **Switch:** switch between 0 and 1 each time the switch is triggered.
30
31 **(3) Display**
32
33 * **Inverted Display: **Display the state picture and text of the object reversely.
34 * **Quick Read: **The speed of configuring the object is prority to other objects.
35
36 **(4) Blink: **Control the state of blink by the bit address of control bit. Blinking while control bit is triggered, the frequency is editable;
37
38 * **Blink when ON: **blink when control bit is ON.
39 * **Blink when OFF: **blink when control bit is OFF.
40
41 **(5) Minimum hold time: **Only when the time of pressing the object is greater than or equal to the set minimum hold time will the function of the object be performed.
42
43 **(6) Indirect addressing:**
44
45 * **Read address**: Use the value of the read address to determine the address A after deviation, and use the address A as the read address of the object.
46
47 **For example:**: HDX11.0 is the read address of the object. The three indirect read address is D0, E1 and HDW2. The system would read the value of address HDW2.
48
49 If its value is 22, and the second indrect read address E1 would update to E23, then the system would read the value of E23.
50
51 If its value is 33, then the fisrt indrect read address D0 would update to D33, then the value of D33 is 44, that is, the bit of deviation is 44 bits.
52
53 A word has 16 bits, divide 16 into 44, and the answer is 2, remainder 12. Therefore, the read address of object is update from HDX11.0 to HDX13.12, and the final read address is HDX13.12.
54
55 * **Write address**: It is the same as the read address.
56
57 === **Text** ===
58
59 (% style="text-align:center" %)
60 [[image:位开关 2.png||class="img-thumbnail"]]
61
62 1. **All languages: **Edit the texts of all the languages of the object in a time. A maximum of 8 languages supported.
63
64 (% style="text-align:center" %)
65 [[image:6.Objects_html_fd7dea026037c591.gif||class="img-thumbnail"]]
66
67 (% start="2" %)
68 1. **All states: **Edit the texts of all the states of the object in a time.
69 1. **Font: **Set the font of the text after selecting the state. The number of the characters input is dsplayed.
70 1. **Copy attribute to states:** Set the color of font after selecting state and text, and click "Copy attribute to states", then they would be in the same color.
71 1. **Copy text: **Click it and the texts of all the objects would be the same.
72 1. **Copy style: **Click it and the styles of all the objects would be the same.
73
74 === **Graphic** ===
75
76 (% style="text-align:center" %)
77 [[image:位开关 3.png||class="img-thumbnail"]]
78
79 1. **BItmap:** You could design beautiful scenes with bitmap. Static diagram and bitmap with states are supported.
80 1. **Vectogram: **Use to figure SVG vector diagram is concise and lively geometry, generally shows the various industrial field, with the performance of the more abundant than bitmap method, and the vector diagram drawing will not be needed or scaling distortion.
81
82 === **Security** ===
83
84 (% style="text-align:center" %)
85 [[image:位开关 4.png||class="img-thumbnail"]]
86
87 **(1) Object lock**
88
89 * **Lock address: **Using interlock address, address 0 means that the object would be locked and display a lock icon. Only when the interlock - bit address points to 1 will the bit switch be operated.
90 * **Hide "lock" icon: **If don't want to display the icon, you may check it. will be "no show" lock "icon" tick.
91 * **Lock when "ON":** check it and the bit address will be locked when the interlock address is set to 1.
92
93 **(2) Touch available: **If you check it, you could oeprate the object when you touch it.
94
95 **(3) Enable beep: **If you check it, the object will beep when you touch it.
96
97 **(4) Extended trigger funtions. **It is only valid for PLC address.
98
99 (% style="text-align:center" %)
100 [[image:位开关 6.png||class="img-thumbnail"]]
101
102 **(5) Access denied setting**
103
104 Users can set enable password for object. There are following operating setting when user permissions are insufficient. But "Pop login screen" and "Hide object" are mutually exclusive.
105
106 1. **Pop login screen**
107
108 * Every time: Userlogin screen will pop-up when user permissions are insufficient;
109 * When change user: Userlogin screen will pop-up when user permissions, and if users logged in successfully, the previous users will log out.
110 * Pop once: userlogin screen will pop-up when user permissions are insufficient, but when user enter the right password, this object can be operated by anyone.
111
112 (% start="2" %)
113 1. **Hide object: **When the user has no permission, the object is hided. When the user has the permission, the object is displayed and can be operated.
114
115 === **Amination** ===
116
117 (% style="text-align:center" %)
118 [[image:位开关 5.png||class="img-thumbnail"]]
119
120 **(1) Data format**
121
122 This format is for settings address, and it is fixed for all objects.
123
124 **(2) Proportion:**
125
126 The proportional gain setting is a proportional change to the moving and scaling values. Result=Gain*original value+Offset. This function is just for display. Actual value is still the original value.
127
128 For example, the HDW1 original value is 5, Gain is 0.001, Offset is 0. The final result will be displayed as 0.005, while HDW1 actual value still is 5.
129
130 **For example:**
131
132 If the proportional gain value is x and the moving or scaling value is y, then the actual moving or scaling value is (x*y).
133
134 **(3) Movement**
135
136 The function of [Movement] is to move the position of object on the screen according to the value of address and movement type.
137
138 There are three movement type:
139
140 * X-axis movement.
141 * Y-axis movement.
142 * XY-axis movemen.
143
144 **For example**
145
146 If the starting address of the movement is HDW10 and the movement type is [XY axis movement], HDW10 controls the X-axis movement, and HDW11 controls the Y-axis movement.
147
148 **(4) Deform**
149
150 Deform object display size on screen, mainly depends on width and height.
151
152 Deform type: left, right, up, down, left and right, up and down, right/left and up/down, right/left or up/down.
153
154 === **Address editor** ===
155
156 The address editor is a tool used to assist in generating address strings. The address of object is complosed of connection, device station number,  device type and address number.
157
158 (% style="text-align:center" %)
159 [[image:地址编辑器.png||class="img-thumbnail"]]
160
161 (% class="table-bordered" %)
162 |=(% style="width: 207px;" %)Name|=(% style="width: 868px;" %)Description
163 |(% style="width:207px" %)PLC addres/station NO.|(% style="width:868px" %)Set the device station NO. to access. If default station NO. is selected, then the station NO. is the de  The station number is the default station number for "Connection"  settings in "System Parameters".
164 |(% style="width:207px" %)User input|(% style="width:868px" %)The address is not from address library, but a string.
165 |(% style="width:207px" %)From address Library|(% style="width:868px" %)The address is selected from address library. If there is no data in address library, it is invalid.
166 |(% style="width:207px" %)System address|(% style="width:868px" %)Display all the items of address library. The currently one is the address referenced by the object.
167 |(% style="width:207px" %)Connection|(% style="width:868px" %)PLC that already exists in the project.
168 |(% style="width:207px" %)Address type|(% style="width:868px" %)The address type or internal register type included in the PLC selected by the project.
169 |(% style="width:207px" %)Address NO.|(% style="width:868px" %)To input address NO.
170 |(% style="width:207px" %)A to F and 0 to 9|(% style="width:868px" %)To input address NO. through mouse.
171 |(% style="width:207px" %)Clear|(% style="width:868px" %)Clear the content of edit box of address.
172 |(% style="width:207px" %)**←**|(% style="width:868px" %)Backspace. To delete the last character of the edit box.
173 |(% style="width:207px" %)Close|(% style="width:868px" %)Close address editor
174 |(% style="width:207px" %)OK|(% style="width:868px" %)(((
175 Close the editor and save the editing results.
176
177 * If selecting "From address Library", the result would be saved in the address library
178 * If selecting "User input", the result would be saved in the property of the object
179 )))
180
181 == **Bit lamp** ==
182
183 "Bit Lamp" could monitor and display the specified PLC or HMI bit address, and its state changes according to the specified address value.
184
185 **Description**
186
187
188 (% style="text-align:center" %)
189 [[image:6.Objects_html_273aed06eb8f10f9.gif||class="img-thumbnail"]]
190
191 **(1) Address**: It is for setting specified PLC or HMI bit address。
192
193 **(2) Hide**
194
195 1. **Inverted Display: **Display reverse state of the picture and text. *for example, the value of write address is set ON, the OFF mode is displayed.
196 1. **Blinking: **Blinking while control bit is triggered, the frequency is editable;
197
198 * Blink when ON: blink when control bit is ON.
199 * Blink when OFF: blink when control bit is OFF.
200
201 (% start="3" %)
202 1. **Hide: **Display or hide object by "Control Bit" state.
203 1. **Control bit: **For hide control.
204
205 * **Hide mode: **hide when OFF; hide when ON;it could not operate if [Invisible] is checked.
206 * **Invisible:** object keeps hidden during project running.
207
208 ✎**Note:** For [[text>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HText]]/[[graphics>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HGraphic]]/[[animations>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HAmination]], see the "[[Bit Switch>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
209
210 == **Word switch** ==
211
212 "Word Switch" could change value of specified PLC or HMI word address, when the switch is triggered the value will be written to specified address.
213
214 **Description**
215
216 (% style="text-align:center" %)
217 [[image:6.Objects_html_38205e64b9d02546.gif||class="img-thumbnail"]]
218
219 **(1) Edit**
220
221 * **Read address: **Read value from specified address.
222 * **Write address: **Write value to specified address.
223
224 Read and write address could be the same;
225
226 **(2) Data format**
227
228 * **Format**: It is for setting operating data format; it could support seven modes.
229
230 **(3) Mode**. It is for setting operating mode for value, it could support 3 modes.
231
232 * **Set value: **Set a constant value for the word address.
233 * **Increase: **Increase the [operand] value for each time the switch is triggered.
234 * **Decrease:** Decrease the [operand] value for each time the switch is triggered.
235 * **High/Low limit:** The value will not increase/decrease when the value reaches limits.
236
237 ✎**Note:**
238
239 * When 32-bit floating (7 digits) is selected, the operating length is double words.
240 * For [[text>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HText]]/[[graphics>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HGraphic]]/[[Security>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HSecurity]]/[[animations>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HAmination]], see the "[[Bit Switch>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
241
242 == **Word lamp** ==
243
244 "Word Lamp" could display value of specified PLC or HMI word address, the display state of the component changes as the value of the read address changes.
245
246 **Description**
247
248
249 (% style="text-align:center" %)
250 [[image:6.Objects_html_975dc10baad35155.gif||class="img-thumbnail"]]
251
252 **(1) Address**
253
254 **Read address:** read the value from specified address.
255
256 **(2) States settings**
257
258 **States count: **The default Word state displays the number of States 1, which could be selected by the drop-down list to display the state of object, range: 1-256.
259
260 **State value: **Users could set different values to correspond to different states, the setting window as below figure shows.
261
262 **For example**
263
264 By default, when value of read address is 0, object displays state 0.
265
266 If change settings as below figure shows
267
268 When value of read address is 11, object displays state 1.
269
270 (% style="text-align:center" %)
271 [[image:6.Objects_html_da9a6696f320b427.gif||class="img-thumbnail"]]
272
273 **State of value out of range: **When the value of read address exceeds the maximum state number, there is no corresponding state to be displayed. So there are two modes of processing for it: "Hide" and "Show state"
274
275 **Hide: **When the value of the read address exceeds the set range value, the word state display object will be blank.
276
277 **Show state: **When the value of the read address exceeds the set range value, the object will display the "Specified state". For example, set the maximum is state 7 (value is 6), when the read address of the value is greater than 6, it will display state 2 text and pictures.
278
279 **(3) Transform state**
280
281 **Quick Read: **Directly read the value of the connected device without going through the HMI cache
282
283 **Auto transforms:** Object switch states automatically
284
285 (% style="text-align:center" %)
286 [[image:6.Objects_html_b643c9a6a4bd6919.gif||class="img-thumbnail"]]
287
288 **Trigger:**Control bit to enable switch automatically
289
290 * **Auto return:** return to the initial state after reaching the final state;
291 * **Time of transform:** it is used for setting the frequency in automatic switching state. Unit: 100ms.
292 * **Dynamic interval: **set the frequency of automatic switching state and read it from the address. Unit: 100ms. If the value in address is 10, then the frequency of automatic switching state is 10*100ms = 1s.
293
294 **Manual**
295
296 (% style="text-align:center" %)
297 [[image:6.Objects_html_a8b6636bd862369c.gif||class="img-thumbnail"]]
298
299 * **Set state: **Set a constant value for the word address.
300 * **State increase: **Increase state for each time the switch is triggered.
301 * **State decrease:** Decrease state for each time the switch is triggered.
302 * **Last state:** The state will not increase/decrease when reaches limits.
303
304 ✎**Note:** For [[text>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HText]]/[[graphics>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HGraphic]]/[[Security>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HSecurity]]/[[animations>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HAmination]], see the "[[Bit Switch>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
305
306 == **Keypad switch** ==
307
308 Keypad switch is designed to input data manually; this object need to work with the Keypad.User could assign letters or numbers for each switch, when the switch is triggered the data will input to the textbox.
309
310 **Description**
311
312 (% style="text-align:center" %)
313 [[image:6.Objects_html_d6c03586e0122856.gif||class="img-thumbnail"]]
314
315 1. **Control bit: **This is for control operation, such as "Enter", "Delete", "Clear", "Esc and so on.
316 1. **Allow input: **It supports input with ASCII character.
317 1. **Enable Beep:** It is for beep function, enable or disable.
318
319 ✎**Note:** For [[text>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HText]]/[[graphics>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HGraphic]], see the "[[Bit Switch>>path:/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
320
321 == **Function switch** ==
322
323 Function switch is designed to switch screens, and call and close sub screen, and transfer data record files.
324
325 **Description**
326
327 (% style="text-align:center" %)
328 [[image:6.Objects_html_31c4ad387507a16d.gif||class="img-thumbnail"]]
329
330 1. **Operation**
331
332 * **Screen No: **Switch to the selected screen, it could not be subscreen;
333 * **Open sub screen: **Pop-up selected sub screen, and set sub screen position, default position is (0, 0), this is the coordinates of the top left corner of the screen;
334
335 (% style="text-align:center" %)
336 [[image:6.Objects_html_8b9a9cc4cb589d5b.gif||class="img-thumbnail"]]
337
338 * **Previous: **Switch to the previous screen in the screen list;
339 * **Next:** Switch to the next screen in the screen list;
340 * **Go back: **Switch to the previous operating screen;
341 * **Close sub screen:** Close current sub screen;
342 * **Instalment screen:** Pop-up instalment setting screen, only valid when the instalment is enabled;
343 * **Flash data to Udisk: **Copy data file from HMI Flash to Udisk, alarm, data record and recipe files could be copied;
344
345 (% style="text-align:center" %)
346 [[image:6.Objects_html_23b1992891d2600e.gif||class="img-thumbnail"]]
347
348 * **SD data to Udisk:** Copy data file from SD card to Udisk, alarm and data record files could be copied;
349
350 (% style="text-align:center" %)
351 [[image:6.Objects_html_5a7c3fb03e5ffa88.gif||class="img-thumbnail"]]
352
353 * **File cache:** Copy the source path file or folder to the specified directory of the destination path;
354
355 (% style="text-align:center" %)
356 [[image:6.Objects_html_a68f2b0b1bf2758c.gif||class="img-thumbnail"]]
357
358 (% start="2" %)
359 1. **Using trigger address**. As the figure above,when 00 is ON,then selected operation of the function switch will be executed.
360 1. **All terminals effect**. When this function is enabled, all terminals (screens, mobile phones, ipads, computers, etc.) will execute the function Switch Function simultaneously. For example, the screens of each terminal are different. When the screen is clicked to jump to the "Home" screen, all terminals will jump to the home screen.
361
362 ✎**Note:**
363
364 1. Some special characters like \ : * ? “ <> | are not allowed in file path, otherwise an error (the following characters could not be included in the file name.| >< : * “ ? \) may occur.
365 1. If you use SD card which HMI does't support, then you select the SD card as path,an error may occur.
366 1. When users save directory ,source path and destination path should end with [/], such as: [data/].
367
368 * If source path or destination path is empty, there will be an error: [please set source and destination paths].
369 * If source path or destination path contain more than two consecutive [/],there will be an error: [invalid path].
370
371 (% start="4" %)
372 1. When users save specified file, it is necessary to set specified file path and file name. Such as: "data/a.txt". If there is no file name in path, there will be an error: "please set source path!" or "Please set destination path!"
373 1. For [[text>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HText]]/[[graphics>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HGraphic]]/[[Security>>url:http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HSecurity]]/[[animations>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HAmination]], see the "[[Bit Switch>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
374
375 == **Combination Switch** ==
376
377 The combination switch supports the collection of multiple functions onto one object. When the object is pressed, multiple functions are arranged in sequence to meet the special requirements of user.
378
379 The combination switch contains sub-functions such as bit operation, word operation, arithmetic and screen change. Click the corresponding button on the "General" of the object to add sub-functions to the list, and up to 100 sub-functions can be added.
380
381 ✎**Note:** there can only be one screen change function in the added sub-functions, and it is at the end of the list).
382
383 **Description**
384
385 (% style="text-align:center" %)
386 [[image:6.Objects_html_9a71b56fbf80e666.gif||class="img-thumbnail"]]
387
388 **(1) Bit operation**
389
390 (% style="text-align:center" %)
391 [[image:6.Objects_html_c750a09f5dbfa752.gif||class="img-thumbnail"]]
392
393 It provides "Bit copy", "Set ON", "Set OFF", "Momentary" and "Switch" functions, and it could operate continuous bit addresses according to setting length,and the maximum length is 1024.
394
395 **Bit address length: **The length of operated addresses;
396
397 **Example: "**Target bit address" is 00, "Type" is Set ON,the length is 3,when press the button,the 00~~02 will be ON.
398
399 **(2) Word operation**
400
401
402 (% style="text-align:center" %)
403 [[image:6.Objects_html_a156365754b131b1.gif||class="img-thumbnail"]]
404
405 It provides "Word copy", "Word set", "Increase" and "Decrease" functions, and it could operate maximum 2048 word addresses, and the operating length will be changed according to data formats.
406
407 * If data format is 16-bit signed (unsigned), the operation address is the source address 0~~source address +2048.
408 * If data format is 32-bit signed (unsigned), the operation address is the source address 0~~source address +4096.
409
410 **Word addresses length: **The length of operated addresses.
411
412 * If "Target word address" is 40, "Type" is Word set,and operand is 10,the length is 3,when press the button,the 40~~42 will be 10.
413
414 **(3) Arithmetic**
415
416 (% style="text-align:center" %)
417 [[image:6.Objects_html_ab29c7e6e94aae46.gif||class="img-thumbnail"]]
418
419 It provides functions such as "Add", "Subtract", "Multiply", "Divide", "Mod' and "Power".
420
421 **(4) Screen change**
422
423 It provides screen switch function as [Function Switch], it supports "Previous", "Next", "Return" and "Change to" operations.
424
425 (% style="text-align:center" %)
426 [[image:6.Objects_html_7c228a61fec158e9.gif||class="img-thumbnail"]]
427
428 **(5) Operations list**
429
430 "Operations list" displays all operations, HMI will execute operations in order, but [screen switch] will be listed as the last execution item directly.
431
432 **(6) Operation button**
433
434 * **Delete: **Delete selected item function;
435 * **Empty: **Delete all items in operation list;
436 * **Up:** Move the selected item up one row in operation list;
437 * **Down: **Move the selected item down one row in operation list;
438
439 **(7) Advanced setting**
440
441 Control the whole combination switch configuration.
442
443 (% style="text-align:center" %)
444 [[image:6.Objects_html_4cfcf7f6876ed91e.gif||class="img-thumbnail"]]
445
446 * **Bit trigger: **it controls sub-function option of combination switch configuration by trigger address is ON.
447 * **Continuous run: **it executes each sub-function according to "Cycle time" and "Run times".
448 * **Cycle time: **Interval between sub-functions execute once with next time.
449 * **Run times: **Configuration sub-function execute times. 0 means unlimited times.
450 * **Break:** Stop executing sub-function when trigger address is ON.
451
452 ✎**Note:**
453
454 1. Nested patterns of object cycle and sub-function cycles are as follows.
455
456 * The cycle time are independent.
457 * The object performs one cycle, all the sub-functions would be performed once.
458 * If the object cycle ends earlier than the sub-function cycle, and the sub-function would completes the remaining number of cycles.
459 * If the object cycle ends later than the sub-function cycle, and the sub-function cycle would be triggered again.
460 * If the main cycle is triggered again before it finishes, then the main cycle is executed immediately when clicked and only one more time.
461
462 (% start="2" %)
463 1. For [[text>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HText]]/[[graphics>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HGraphic]]/[[Security>>url:http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HSecurity]]/[[animations>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HAmination]], see the "[[Bit Switch>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
464
465 == **Slider switch** ==
466
467 Slide switch is a special switch object. By changing the position of the slider, the corresponding address value would be changed. At the same time, the slider position will change according to the address value.
468
469 **Description**
470
471
472 (% style="text-align:center" %)
473 [[image:6.Objects_html_cc27b49cc3421a77.gif||class="img-thumbnail"]]
474
475 **(1) Attributes:**
476
477 1. **Write address:** The address needs to be written and monitored
478 1. **Data format: **Support 16-bit signed / unsigned decimal number, 32-bit signed / unsigned decimal number, floating number is not supported.
479
480 **(2) Scale range:**
481
482 1. **Upper/lower limit: **The range of data that can be manipulated by the slider. The value is scaled according to the decimal place of the data format.
483 1. **Variable range: **When this function is checked, the value of the filling address will be used as the upper and lower limits of the scale.
484 1. **Display upper/lower limit:** When this function is checked, the upper and lower limit data will be displayed in the slide switch.
485
486 **(3) Function:**
487
488 1. **Direction:** The slide switch provides four directions: from top to bottom, bottom to top, left to right, and right to left.
489 1. **Min. scale: **The minimum scale unit when the slider is moved. The value is scaled according to the format. (Need to drag to move)
490 1. **Scroll value: **The smallest unit of scale when the slider is moved. This value is scaled according to the format. (Need to drag to move)
491 1. **Write address: **Display current value: Show the current value of the device address above the slider
492 1. **Write immediately : **Write the value of the slide switch during the sliding process to the device address in real time.
493 1. **Alarm value:** input the alarm value
494 1. **Alarm color : **When "Alarm color" is ticked off, and the value of the device address reaches "Alarm value", the foreground color of the slide switch will be displayed as a warning color.
495
496 **✎Note: **Setting the number of decimal place will scale the data range in the data format and it is valid for all kind data formats
497
498 (% style="text-align:center" %)
499 [[image:6.Objects_html_65b8338bfb56a238.gif||class="img-thumbnail"]]
500
501 **(4) Slide rail**
502
503 1. **Border color: **Tick off to display the border color
504 1. **Foreground color: **The color of the slide rail where the slider slides over. If not checked, the color will be displayed transparently
505 1. **Background color: **The color of the slide rail where the slider does not slide over. If it is not checked, it will be displayed transparently.
506 1. **Height: **slide rail height
507 1. **Shape: **Set the style (right or rounded angle) of the rails
508
509 **(5) Slider**
510
511 1. **Color: **Tick off to display the slider color, otherwise it is displayed transparently.
512 1. **Shape: **Set the slider style (square or circle).
513
514 * When circle is selected, need to set the diameter of the slider.
515 * When square is selected, need to set the height and width of the slider.
516
517 The width, height and diameter of the slide rail and slider are displayed as a percentage relative to the height of the object.
518
519 1. When the slide rail is displayed horizontally
520
521 * The height of the slide rail is displayed as a percentage of the height of the object.
522 * The diameter of the circular slider is displayed as a percentage of the height of the object, and it is recommended that the diameter of the slider be greater than or equal to 2 times the height of the slide rail.
523 * The width and height of the square slider are displayed as a percentage of the height of the part, and it is recommended that the width of the slider should be greater than or equal to the height of the slide rail.
524
525 (% start="2" %)
526 1. When the rails are displayed vertically
527
528 * The height of the slide rail is displayed as a percentage of the width of the part.
529 * The diameter of the circular slider is displayed as a percentage of the width of the object, and it is recommended that the diameter of the slider should be greater than or equal to 2 times the width of the slide rail.
530 * The width and height of the square slider are displayed as a percentage of the width of the object, and it is recommended that the width of the slider should be greater than or equal to the width of the slide rail.
531
532 **(6) Preview**: Display the setting result of slider switch.
533
534 ✎**Note:** For [[graphics>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HGraphic]] see the "[[Bit Switch>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
535
536 = **Input/Display** =
537
538 This object can input/display number or character. User just needs to set a controller's address and set data format. HMI will be able to display/control controller's data.
539
540 == **Numeric Input/Display** ==
541
542 "Numeric Input/Display" displays the device's data or writes data to the device in a specified numeric format, and the data could be scaled.
543
544 (% style="text-align:center" %)
545 [[image:6-1NumericInput.png||class="img-thumbnail"]]
546
547 **(1) General**
548
549 1. **Read Address:** The data from designated address will be displayed.
550 1. **Input: **Enable input function and "Write Address" configuration.
551 1. **Same read-write address:** Configure [Write Address] is the same as "Read Address".
552 1. **Write address: **Write data to designated address. The address could be different "Read Address".
553 1. **Keypad:** it is standard numeric keypad, allow to input decimal and floating;
554
555 **✎Note: **Check it to use the comment information on the keyboard. When the user clicks on the part, the comment information will be written into the HUW1402 for display. The maximum length allowed for the comment is 63 characters;
556
557 (% start="6" %)
558 1. **Continuous Input: **Use the same keyboard to input the objects from the same Group NO according to the order of NO, and automatically close the keyboard after the last NO(object) is input;
559 1. **NO: **the number of numeric input object;
560 1. **Group NO: **the group number of numeric input object;
561
562 **(2) Display**
563
564 (% style="text-align:center" %)
565 [[image:6.Objects_html_a6448568aa9b4008.gif||class="img-thumbnail"]]
566
567 1. **Font:** It is located to font list; user could select font directly.
568 1. **Trim 0 display**: The last digit of the decimal only display the non-zero part, such as: 6.30 will be displayed as 6.3.
569 1. **Input as "*":** the data shown as "*".
570 1. **Alignment:** There are three modes.
571 1. **Center:** data display on the center of object.
572 1. **Align left: **data display on the left.
573 1. **Align right: **data display on the right.
574
575 **(3) Data format**
576
577 (% style="text-align:center" %)
578 [[image:6.Objects_html_52ba758ebcea03f2.gif||class="img-thumbnail"]]
579
580 **Date: **Select data format, below format could be supported.
581
582 (% style="text-align:center" %)
583 [[image:6.Objects_html_29902078fa1f9af5.gif||class="img-thumbnail"]]
584
585 **Data format:** Configure data display format.
586
587 **Range:** beyond the data range will be not inputted.
588
589 **(4) Keypad position**
590
591 It is used for setting keypad position when input data.
592
593 **(5) Label**
594
595 Configure label shown on the left/ right side of data.
596
597 ✎**Note:**
598
599 * The significant digits of a single-precision float are 7 digits.
600 * For [[graphics>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HGraphic]]/[[Security>>url:http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HSecurity]]/[[animations>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HAmination]], see the "[[Bit Switch>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
601
602 == **Character Input/Display** ==
603
604 "Numeric Input/Display" displays the device's character or writes character to the device.
605
606 **Description**
607
608 (% style="text-align:center" %)
609 [[image:6.Objects_html_947ed6af324464.gif||class="img-thumbnail"]]
610
611 **(1) General**
612
613 1. **Read Address:** The data from designated address will be displayed.
614 1. **Input: **Enable input function and "Write Address" configuration.
615 1. **Same read-write address:** Configure "Write Address" is the same as "Read Address".
616 1. **Read DWord: **Read address is 2 words format
617 1. **Write address: **Write data to designated address. The address could be different "Read Address".
618 1. **Keypad:** it is standard numeric keypad, allow to input decimal and floating;
619
620 **✎Note:** ** **Check it to use the comment information on the keyboard. When the user clicks on the part, the comment information will be written into the HUW1402 for display. The maximum length allowed for the comment is 63 characters;
621
622 (% start="7" %)
623 1. **Continuous Input: **Use the same keyboard to input the objects from the same Group NO according to the order of NO, and automatically close the keyboard after the last NO (object) is input.
624 1. **NO: **the number of numeric input object.
625 1. **Group NO: **the group number of numeric input object.
626
627 **✎Note:** The Continuous Input function will be invalid if the Confirmation function is enabled.
628
629 **(2) Display**
630
631 1. **Input as "*":** the data shown as "*".
632 1. **Alignment:** There are three modes.
633 1. **Center:** data display on the center of object.
634 1. **Align left: **data display on the left.
635 1. **Align right: **data display on the right.
636 1. **Exchange high-low byte: **Exchange High-low byte: Check it to exchange and display the contents of the high and low bytes. If the number of contents is not a multiple of 2, the rounding process will be performed.
637 1. **Length: **The length for characters, the maximum length is 256.
638 1. **Exchange high-low word: **Check it to exchange and display the contents of high and low word. Only valid if the number of operating characters of the part is a multiple of 4.
639
640 **(3) Keypad position**
641
642 It is used for setting keypad position when input data.
643
644 ✎**Note:** For [[graphics>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HGraphic]]/[[Security>>url:http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HSecurity]]/[[animations>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HAmination]], see the "[[Bit Switch>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
645
646 = **Chart** =
647
648 Chart can display the data by trend graph or data table. PIStudio supports different function’s Chart. It contains Trend Chart, History Trend Chart, Alarm Record Display, Data Record Display, Alarm Record Display, Recipe Display, List Box, File List Display, XY Plot, History XY Plot. Different chart has different function. Please check the detail information in the Help of PIStudio.
649
650 For example: Trend graph shows the data as a dynamic curve, the X axis represent the time, Y axis represent the data. Alarm Record Display record alarm, the time span set by the user, and the alarm record will list by the time sequence.
651
652 == **Common settings in chart objects** ==
653
654 **Introduction**
655
656 This section will introduce common settings in Chart objects
657
658 **(1) Shape**
659
660 (% style="text-align:center" %)
661 [[image:6.Objects_html_9f4692cce1805843.gif||class="img-thumbnail"]]
662
663 Set appearance of object, includes background color, head color, text color, line color, select row color
664
665 **(2) Advance**
666
667 (% style="text-align:center" %)
668 [[image:6.Objects_html_54a82434205332fb.gif||class="img-thumbnail"]]
669
670 1. **Head text color**: It sets the text color of the header.
671 1. **Transparency**: It sets transparency of the table background, 0% represents full transparency, and 100% represents completely opaque.
672 1. **Cell type**: Default is adaptive width. After select a customization, customization could set the width of the cell.
673 1. **Date and time format: **According to the needs to select the date and time display format. "NONE" means no display; please do not set both time and date to "NONE".
674
675 **(3) Function start address**
676
677 **Instructions for the use of the function start address of record display/alarm display/trend charts etc.**
678
679 (% style="text-align:center" %)
680 [[image:6.Objects_html_361b1ee164769c5d.gif||class="img-thumbnail"]]
681
682 The address you fill in is only as the start address. This address, including 20 consecutive addresses after this address, will be occupied. Please organize your address to prevent unnecessary errors from being reused.
683
684 **For example,** HDW0 is the function start address, then the addresses HDW0 to HDW19 are ocupied. IF you need the  power-down  storange setting, you may set the address as the address of register HAW (HAW0 to HAW200000) .
685
686 If the start address set as HDW0, the function and address table is as below.
687
688 (% class="table-bordered" %)
689 |=(% style="width: 277px;" %)**Address**|=(% style="width: 113px;" %)**Type**|=(% style="width: 158px;" %)**Object**|=(% colspan="2" style="width: 528px;" %)**Function**
690 |(% style="width:277px" %)HDW0|(% style="width:113px" %)Word|(% rowspan="8" style="width:158px" %)Numeric input |(% colspan="2" style="width:528px" %)Start Time: Year
691 |(% style="width:277px" %)HDW1|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Month
692 |(% style="width:277px" %)HDW2|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Day
693 |(% style="width:277px" %)HDW3|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Hour
694 |(% style="width:277px" %)HDW4|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Minute
695 |(% style="width:277px" %)HDW5|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Second
696 |(% style="width:277px" %)HDW6|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Span value setting. Unit  view the next address
697 |(% style="width:277px" %)HDW7|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Span Unit: 0=Min, 1=Hour, 2=Day
698 |(% style="width:277px" %)HDW8|(% style="width:113px" %)Word|(% style="width:158px" %)Word Switch|(% colspan="2" style="width:528px" %)(((
699 Default as 1. It can contain 50 records per page
700
701 Page Up : Current Value minus 1.
702
703 Page Down : Current Value add 1.
704
705 Range: 1 to 65535
706 )))
707 |(% style="width:277px" %)HDX9.0|(% style="width:113px" %)Bit|(% rowspan="10" style="width:158px" %)Bit Switch|(% colspan="2" style="width:528px" %)Auto Refresh
708 |(% colspan="1" rowspan="8" style="width:277px" %)(((
709 HDW12
710
711 (Bit address control up and down left and right display)
712 )))|(% style="width:113px" %)HDW12.0|(% colspan="2" style="width:528px" %)Move one page up
713 |(% style="width:113px" %)HDW12.1|(% colspan="2" style="width:528px" %)Move one row up
714 |(% style="width:113px" %)HDW12.2|(% colspan="2" style="width:528px" %)Move one page down
715 |(% style="width:113px" %)HDW12.3|(% colspan="2" style="width:528px" %)Move one row down
716 |(% style="width:113px" %)HDW12.4|(% colspan="2" style="width:528px" %)Move one page left
717 |(% style="width:113px" %)HDW12.5|(% colspan="2" style="width:528px" %)Move one column left
718 |(% style="width:113px" %)HDW12.6|(% colspan="2" style="width:528px" %)Move one page right
719 |(% style="width:113px" %)HDW12.7|(% colspan="2" style="width:528px" %)Move one column right
720 |(% style="width:277px" %)HDX13.0|(% style="width:113px" %)Bit|(% colspan="2" style="width:528px" %)(((
721 Span Method:
722
723 ~=0: Use the Span Value and Span Unit to query;
724
725 ~=1: Use start time to calculate the time interval of query.
726 )))
727 |(% style="width:277px" %)HDW14|(% style="width:113px" %)Word|(% rowspan="6" style="width:158px" %)Numeric Input|(% rowspan="6" style="width:237px" %)Effective when HDX13.0=1|(% style="width:291px" %)End Time: Year
728 |(% style="width:277px" %)HDW15|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Month
729 |(% style="width:277px" %)HDW16|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Day
730 |(% style="width:277px" %)HDW17|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Hour
731 |(% style="width:277px" %)HDW18|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Minute
732 |(% style="width:277px" %)HDW19|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Second
733
734 **✎Note:**
735
736 * [Function address (20 words)] need to be HMI internal address;
737 * When the start time and end time of the query are enabled, if the end time is smaller than the start time, the system automatically swaps the start and end times to calculate the span of the query;
738 * After manually setting the start time and end time of the query, you need to manually update the data (the default will be automatically updated);
739
740 **(4) Appearance**
741
742 (% style="text-align:center" %)
743 [[image:6.Objects_html_71f505c7146db030.gif||class="img-thumbnail"]]
744
745 1. **Background type:** There are four modes, style 1 and style 2 is gradient mode, style 3 is solid color mode, style 4 is transparent.
746 1. **Transparency:** transparency could be set from 0% to 100%. when set to 0%,the background is completely transparent.
747 1. **Position: **Show position coordinates for X and Y axes.
748 1. **Size: **Set object size.
749
750 (% style="text-align:center" %)
751 [[image:6.Objects_html_64c6da58525278cb.gif||class="img-thumbnail"]]
752
753 1. **Number of X,Y axis: **Set the number of grids on the XY axis could be set from 1 to 10 divisions.
754 1. **Color setting: **Color1 is for object frame;color2 is for grid background.
755 1. **Show dot:** Display the data points of each trend graph.
756 1. **User font: **If check it, user could change the font for grid and time, if uncheck it, object uses build-in font.
757 1. **Grid color: **Set color for grid, the default is black.
758 1. **Scale color:** Set color for scale, the default is black.
759 1. **Scale value color:** Set color for scale value, the default is black.
760 1. **Data format:** select data format in object, it provides below format.
761
762 (% style="text-align:center" %)
763 [[image:6.Objects_html_9a454f1917bd1b77.gif||class="img-thumbnail"]]
764
765 **Time format: **Select time format in object, it provides below format.
766
767 (% style="text-align:center" %)
768 [[image:6.Objects_html_d5d647f7cb216d8f.gif||class="img-thumbnail"]]
769
770 1. **Time type:** There are two time displaying type, one is only displaying the start and end time, and the other is displaying time for each cell.
771 1. **Curve Fitting (XY)**
772 1. **Line type:** Set the line type (line, curve) between two points.
773 1. **Smoothness:** it sets the smoothness of curve. Smoothness sets the curve smoothness. Conversely, the corner of the curve is sharper.
774
775 == **Real-time trend chart** ==
776
777 Trend graph shows the data as a dynamic curve, X axis represent the time span, Y axis represent the data.
778
779 **(1) Source**
780
781 1. **Curve buffer: **Select data from and display data in term of curve.
782 1. **Curve displays:** HMI will display curves according to select [Trend Chart], and user could select which curves need to be displayed and select [Line type] and [Color]for each curve.
783
784 (% style="text-align:center" %)
785 [[image:image-20220616160423-7.png]]
786
787 (% style="text-align:center" %)
788 [[image:image-20220616160432-8.png]]
789
790 **(2) Range**
791
792
793 Set data range limit of curve (max and min). Also, could set variable to control data range.
794
795 (% style="text-align:center" %)
796 [[image:image-20220616160834-11.png||class="img-thumbnail"]]
797
798 **✎Note: For the setting of Real-time trend chart, please refer to "[[Trend chart>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#HTrendchart]]"**
799
800 == **History trend chart** ==
801
802 The history trend will display data record with graph.X axis represents as time, and Y axis represents as data.
803
804 **(1) Source**
805
806 1. **Curve buffer: **Select data from "Data record", and display data in term of curve.
807 1. **Curve displays: **HMI will display curves according to select "Data record", and user could select which curves need to be displayed and select "Line type", "Color" and select "Channel" for each curve.
808
809 (% style="text-align:center" %)
810 [[image:image-20220616160909-12.png]]
811
812 **(2) Range**
813
814 Set data range limit of curve (max and min). Also could set variable to control data range;
815
816 (% style="text-align:center" %)
817 [[image:http://docs.we-con.com.cn/wiki/pistudio/download/Helps/06.Objects/WebHome/6.Objects_html_1063368854592432.gif?rev=1.1||class="img-thumbnail"]]
818
819 **(3) Function**
820
821 (% style="text-align:center" %)
822 [[image:image-20220616160920-14.png||class="img-thumbnail"]]
823
824 1. **Start address: **Custom object for query function, HMI system assigns address according to the settings, and four control key and query screen will be created, user could see the query details in this query screen.
825 1. **Use Dynamic channel: **It occupies 8 addresses; each address corresponds to the curve channel number. For example, the address is set to HDW10, it takes up HDW10 to HDW17. Where the value of HDW10 is 3, then the first curve in the trend graph shows the value of channel 3.
826 1. **Start time: **Set start time and span for curve display.
827
828 **Result**
829
830 When all configurations are completed, when the HMI is running, it displays as shown below.
831
832 (% style="text-align:center" %)
833 [[image:http://docs.we-con.com.cn/wiki/pistudio/download/Helps/06.Objects/WebHome/6.Objects_html_1063368854592432.gif?rev=1.1||alt="6.Objects_html_1063368854592432.gif" height="325" width="567" class="img-thumbnail"]]
834
835 There are 8 buttons will display in below the graph, shown as following.
836
837 1. [[image:image-20220616162002-15.jpeg]] Historical trend chart query button
838 1. [[image:image-20220616162008-16.png]] ** **Set the time and span of historical trend chart
839 1. [[image:image-20220616162013-17.png]] ** **Refresh
840 1. [[image:image-20220616162018-18.png]] ** **Move forward by span time
841 1. [[image:image-20220616162021-19.png]] **:**Move backwards by span time
842 1. [[image:image-20220616162025-20.png]] :Slider display control button, slider position can display the current time and the current numerical status of each curve.
843 1. [[image:image-20220616162028-21.png]] Zoom in by one time according to the length of the span.
844 1. [[image:image-20220616162032-22.png]] :Zoom out by one time according to the length of the span.
845
846 **✎Note: For the setting of historical trend chart, please refer to "[[Trend chart>>path:http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#HTrendchart]]".**
847
848 == **Alarm record display** ==
849
850 Display current alarm and history alarm information.After setting the time span, the history alarm record will list by the time span.
851
852 This object only displays content normally after the "Alarm Record" function is set.
853
854 (% style="text-align:center" %)
855 [[image:6.Objects_html_680530096b569128.gif||class="img-thumbnail"]]
856
857 **(1) Settings**
858
859 (% style="text-align:center" %)
860 [[image:6.Objects_html_ae2b58548526a788.gif||class="img-thumbnail"]]
861
862 1. **Alarm type: **There are two types for alarm function; one is [Current alarm record] and the other is "History alarm record".
863 1. **Group No:** This group number is corresponding to ID from Alarm settings; this object only displays the alarm content within this ID range.
864 1. **Display in reverse order: **The latest alarm information will be displayed at the top of object.
865 1. **Alarm Record Setting**: This is for setting display items in object, the setting window as below shows.
866
867 (% style="text-align:center" %)
868 [[image:6.Objects_html_c39789a001b0224e.gif||class="img-thumbnail"]]
869
870 **(2) Query Settings**
871
872 There are two modes for this settings, one is "Page control", and the other is "Use function address".
873
874 (% style="text-align:center" %)
875 [[image:6.Objects_html_29e47fc2c370aee5.gif||class="img-thumbnail"]]
876
877 **Page control: **it controls what object currently displays.
878
879 **For example: **Page control is 40,
880
881 * 40=1 means this object displays first page.
882 * 40=2 means this object displays second page.
883 * 40=3 means this object displays third page.
884 * ...
885 * 40=10 means this object display 10th page.
886
887 **✎Note:** Every page contains 50 records.
888
889 **(3) Start Time**
890
891 It configures start query time and span.
892
893 (% style="text-align:center" %)
894 [[image:6.Objects_html_d2335d95f27b8e03.gif||class="img-thumbnail"]]
895
896 **Span: **set the time span from start time to end time of query.
897
898 **Result**
899
900 When all configurations are completed, when the HMI is running, alarm display object displays as shown below.
901
902 The query key is automatically displayed when user double-clicks object, and the system automatically generates a sub-screen that sets the query span.
903
904 (% style="text-align:center" %)
905 [[image:6.Objects_html_de2952171d05accd.gif||height="312" width="567" class="img-thumbnail"]]
906
907 * [[image:6.Objects_html_92e1910330039a59.gif||class="img-thumbnail"]] Query setting
908 * [[image:6.Objects_html_4efc52d4a7f1ea02.gif||class="img-thumbnail"]] Refresh page
909 * Up operation buttons: [^] means moving up one row; [︽] means page up.
910 * Down operation buttons: [˅] means moving down one row; [︾] means page down.
911 * Left operation buttons: [<] means moving left column; [<<] means moving the display to the left.
912 * Right operation buttons: [>] means moving right column; [>>] means moving the display to right.
913
914 **✎Note:** Please click here to set "[[Bit alarm>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#H8.4.1BitAlarm]]" and "[[Word alarm>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#H8.4.2WordAlarm]]".
915
916 == **Data Record Display** ==
917
918 "Data Record Display" displays the value of the address set by the user in the data record in the form of a table. It provides the function of query. You could query all the recored data within a specified period. If the project does not edit data recored area or there is no historical data, data record would display nothing. You can dynamically set the query period on the HMI and save the power failure.
919
920 ✎**Note: **The objects sunch as tables and trends charts are only support **"**song typeface". It is invalid if you set other fonts.
921
922 This object only displays content normally after the "[[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)__Data record__>>path:#_Data_Record]](%%)" function is set.
923
924 (% style="text-align:center" %)
925 [[image:6.Objects_html_2ee00a2b90c062f6.gif||class="img-thumbnail"]]
926
927 **(1) Record**
928
929 There are data of multiple groups could be set in the data record, but it could only display the data of one group at the same time. Therefore, during configuring, user need to specify the corresponding data record group number for each object.
930
931 (% style="text-align:center" %)
932 [[image:6.Objects_html_7d03f28e9a7ec548.gif||class="img-thumbnail"]]
933
934 **(2) Display in reverse order**
935
936 It sorts by time by default. The oldest data record will be displayed at the top of it. If you check  "Display in reverse order", The latest data record will be displayed at the top of it
937
938 **(3) Start Time**
939
940 (% style="text-align:center" %)
941 [[image:6.Objects_html_d2335d95f27b8e03.gif||class="img-thumbnail"]]
942
943 You can configure the start query time. Set the time span from start time to end time of query.
944
945 **(4) Security**
946
947 (% style="text-align:center" %)
948 [[image:6.Objects_html_3235c433cffea00f.gif||class="img-thumbnail"]]
949
950 1. **Channel control address:** It continuously occupies 8-word addresses, the first 100-bit addresses control 100 channels of display/hide function. For example, if the address is set to HDW10, then HDX10.0=1 is hidden channel 1; HDX10.1=1 is hidden channel 2, and so on.
951 1. **Freeze first column:** Enable it, the first column (time column) of the data record will not move with the left and right pages.
952
953 For details about "function address", see "[[Common settings in chart objects>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HCommonsettingsinchartobjects]]".
954
955 The query key is automatically displayed when user double-clicks object, and the system automatically generates a sub-screen that sets the query span. When all configurations are completed, when the HMI is running, data record display object displays as shown below.
956
957 (% style="text-align:center" %)
958 [[image:6.Objects_html_1d2246f5ca8e1f24.gif||height="347" width="567" class="img-thumbnail"]]
959
960 * [[image:6.Objects_html_92e1910330039a59.gif||height="52" width="50" class="img-thumbnail"]] Query setting: It is on the buttom right of corner. Click it, a sub-screen of query range would pop-up to set.
961 * [[image:6.Objects_html_4efc52d4a7f1ea02.gif||height="50" width="50" class="img-thumbnail"]] Refresh the query results.
962 * [[image:上翻 1.png||class="img-thumbnail"]]move one row up in the query range
963 * [[image:上翻 2.png||class="img-thumbnail"]]move one page up in the query range
964 * [[image:下翻 1.png||height="45" width="50" class="img-thumbnail"]]move one row down in the query range
965 * [[image:下翻 2.png||height="36" width="50" class="img-thumbnail"]]move one page down in the query range
966 * [[image:左翻 1.png||height="48" width="50" class="img-thumbnail"]]move one row left in the query range
967 * [[image:左翻 2.png||height="49" width="50" class="img-thumbnail"]]move one page left in the query range
968 * [[image:右翻 1.png||height="50" width="50" class="img-thumbnail"]]move one row right in the query range
969 * [[image:右翻 2.png||height="50" width="50" class="img-thumbnail"]]move one page right in the query range
970
971 For details about the setting, please refer to "[[Data record display settings>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#HSettings]]".
972
973 == **Recipe display** ==
974
975 "Recipe display" displaysinformation (such as recipe, operations, and so on) in the form of a table.
976
977 This object not only displays the recipe, but also displays other content. The specific functions are described in detail later. And it only displays content normally afterfunction is set.
978
979 **There are 8 types of operating files as follows. Except for recipe file, the other types are used for special purpose. **
980
981 (% style="text-align:center" %)
982 [[image:配方 1.png||class="img-thumbnail"]]
983
984 **(1) Function (Recipe File)**
985
986 1. **File type: **There are more than one function in this object, this is for selecting function, select "Recipe File", when "Recipe function" is set, it will display recipe data in the form of a table.
987 1. **Folder name:** This is located to recipe function setting.
988 1. **Select line:** Select one line in list and display its line No. in this address.(Note:When the file type is Recipe File, modify the address value to control the selected line of the list to jump to the corresponding line; for other file types, this address only has the effect of displaying the line No.)
989
990 For example, set 40,
991
992 * if 40=1, the first row of object is selected.
993 * If 40=2, the second row of object is selected.
994 * ...
995 * If 40=10, the 10th row of object is selected.
996
997 (% start="4" %)
998 1. **Folder name address: **This is for setting recipe file name, in advance recipe mode.
999
1000 (% style="text-align:center" %)
1001 [[image:6.Objects_html_38f1820209eedfb4.gif||class="img-thumbnail"]]
1002
1003 **(2) Function (Operating Record)**
1004
1005 (% style="text-align:center" %)
1006 [[image:6.Objects_html_d6c16aee84067851.gif||class="img-thumbnail"]]
1007
1008 1. **File type: **There are more than one function in this object, this is for selecting function, select [Operating Record], when [User Permission] is enabled, the operation record of each user in HMI is recorded and displayedin the form of a table, and the time and date display format could be set as needed.
1009 1. **Select line: **Set address for select row.
1010
1011 **(3) Function (Timeout Alert)**
1012
1013 (% style="text-align:center" %)
1014 [[image:6.Objects_html_35cc911c850c1afb.gif||class="img-thumbnail"]]
1015
1016 1. **File type:** There are more than one function in this object, this is for selecting function, select [Timeout], it displays the current HMI project communication timeout information. (The built-in screen has this special function; it will pop up automatically when timeout, users do not need to set).
1017 1. **Select line: **Set address for select row.
1018
1019 **(4) Function (Client Manage)**
1020
1021 (% style="text-align:center" %)
1022 [[image:6.Objects_html_9ec936a372bb7efb.gif||class="img-thumbnail"]]
1023
1024 1. **File type: **There are more than one functions in this object, this is for selecting function, select [Client manage], it displays the current visitors' screens information.
1025 1. **Select line:** Set address for select row.
1026
1027 **(5) Function (User Manage)**
1028
1029 (% style="text-align:center" %)
1030 [[image:6.Objects_html_59dc786401ea6651.gif||class="img-thumbnail"]]
1031
1032 1. **File type:** There are more than one functions in this object, this is for selecting function, select [User Manage],when [User Permission] is enabled, it displays all users' information.
1033 1. **Select line: **Set address for select row.
1034 1. **Refresh: **Set address for refresh users list; (bit address).
1035
1036 **(6) Function (System Message)**
1037
1038 (% style="text-align:center" %)
1039 [[image:6.Objects_html_858d4ec965274b8a.gif||class="img-thumbnail"]]
1040
1041 1. **File type: **There are more than one functions in this object, this is for selecting function, select [System message],when event occurs, it displays prompt messages automatically.
1042 1. **Select line: **Set address for select row.
1043
1044 **(7) Address Control**
1045
1046 **Start group: **control displaying start fromspecified row, which means display from specified group.
1047
1048 For example set 40,
1049
1050 * If 40=1, Start from first row (first group).
1051 * If 40=2, Start from second row (second group).
1052 * ...
1053 * If 40=10, Start from 10th row (10th group).
1054
1055 **Group number address: **Control the number of rows displayed;
1056
1057 For example set 410,
1058
1059 * If 410=1, this object only displays 1 row (1 group).
1060 * If 410=2, this object displays 2 rows (2 groups).
1061 * ...
1062 * If 410=10, this object displays 10 rows (10 groups).
1063
1064 **Start address: **Control displaying start fromspecified column, which means display from specified member.
1065
1066 Forexample, set 420,
1067
1068 * If 420=1, Start from first column (first member).
1069 * If 420=2, Start from second column (second member).
1070 * ...
1071 * If 420=10, Start from 10th column (10th member).
1072
1073 **Address number: **Control the number of columns displayed.
1074
1075 Forexample, set 430,
1076
1077 * If 430=1, this object only displays 1 column (1 member).
1078 * If 430=2, this object displays 2 columns (2 members).
1079 * ...
1080 * If 430=10, this object displays 10 columns (10 members).
1081
1082 **Result**
1083
1084 When all configurations are completed, when the HMI is running, object will display like below.
1085
1086 **(1) Recipe**
1087
1088 (% style="text-align:center" %)
1089 [[image:6.Objects_html_73ddff1c47ca6b37.gif||height="271" width="567" class="img-thumbnail"]]
1090
1091 **(2) Operating Record**
1092
1093 (% style="text-align:center" %)
1094 [[image:6.Objects_html_6d72e0a32128f87a.gif||height="413" width="567" class="img-thumbnail"]]
1095
1096 **(3) Client Manage**
1097
1098 (% style="text-align:center" %)
1099 [[image:6.Objects_html_ea2cd87aaa6600cd.gif||height="413" width="567" class="img-thumbnail"]]
1100
1101 (% class="wikigeneratedid" %)
1102 **✎Note:**
1103
1104 * If the file type is recipe file, modify the value of the address of "Select line" to control the selected line in the display list to the corresponding line. If another file type is selected, this address can only display the selected line (read-only mode).
1105 * For ie series and ig series HMI, "system message" and "timeout alert" will be displayed in the top pop-up window. They options of them will no longer be displayed in the record.
1106 * For the details, please refer to "[[Recipe>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#H8.5Recipe]]".
1107
1108 == **File list** ==
1109
1110 "File List" displays the recipe file name of the current project in the form of table in HMI. If there is no recipe file in the project, the table of the object is empty. (Table and trend chart objects currently only support Song Typeface, other fonts you set will not work.
1111
1112 recipe files in "Flash", and also shows custom folder information.
1113
1114 **Description**
1115
1116 **(1) Function (Recipe File)**
1117
1118 (% style="text-align:center" %)
1119 [[image:文件列表 1.png||class="img-thumbnail"]]
1120
1121 (% style="text-align:center" %)
1122 [[image:6.Objects_html_66cd30b2b962a04e.gif||class="img-thumbnail"]]
1123
1124 1. **File type: **[Recipe File] is for display recipe files in Flash.
1125 1. **Folder name:** This is located to recipe function setting.
1126 1. **Select line:** Select one line in list and display its line No. in this address.
1127
1128 Forexample, set 40,
1129
1130 * if 40=1, the first row of object is selected.
1131 * If 40=2, the second row of object is selected.
1132 * ...
1133 * If 40=10, the 10th row of object is selected.
1134
1135 ✎**Note: **When the file type is Recipe File, modify the address value to control the selected line of the list to jump to the corresponding line; for other file types, this address only has the effect of displaying the line No.
1136
1137 (% start="4" %)
1138 1. **Folder name address:** This is for setting recipe file name, in advance recipe mode.
1139
1140 **(2) Function (Custom Folder)**
1141
1142 (% style="text-align:center" %)
1143 [[image:6.Objects_html_8cb7b2547b5e5c65.gif||class="img-thumbnail"]]
1144
1145 1. **File type: **The object displays files under the specified path.
1146 1. **Root:** It means storage; there are three options, "Flash", "Udisk" and "SDcard".
1147 1. **Folder:** Set folder name, such as recipe.
1148 1. **Select line: **Set address for select row.
1149
1150 Forexample, set 40,
1151
1152 * if 40=1, the first row of object is selected.
1153 * If 40=2, the second row of object is selected.
1154 * ...
1155 * If 40=10, the 10th row of object is selected.
1156
1157 (% start="5" %)
1158 1. **Folder name address:** This is for setting recipe file name, in advance recipe mode;
1159
1160 **(3) Use function address (20 words)**
1161
1162 (% style="text-align:center" %)
1163 [[image:6.Objects_html_dc49c7d7148792b3.gif||class="img-thumbnail"]]
1164
1165 Function address includes copy, past, delete and rename. And HMI automatically assigns the functions to bit addresses.
1166
1167 For example, if the function address is HDW 90, the detailed information as below.
1168
1169 (% class="table-bordered" %)
1170 |**Address**|**Address type**|**Object type**|**Function**
1171 |HDX90.0|Bit|(% colspan="1" rowspan="6" %)Bit switch (ON)|Copy selected files / all files
1172 |HDX90.1|Bit|Paste selected files/ all files
1173 |HDX90.2|Bit|Delete selected files/ all files
1174 |HDX90.3|Bit|Select all files
1175 |HDX90.4|Bit|Rename select files (Do not include suffix)
1176 |HDX90.5|Bit|Rename select files (Include suffix)
1177
1178 Using this function address can realize that copy a file of one file list to another file list. For example, the recipe file of flash (file list A) is copied to the recipe file of the U disk files in the file list (B), and the file name will be copied too. You could rename it with the "rename" address.
1179
1180 **Result**
1181
1182 When all configurations are completed, when the HMI is running, it displays object displays as shown below.
1183
1184 (% style="text-align:center" %)
1185 [[image:6.Objects_html_a68643b928e3930.gif||class="img-thumbnail"]]
1186
1187 (% class="wikigeneratedid" %)
1188 ✎**Note: **For the details, please refer to "[[Recipe>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#H8.5Recipe]]".
1189
1190 == **XY plot** ==
1191
1192 It reads a continuous value of PLC register, converts the read value according to rhe specified data format, and display as XY trend chart on HMI.
1193
1194 (% style="text-align:center" %)
1195 [[image:XY 1.png||height="573" width="567" class="img-thumbnail"]]
1196
1197 **(1) Source**
1198
1199 1. **Auto Sample:** Select data from [XY plot] and displayed in a curve according to the set time.
1200 1. **Trigger Sample: **When the trigger address is set, the data is collected and displayed in a curve. After the data is collected, the trigger address is automatically reset.
1201
1202 **(2) Curve settings: **According needs to set style and color for each curve.
1203
1204 **Read address:** *for example, PLC word address is D, it points number is m. (point numbers no more than 800).
1205
1206 * Word address D is the X coordinate of the first point.
1207 * Word address D+1 is the Y coordinate of the first point.
1208 * Word address D+2 is the X coordinate of the second point.
1209 * Word address D+3 is the Y coordinate of the second point.
1210 * ......
1211 * Word address D+2m-1 is the X coordinate of the m^^th^^ point.
1212 * Word address D+2m is the Y coordinate of the m^^th^^ point.
1213
1214 Because if the number of XY points is m, it is necessary to continuously read 2m words from the address D of the PLC to draw a complete XY picture.
1215
1216 **(2) Apearrance**
1217
1218 (% style="text-align:center" %)
1219 [[image:XY 2.png||class="img-thumbnail"]]
1220
1221 1. **X grids and Y grids:** The range is from 1 to 10.
1222 1. **color setting:**
1223
1224 * Backgroud color 1 indicates the background color of appearrance.
1225 * Backgroud color 2 indicates the background color of grid.
1226
1227 **(3) Range**
1228
1229 (% style="text-align:center" %)
1230 [[image:XY 3.png||height="312" width="567" class="img-thumbnail"]]
1231
1232 1. **Variable:** The data range for the graph could be set as a variable.
1233 1. **X, Y Limit:** Set the max and min value of displaying curve.
1234
1235 **Result**
1236
1237 When all configurations are completed, when the HMI is running, it displays as shown below.
1238
1239 (% style="text-align:center" %)
1240 [[image:6.Objects_html_d86b49376aa4f4dd.gif||height="336" width="567" class="img-thumbnail"]]
1241
1242 (% class="wikigeneratedid" %)
1243 **(4) Quick setting:** Fill in the starting address, according to the parameter settings, automatic allocation of addresses.
1244
1245 == **History XY plot** ==
1246
1247 The data in cache will display as continuous curve or separated points, each point in XY plot needs 2 addresses to set a point.
1248
1249 (% style="text-align:center" %)
1250 [[image:历史XY 1.png||class="img-thumbnail"]]
1251
1252 **(1) Source**
1253
1254 1. **Auto Sample:** Select data from [XY plot] and displayed in a curve according to the set time.
1255 1. **Trigger Sample: **When the trigger address is set, the data is collected and displayed in a curve. After the data is collected, the trigger address is automatically reset.
1256
1257 **(2) Curve settings: **According needs to set style and color for each curve.
1258
1259 **Read address:** *for example, PLC word address is D, it points number is m. (point numbers no more than 800).
1260
1261 * Word address D is the X coordinate of the first point.
1262 * Word address D+1 is the Y coordinate of the first point.
1263 * Word address D+2 is the X coordinate of the second point.
1264 * Word address D+3 is the Y coordinate of the second point.
1265 * ......
1266 * Word address D+2m-1 is the X coordinate of the m^^th^^ point.
1267 * Word address D+2m is the Y coordinate of the m^^th^^ point.
1268
1269 Because if the number of XY points is m, it is necessary to continuously read 2m words from the address D of the PLC to draw a complete XY picture.
1270
1271 **(2) Apearrance**
1272
1273 (% style="text-align:center" %)
1274 [[image:XY 2.png||class="img-thumbnail"]]
1275
1276 1. **X grids and Y grids:** The range is from 1 to 10.
1277 1. **color setting:**
1278
1279 * Backgroud color 1 indicates the background color of appearrance.
1280 * Backgroud color 2 indicates the background color of grid.
1281
1282 **(3) Range**
1283
1284 (% style="text-align:center" %)
1285 [[image:XY 3.png||height="312" width="567" class="img-thumbnail"]]
1286
1287 1. **Variable:** The data range for the graph could be set as a variable.
1288 1. **X, Y Limit:** Set the max and min value of displaying curve.
1289
1290 **Result**
1291
1292 When all configurations are completed, when the HMI is running, it displays as shown below.
1293
1294 (% style="text-align:center" %)
1295 [[image:6.Objects_html_d86b49376aa4f4dd.gif||height="336" width="567" class="img-thumbnail"]]
1296
1297 (% class="wikigeneratedid" %)
1298 ✎**Note:**
1299
1300 (% class="wikigeneratedid" %)
1301 For the setting details, please refer to "[[History XY plot>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#H8.8HistoryXYPlot]]".
1302
1303 == **Disc record chart** ==
1304
1305 The Disc Record displays the data from data source in the form of a disc curve.
1306
1307 **✎Note: **This function are only supported by HMI+, i series, ie series and ig series.
1308
1309 **(1) Source**
1310
1311
1312 (% style="text-align:center" %)
1313 [[image:6-2DiscRecord.png||class="img-thumbnail"]]
1314
1315 1. **Source type**
1316
1317 * **History**: Historical data can be queried.
1318 * **Real Time**: Only real-time data is displayed.
1319
1320 (% start="2" %)
1321 1. **Curve Buffer**
1322
1323 * **History**: Ii is in data record area configured by data record. Multiple record groups could be configured, and each record group has multiple channels.
1324 * **Real Time**: It is in Real-time trend chart configured by data record. Multiple record groups could be configured, and each record group has multiple curve numbers.
1325
1326 **✎Note: **There must be one of settings (Data record and real-time trend chart) in configurations, otherwise there will no data in curve buffer.
1327
1328 (% start="3" %)
1329 1. **Curve No.**: The number of curves is the same as the number of channels in the record group. A maximum of 8 curves could be displayed.After selecting the curve to be displayed, it can set the scale range and scale color of each curve.
1330 1. **Enable**: After seelecting the corresponding curve number in the status bar and enable the curve, set different curve styles and colors according to your needs, then select the channel number in the data buffer, and finally set the data range.
1331 1. **Data Range: **Directly set the maximum and minimum values of the displayed graph. If the box "Variable Range" is checked, the set data is read from the filled address. The data format of the address is set as needed, and the length of the variable address is related to the set data format.
1332 1. **Display Scale Value: **Display the value of disc record. The font color could be changed
1333
1334 **(2) Apearrance**
1335
1336 (% style="text-align:center" %)
1337 [[image:6-3DiscRecordConfigAppearen.png||class="img-thumbnail"]]
1338
1339 1. **Circular Axis Scale**: Number of scale intervals in the direction of the circular axis. The range is1 to10.
1340 1. **Start Position**: The starting position to draw the curve: top, bottom, left and right.
1341 1. **Rotary Axis Scale**: Number of scale intervals in the direction of the axis of rotation. The range is 4, 6 and 12.
1342 1. **Inner Circle Size**: Ratio of the inner circle to the outer circle.
1343 1. **Scale Style**: The way the scale is displayed, style 0 represents adaptive display, and style 1 represents forward display.
1344 1. **Background Color**: Appearance background color.
1345 1. **Inner Circle Color**: The inner circle color in the drawing area of the Disc.
1346 1. **Outer Circle Color**: The outer circle color in the drawing area of the Disc.
1347 1. **Grid Color**: Grid line color.
1348 1. **Scale Color**: Color of the time scale and tick marks.
1349 1. **Data Format & Time Format**: Configure the display mode of the time and date as required, where NONE means no display. It is forbidden to set both the time and date display to NONE, and when the date is set to NONE, the day parameter can be set in the time.
1350 1. **Enable Font**: Use the set font library and font size for display. When this font is not enabled, the default built-in font is used for display.
1351 1. **Enable Point**: Set to enable point, the data unit of each curve will be highlighted as a point.
1352
1353 **(3) Function**
1354
1355 (% style="text-align:center" %)
1356 [[image:6-4DiscRecordConfigFuncAddr.png||class="img-thumbnail"]]
1357
1358 **Fucntion start Address**: Open the sub-screen of the data record query, and the system can automatically allocate the object address of the query screen according to the configured address. When using this component, it will automatically generate buttons for four direction, you can use these four control keys to view the data record display, and automatically create a new sub-screen based on the function start address, the content of the sub-screen is the query setting for span and start time.
1359 When two objects use one function screen at the same time, if the function addresses of the two object are the same, changing the built-in screen will affect the operation of the two display object at the same time. If the function addresses of the two objects are different, the second object with the built-in screen can be displayed normally, and the first object will be displayed abnormally.
1360
1361 **✎Note: ** When copying Data record display, it is recommended to create a new "function screen" to avoid repeated calls that may cause abnormal functions.
1362
1363 **Start time**: Set the start time and conditions for data viewing.
1364
1365 For the description of the start address of the function, please refer to [[Common settings in chart objects>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HCommonsettingsinchartobjects]].
1366
1367 For the setting, please refer to [[8.3 Data Record>>http://docs.we-con.com.cn/wiki/pistudio/view/Helps/08.Basic%20Function/#H8.3DataRecord]].
1368
1369 = **Meter** =
1370
1371
1372 (% style="text-align:center" %)
1373 [[image:6.Objects_html_b3789f59e920334.gif||class="img-thumbnail"]]
1374
1375 == **Pointer meter** ==
1376
1377 The meter responds to changes in the value of the indicated word address by means of a dial and a pointer. The meter looks very similar to the actual meter.
1378
1379 **Description**
1380
1381
1382 (% style="text-align:center" %)
1383 [[image:6.Objects_html_7b4e0390c9bae4fd.gif||class="img-thumbnail"]]
1384
1385 **(1) Basic**
1386
1387 1. **Read address:** Read the value from the set PLC address.
1388 1. **Data format:** It is for data setting. The data format types are: BCD, 32-bit float, signed decimal, unsigned decimal, 32-bit signed decimal and 32-bit unsigned decimal.
1389 1. **Digits setting:** it means the decimal point position. the decimal point position is effective only when data format is floating and decimal.
1390 1. **Min angle and max angle:** Data range, if data beyond range will be not inputted.
1391 1. **Variable limits:** when checked, low limit address and high limit address could be edit showed below;
1392
1393 **(2) Show meter background**
1394
1395 This is for setting meter background, there are four types, you could select it according to needs.
1396
1397 **(3) Show pointer**
1398
1399 You could select show pointer or not according to need, and it provides two types for pointer and users could select pointer color.
1400
1401 **(4) Show alarm area**
1402
1403 It provides alarm function in meter, users could set alarm range, users could set the 4 ranges. And each range corresponds to a different alarm color.
1404
1405 **(5) Show scale**
1406
1407 It provides settings for scale on meter, users could select [Major scale] and [Minor scale], and set color for them.
1408
1409 **(6) Meter angel settings**
1410
1411 1. **Meter Type:** It sets the angel between the maximum and minimum value. It provides 7 kinds of styles, they are 180°, 210°, 240°, 270°, 300°, 330° and 360°.
1412 1. **Start angle: **It sets the position where the minimum value is displayed.
1413
1414 **Result**
1415
1416 When configuration is completed, the object is shown as below picture when HMI is running.
1417
1418 (% style="text-align:center" %)
1419 [[image:6.Objects_html_1b8e24a5065cf96a.gif||class="img-thumbnail"]]
1420
1421
1422 ✎**Note:** For the parameter setting, please refer to "[[text>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HText]]" in "[[Bit Switch>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
1423
1424 == **Bar** ==
1425
1426 The bar graph shows the numerical change of the word address by means of bar graph.
1427
1428 **Description**
1429
1430 (% style="text-align:center" %)
1431 [[image:6.Objects_html_bd38676c1a9565f9.gif||class="img-thumbnail"]]
1432
1433 **(1) Data setting**
1434
1435 1. **Read address: **Read the value from the set PLC address.
1436 1. **Dual Value Display:** Set two read addresses. The bar graph will show the value segment between the two read addresses.
1437 1. **Data format: **It is for setting data format from read address.
1438 1. **Digits setting:** It means the decimal point position. The decimal point position is effective only when data format is floating and decimal.
1439
1440 **(2) Display settings**
1441
1442 1. **Type:** It is for setting bar display type, it provides two types.
1443
1444 * Type1: Single scale display.
1445 * Type2: Double scales display.
1446
1447 (% start="2" %)
1448 1. **Bar direction: **horizontal display or vertical display.
1449 1. **Back color: **User could freely set the color when check it.
1450 1. **Text color: **Display color of the scale value.
1451
1452 **(3) Alarm settings**
1453
1454 It provides alarm function in meter, users could set alarm range, users could set the 4 ranges. And each range corresponds to a different alarm color.
1455
1456 **(4) Show scale**
1457
1458 It provides settings for scale on meter, users could select [Major scale] and [Minor scale], and set color for them.
1459
1460 **Result**
1461
1462 (% style="text-align:center" %)
1463 [[image:6.Objects_html_4d9066ded0b72b33.gif||class="img-thumbnail"]]
1464
1465 When configuration is completed, the object shows as above picture, when HMI is running.
1466
1467 == **Clock** ==
1468
1469 This object displays HMI system time.
1470
1471 **Description**
1472
1473
1474 (% style="text-align:center" %)
1475 [[image:6.Objects_html_f8df8c51c201879a.gif||class="img-thumbnail"]]
1476
1477 1. **Back type: **It is for clock dial style settings; it provides three types.
1478 1. **Back color:** It is for setting color for clock dial, it is invalid when back type is 1.
1479 1. **Hand type:** It is for clock hand style settings; it provides three types.
1480 1. **Hand color: **It is for setting color for hand.
1481 1. **Show second hand:** Check it to display second hand in clock.
1482 1. **Second hand color: **It is for setting color for second hand.
1483
1484 **Result**
1485
1486 As soon as configuration is completed, the object is shows as below picture, during HMI is running.
1487
1488 (% style="text-align:center" %)
1489 [[image:6.Objects_html_23abf6f7aa26bd8f.gif||class="img-thumbnail"]]
1490
1491 == **Runbar** ==
1492
1493 Run bar objectcould displays normal text and alarm text. User could select display content according to requirement.
1494
1495 When the alarm text is displayed, it could quickly and timely reflect the status of the current HMI alarm function for easy management and control.
1496
1497 When normal text is displayed, it provides two ways to set the display content to user (static text and dynamic text);
1498
1499 **Description**
1500
1501 (% style="text-align:center" %)
1502 [[image:6.Objects_html_f0579e391675b855.gif||class="img-thumbnail"]]
1503
1504 **(1) Basic settings**
1505
1506 1. **Type:** It is for displaying content settings.
1507
1508 * Move Text: Normal text.
1509 * Alarm: Alarm text.
1510
1511 (% start="2" %)
1512 1. **Transparence: **It sets the transparency of the object background.
1513 1. **Reverse: **it sets text move right to left or left to right.
1514 1. **Speed:** It sets text moving speed.
1515 1. **Background:** It sets object background color.
1516 1. **Text color:** It sets text color.
1517 1. **Show Border:** Check it to show border for object.
1518 1. **Border:** It sets object border color; it is visible only when [Show Border] is checked.
1519
1520 **(2) Display content settings**
1521
1522 * If it shows static text, please set content in "[[text>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HText]]".
1523 * If it shows dynamic text, please check [Read Address], and set address and length for it.
1524 * If it shows alarm text, please select alarm information, such as time and date, alarm group number range.
1525
1526 **(3) Preview**
1527
1528 It is for preview text content in object.
1529
1530 **Result**
1531
1532 When configuration is completed, the object is shows as below picture, when HMI is running.
1533
1534 1. **Normal text**
1535
1536 (% style="text-align:center" %)
1537 [[image:6.Objects_html_e8d384899180ce2f.gif||class="img-thumbnail"]]
1538
1539 (% start="2" %)
1540 1. **Alarm text**
1541
1542 (% style="text-align:center" %)
1543 [[image:6.Objects_html_9612d7685f349400.gif||class="img-thumbnail"]]
1544
1545 ✎**Note:** For the "Text" setting, please refer to "[[text>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fview%2FHelps%2F06.Objects%2F%23HText]]" in "[[Bit Switch>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
1546
1547 = **Display** =
1548
1549 (% style="text-align:center" %)
1550 [[image:6.Objects_html_826a565200b1aa33.gif||class="img-thumbnail"]]
1551
1552 == **Indirect window** ==
1553
1554 Indirect window is used for displaying sub-screen in HMI project. You could control it to display different sub-screens by chaninge the value of read address.
1555
1556 **Description**
1557
1558
1559 (% style="text-align:center" %)
1560 [[image:6.Objects_html_ccb5a66acd5aed37.gif||class="img-thumbnail"]]
1561
1562 **(1) Screen No.**
1563
1564 There are two modes for sub-screen display, one is static screen, and the other is dynamic screen, and switch screen by change read address value. User could only choose one of the two modes.
1565
1566 1. **Indirect scree No.:** It is for setting read address to switch sub-screen.
1567 1. **Screen No.:** Check it to enable static screen mode, and select screen for object.
1568
1569 **(2) Control display by address**
1570
1571 Control display of the indirect object through bit address.
1572
1573 * Set ON: Display.
1574 * Set OFF: Hide.
1575
1576 **(3) Position**
1577
1578 It is for setting the position of sub-screen, the value is for coordinates of the top left point of it.
1579
1580 **(4) Size**
1581
1582 It is for setting the size of sub-screen.
1583
1584 **Result**
1585
1586 When configuration is completed as below, sub screen will be displayed as picture show.
1587
1588 1. Display static sub-screen.
1589 1. Use HDX0.0 to control display or hide.
1590
1591 (% style="text-align:center" %)
1592 [[image:6.Objects_html_6350c158e88cd0dd.gif||class="img-thumbnail"]]
1593
1594 == **QR Code** ==
1595
1596 **Introduction**
1597
1598 It is similar to the universal QR code. You could scan this object to get the connection or content, but it provides content settings for QR code.
1599
1600 **Description**
1601
1602
1603 (% style="text-align:center" %)
1604 [[image:6.Objects_html_4cf155075ac97d16.gif||class="img-thumbnail"]]
1605
1606 **(1) QR Set**
1607
1608 1. **Variable QR:** It is for setting read address, the content of QR code is from this setting address.
1609 1. **QR String: **It is for set static content for QR code.
1610
1611 **✎Note:**
1612
1613 * HMI machine ID address: HSW10494 ~~ HSW10558.
1614 * So if user want to use QR code to display machine ID in project screen, please check "Variable QR", and set address is HSW10494.
1615 * When scanning the QR code by APP to monitor HMI, the default access password is 888888.
1616
1617 == **Picture** ==
1618
1619 Picture object is for displaying picture in HMI screen. After the picture is imported, the software will automatically convert the color depth of the picture to the picture matching the HMI.
1620
1621 **Description**
1622
1623 (% style="text-align:center" %)
1624 [[image:6.Objects_html_f11b82f18617ca5d.gif||class="img-thumbnail"]]
1625
1626 **(1) Shape**
1627
1628 1. **Shape: **Click shape to open the Shape Library for shape selection.
1629 1. **Default shape: **Every object has its own default shape, click it will back to default.
1630 1. **Discard:** Click it, object will display without shape.
1631
1632 **(2) Set Color**
1633
1634 This is for set object color basic on shape, not all shape supports change color.
1635
1636 **(3) Picture display function**
1637
1638 This is advanced function of picture object; user can change display picture when HMI is running. The supported formats are bmp, jpg, png, jpeg. This feature is unavailable for offline and online simulation.
1639
1640 1. **Root: **Set the save location of the picture,which can be set to U disk,SD card,but could not be set to Flash.
1641 1. **Folder: **Set the name of the folder where the picture is located.The folder name can be up to 31 characters.
1642 1. **File address: **16 consecutive addressesenter a picture name in the address (need to be the full name of the suffix), if the picture exists, the picture content is displayed; otherwise the default picture is displayed.
1643
1644 ✎**Note:** 
1645
1646 1. The image could be displayed in BMP, JPG, PNG, and JPEG formats. Images with a resolution of 1920 x 1080 or higher are not supported.
1647 1. For the setting of [[animations>>url:http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HAmination]], see the "[[Bit Switch>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
1648
1649 == **Rotation picture** ==
1650
1651 Rotation picture can rotate the image at a specified center or rotate it in a certain way. It is determined by the property settings.
1652
1653 **Description**
1654
1655 (% style="text-align:center" %)
1656 [[image:6.Objects_html_e43758e6e4e3e685.gif||class="img-thumbnail"]]
1657
1658 **1) Counter-Clockwise**
1659
1660 It sets the rotation direction of the picture. The default is to rotate clockwise. When checked, the rotation direction is counterclockwise.
1661
1662 **2) Appearance**
1663
1664 It sets picture for object, the picture is selected from Shape.
1665
1666 **3) Data format**
1667
1668 * **Data format: **It sets data format for [Address]->[Rotation angle].
1669 * **Min. angle:** It sets the starting angle of rotation (Valid in auto-rotation mode).
1670 * **Max. angle:** It sets the ending angle of rotation (Valid in auto-rotation mode).
1671
1672 **4) Address**
1673
1674 **Rotation angle:**the rotating angle is determined by designated address; this mode and auto-rotation mode could not be used at the same time.
1675
1676 **5) Rotation center**
1677
1678 It shows the rotation center coordinates;
1679
1680 **6) Auto-rotation**
1681
1682 * **Cycle time: **Object will rotate every cycle time. Unit:100 ms.
1683 * **Rotation angle:** Object rotates designated angle everytime.
1684 * **Return:** Object will be reset to original position after maximum angle reached.
1685
1686 == **Drop-Down List** ==
1687
1688 Drop-Down list is designed for display the designated state by text, to select the text in the list, the corresponding state will change, and the write address will change to the designated state value.
1689
1690 The drop-down list could write word address, and the value range is 0 to 31. The corresponding value can be displayed by text in the object. Click the drop-down box on the right of the object to list all the status text, and the drop-down box will be automatically withdrawn after setting.
1691
1692 **(1) General**
1693
1694 (% style="text-align:center" %)
1695 [[image:6.Objects_html_1f4c0383a61f9502.gif||class="img-thumbnail"]]
1696
1697 **1) Edit**
1698
1699 1. **Read Address:** The data from designated address will be displayed.
1700 1. **Same read-write address:** Configure "Write Address" is the same as "Read Address".
1701 1. **Write Address: **Write data to designated address. The address can be different "Read Address".
1702
1703 **2) Format**
1704
1705 Set data format for object, it provides 16-bit unsigned decimal,16-bit BCD, 16-bit unsigned decimal, 32-bit BCD, 32-bit unsigned decimal and 32-bit unsigned decimal.
1706
1707 **3) State count**
1708
1709 It could set the total number to display in the drop-list and supports up to 128 states (1 to 128). The default value of state is corresponding to the number of states. (State 1 corresponding to value 1). You can also click "state values" to set it according to your needs.
1710
1711 **State value: **You can set different values to correspond to different states, the setting window as below figure shows.
1712
1713 (% style="text-align:center" %)
1714 [[image:6.Objects_html_da9a6696f320b427.gif||class="img-thumbnail"]]
1715
1716 **For example**
1717
1718 By default, when value of read address is 0, object displays state 0.
1719
1720 If change settings as below figure shows.
1721
1722 When value of read address is 11, object displays state 1.
1723
1724 **4) Advance**
1725
1726 It provides two types for this object.
1727
1728 1. **Normal Type:** It makes object as normal drop-down list object.
1729 1. **User name:** it is for user login permissions. User name and group name in user permissions are mainly displayed.
1730
1731 **(2) Text settings**
1732
1733 Every state requires text, the settings as below description, the normal settings please refer to [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)__common setting section__>>path:#_Common_Settings]](%%). This section will show special settings for it.
1734
1735 (% style="text-align:center" %)
1736 [[image:6.Objects_html_f35e2c650b2a4b90.gif||class="img-thumbnail"]]
1737
1738 (% style="text-align:center" %)
1739 [[image:6.Objects_html_192dddeede2c5d56.gif||class="img-thumbnail"]]
1740
1741 **1) Centre**
1742
1743 Check it to make the text centered;
1744
1745 **2) Enable states text control**
1746
1747 You can dynamically modify the text content in different states. When this feature is enabled, the text for each state set in the normal mode is invalid.
1748
1749 1. **Current state: **It is for setting state number for modification. For example, if the value is 3, it means that the text information in state 3 will be modified.
1750 1. **Text address: **This address is used for the operation of the text component and is used to input the content displayed in the state. The length of the text is the number of text characters that can be entered, ranging from 1-127 characters.
1751 1. **Trigger set text: **This address is used for savingmodification.
1752
1753 **3) Read state text from address**
1754
1755 1. **Text start address: **the first address of occupied multiple consecutive addresses. Address length: [Text length/2] *[state number +1].
1756
1757 * For example: 10 states, the address length= (10/2) *(10+1) =55. It set HDW100 as start address, so the HDW100-HDW104 stores the currently selected text content, the HDW105-HDW109 displays the text in the first state, the HDW110-HDW114 displays the second, and so on.
1758
1759 (% start="2" %)
1760 1. **Refresh:**The drop-down list status value is updated according to the text address content.The drop-down list is not updated immediately, when the data in the text address change is completed, only the refresh is triggered, it will update.
1761
1762 == **Camera display** ==
1763
1764 Video display is advanced function in PI HMI, this object displays the camera screen in HMI, there are two modes, one is IP camera, and the other is USB camera. But IP camera requires settings in [Project settings], the detailed information, please refer to ~[[[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)__Camera__>>path:#_Camera]](%%)].
1765
1766 **✎Note:**
1767
1768 This function requires special HMI model, the detailed information, please contact sales.
1769
1770 === **IP Camera** ===
1771
1772 (% style="text-align:center" %)
1773 [[image:6.Objects_html_2bc22bd50bf65eb.gif||class="img-thumbnail"]]
1774
1775 **(1) Mode select**
1776
1777 It is used for selecting modes; each mode uses different settings.
1778
1779 **(2) Use dynamic control instruction**
1780
1781 Read a string from designated system address, and then combine the instruction to control the camera image.
1782
1783 When the dynamic control command is disabled, the complete camera control command need to be entered in order to display the camera contents.
1784
1785 **(3) Camera control instruction**
1786
1787 This is for entering static instruction for camera, so that users can operation camera when HMI running;
1788
1789 **(4) Enable rtsp camera**
1790
1791 This is another way to control camera, check it and set the function address.
1792
1793 === **USB Camera** ===
1794
1795 (% style="text-align:center" %)
1796 [[image:6.Objects_html_6d926ea40f8267c.gif||class="img-thumbnail"]]
1797
1798 **1) Mode select**
1799
1800 It is used for selecting modes; each mode uses different settings;
1801
1802 **2) Camera settings**
1803
1804 **Function address: **It occupies a word for functional operation. Different value means different operations, as below table shows:
1805
1806 (% class="table-bordered" %)
1807 |=(% style="width: 144px;" %)**Value**|=(% style="width: 700px;" %)**Operation**
1808 |(% style="width:144px" %)1|(% style="width:700px" %)Enable the screenshot function
1809 |(% style="width:144px" %)2|(% style="width:700px" %)refresh camera display object
1810
1811 **Camera state: **It shows the current camera states. Itoccupies a word address. Different value means different operations, as below table shows:
1812
1813 (% class="table-bordered" %)
1814 |=**Value**|=**Operation**
1815 |1|Load the camera function successfully
1816 |2|Failed to load the camera function
1817 |3|Camera does not exist
1818 |4|Camera is not running
1819 |5|Initialize the camera successfully
1820 |6|Failed to initialize the camera
1821 |7|Screenshot successfully
1822 |8|Failed to screenshot
1823 |9|Connected camera
1824 |10|Removed camera
1825 |11|The cache is full
1826 |12|The cache is abnormal
1827
1828 **3) Screenshot storage**
1829
1830 The current screenshots are only allowed on the SD card. When the SD card does not exist the system will cache the latest 10 screenshots.
1831
1832 **Picture name: **The name of the image is controlled by the address.The length of the file name is limited to 64 words. If the image name address isnot set, it will be named according to the time and displayed as [YYYYMMDDHHMMSS.bmp] and screenshot format is [.bmp].
1833
1834 **4) Global screenshot**
1835
1836 If this function is enable, camera display objectcan perform the screenshot operation when HMI is running and save it as a .BMP image.
1837
1838 If this function is disabled, camera display object only performs the screenshot operation when it is displayed on screen.
1839
1840 **5) Resolution**
1841
1842 The resolutions of different types of USB cameras are different, and the user can select the corresponding resolution according to the camera. When the user is unsure of the resolution of the camera, start with the smallest resolution until the image is clear.
1843
1844 **6) Use resolution size**
1845
1846 Coordinate displays the object location in the screen, and size is the length and width of the object.
1847
1848 **✎Note:**
1849
1850 1. When using USB camera, HD USB camera is not recommended, which is limited by the resolution displayed by HMI itself.
1851 1. When HMI is displayed horizontally, the USB camera screen displays normally.If select vertical display, USB camera can't display normally. (USB camera can only display normally when the display Angle of HMI is 0.)
1852 1. One HMI is only allowed to connect with one USB camera device. There is only one USB camera display part in the whole project screen, and the camera display part is not allowed to be placed on the public screen (1002: common Windows).
1853 1. Sometimes the USB camera may lose the image because of the influence in the field, then we suggest to PI9000 HMI and the recommended USB camera model.
1854 1. All below USB camera model have been tested by WECON to ensure the compatibility.
1855 1. (((
1856 Currently, only PI8000 and PI9000 series support the USB camera function. Recommended USB cameras include:
1857 )))
1858
1859 * REB-USB 100W07M (supports 720p)
1860 * WX152HD (supports 720p)
1861 * RMONCAM G200 (supports 720p)
1862 * ASHU S300 (640*480)
1863
1864 == **Camera Control** ==
1865
1866 **Introduction**
1867
1868 This is for control camera; this object need to be used with camera display object.
1869
1870 **Description**
1871
1872 (% style="text-align:center" %)
1873 [[image:6.Objects_html_92cebe892be1631e.gif||class="img-thumbnail"]]
1874
1875 **1) Use dynamic control instruction**
1876
1877 Read a string from designated system address, and then combine the instruction to control the camera image.
1878
1879 When the dynamic control command is disabled, the complete camera control command be entered in order to display the camera contents.
1880
1881 **2) Camera control instruction**
1882
1883 This is for enter static instruction for camera, so that users can operation camera when HMI running;
1884
1885 **3) Control bit**
1886
1887 Trigger the switch to control the instruction.
1888
1889 **4) Enable beep**
1890
1891 The object will beep when operate.
1892
1893 == **Flow component** ==
1894
1895 The flow components are mainly used to reflect the flow state in process flow production. You could set the style of flow components according to requirements.
1896
1897 **Description**
1898
1899
1900 (% style="text-align:center" %)
1901 [[image:6.Objects_html_d5859e3da0f0d96e.gif||class="img-thumbnail"]]
1902
1903 **(1) Color**
1904
1905 1. **FlowFrn: **It sets outer border color of flow component.
1906 1. **Block: **It sets the block color of flow component.
1907 1. **FlowBg:** It sets background color of flow component.
1908
1909 **(2) Detail**
1910
1911 1. **Pipe width:** It sets background width of flow component.
1912 1. **Block width:** It sets block width of flow component.
1913 1. **PipeFrn width: **It sets outer border width of flow component.
1914 1. **Block length: **It sets block length of flow component.
1915 1. **Transparence:** It sets transparence of flow component.(from opaque (0) to full transparence (100)). You could cooperate with transparence and other settings to meet display requirements.
1916 1. **Ratio:** It sets display ratio of block and background (Display density of the block in flow component).
1917 1. **Speed:** It setsflow speed of the block during HMI running.
1918
1919 **(3) Control**
1920
1921 **It flows automatically by default, and the direction is from left to right, up to down.**
1922
1923 1. **Reverse:** It sets flow in reverse (default is left to right).
1924 1. **Variable:** It sets bit address to control reverse flow or not.
1925
1926 * **Set OFF: **Forward
1927 * **Set ON: **Reverse
1928
1929 (% start="3" %)
1930 1. **Address: **It sets bit address to control flow or not.
1931
1932 * **Set OFF:** Stop
1933 * **Set ON: **Flowing
1934
1935 **(4) Preview**
1936
1937 It is for preview object.
1938
1939 == **Printer** ==
1940
1941 The printing object is primarily suitable for print out or screenshots saving when connected to micro printer.
1942
1943 Printer has two types: **serial printer and USB printer**. Printf (printext function) should be called when it's used to print fixed message in a script.
1944
1945 **Printer protocol**
1946
1947 HMI provides printer protocol to users as below. If users want to connect printer to HMI, protocol is necessary.
1948
1949 (% style="text-align:center" %)
1950 [[image:6.Objects_html_c453720e1c20151f.gif||class="img-thumbnail"]]
1951
1952 (% style="text-align:center" %)
1953 [[image:6.Objects_html_7c8cf5dd7d245017.gif||class="img-thumbnail"]]
1954
1955 **Description**
1956
1957 (% style="text-align:center" %)
1958 [[image:6.Objects_html_3b114c6a3e49fb0a.gif||class="img-thumbnail"]]
1959
1960 **(1) Display settings**
1961
1962 1. **Direction: **Four direction choices in printing: 0, 90, 180, and 270.
1963 1. **Zoom in: **Check "Zoom in" to zoom printing content in proportion with paper size.
1964
1965 **(2) Trigger mode**
1966
1967 1. **Trigger address: **When trigger address turns ON.Printer starts to respond operation.
1968 1. **Printer\ Save:** It sets operation for this object, printer object could support sending printing command to printer device, and including screenshot.
1969
1970 **(3) Save path**
1971
1972 Valid when the save mode is selected, screenshot the content in printing object area and the save it in specified storage and folder, when trigger address turns ON.
1973
1974 Folder: It's availible to select SD card or USB disk. Set the file name to "Abc" in folder, and it would automatically generate a folder "Abc" when you save picture first time, and all the pictures will save in this folder. The folder name consists of mixed uppercase and lowercase letters and numbers within 32 characters.
1975
1976 **Related issues**
1977
1978 1. The printer supports the following models:
1979
1980 * **Serial port printer: **WH-E22、WH-A6, WH-A7, WH-A9, WH-E21, WH-AA, E222R90-0DE1182TGA, SP-RMD6A, SP-RMD6B, SP-RMD8A, SP-RMD8B, SP-RMD8C, SP-DVII, SP-RME4.
1981 * **USB printer: **SP-EU80, SP-EU80N, SP-EU801SU-USB, SP-RME3UHB, SP-RME4, SP-RMD8CUH-USB.
1982
1983 (% start="2" %)
1984 1. How to use USB printer and USB disk at the same time?
1985
1986 * Plug the USB interface in the HMI into the Hub to expand the USB interface.
1987
1988 = **Draw** =
1989
1990 It provides function of drawing graphics, setting text, displaying pictures, this part contains Text, Line, Polygon, Cycle, Arc, Rectangle, Broken Line, Linear Scale, Arc scale, Table.
1991
1992 (% style="text-align:center" %)
1993 [[image:6.Objects_html_dd833ab994009b36.gif||class="img-thumbnail"]]
1994
1995 == **Date** ==
1996
1997 Date object displays local system date on the HMI screen.
1998
1999 (% style="text-align:center" %)
2000 [[image:6.Objects_html_2f5f5e3da13b2d1b.gif||class="img-thumbnail"]]
2001
2002 **(1) Display**
2003
2004 1. **Open:** It locals to [Shape] to select object background picture.
2005 1. **Default: **Click it to reset object background.
2006 1. **No Shape: **It sets transparent background for this object.
2007 1. **Font:** It locals to [Font library] to select font for text in object.
2008
2009 **(2) Text color**
2010
2011 It sets color for text in object.
2012
2013 **(3) Color**
2014
2015 Valid when select SVG picture from [Shape], user can modify SVG color according to requirements.
2016
2017 **(4) Data format**
2018
2019 It sets object display date or week, and format, detailed please refer to below table.
2020
2021 (% class="table-bordered" %)
2022 |**Classification**|**Properties**|**Display style**
2023 |(% rowspan="2" %)Format|Show date|(((
2024 YYYY/MM/DD: year/month/day
2025
2026 MM/DD/YYYY: month/day/year
2027
2028 DD/MM/YYYY: day/month/year
2029 )))
2030 |Show week|(((
2031 Chinese 1
2032
2033 English 1
2034
2035 Chinese 2
2036
2037 English 2
2038 )))
2039
2040 (% class="wikigeneratedid" %)
2041 ✎**Note:** For [[animations>>url:http://docs.we-con.com.cn/wiki/pistudio/view/Helps/06.Objects/#HAmination]], see the "[[Bit Switch>>url:http://docs.we-con.com.cn/wiki/pistudio/get/Helps/06.Objects/?sheet=CKEditor.ResourceDispatcher&outputSyntax=plain&language=en&type=doc&reference=http%3A%2F%2Fdocs.we-con.com.cn%2Fwiki%2Fpistudio%2Fedit%2FHelps%2F06.Objects%2FWebHome%3Fsection%3D2]]".
2042
2043 == **Time** ==
2044
2045 Date object displays local system time on the HMI screen
2046
2047 (% style="text-align:center" %)
2048 [[image:6.Objects_html_b816c29f98f67eb9.gif||class="img-thumbnail"]]
2049
2050 **(1) Display**
2051
2052 1. **Open:** It locals to [Shape] to select object background picture.
2053 1. **Default: **Click it to reset object background.
2054 1. **No Shape: **It sets transparent background for this object.
2055 1. **Font:** It locals to [Font library] to select font for text in object.
2056
2057 **(2) Text color**
2058
2059 It sets color for text in object;
2060
2061 **(3) Color**
2062
2063 Valid when select SVG picture from [Shape], user can modify SVG color according to requirements;
2064
2065 == **Text** ==
2066
2067 It adds text to HMI screen, and a object can be displayed in 8 languages (set in "All Languages") with a special address setting.
2068
2069 **Description**
2070
2071 (% style="text-align:center" %)
2072 [[image:6.Objects_html_3cae6153cc6e4750.gif||class="img-thumbnail"]]
2073
2074 **(1) Current state**
2075
2076 It used to switch the object states, but [Text] object only has one state, so this function is invalid.
2077
2078 **(2) All language**
2079
2080 Because in PI HMI, all object can support text in 8 languages, so click it to open the 8 language edit window as below shows. And each language can set different font.
2081
2082 (% style="text-align:center" %)
2083 [[image:6.Objects_html_9e5568517d7a5c7c.gif||class="img-thumbnail"]]
2084
2085 **(3) From Text Library**
2086
2087 If user already setting text in "Text library", you could use text from "Text library" directly.
2088
2089 **(4) Windows**
2090
2091 It displays three languages content and provides text display setting access.
2092
2093 **(5) Text color**
2094
2095 It sets color for text in object.
2096
2097 **(6) Text background**
2098
2099 It sets object background and it only supports color.
2100
2101 == **Table** ==
2102
2103 It is displayed in a table format in the HMI screen to meet the display needs of user.
2104
2105 **Description**
2106
2107 (% style="text-align:center" %)
2108 [[image:6.Objects_html_2aad7ef679949d71.gif||class="img-thumbnail"]]
2109
2110 **(1) General**
2111
2112 1. **Rows:** It sets rows for table.
2113 1. **Columns:** It sets columns for table.
2114 1. **Table line width:** It sets table line width, the larger the value, the thicker the line.
2115 1. **Frame line width: **It sets table frame line width, the larger the value, the thicker the line.
2116 1. **Border:** It sets table line color, including table line and frame line.
2117 1. **Transparence: **It sets the transparency of the object background.
2118 1. **Fill style: **There are two options for it, one is display background, and the other is no background.
2119 1. **Background:** Valid when select display background in "Fill style".
2120
2121 **(2) View**
2122
2123 It is for preview object.
2124
2125 == **Line** ==
2126
2127 It is displayed in line format in the HMI screen to meet the display needs of user.
2128
2129 **Description**
2130
2131 (% style="text-align:center" %)
2132 [[image:6.Objects_html_795af47bf0ad8529.gif||class="img-thumbnail"]]
2133
2134 **(1) Display settings**
2135
2136 1. **Line:** It sets line color.
2137 1. **Line type:** It sets line type; it provides 9 types for user.
2138 1. **Transparence: **It sets the transparency of the object background.
2139
2140 **(2) Line width control**
2141
2142 In basic display settings, the line width can't be changed, but you could change width by address.
2143
2144 Read the numerical value of address to control the width of line. Display range of numerical value:1-10.
2145
2146 **(3) Coordinate control**
2147
2148 Dynamically set the position coordinate between two points in line. Set four addressesrespectively corresponding to the starting point and end point coordinate. If the numerical value of coordinate is over interface, the object will not be displayed.
2149
2150 **(4) Color control**
2151
2152 Dynamically set the color of the line. The values of the color RGB are controlled by three addresses, and the value range from 0 to 255.
2153
2154 **(5) View**
2155
2156 It is for preview object.
2157
2158 == **Polygon** ==
2159
2160 It is displayed in polygon format in the HMI screen to meet the display needs of user.
2161
2162 Right click to close polygon and then complete the creation procedure. Select the polygon, then click its point position to change its vertex coordinate after it is created.
2163
2164 **Description**
2165
2166 (% style="text-align:center" %)
2167 [[image:6.Objects_html_9f46a2daf3b48e68.gif||class="img-thumbnail"]]
2168
2169 **(1) Display settings**
2170
2171 1. **Border color: **It sets border line color.
2172 1. **Border type:** It sets border line type.
2173 1. **Border width: **It sets border line width.
2174 1. **Transparence: **It sets the transparency of the object background.
2175 1. **Coordinate editing:** It changes coordinate for all points in this object, as below shows.
2176
2177 (% style="text-align:center" %)
2178 [[image:6.Objects_html_52dee5d0cb5df996.gif||class="img-thumbnail"]]
2179
2180 (% start="6" %)
2181 1. **Filling pattern:** It can't be modified now.
2182 1. **Background:** It sets background color of object.
2183
2184 **(2) Transparence control**
2185
2186 Read the numerical value of address, control the transparency; value range: 0 to 100.
2187
2188 **(3) Color control**
2189
2190 Dynamically set the color of background. The values of the color RGB are controlled by three addresses, and the value range from 0 to 255.
2191
2192 **(4) View**
2193
2194 It is for preview object.
2195
2196 == **Cycle/ Ellipse** ==
2197
2198 It is displayed as cycle in HMI screen to meet the display needs of user.
2199
2200 **Description**
2201
2202 (% style="text-align:center" %)
2203 [[image:6.Objects_html_1851aaa90af6ee72.gif||class="img-thumbnail"]]
2204
2205 **1) Display settings**
2206
2207 1. **Border:** It sets border line color.
2208 1. **Frame width: **It sets border line type.
2209 1. **Frame type: **It sets border line width
2210 1. **Pattern: **It sets background type, there are four types.
2211 1. **Background: **It sets background color of object, invalid when select [No fill] in [Pattern]
2212 1. **Transparence:** It sets the transparency of the object background.
2213
2214 **2) Transparence control**
2215
2216 Read the numerical value of address, control the transparency; value range: 0 to 100.
2217
2218 **3) Cycle**
2219
2220 Check if for circle; uncheck it for ellipse.
2221
2222 **4) Color control**
2223
2224 Dynamically set the color of background. The values of the color RGB are controlled by three addresses, and the value range from 0 to 255.
2225
2226 **5) Move Control**
2227
2228 Dynamically set the position coordinate and size of circle/ellipse when HMI is running.
2229
2230 1. **X axis: **The length value moved along the X axis comes from the set address.
2231 1. **Y axis: **The length value moved along the Y axis comes from the set address.
2232 1. **Radius address: **The radius length of the circle/ellipse from the set address.
2233
2234 == **Arc** ==
2235
2236 The software uses arc drawing to specify the starting point and ending point, using a counterclockwise drawing method. The contour, start and end points of the arc can be modified on the screen. If the user wants to change the start and end points of the arc on the screen, the arc should be selected firstly.
2237
2238 **Description**
2239
2240 **(1) View**
2241
2242 It is for preview object.
2243
2244 **2) Display settings**
2245
2246
2247 (% style="text-align:center" %)
2248 [[image:6.Objects_html_4729b28f315a5a9b.gif||class="img-thumbnail"]]
2249
2250 1. **Border:** It sets border line color.
2251 1. **Line type: **It sets border line width.
2252 1. **Line width: **It sets border line type.
2253 1. **Fill style: **It sets background type, there are four types.
2254 1. **Transparence:** It sets the transparency of the object background.
2255 1. **Background: **It sets background color of object, invalid when select [No fill] in [Pattern].
2256
2257 **(3) Only show arc**
2258
2259 Check it for displaying arc; Uncheck it for displaying sector;
2260
2261 **(4) Transparence control**
2262
2263 Read the numerical value of address, control the transparency; value range:0-100.
2264
2265 **(5) Color control**
2266
2267 Dynamically set the color of background. The values of the color RGB are controlled by three addresses, and the value range from 0 to 255.
2268
2269 **(6) Angle control**
2270
2271 Dynamically set the shape of the arc, start angle and end angle are controlled separately by setting address.
2272
2273 **(7) Angle**
2274
2275 It displays and sets the starting and ending angles of the arc.
2276
2277 == **Broken Line** ==
2278
2279 The line segments are linked end-to-end to form a broken line, whose vertex coordinate can be modified by drafting, just like polygon.
2280
2281 **Description**
2282
2283 (% style="text-align:center" %)
2284 [[image:6.Objects_html_c3b0de1d4c2fe745.gif||class="img-thumbnail"]]
2285
2286 **(1) Display settings**
2287
2288 1. **Line color: **It sets line color.
2289 1. **Line type:** It sets line type.
2290 1. **Line width: **It sets line width.
2291 1. **Transparence: **It sets the transparency of the object line.
2292 1. **Coordinate editing:** It changes coordinate for all points in this object, as below shows.
2293
2294 (% style="text-align:center" %)
2295 [[image:6.Objects_html_52dee5d0cb5df996.gif||class="img-thumbnail"]]
2296
2297 **(2) Transparence control**
2298
2299 Read the numerical value of address, control the transparency; value range:0-100.
2300
2301 **(3) Line width control**
2302
2303 In basic display settings, the line width can't be changed, but user can change width by address.
2304
2305 Read the numerical value of address to control the width of line.Display range of numerical value:1-10.
2306
2307 **(4) View**
2308
2309 It is for preview object;
2310
2311 == **Linear Scale** ==
2312
2313 The linear scale is a linear scale that draws the specified area with a bisector. The specific scale of the scale can be marked with static text.
2314
2315 **Description**
2316
2317 (% style="text-align:center" %)
2318 [[image:6.Objects_html_b604bd83c8b8b6d1.gif||class="img-thumbnail"]]
2319
2320 **(1) Display settings**
2321
2322 1. **Line color:** It sets all line in object (including main and sub scale).
2323 1. **Display direction: **It provides four modes for display.
2324 1. **Main scale:**It sets the cell of the main scale.
2325 1. **Sub scale:** It sets the cell of sub scale for every main scale.
2326
2327 **(2) View**
2328
2329 It is for preview object;
2330
2331 == **Arc Scale** ==
2332
2333 It displays the scale within the specified arc area. The arc scale needs to specify a center coordinate. The inner and outer circles have two concentric circles that specify the scale length and the display area. The scale is distributed counterclockwise between the start angle and the end angle.
2334
2335 **Description**
2336
2337 (% style="text-align:center" %)
2338 [[image:6.Objects_html_bd7f21c4d48f4d8a.gif||class="img-thumbnail"]]
2339
2340 **Line color: **It sets all line in object (including main and sub scale).
2341
2342 **Display direction: **It provides four modes for display.
2343
2344 **Main scale: **It sets the cell of the main scale.
2345
2346 **External radius:** It sets the distance from the center of the circle to the outer circle of object.
2347
2348 **Inner radius: **It sets the distance from the center of the circle to the inner circle of object.
2349
2350 **Start angle: **It displays and sets the start angles of the arc.
2351
2352 **End angle: **It displays and sets the end angles of the arc.
2353
2354 = **Custom object** =
2355
2356 (% style="text-align:center" %)
2357 [[image:6.Objects_html_b1535eb250d177d6.gif||class="img-thumbnail"]]
2358
2359 == **Customized Object** ==
2360
2361 Customized object is provided for users to design the universal interface of object freely to meet customization requirements.
2362
2363 **Description**
2364
2365 (% style="text-align:center" %)
2366 [[image:6.Objects_html_c8146ad79a9ce732.gif||class="img-thumbnail"]]
2367
2368 1. **Function Address:** the numerical value in this address is used as the function code of object to handle the corresponding operation.
2369 1. **DLL file name: **Select needed dll file (i.e. dll files provided by users)
2370 1. **Custom address:** users can add some function address to cooperate with dll file to complete other operations
2371
2372 **✎Note:**
2373
2374 This is a custom-made object that requires the cooperation of WECON software engineers.
2375
2376 Required documents: two XXXXXX.dll files and an document.
2377
2378 * One dll file is used in PC and should be put under the dll_pc folder in the software installation directory.
2379 * One dll file is used in HMI and should be put under the dll_hmi folder in the software installation directory.
2380 * A document for illustrating the dll files.