Wiki source code of 05 Objects

Version 31.1 by Hunter on 2023/01/09 15:56

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 **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 **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 **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 **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 **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 **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 **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 **All states: **Edit the texts of all the states of the object in a time.
68
69 **Font: **Set the font of the text after selecting the state. The number of the characters input is displayed.
70
71 **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.
72
73 **Copy text: **Click it and the texts of all the objects would be the same.
74
75 **Copy style: **Click it and the styles of all the objects would be the same.
76
77 === Graphic ===
78
79 (% style="text-align:center" %)
80 [[image:位开关 3.png||class="img-thumbnail"]]
81
82 **Bitmap:** You could design beautiful scenes with bitmap. Static diagram and bitmap with states are supported.
83
84 **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.
85
86 === Security ===
87
88 (% style="text-align:center" %)
89 [[image:位开关 4.png||class="img-thumbnail"]]
90
91 **Object lock**
92
93 * **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.
94 * **Hide "lock" icon: **If don't want to display the icon, you may check it. will be "no show" lock "icon" tick.
95 * **Lock when "ON":** check it and the bit address will be locked when the interlock address is set to 1.
96
97 **Touch available: **If you check it, you could oeprate the object when you touch it.
98
99 **Enable beep: **If you check it, the object will beep when you touch it.
100
101 **Extended trigger funtions. **It is only valid for PLC address.
102
103 (% style="text-align:center" %)
104 [[image:位开关 6.png||class="img-thumbnail"]]
105
106 **Access denied setting**
107
108 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.
109
110 * **Pop login screen**
111 ** Every time: Userlogin screen will pop-up when user permissions are insufficient;
112 ** When change user: Userlogin screen will pop-up when user permissions, and if users logged in successfully, the previous users will log out.
113 ** 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.
114 * **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.
115
116 === Animation ===
117
118 (% style="text-align:center" %)
119 [[image:位开关 5.png||class="img-thumbnail"]]
120
121 **Data format**
122
123 This format is for settings address, and it is fixed for all objects.
124
125 **Proportion:**
126
127 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.
128
129 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.
130
131 For example: 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).
132
133 **(Movement**
134
135 The function of [Movement] is to move the position of object on the screen according to the value of address and movement type.
136
137 There are three movement type:
138
139 * X-axis movement.
140 * Y-axis movement.
141 * XY-axis movement.
142
143 **For ex**a**mple**
144
145 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.
146
147 **Deform**
148
149 Deform object display size on screen, mainly depends on width and height.
150
151 Deform type: left, right, up, down, left and right, up and down, right/left and up/down, right/left or up/down.
152
153 === Address editor ===
154
155 The address editor is a tool used to assist in generating address strings. The address of object is composed of connection, device station number,  device type and address number.
156
157 (% style="text-align:center" %)
158 [[image:地址编辑器.png||class="img-thumbnail"]]
159
160 (% class="table-bordered" %)
161 |=(% style="width: 207px;" %)Name|=(% style="width: 868px;" %)Description
162 |(% style="width:207px" %)PLC address/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".
163 |(% style="width:207px" %)User input|(% style="width:868px" %)The address is not from address library, but a string.
164 |(% 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.
165 |(% 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.
166 |(% style="width:207px" %)Connection|(% style="width:868px" %)PLC that already exists in the project.
167 |(% style="width:207px" %)Address type|(% style="width:868px" %)The address type or internal register type included in the PLC selected by the project.
168 |(% style="width:207px" %)Address NO.|(% style="width:868px" %)To input address NO.
169 |(% style="width:207px" %)A to F and 0 to 9|(% style="width:868px" %)To input address NO. through mouse.
170 |(% style="width:207px" %)Clear|(% style="width:868px" %)Clear the content of edit box of address.
171 |(% style="width:207px" %)**←**|(% style="width:868px" %)Backspace. To delete the last character of the edit box.
172 |(% style="width:207px" %)Close|(% style="width:868px" %)Close address editor
173 |(% style="width:207px" %)OK|(% style="width:868px" %)(((
174 Close the editor and save the editing results.
175
176 * If selecting "From address Library", the result would be saved in the address library
177 * If selecting "User input", the result would be saved in the property of the object
178 )))
179
180 == Bit lamp ==
181
182 "Bit Lamp" could monitor and display the specified PLC or HMI bit address, and its state changes according to the specified address value.
183
184 **Description**
185
186 (% style="text-align:center" %)
187 [[image:6.Objects_html_273aed06eb8f10f9.gif||class="img-thumbnail"]]
188
189 **Address**: It is for setting specified PLC or HMI bit address。
190
191 **Hide**
192
193 * **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.
194 * **Blinking: **Blinking while control bit is triggered, the frequency is editable;
195 ** Blink when ON: blink when control bit is ON.
196 ** Blink when OFF: blink when control bit is OFF.
197 * **Hide: **Display or hide object by "Control Bit" state.
198 * **Control bit: **For hide control.
199 ** **Hide mode: **hide when OFF; hide when ON;it could not operate if [Invisible] is checked.
200 ** **Invisible:** object keeps hidden during project running.
201
202 (% class="box infomessage" %)
203 (((
204 ✎**Note:** For [[text>>https://docs.we-con.com.cn/bin/view/PIStudio/7.Library/#HText]]/[[graphics>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HGraphic]]/[[animations>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HAnimation]], see the "[[Bit Switch>>path:https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
205 )))
206
207 == **Word switch** ==
208
209 "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.
210
211 **Description**
212
213 (% style="text-align:center" %)
214 [[image:6.Objects_html_38205e64b9d02546.gif||class="img-thumbnail"]]
215
216 **Edit**
217
218 * **Read address: **Read value from specified address.
219 * **Write address: **Write value to specified address.
220
221 Read and write address could be the same;
222
223 **Data format**
224
225 * **Format**: It is for setting operating data format; it could support seven modes.
226
227 **Mode**. It is for setting operating mode for value, it could support 3 modes.
228
229 * **Set value: **Set a constant value for the word address.
230 * **Increase: **Increase the [operand] value for each time the switch is triggered.
231 * **Decrease:** Decrease the [operand] value for each time the switch is triggered.
232 * **High/Low limit:** The value will not increase/decrease when the value reaches limits.
233
234 (% class="box infomessage" %)
235 (((
236 ✎**Note:**
237
238 * When 32-bit floating (7 digits) is selected, the operating length is double words.
239 * For [[text>>https://docs.we-con.com.cn/bin/view/PIStudio/7.Library/#HText]]/[[graphics>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HGraphic]]/[[security>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HSecurity]]/[[animations>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HAnimation]], see the "[[Bit Switch>>path:https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
240 )))
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 (% style="text-align:center" %)
249 [[image:6.Objects_html_975dc10baad35155.gif||class="img-thumbnail"]]
250
251 **Address**
252
253 * **Read address:** read the value from specified address.
254
255 **States settings**
256
257 * **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.
258 * **State value: **Users could set different values to correspond to different states, the setting window as below figure shows.
259
260 **For example**
261
262 By default, when value of read address is 0, object displays state 0.
263
264 If change settings as below figure shows
265
266 When value of read address is 11, object displays state 1.
267
268 (% style="text-align:center" %)
269 [[image:6.Objects_html_da9a6696f320b427.gif||class="img-thumbnail"]]
270
271 **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"
272
273 **Hide: **When the value of the read address exceeds the set range value, the word state display object will be blank.
274
275 **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.
276
277 **Transform state**
278
279 * **Quick Read: **Directly read the value of the connected device without going through the HMI cache
280 * **Auto transforms:** Object switch states automatically
281
282 (% style="text-align:center" %)
283 [[image:6.Objects_html_b643c9a6a4bd6919.gif||class="img-thumbnail"]]
284
285 **Trigger:**Control bit to enable switch automatically
286
287 * **Auto return:** return to the initial state after reaching the final state;
288 * **Time of transform:** it is used for setting the frequency in automatic switching state. Unit: 100ms.
289 * **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.
290
291 **Manual**
292
293 (% style="text-align:center" %)
294 [[image:6.Objects_html_a8b6636bd862369c.gif||class="img-thumbnail"]]
295
296 * **Set state: **Set a constant value for the word address.
297 * **State increase: **Increase state for each time the switch is triggered.
298 * **State decrease:** Decrease state for each time the switch is triggered.
299 * **Last state:** The state will not increase/decrease when reaches limits.
300
301 (% class="box infomessage" %)
302 (((
303 ✎**Note:** For [[text>>https://docs.we-con.com.cn/bin/view/PIStudio/7.Library/#HText]]/[[graphics>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HGraphic]]/[[security>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HSecurity]]/[[animations>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HAnimation]], see the "[[Bit Switch>>path:https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
304 )))
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 (% class="box infomessage" %)
320 (((
321 ✎**Note:** For [[text>>https://docs.we-con.com.cn/bin/view/PIStudio/7.Library/#HText]]/[[graphics>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HGraphic]], see the "[[Bit Switch>>path:https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
322 )))
323
324 == Function switch ==
325
326 Function switch is designed to switch screens, and call and close sub screen, and transfer data record files.
327
328 **Description**
329
330 (% style="text-align:center" %)
331 [[image:6.Objects_html_31c4ad387507a16d.gif||class="img-thumbnail"]]
332
333 **Operation**
334
335 * **Screen No: **Switch to the selected screen, it could not be subscreen;
336 * **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;
337
338 (% style="text-align:center" %)
339 [[image:6.Objects_html_8b9a9cc4cb589d5b.gif||class="img-thumbnail"]]
340
341 * **Previous: **Switch to the previous screen in the screen list;
342 * **Next:** Switch to the next screen in the screen list;
343 * **Go back: **Switch to the previous operating screen;
344 * **Close sub screen:** Close current sub screen;
345 * **Instalment screen:** Pop-up instalment setting screen, only valid when the instalment is enabled;
346 * **Flash data to Udisk: **Copy data file from HMI Flash to Udisk, alarm, data record and recipe files could be copied;
347
348 (% style="text-align:center" %)
349 [[image:6.Objects_html_23b1992891d2600e.gif||class="img-thumbnail"]]
350
351 * **SD data to Udisk:** Copy data file from SD card to Udisk, alarm and data record files could be copied;
352
353 (% style="text-align:center" %)
354 [[image:6.Objects_html_5a7c3fb03e5ffa88.gif||class="img-thumbnail"]]
355
356 * **File cache:** Copy the source path file or folder to the specified directory of the destination path;
357
358 (% style="text-align:center" %)
359 [[image:6.Objects_html_a68f2b0b1bf2758c.gif||class="img-thumbnail"]]
360
361 **Using trigger address**. As the figure above,when 00 is ON,then selected operation of the function switch will be executed.
362
363 **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.
364
365 (% class="box infomessage" %)
366 (((
367 ✎**Note:**
368
369 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.
370 1. If you use SD card which HMI does't support, then you select the SD card as path,an error may occur.
371 1. When users save directory ,source path and destination path should end with [/], such as: [data/].
372
373 * If source path or destination path is empty, there will be an error: [please set source and destination paths].
374 * If source path or destination path contain more than two consecutive [/],there will be an error: [invalid path].
375
376 (% start="4" %)
377 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!"
378 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]]".
379 )))
380
381 == Combination switch ==
382
383 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.
384
385 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.
386
387 (% class="box infomessage" %)
388 (((
389 ✎**Note:** there can only be one screen change function in the added sub-functions, and it is at the end of the list).
390 )))
391
392 **Description**
393
394 (% style="text-align:center" %)
395 [[image:6.Objects_html_9a71b56fbf80e666.gif||class="img-thumbnail"]]
396
397 **Bit operation**
398
399 (% style="text-align:center" %)
400 [[image:6.Objects_html_c750a09f5dbfa752.gif||class="img-thumbnail"]]
401
402 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.
403
404 **Bit address length: **The length of operated addresses;
405
406 Example: "Target bit address" is 00, "Type" is Set ON,the length is 3,when press the button,the 00~~02 will be ON.
407
408 **Word operation**
409
410
411 (% style="text-align:center" %)
412 [[image:6.Objects_html_a156365754b131b1.gif||class="img-thumbnail"]]
413
414 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.
415
416 * If data format is 16-bit signed (unsigned), the operation address is the source address 0~~source address +2048.
417 * If data format is 32-bit signed (unsigned), the operation address is the source address 0~~source address +4096.
418
419 **Word addresses length: **The length of operated addresses.
420
421 * 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.
422
423 **Arithmetic**
424
425 (% style="text-align:center" %)
426 [[image:6.Objects_html_ab29c7e6e94aae46.gif||class="img-thumbnail"]]
427
428 It provides functions such as "Add", "Subtract", "Multiply", "Divide", "Mod' and "Power".
429
430 **Screen change**
431
432 It provides screen switch function as [Function Switch], it supports "Previous", "Next", "Return" and "Change to" operations.
433
434 (% style="text-align:center" %)
435 [[image:6.Objects_html_7c228a61fec158e9.gif||class="img-thumbnail"]]
436
437 **Operation list**
438
439 "Operations list" displays all operations, HMI will execute operations in order, but [screen switch] will be listed as the last execution item directly.
440
441 **Operation button**
442
443 * **Delete: **Delete selected item function;
444 * **Empty: **Delete all items in operation list;
445 * **Up:** Move the selected item up one row in operation list;
446 * **Down: **Move the selected item down one row in operation list;
447
448 **Advanced setting**
449
450 Control the whole combination switch configuration.
451
452 (% style="text-align:center" %)
453 [[image:6.Objects_html_4cfcf7f6876ed91e.gif||class="img-thumbnail"]]
454
455 * **Bit trigger: **it controls sub-function option of combination switch configuration by trigger address is ON.
456 * **Continuous run: **it executes each sub-function according to "Cycle time" and "Run times".
457 * **Cycle time: **Interval between sub-functions execute once with next time.
458 * **Run times: **Configuration sub-function execute times. 0 means unlimited times.
459 * **Break:** Stop executing sub-function when trigger address is ON.
460
461 ✎**Note:**
462
463 * Nested patterns of object cycle and sub-function cycles are as follows.
464 ** The cycle time are independent.
465 ** The object performs one cycle, all the sub-functions would be performed once.
466 ** If the object cycle ends earlier than the sub-function cycle, and the sub-function would completes the remaining number of cycles.
467 ** If the object cycle ends later than the sub-function cycle, and the sub-function cycle would be triggered again.
468 ** If the main cycle is triggered again before it finishes, then the main cycle is executed immediately when clicked and only one more time.
469 * For [[text>>https://docs.we-con.com.cn/bin/view/PIStudio/7.Library/#HText]]/[[graphics>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HGraphic]]/[[security>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HSecurity]]/[[animations>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HAnimation]], see the "[[Bit Switch>>path:https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
470
471 == Slider switch ==
472
473 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.
474
475 (% style="text-align:center" %)
476 [[image:6.Objects_html_cc27b49cc3421a77.gif||class="img-thumbnail"]]
477
478 **Attributes:**
479
480 * **Write address:** The address needs to be written and monitored
481 * **Data format: **Support 16-bit signed / unsigned decimal number, 32-bit signed / unsigned decimal number, floating number is not supported.
482
483 **Scale range:**
484
485 * **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.
486 * **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.
487 * **Display upper/lower limit:** When this function is checked, the upper and lower limit data will be displayed in the slide switch.
488
489 **Function:**
490
491 * **Direction:** The slide switch provides four directions: from top to bottom, bottom to top, left to right, and right to left.
492 * **Min. scale: **The minimum scale unit when the slider is moved. The value is scaled according to the format. (Need to drag to move)
493 * **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)
494 * **Write address: **Display current value: Show the current value of the device address above the slider
495 * **Write immediately : **Write the value of the slide switch during the sliding process to the device address in real time.
496 * **Alarm value:** input the alarm value
497 * **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.
498
499 (% class="box infomessage" %)
500 (((
501 **✎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
502 )))
503
504 (% style="text-align:center" %)
505 [[image:6.Objects_html_65b8338bfb56a238.gif||class="img-thumbnail"]]
506
507 **Slide rail**
508
509 * **Border color: **Tick off to display the border color
510 * **Foreground color: **The color of the slide rail where the slider slides over. If not checked, the color will be displayed transparently
511 * **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.
512 * **Height: **slide rail height
513 * **Shape: **Set the style (right or rounded angle) of the rails
514
515 **Slider**
516
517 * **Color: **Tick off to display the slider color, otherwise it is displayed transparently.
518 * **Shape: **Set the slider style (square or circle).
519 ** When circle is selected, need to set the diameter of the slider.
520 ** When square is selected, need to set the height and width of the slider.
521
522 The width, height and diameter of the slide rail and slider are displayed as a percentage relative to the height of the object.
523
524 * When the slide rail is displayed horizontally
525 ** The height of the slide rail is displayed as a percentage of the height of the object.
526 ** 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.
527 ** 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.
528 * When the rails are displayed vertically
529 ** The height of the slide rail is displayed as a percentage of the width of the part.
530 ** 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.
531 ** 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.
532
533 **Preview**: Display the setting result of slider switch.
534
535 (% class="box infomessage" %)
536 (((
537 ✎**Note:** For [[graphics>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HGraphic]], see the "[[Bit Switch>>path:https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
538 )))
539
540 = **Input/Display** =
541
542 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.
543
544 == Numeric Input/Display ==
545
546 "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.
547
548 (% style="text-align:center" %)
549 [[image:6-1NumericInput.png||class="img-thumbnail"]]
550
551 **General**
552
553 * **Read Address:** The data from designated address will be displayed.
554 * **Input: **Enable input function and "Write Address" configuration.
555 * **Same read-write address:** Configure [Write Address] is the same as "Read Address".
556 * **Write address: **Write data to designated address. The address could be different "Read Address".
557 * **Keypad:** it is standard numeric keypad, allow to input decimal and floating;
558
559 (% class="box infomessage" %)
560 (((
561 **✎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;
562 )))
563
564 * **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;
565 * **NO: **the number of numeric input object;
566 * **Group NO: **the group number of numeric input object;
567
568 **Display**
569
570 (% style="text-align:center" %)
571 [[image:6.Objects_html_a6448568aa9b4008.gif||class="img-thumbnail"]]
572
573 * **Font:** It is located to font list; user could select font directly.
574 * **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.
575 * **Input as "*":** the data shown as "*".
576 * **Alignment:** There are three modes.
577 * **Center:** data display on the center of object.
578 * **Align left: **data display on the left.
579 * **Align right: **data display on the right.
580
581 **Data format**
582
583 (% style="text-align:center" %)
584 [[image:6.Objects_html_52ba758ebcea03f2.gif||class="img-thumbnail"]]
585
586 * **Date: **Select data format, below format could be supported.
587
588 (% style="text-align:center" %)
589 [[image:6.Objects_html_29902078fa1f9af5.gif||class="img-thumbnail"]]
590
591 * **Data format:** Configure data display format.
592 * **Range:** beyond the data range will be not inputted.
593
594 **Keypad position**
595
596 It is used for setting keypad position when input data.
597
598 **Label**
599
600 Configure label shown on the left/ right side of data.
601
602 (% class="box infomessage" %)
603 (((
604 ✎**Note:**
605
606 * The significant digits of a single-precision float are 7 digits.
607 * For [[graphics>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HGraphic]]/[[security>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HSecurity]]/[[animations>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HAnimation]], see the "[[Bit Switch>>path:https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
608 )))
609
610 == Character Input/Display ==
611
612 "Numeric Input/Display" displays the device's character or writes character to the device.
613
614 **Description**
615
616 (% style="text-align:center" %)
617 [[image:6.Objects_html_947ed6af324464.gif||class="img-thumbnail"]]
618
619 **General**
620
621 * **Read Address:** The data from designated address will be displayed.
622 * **Input: **Enable input function and "Write Address" configuration.
623 * **Same read-write address:** Configure "Write Address" is the same as "Read Address".
624 * **Read DWord: **Read address is 2 words format
625 * **Write address: **Write data to designated address. The address could be different "Read Address".
626 * **Keypad:** it is standard numeric keypad, allow to input decimal and floating;
627
628 (% class="box infomessage" %)
629 (((
630 **✎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;
631 )))
632
633 * **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.
634 * **NO: **the number of numeric input object.
635 * **Group NO: **the group number of numeric input object.
636
637 (% class="box infomessage" %)
638 (((
639 **✎Note:** The Continuous Input function will be invalid if the Confirmation function is enabled.
640 )))
641
642 **Display**
643
644 * **Input as "*":** the data shown as "*".
645 * **Alignment:** There are three modes.
646 * **Center:** data display on the center of object.
647 * **Align left: **data display on the left.
648 * **Align right: **data display on the right.
649 * **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.
650 * **Length: **The length for characters, the maximum length is 256.
651 * **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.
652
653 **Keypad position**
654
655 It is used for setting keypad position when input data.
656
657 (% class="box infomessage" %)
658 (((
659 ✎**Note:** For [[graphics>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HGraphic]]/[[security>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HSecurity]]/[[animations>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HAnimation]], see the "[[Bit Switch>>path:https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
660 )))
661
662 = **Chart** =
663
664 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.
665
666 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.
667
668 == Common settings ==
669
670 **Introduction**
671
672 This section will introduce common settings in Chart objects
673
674 **Shape**
675
676 (% style="text-align:center" %)
677 [[image:6.Objects_html_9f4692cce1805843.gif||class="img-thumbnail"]]
678
679 Set appearance of object, includes background color, head color, text color, line color, select row color
680
681 **Advance**
682
683 (% style="text-align:center" %)
684 [[image:6.Objects_html_54a82434205332fb.gif||class="img-thumbnail"]]
685
686 * **Head text color**: It sets the text color of the header.
687 * **Transparency**: It sets transparency of the table background, 0% represents full transparency, and 100% represents completely opaque.
688 * **Cell type**: Default is adaptive width. After select a customization, customization could set the width of the cell.
689 * **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".
690
691 **Function start address**
692
693 Instructions for the use of the function start address of record display/alarm display/trend charts etc.
694
695 (% style="text-align:center" %)
696 [[image:6.Objects_html_361b1ee164769c5d.gif||class="img-thumbnail"]]
697
698 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.
699
700 **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) .
701
702 If the start address set as HDW0, the function and address table is as below.
703
704 (% class="table-bordered" %)
705 |=(% style="width: 277px;" %)**Address**|=(% style="width: 113px;" %)**Type**|=(% style="width: 158px;" %)**Object**|=(% colspan="2" style="width: 528px;" %)**Function**
706 |(% style="width:277px" %)HDW0|(% style="width:113px" %)Word|(% rowspan="8" style="width:158px" %)Numeric input |(% colspan="2" style="width:528px" %)Start Time: Year
707 |(% style="width:277px" %)HDW1|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Month
708 |(% style="width:277px" %)HDW2|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Day
709 |(% style="width:277px" %)HDW3|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Hour
710 |(% style="width:277px" %)HDW4|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Minute
711 |(% style="width:277px" %)HDW5|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Start Time: Second
712 |(% style="width:277px" %)HDW6|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Span value setting. Unit  view the next address
713 |(% style="width:277px" %)HDW7|(% style="width:113px" %)Word|(% colspan="2" style="width:528px" %)Span Unit: 0=Min, 1=Hour, 2=Day
714 |(% style="width:277px" %)HDW8|(% style="width:113px" %)Word|(% style="width:158px" %)Word Switch|(% colspan="2" style="width:528px" %)(((
715 Default as 1. It can contain 50 records per page
716
717 Page Up : Current Value minus 1.
718
719 Page Down : Current Value add 1.
720
721 Range: 1 to 65535
722 )))
723 |(% style="width:277px" %)HDX9.0|(% style="width:113px" %)Bit|(% rowspan="10" style="width:158px" %)Bit Switch|(% colspan="2" style="width:528px" %)Auto Refresh
724 |(% colspan="1" rowspan="8" style="width:277px" %)(((
725 HDW12
726
727 (Bit address control up and down left and right display)
728 )))|(% style="width:113px" %)HDW12.0|(% colspan="2" style="width:528px" %)Move one page up
729 |(% style="width:113px" %)HDW12.1|(% colspan="2" style="width:528px" %)Move one row up
730 |(% style="width:113px" %)HDW12.2|(% colspan="2" style="width:528px" %)Move one page down
731 |(% style="width:113px" %)HDW12.3|(% colspan="2" style="width:528px" %)Move one row down
732 |(% style="width:113px" %)HDW12.4|(% colspan="2" style="width:528px" %)Move one page left
733 |(% style="width:113px" %)HDW12.5|(% colspan="2" style="width:528px" %)Move one column left
734 |(% style="width:113px" %)HDW12.6|(% colspan="2" style="width:528px" %)Move one page right
735 |(% style="width:113px" %)HDW12.7|(% colspan="2" style="width:528px" %)Move one column right
736 |(% style="width:277px" %)HDX13.0|(% style="width:113px" %)Bit|(% colspan="2" style="width:528px" %)(((
737 Span Method:
738
739 ~=0: Use the Span Value and Span Unit to query;
740
741 ~=1: Use start time to calculate the time interval of query.
742 )))
743 |(% 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
744 |(% style="width:277px" %)HDW15|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Month
745 |(% style="width:277px" %)HDW16|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Day
746 |(% style="width:277px" %)HDW17|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Hour
747 |(% style="width:277px" %)HDW18|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Minute
748 |(% style="width:277px" %)HDW19|(% style="width:113px" %)Word|(% style="width:291px" %)End Time: Second
749
750 **✎Note:**
751
752 * [Function address (20 words)] need to be HMI internal address;
753 * 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;
754 * 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);
755
756 **Appearance**
757
758 (% style="text-align:center" %)
759 [[image:6.Objects_html_71f505c7146db030.gif||class="img-thumbnail"]]
760
761 * **Background type:** There are four modes, style 1 and style 2 is gradient mode, style 3 is solid color mode, style 4 is transparent.
762 * **Transparency:** transparency could be set from 0% to 100%. when set to 0%,the background is completely transparent.
763 * **Position: **Show position coordinates for X and Y axes.
764 * **Size: **Set object size.
765
766 (% style="text-align:center" %)
767 [[image:6.Objects_html_64c6da58525278cb.gif||class="img-thumbnail"]]
768
769 * **Number of X,Y axis: **Set the number of grids on the XY axis could be set from 1 to 10 divisions.
770 * **Color setting: **Color1 is for object frame;color2 is for grid background.
771 * **Show dot:** Display the data points of each trend graph.
772 * **User font: **If check it, user could change the font for grid and time, if uncheck it, object uses build-in font.
773 * **Grid color: **Set color for grid, the default is black.
774 * **Scale color:** Set color for scale, the default is black.
775 * **Scale value color:** Set color for scale value, the default is black.
776 * **Data format:** select data format in object, it provides below format.
777
778 (% style="text-align:center" %)
779 [[image:6.Objects_html_9a454f1917bd1b77.gif||class="img-thumbnail"]]
780
781 **Time format: **Select time format in object, it provides below format.
782
783 (% style="text-align:center" %)
784 [[image:6.Objects_html_d5d647f7cb216d8f.gif||class="img-thumbnail"]]
785
786 * **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.
787 * **Curve Fitting (XY)**
788 * **Line type:** Set the line type (line, curve) between two points.
789 * **Smoothness:** it sets the smoothness of curve. Smoothness sets the curve smoothness. Conversely, the corner of the curve is sharper.
790
791 == Real-time trend chart ==
792
793 Trend graph shows the data as a dynamic curve, X axis represent the time span, Y axis represent the data.
794
795 **Source**
796
797 * **Curve buffer: **Select data from and display data in term of curve.
798 * **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.
799
800 (% style="text-align:center" %)
801 [[image:image-20220616160423-7.png]]
802
803 (% style="text-align:center" %)
804 [[image:image-20220616160432-8.png]]
805
806 **Range**
807
808 Set data range limit of curve (max and min). Also, could set variable to control data range.
809
810 (% style="text-align:center" %)
811 [[image:image-20220616160834-11.png||class="img-thumbnail"]]
812
813 (% class="box infomessage" %)
814 (((
815 **✎Note:** For the setting of Real-time trend chart, please refer to "[[Trend chart>>https://docs.we-con.com.cn/bin/view/PIStudio/08.Basic%20Function/#HTrendchart]]"
816 )))
817
818 == History trend chart ==
819
820 The history trend will display data record with graph.X axis represents as time, and Y axis represents as data.
821
822 **Source**
823
824 * **Curve buffer: **Select data from "Data record", and display data in term of curve.
825 * **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.
826
827 (% style="text-align:center" %)
828 [[image:image-20220616160909-12.png]]
829
830 **Range**
831
832 Set data range limit of curve (max and min). Also could set variable to control data range;
833
834 **Function**
835
836 (% style="text-align:center" %)
837 [[image:image-20220616160920-14.png||class="img-thumbnail"]]
838
839 * **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.
840 * **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.
841 * **Start time: **Set start time and span for curve display.
842
843 **Result**
844
845 When all configurations are completed, when the HMI is running, it displays as shown below.
846
847 (% style="text-align:center" %)
848 [[image:image-20220802113935-1.gif]]
849
850 There are 8 buttons will display in below the graph, shown as following.
851
852 1. [[image:image-20220616162002-15.jpeg]] Historical trend chart query button
853 1. [[image:image-20220616162008-16.png]] ** **Set the time and span of historical trend chart
854 1. [[image:image-20220616162013-17.png]] ** **Refresh
855 1. [[image:image-20220616162018-18.png]] ** **Move forward by span time
856 1. [[image:image-20220616162021-19.png]] **:**Move backwards by span time
857 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.
858 1. [[image:image-20220616162028-21.png]] Zoom in by one time according to the length of the span.
859 1. [[image:image-20220616162032-22.png]] :Zoom out by one time according to the length of the span.
860
861 (% class="box infomessage" %)
862 (((
863 **✎Note: **For the setting of historical trend chart, please refer to "[[Trend chart>>path:https://docs.we-con.com.cn/bin/view/PIStudio/08.Basic%20Function/#HTrendchart]]".
864 )))
865
866 == Alarm record display ==
867
868 Display current alarm and history alarm information.After setting the time span, the history alarm record will list by the time span.
869
870 This object only displays content normally after the "Alarm Record" function is set.
871
872 (% style="text-align:center" %)
873 [[image:6.Objects_html_680530096b569128.gif||class="img-thumbnail"]]
874
875 **Settings**
876
877 (% style="text-align:center" %)
878 [[image:6.Objects_html_ae2b58548526a788.gif||class="img-thumbnail"]]
879
880 * **Alarm type: **There are two types for alarm function; one is [Current alarm record] and the other is "History alarm record".
881 * **Group No:** This group number is corresponding to ID from Alarm settings; this object only displays the alarm content within this ID range.
882 * **Display in reverse order: **The latest alarm information will be displayed at the top of object.
883 * **Alarm Record Setting**: This is for setting display items in object, the setting window as below shows.
884
885 (% style="text-align:center" %)
886 [[image:6.Objects_html_c39789a001b0224e.gif||class="img-thumbnail"]]
887
888 **Query Settings**
889
890 There are two modes for this settings, one is "Page control", and the other is "Use function address".
891
892 (% style="text-align:center" %)
893 [[image:6.Objects_html_29e47fc2c370aee5.gif||class="img-thumbnail"]]
894
895 **Page control: **it controls what object currently displays.
896
897 **For example: **Page control is 40,
898
899 * 40=1 means this object displays first page.
900 * 40=2 means this object displays second page.
901 * 40=3 means this object displays third page.
902 * ...
903 * 40=10 means this object display 10th page.
904
905 **✎Note:** Every page contains 50 records.
906
907 **Start Time**
908
909 It configures start query time and span.
910
911 (% style="text-align:center" %)
912 [[image:6.Objects_html_d2335d95f27b8e03.gif||class="img-thumbnail"]]
913
914 **Span: **set the time span from start time to end time of query.
915
916 **Result**
917
918 When all configurations are completed, when the HMI is running, alarm display object displays as shown below.
919
920 The query key is automatically displayed when user double-clicks object, and the system automatically generates a sub-screen that sets the query span.
921
922 (% style="text-align:center" %)
923 [[image:6.Objects_html_de2952171d05accd.gif||height="312" width="567" class="img-thumbnail"]]
924
925 * [[image:6.Objects_html_92e1910330039a59.gif||height="49" width="48" class="img-thumbnail"]] Query setting
926 * [[image:6.Objects_html_4efc52d4a7f1ea02.gif||height="49" width="49" class="img-thumbnail"]] Refresh page
927 * [[image:image-20220808142509-1.png||height="48" width="49" class="img-thumbnail"]]means moving up one row;
928 * [[image:image-20220808142518-2.png||height="49" width="50" class="img-thumbnail"]]means page up.
929 * [[image:image-20220808142538-3.png||height="45" width="49" class="img-thumbnail"]] means moving down one row;
930 * [[image:image-20220808142546-4.png||class="img-thumbnail"]] means page down.
931 * [[image:image-20220808142603-5.png||class="img-thumbnail"]] means moving left column;
932 * [[image:image-20220808142610-6.png||class="img-thumbnail"]]means moving the display to the left.
933 * [[image:image-20220808142623-7.png||class="img-thumbnail"]]means moving right column;
934 * [[image:image-20220808142630-8.png||class="img-thumbnail"]]means moving the display to right.
935
936 (% class="box infomessage" %)
937 (((
938 **✎Note:** Please click here to set "[[Bit alarm>>https://docs.we-con.com.cn/bin/view/PIStudio/08.Basic%20Function/#HBitalarm]]" and "[[Word alarm>>https://docs.we-con.com.cn/bin/view/PIStudio/08.Basic%20Function/#HWordalarm]]".
939 )))
940
941 == Data record display ==
942
943 "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.
944
945 (% class="box infomessage" %)
946 (((
947 ✎**Note: **The objects sunch as tables and trends charts are only support **"**song typeface". It is invalid if you set other fonts.
948 )))
949
950 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 wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)__Data record__>>https://docs.we-con.com.cn/bin/view/PIStudio/08.Basic%20Function/#HDatarecord]](%%)" function is set.
951
952 (% style="text-align:center" %)
953 [[image:6.Objects_html_2ee00a2b90c062f6.gif||class="img-thumbnail"]]
954
955 **Record**
956
957 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.
958
959 (% style="text-align:center" %)
960 [[image:6.Objects_html_7d03f28e9a7ec548.gif||class="img-thumbnail"]]
961
962 **Display in reverse order**
963
964 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.
965
966 **Start Time**
967
968 (% style="text-align:center" %)
969 [[image:6.Objects_html_d2335d95f27b8e03.gif||class="img-thumbnail"]]
970
971 You can configure the start query time. Set the time span from start time to end time of query.
972
973 **Security**
974
975 (% style="text-align:center" %)
976 [[image:6.Objects_html_3235c433cffea00f.gif||class="img-thumbnail"]]
977
978 * **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.
979 * **Freeze first column:** Enable it, the first column (time column) of the data record will not move with the left and right pages.
980
981 For details about "function address", see "[[Common settings in chart objects>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HCommonsettings]]".
982
983 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.
984
985 (% style="text-align:center" %)
986 [[image:6.Objects_html_1d2246f5ca8e1f24.gif||height="347" width="567" class="img-thumbnail"]]
987
988 * [[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.
989 * [[image:6.Objects_html_4efc52d4a7f1ea02.gif||height="50" width="50" class="img-thumbnail"]] Refresh the query results.
990 * [[image:上翻 1.png||class="img-thumbnail"]]move one row up in the query range
991 * [[image:上翻 2.png||class="img-thumbnail"]]move one page up in the query range
992 * [[image:下翻 1.png||height="45" width="50" class="img-thumbnail"]]move one row down in the query range
993 * [[image:下翻 2.png||height="36" width="50" class="img-thumbnail"]]move one page down in the query range
994 * [[image:左翻 1.png||height="48" width="50" class="img-thumbnail"]]move one row left in the query range
995 * [[image:左翻 2.png||height="49" width="50" class="img-thumbnail"]]move one page left in the query range
996 * [[image:右翻 1.png||height="50" width="50" class="img-thumbnail"]]move one row right in the query range
997 * [[image:右翻 2.png||height="50" width="50" class="img-thumbnail"]]move one page right in the query range
998
999 For details about the setting, please refer to "[[Data record display settings>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HDatarecorddisplay]]".
1000
1001 == **Recipe display** ==
1002
1003 "Recipe display" displays information (such as recipe, operations, and so on) in the form of a table.
1004
1005 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 after function is set.
1006
1007 **There are 8 types of operating files as follows. Except for recipe file, the other types are used for special purpose. **
1008
1009 (% style="text-align:center" %)
1010 [[image:配方 1.png||class="img-thumbnail"]]
1011
1012 **Function (Recipe File)**
1013
1014 * **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.
1015 * **Folder name:** This is located to recipe function setting.
1016 * **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.)
1017 * For example, set 40,
1018 ** if 40=1, the first row of object is selected.
1019 ** If 40=2, the second row of object is selected.
1020 ** ...
1021 ** If 40=10, the 10th row of object is selected.
1022 * **Folder name address: **This is for setting recipe file name, in advance recipe mode.
1023
1024 (% style="text-align:center" %)
1025 [[image:6.Objects_html_38f1820209eedfb4.gif||class="img-thumbnail"]]
1026
1027 **Function (Operating Record)**
1028
1029 (% style="text-align:center" %)
1030 [[image:6.Objects_html_d6c16aee84067851.gif||class="img-thumbnail"]]
1031
1032 * **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.
1033 * **Select line: **Set address for select row.
1034
1035 **Function (Timeout Alert)**
1036
1037 (% style="text-align:center" %)
1038 [[image:6.Objects_html_35cc911c850c1afb.gif||class="img-thumbnail"]]
1039
1040 * **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).
1041 * **Select line: **Set address for select row.
1042
1043 **Function (Client Manage)**
1044
1045 (% style="text-align:center" %)
1046 [[image:6.Objects_html_9ec936a372bb7efb.gif||class="img-thumbnail"]]
1047
1048 * **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.
1049 * **Select line:** Set address for select row.
1050
1051 **Function (User Manage)**
1052
1053 (% style="text-align:center" %)
1054 [[image:6.Objects_html_59dc786401ea6651.gif||class="img-thumbnail"]]
1055
1056 * **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.
1057 * **Select line: **Set address for select row.
1058 * **Refresh: **Set address for refresh users list; (bit address).
1059
1060 **Function (System Message)**
1061
1062 (% style="text-align:center" %)
1063 [[image:6.Objects_html_858d4ec965274b8a.gif||class="img-thumbnail"]]
1064
1065 * **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.
1066 * **Select line: **Set address for select row.
1067
1068 **Address Control**
1069
1070 * **Start group: **control displaying start fromspecified row, which means display from specified group.
1071 * For example set 40,
1072 ** If 40=1, Start from first row (first group).
1073 ** If 40=2, Start from second row (second group).
1074 ** ...
1075 ** If 40=10, Start from 10th row (10th group).
1076 * **Group number address: **Control the number of rows displayed;
1077 * For example set 410,
1078 ** If 410=1, this object only displays 1 row (1 group).
1079 ** If 410=2, this object displays 2 rows (2 groups).
1080 ** ...
1081 ** If 410=10, this object displays 10 rows (10 groups).
1082 * **Start address: **Control displaying start fromspecified column, which means display from specified member.
1083 * For example, set 420,
1084 ** If 420=1, Start from first column (first member).
1085 ** If 420=2, Start from second column (second member).
1086 ** ...
1087 ** If 420=10, Start from 10th column (10th member).
1088 * **Address number: **Control the number of columns displayed.
1089 * For example, set 430,
1090 ** If 430=1, this object only displays 1 column (1 member).
1091 ** If 430=2, this object displays 2 columns (2 members).
1092 ** ...
1093 ** If 430=10, this object displays 10 columns (10 members).
1094 * **Result**: When all configurations are completed, when the HMI is running, object will display like below.
1095
1096 **Recipe**
1097
1098 (% style="text-align:center" %)
1099 [[image:6.Objects_html_73ddff1c47ca6b37.gif||height="271" width="567" class="img-thumbnail"]]
1100
1101 **Operating Record**
1102
1103 (% style="text-align:center" %)
1104 [[image:6.Objects_html_6d72e0a32128f87a.gif||height="413" width="567" class="img-thumbnail"]]
1105
1106 **Client Manage**
1107
1108 (% style="text-align:center" %)
1109 [[image:6.Objects_html_ea2cd87aaa6600cd.gif||height="413" width="567" class="img-thumbnail"]]
1110
1111 (% class="wikigeneratedid" %)
1112 **✎Note:**
1113
1114 * 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).
1115 * 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.
1116 * For the details, please refer to "[[Recipe>>https://docs.we-con.com.cn/bin/view/PIStudio/08.Basic%20Function/#HRecipe]]".
1117
1118 == **File list** ==
1119
1120 "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.
1121
1122 recipe files in "Flash", and also shows custom folder information.
1123
1124 **Function (Recipe File)**
1125
1126 (% style="text-align:center" %)
1127 [[image:文件列表 1.png||class="img-thumbnail"]]
1128
1129 (% style="text-align:center" %)
1130 [[image:6.Objects_html_66cd30b2b962a04e.gif||class="img-thumbnail"]]
1131
1132 * **File type: **[Recipe File] is for display recipe files in Flash.
1133 * **Folder name:** This is located to recipe function setting.
1134 * **Select line:** Select one line in list and display its line No. in this address.
1135 * For example, set 40,
1136 ** if 40=1, the first row of object is selected.
1137 ** If 40=2, the second row of object is selected.
1138 ** ...
1139 ** If 40=10, the 10th row of object is selected.
1140
1141 ✎**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.
1142
1143 * **Folder name address:** This is for setting recipe file name, in advance recipe mode.
1144
1145 **Function (Custom Folder)**
1146
1147 (% style="text-align:center" %)
1148 [[image:6.Objects_html_8cb7b2547b5e5c65.gif||class="img-thumbnail"]]
1149
1150 * **File type: **The object displays files under the specified path.
1151 * **Root:** It means storage; there are three options, "Flash", "Udisk" and "SDcard".
1152 * **Folder:** Set folder name, such as recipe.
1153 * **Select line: **Set address for select row.
1154 * For example, set 40,
1155 ** if 40=1, the first row of object is selected.
1156 ** If 40=2, the second row of object is selected.
1157 ** ...
1158 ** If 40=10, the 10th row of object is selected.
1159 * **Folder name address:** This is for setting recipe file name, in advance recipe mode;
1160
1161 **Use function address (20 words)**
1162
1163 (% style="text-align:center" %)
1164 [[image:6.Objects_html_dc49c7d7148792b3.gif||class="img-thumbnail"]]
1165
1166 Function address includes copy, past, delete and rename. And HMI automatically assigns the functions to bit addresses.
1167
1168 For example, if the function address is HDW 90, the detailed information as below.
1169
1170 (% class="table-bordered" %)
1171 |**Address**|**Address type**|**Object type**|**Function**
1172 |HDX90.0|Bit|(% colspan="1" rowspan="6" %)Bit switch (ON)|Copy selected files / all files
1173 |HDX90.1|Bit|Paste selected files/ all files
1174 |HDX90.2|Bit|Delete selected files/ all files
1175 |HDX90.3|Bit|Select all files
1176 |HDX90.4|Bit|Rename select files (Do not include suffix)
1177 |HDX90.5|Bit|Rename select files (Include suffix)
1178
1179 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.
1180
1181 **Result**
1182
1183 When all configurations are completed, when the HMI is running, it displays object displays as shown below.
1184
1185 (% style="text-align:center" %)
1186 [[image:6.Objects_html_a68643b928e3930.gif||class="img-thumbnail"]]
1187
1188 (% class="wikigeneratedid" %)
1189 ✎**Note: **For the details, please refer to "[[Recipe>>https://docs.we-con.com.cn/bin/view/PIStudio/08.Basic%20Function/#HRecipe]]".
1190
1191 == **XY plot** ==
1192
1193 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.
1194
1195 (% style="text-align:center" %)
1196 [[image:XY 1.png||height="573" width="567" class="img-thumbnail"]]
1197
1198 **Source**
1199
1200 * **Auto Sample:** Select data from [XY plot] and displayed in a curve according to the set time.
1201 * **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.
1202
1203 **Curve settings: **According needs to set style and color for each curve.
1204
1205 **Read address:** *for example, PLC word address is D, it points number is m. (point numbers no more than 800).
1206
1207 * Word address D is the X coordinate of the first point.
1208 * Word address D+1 is the Y coordinate of the first point.
1209 * Word address D+2 is the X coordinate of the second point.
1210 * Word address D+3 is the Y coordinate of the second point.
1211 * ......
1212 * Word address D+2m-1 is the X coordinate of the m^^th^^ point.
1213 * Word address D+2m is the Y coordinate of the m^^th^^ point.
1214
1215 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.
1216
1217 **Appearance**
1218
1219 (% style="text-align:center" %)
1220 [[image:XY 2.png||class="img-thumbnail"]]
1221
1222 * **X grids and Y grids:** The range is from 1 to 10.
1223 * **color setting:**
1224 ** Background color 1 indicates the background color of appearrance.
1225 ** Background color 2 indicates the background color of grid.
1226
1227 **Range**
1228
1229 (% style="text-align:center" %)
1230 [[image:XY 3.png||height="312" width="567" class="img-thumbnail"]]
1231
1232 * **Variable:** The data range for the graph could be set as a variable.
1233 * **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 **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 **Source**
1253
1254 * **Auto Sample:** Select data from [XY plot] and displayed in a curve according to the set time.
1255 * **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 **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 ** Word address D is the X coordinate of the first point.
1261 ** Word address D+1 is the Y coordinate of the first point.
1262 ** Word address D+2 is the X coordinate of the second point.
1263 ** Word address D+3 is the Y coordinate of the second point.
1264 ** ......
1265 ** Word address D+2m-1 is the X coordinate of the m^^th^^ point.
1266 ** Word address D+2m is the Y coordinate of the m^^th^^ point.
1267
1268 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.
1269
1270 **Appearance**
1271
1272 (% style="text-align:center" %)
1273 [[image:XY 2.png||class="img-thumbnail"]]
1274
1275 * **X grids and Y grids:** The range is from 1 to 10.
1276 * **color setting:**
1277 ** Background color 1 indicates the background color of appearrance.
1278 ** Background color 2 indicates the background color of grid.
1279
1280 **Range**
1281
1282 (% style="text-align:center" %)
1283 [[image:XY 3.png||height="312" width="567" class="img-thumbnail"]]
1284
1285 * **Variable:** The data range for the graph could be set as a variable.
1286 * **X, Y Limit:** Set the max and min value of displaying curve.
1287
1288 **Result**: When all configurations are completed, when the HMI is running, it displays as shown below.
1289
1290 (% style="text-align:center" %)
1291 [[image:6.Objects_html_d86b49376aa4f4dd.gif||height="336" width="567" class="img-thumbnail"]]
1292
1293 (% class="wikigeneratedid" %)
1294 ✎**Note:** For the setting details, please refer to "[[History XY plot>>https://docs.we-con.com.cn/bin/view/PIStudio/08.Basic%20Function/#HHistoryXYplot]]".
1295
1296 == Disc record chart ==
1297
1298 The Disc Record displays the data from data source in the form of a disc curve.
1299
1300 **✎Note: **This function are only supported by HMI+, i series, ie series and ig series.
1301
1302 **Source**
1303
1304 (% style="text-align:center" %)
1305 [[image:6-2DiscRecord.png||class="img-thumbnail"]]
1306
1307 * **Source type**
1308 ** **History**: Historical data can be queried.
1309 ** **Real Time**: Only real-time data is displayed.
1310 * **Curve Buffer**
1311 ** **History**: Ii is in data record area configured by data record. Multiple record groups could be configured, and each record group has multiple channels.
1312 ** **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.
1313
1314 **✎Note: **There must be one of settings (Data record and real-time trend chart) in configurations, otherwise there will no data in curve buffer.
1315
1316 * **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.
1317 * **Enable**: After selecting 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.
1318 * **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.
1319 * **Display Scale Value: **Display the value of disc record. The font color could be changed
1320
1321 **Appearance**
1322
1323 (% style="text-align:center" %)
1324 [[image:6-3DiscRecordConfigAppearen.png||class="img-thumbnail"]]
1325
1326 1. **Circular Axis Scale**: Number of scale intervals in the direction of the circular axis. The range is1 to10.
1327 1. **Start Position**: The starting position to draw the curve: top, bottom, left and right.
1328 1. **Rotary Axis Scale**: Number of scale intervals in the direction of the axis of rotation. The range is 4, 6 and 12.
1329 1. **Inner Circle Size**: Ratio of the inner circle to the outer circle.
1330 1. **Scale Style**: The way the scale is displayed, style 0 represents adaptive display, and style 1 represents forward display.
1331 1. **Background Color**: Appearance background color.
1332 1. **Inner Circle Color**: The inner circle color in the drawing area of the Disc.
1333 1. **Outer Circle Color**: The outer circle color in the drawing area of the Disc.
1334 1. **Grid Color**: Grid line color.
1335 1. **Scale Color**: Color of the time scale and tick marks.
1336 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.
1337 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.
1338 1. **Enable Point**: Set to enable point, the data unit of each curve will be highlighted as a point.
1339
1340 **Function**
1341
1342 (% style="text-align:center" %)
1343 [[image:6-4DiscRecordConfigFuncAddr.png||class="img-thumbnail"]]
1344
1345 **Function 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.
1346 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.
1347
1348 **✎Note: ** When copying Data record display, it is recommended to create a new "function screen" to avoid repeated calls that may cause abnormal functions.
1349
1350 **Start time**: Set the start time and conditions for data viewing.
1351
1352 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]].
1353
1354 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]].
1355
1356 = **Meter** =
1357
1358
1359 (% style="text-align:center" %)
1360 [[image:6.Objects_html_b3789f59e920334.gif||class="img-thumbnail"]]
1361
1362 == **Pointer meter** ==
1363
1364 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.
1365
1366 (% style="text-align:center" %)
1367 [[image:image-20220805161001-1.jpeg]]
1368
1369 **Read address:** Read the value from the set PLC address.
1370
1371 **Data format:** It is for data setting. The data format types are as below.
1372
1373 * BCD, 32-bit float
1374 * signed decimal
1375 * unsigned decimal
1376 * 32-bit signed decimal
1377 * 32-bit unsigned decimal
1378
1379 **Digits setting:** set directly the maximum and the minimum. Only when the floating point number is selected, can the the maximum and minimum value be with a decimal point, and other data format can't be with a decimal point. If the value is read by the address, then select "variable limits", and fill in the address.
1380
1381 * **Min angle and max angle:** Data range, if data beyond range will be not inputted.
1382
1383 **Variable limits:** when checked, low limit address and high limit address could be edit showed below;
1384
1385 **Show meter background**: This is for setting meter background. When not checked, the background color is transparent; When checked, there are four styles of pointer meter to select it according to needs.
1386
1387 **Show pointer**: When not checked, the pointer is not displayed; When checked, you could set the style and color of pointer.
1388
1389 **Show alarm area**: It provides alarm function in meter, you could set the 4 areas, and each area corresponds to a different alarm color.
1390
1391 **Show scale**: Display the scale on the object to observe the value. You need to set major scale, minor scale and scale value.
1392
1393 **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°.
1394
1395 **Start angle: **It sets the position where the minimum value is displayed.
1396
1397 **Position&size:** Set the position of the object in the screen and the size of the object. The object is displayed as square. If the width or the height of the object is changed, the other data will also be changed.
1398
1399 **Result**
1400
1401 When configuration is completed, the object is shown as below picture when HMI is running.
1402
1403 (% style="text-align:center" %)
1404 [[image:6.Objects_html_1b8e24a5065cf96a.gif||class="img-thumbnail"]]
1405
1406
1407 (% class="box infomessage" %)
1408 (((
1409 ✎**Note:** For the parameter setting, please refer to "[[text>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HText]]" in "[[Bit Switch>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
1410 )))
1411
1412 == **Bar** ==
1413
1414 The bar graph shows the numerical change of the word address by means of bar graph.
1415
1416 **Description**
1417
1418 (% style="text-align:center" %)
1419 [[image:6.Objects_html_bd38676c1a9565f9.gif||class="img-thumbnail"]]
1420
1421 **(1) Data setting**
1422
1423 1. **Read address: **Read the value from the set PLC address.
1424 1. **Dual Value Display:** Set two read addresses. The bar graph will show the value segment between the two read addresses.
1425 1. **Data format: **It is for setting data format from read address.
1426 1. **Digits setting:** It means the decimal point position. The decimal point position is effective only when data format is floating and decimal.
1427
1428 **(2) Display settings**
1429
1430 1. **Type:** It is for setting bar display type, it provides two types.
1431
1432 * Type1: Single scale display.
1433 * Type2: Double scales display.
1434
1435 (% start="2" %)
1436 1. **Bar direction: **horizontal display or vertical display.
1437 1. **Back color: **User could freely set the color when check it.
1438 1. **Text color: **Display color of the scale value.
1439
1440 **(3) Alarm settings**
1441
1442 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.
1443
1444 **(4) Show scale**
1445
1446 It provides settings for scale on meter, users could select [Major scale] and [Minor scale], and set color for them.
1447
1448 **Result**
1449
1450 (% style="text-align:center" %)
1451 [[image:6.Objects_html_4d9066ded0b72b33.gif||class="img-thumbnail"]]
1452
1453 When configuration is completed, the object shows as above picture, when HMI is running.
1454
1455 == **Clock** ==
1456
1457 This object displays HMI system time.
1458
1459 **Description**
1460
1461
1462 (% style="text-align:center" %)
1463 [[image:6.Objects_html_f8df8c51c201879a.gif||class="img-thumbnail"]]
1464
1465 1. **Back type: **It is for clock dial style settings; it provides three types.
1466 1. **Back color:** It is for setting color for clock dial, it is invalid when back type is 1.
1467 1. **Hand type:** It is for clock hand style settings; it provides three types.
1468 1. **Hand color: **It is for setting color for hand.
1469 1. **Show second hand:** Check it to display second hand in clock.
1470 1. **Second hand color: **It is for setting color for second hand.
1471
1472 **Result**
1473
1474 As soon as configuration is completed, the object is shows as below picture, during HMI is running.
1475
1476 (% style="text-align:center" %)
1477 [[image:6.Objects_html_23abf6f7aa26bd8f.gif||class="img-thumbnail"]]
1478
1479 == **Runbar** ==
1480
1481 Run bar object could displays normal text and alarm text. User could select display content according to requirement.
1482
1483 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.
1484
1485 When normal text is displayed, it provides two ways to set the display content to user (static text and dynamic text);
1486
1487 **Description**
1488
1489 (% style="text-align:center" %)
1490 [[image:6.Objects_html_f0579e391675b855.gif||class="img-thumbnail"]]
1491
1492 **(1) Basic settings**
1493
1494 1. **Type:** It is for displaying content settings.
1495
1496 * Move Text: Normal text.
1497 * Alarm: Alarm text.
1498
1499 (% start="2" %)
1500 1. **Transparence: **It sets the transparency of the object background.
1501 1. **Reverse: **it sets text move right to left or left to right.
1502 1. **Speed:** It sets text moving speed.
1503 1. **Background:** It sets object background color.
1504 1. **Text color:** It sets text color.
1505 1. **Show Border:** Check it to show border for object.
1506 1. **Border:** It sets object border color; it is visible only when [Show Border] is checked.
1507
1508 **(2) Display content settings**
1509
1510 * If it shows static text, please set content in "[[text>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HText]]".
1511 * If it shows dynamic text, please check [Read Address], and set address and length for it.
1512 * If it shows alarm text, please select alarm information, such as time and date, alarm group number range.
1513
1514 **(3) Preview**
1515
1516 It is for preview text content in object.
1517
1518 **Result**
1519
1520 When configuration is completed, the object is shows as below picture, when HMI is running.
1521
1522 1. **Normal text**
1523
1524 (% style="text-align:center" %)
1525 [[image:6.Objects_html_e8d384899180ce2f.gif||class="img-thumbnail"]]
1526
1527 (% start="2" %)
1528 1. **Alarm text**
1529
1530 (% style="text-align:center" %)
1531 [[image:6.Objects_html_9612d7685f349400.gif||class="img-thumbnail"]]
1532
1533 ✎**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]]".
1534
1535 = **Display** =
1536
1537 (% style="text-align:center" %)
1538 [[image:6.Objects_html_826a565200b1aa33.gif||class="img-thumbnail"]]
1539
1540 == **Indirect window** ==
1541
1542 Indirect window is used for displaying sub-screen in HMI project. You could control it to display different sub-screens by changing the value of read address.
1543
1544 **Description**
1545
1546
1547 (% style="text-align:center" %)
1548 [[image:6.Objects_html_ccb5a66acd5aed37.gif||class="img-thumbnail"]]
1549
1550 **(1) Screen No.**
1551
1552 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.
1553
1554 1. **Indirect scree No.:** It is for setting read address to switch sub-screen.
1555 1. **Screen No.:** Check it to enable static screen mode, and select screen for object.
1556
1557 **(2) Control display by address**
1558
1559 Control display of the indirect object through bit address.
1560
1561 * Set ON: Display.
1562 * Set OFF: Hide.
1563
1564 **(3) Position**
1565
1566 It is for setting the position of sub-screen, the value is for coordinates of the top left point of it.
1567
1568 **(4) Size**
1569
1570 It is for setting the size of sub-screen.
1571
1572 **Result**
1573
1574 When configuration is completed as below, sub screen will be displayed as picture show.
1575
1576 1. Display static sub-screen.
1577 1. Use HDX0.0 to control display or hide.
1578
1579 (% style="text-align:center" %)
1580 [[image:6.Objects_html_6350c158e88cd0dd.gif||class="img-thumbnail"]]
1581
1582 == **QR Code** ==
1583
1584 **Introduction**
1585
1586 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.
1587
1588 **Description**
1589
1590
1591 (% style="text-align:center" %)
1592 [[image:6.Objects_html_4cf155075ac97d16.gif||class="img-thumbnail"]]
1593
1594 **(1) QR Set**
1595
1596 1. **Variable QR:** It is for setting read address, the content of QR code is from this setting address.
1597 1. **QR String: **It is for set static content for QR code.
1598
1599 **✎Note:**
1600
1601 * HMI machine ID address: HSW10494 ~~ HSW10558.
1602 * So if user want to use QR code to display machine ID in project screen, please check "Variable QR", and set address is HSW10494.
1603 * When scanning the QR code by APP to monitor HMI, the default access password is 888888.
1604
1605 == **Picture** ==
1606
1607 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.
1608
1609 **Description**
1610
1611 (% style="text-align:center" %)
1612 [[image:6.Objects_html_f11b82f18617ca5d.gif||class="img-thumbnail"]]
1613
1614 **(1) Shape**
1615
1616 1. **Shape: **Click shape to open the Shape Library for shape selection.
1617 1. **Default shape: **Every object has its own default shape, click it will back to default.
1618 1. **Discard:** Click it, object will display without shape.
1619
1620 **(2) Set Color**
1621
1622 This is for set object color basic on shape, not all shape supports change color.
1623
1624 **(3) Picture display function**
1625
1626 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.
1627
1628 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.
1629 1. **Folder: **Set the name of the folder where the picture is located.The folder name can be up to 31 characters. (Note:The picture must be stored in the U disk folder and cannot be stored in the root directory of the U disk.)
1630 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.
1631
1632 ✎**Note:** 
1633
1634 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.
1635 1. For the setting of [[animations>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HAnimation]], see the "[[Bit Switch>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HBitswitch]]".
1636
1637 == **Rotation picture** ==
1638
1639 Rotation picture can rotate the image at a specified center or rotate it in a certain way. It is determined by the property settings.
1640
1641 (% style="text-align:center" %)
1642 [[image:image-20220805155253-1.jpeg]]
1643
1644
1645 **Position: **Display the position of the rotation picture in the screen.
1646
1647 **Counter-Clockwise: **It sets the rotation direction of the picture. The default is to rotate clockwise. When checked, the rotation direction is counterclockwise.
1648
1649 **Appearance**: It sets picture for object, the picture is selected from Shape.
1650
1651 **Data format**
1652
1653 * **Data format: **It sets data format for [Address]->[Rotation angle].
1654 ** BCD
1655 ** 32-bit float
1656 ** 16-bit signed decimal
1657 ** 16-bit unsigned decimal
1658 ** 32-bit signed decimal
1659 ** 32-bit unsigned decimal
1660 * **Min. angle:** It sets the starting angle of rotation (Valid in auto-rotation mode).
1661 * **Max. angle:** It sets the ending angle of rotation (Valid in auto-rotation mode).
1662
1663 **Rotation angle: **the rotating angle is determined by designated address;
1664
1665 **Rotation center**: It shows the rotation center coordinates;
1666
1667 **Auto-rotation: **Taker the center of the image as the center of the picture when it is rotating.
1668
1669 **Cycle time: **Object will rotate every cycle time. Unit:100 ms.
1670
1671 **Rotation angle:** Object rotates designated angle everytime.
1672
1673 **Return:** Object will be reset to original position after maximum angle reached.
1674
1675 **Enable auto-spin: **When the address is set to ON, the picture will rotate automatically.
1676
1677 **Hide:** control the hiding status of the object through the status of the control bit address. The hiding mode can be divided into hide when OFF and hide when ON.
1678
1679 == **Drop-down List** ==
1680
1681 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.
1682
1683 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.
1684
1685 **(1) General**
1686
1687 (% style="text-align:center" %)
1688 [[image:6.Objects_html_1f4c0383a61f9502.gif||class="img-thumbnail"]]
1689
1690 **1) Edit**
1691
1692 1. **Read Address:** The data from designated address will be displayed.
1693 1. **Same read-write address:** Configure "Write Address" is the same as "Read Address".
1694 1. **Write Address: **Write data to designated address. The address can be different "Read Address".
1695
1696 **2) Format**
1697
1698 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.
1699
1700 **3) State count**
1701
1702 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.
1703
1704 **State value: **You can set different values to correspond to different states, the setting window as below figure shows.
1705
1706 (% style="text-align:center" %)
1707 [[image:6.Objects_html_da9a6696f320b427.gif||class="img-thumbnail"]]
1708
1709 **For example**
1710
1711 By default, when value of read address is 0, object displays state 0.
1712
1713 If change settings as below figure shows.
1714
1715 When value of read address is 11, object displays state 1.
1716
1717 **4) Advance**
1718
1719 It provides two types for this object.
1720
1721 1. **Normal Type:** It makes object as normal drop-down list object.
1722 1. **User name:** it is for user login permissions. User name and group name in user permissions are mainly displayed.
1723
1724 **(2) Text settings**
1725
1726 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 wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)__common setting__>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HCommonsettings]](%%). This section will show special settings for it.
1727
1728 (% style="text-align:center" %)
1729 [[image:6.Objects_html_f35e2c650b2a4b90.gif||class="img-thumbnail"]]
1730
1731 (% style="text-align:center" %)
1732 [[image:6.Objects_html_192dddeede2c5d56.gif||class="img-thumbnail"]]
1733
1734 **1) Centre**
1735
1736 Check it to make the text centered;
1737
1738 **2) Enable states text control**
1739
1740 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.
1741
1742 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.
1743 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.
1744 1. **Trigger set text: **This address is used for saving modification.
1745
1746 **3) Read state text from address**
1747
1748 1. **Text start address: **the first address of occupied multiple consecutive addresses. Address length: [Text length/2] *[state number +1].
1749
1750 * 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.
1751
1752 (% start="2" %)
1753 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.
1754
1755 == **Camera display** ==
1756
1757 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 wikiinternallink wikiinternallink wikiinternallink" %)__Camera__>>https://docs.we-con.com.cn/bin/view/PIStudio/06.Objects/#HCameradisplay]](%%)].
1758
1759 **✎Note:**
1760
1761 This function requires special HMI model, the detailed information, please contact sales.
1762
1763 === **IP Camera** ===
1764
1765 (% style="text-align:center" %)
1766 [[image:6.Objects_html_2bc22bd50bf65eb.gif||class="img-thumbnail"]]
1767
1768 **(1) Mode select**
1769
1770 It is used for selecting modes; each mode uses different settings.
1771
1772 **(2) Use dynamic control instruction**
1773
1774 Read a string from designated system address, and then combine the instruction to control the camera image.
1775
1776 When the dynamic control command is disabled, the complete camera control command need to be entered in order to display the camera contents.
1777
1778 **(3) Camera control instruction**
1779
1780 This is for entering static instruction for camera, so that users can operation camera when HMI running;
1781
1782 **(4) Enable rtsp camera**
1783
1784 This is another way to control camera, check it and set the function address.
1785
1786 **Camera Display usage method**
1787
1788 (1)Usage 1: Suitable for users know camera account, password and device serial number.
1789
1790 Add the camera display object, select Net Camera, and enable rtsp camera and configured with a functional address, the followings use HDW0 as as example:
1791
1792 (% style="text-align:center" %)
1793 [[image:企业微信截图_16730778441159.png]]
1794
1795 |=(% scope="row" %)(((
1796 **Register**
1797 )))|=(% colspan="2" style="width: 662px;" %)(((
1798 Function
1799 )))|=(% style="width: 168px;" %)(((
1800 **Length**
1801 )))
1802 |=(((
1803 HDW0
1804 )))|(% colspan="2" style="width:662px" %)(((
1805 User name
1806 )))|(% style="width:168px" %)(((
1807 20 words
1808 )))
1809 |=(((
1810 HDW20
1811 )))|(% colspan="2" style="width:662px" %)(((
1812 Password
1813 )))|(% style="width:168px" %)20 words
1814 |=(((
1815 HDW40
1816 )))|(% colspan="2" style="width:662px" %)(((
1817 Alias
1818 )))|(% style="width:168px" %)20 words
1819 |=(((
1820 HDW60
1821 )))|(% colspan="2" style="width:662px" %)(((
1822 Device Serial Number
1823 )))|(% style="width:168px" %)43 words
1824 |=(((
1825 HDW103
1826 )))|(% colspan="2" style="width:662px" %)(((
1827 Camera ID
1828 )))|(% style="width:168px" %)(((
1829 1 word
1830 )))
1831 |=(% rowspan="11" %)(((
1832 HDW104
1833 )))|(% colspan="2" style="width:662px" %)(((
1834 Camera control
1835 )))|(% rowspan="11" style="width:168px" %)(((
1836 1 word
1837 )))
1838 |(((
1839 HDX104.0
1840 )))|(% style="width:448px" %)(((
1841 Open Camera
1842 )))
1843 |HDX104.1|(% style="width:448px" %)(((
1844 Close Camera
1845 )))
1846 |HDX104.2|(% style="width:448px" %)(((
1847 Camera up
1848 )))
1849 |HDX104.3|(% style="width:448px" %)(((
1850 Camera down
1851 )))
1852 |HDX104.4|(% style="width:448px" %)(((
1853 Camera left
1854 )))
1855 |HDX104.5|(% style="width:448px" %)(((
1856 Camera right
1857 )))
1858 |HDX104.6|(% style="width:448px" %)(((
1859 Screenshots
1860 )))
1861 |HDX104.7|(% style="width:448px" %)(((
1862 Binding camera
1863 )))
1864 |HDX104.8|(% style="width:448px" %)(((
1865 Set alias
1866 )))
1867 |HDX104.9|(% style="width:448px" %)(((
1868 Camera stops moving
1869 )))
1870 |=(((
1871 HDW105
1872 )))|(% colspan="2" style="width:662px" %)(((
1873 Camera Status
1874
1875 ~=0:Camera disconnected;
1876
1877 ~=1:Camera connected properly;
1878
1879 ~=2:Camera is being connected.
1880 )))|(% style="width:168px" %)(((
1881 1 word
1882 )))
1883 |=(((
1884 HDW106
1885 )))|(% colspan="2" style="width:662px" %)(((
1886 Screenshot save location:
1887
1888 ~=0:Screenshot save in Flash/IPCameraScreenShot;
1889
1890 ~=1:Screenshot save in U Disk/IPCameraScreenShot;
1891
1892 ~=2:Screenshot save in SDCard/IPCameraScreenShot.
1893 )))|(% style="width:168px" %)(((
1894 1 word
1895 )))
1896
1897 * (((
1898 Fill in the camera ID with the camera serial number queried by "Camera Search Module", trigger the binding address, and fill in the camera information (user name, password, device serial number, etc.) of the ID into the corresponding function address. 
1899 )))
1900 * (((
1901 If the "Camera Search Module" is not enabled, you need to enter the camera information manually: user name, password, device serial number (S/N), which can be obtained from the label on the camera body. 
1902 )))
1903
1904 (% style="text-align:center" %)
1905 [[image:图片1.png]]
1906
1907
1908 * (((
1909 Trigger the "Open Camera" address to view the surveillance screen of the camera.
1910 )))
1911
1912 If the camera is successfully opened, you can set the alias of the camera, control the up/down/left/right movement of the camera (provided that the camera supports up/down/left/right control), and take screenshots.
1913
1914 If the camera is off, you can't set alias, camera rotation, screenshot, etc.
1915
1916 (2) Usage 2: Suitable for users know the camera account, password and camera IP
1917
1918 After enabling the rtsp camera and configuring the function address, additionally check Default configuration option, the configuration method and the function can address as follows.
1919
1920 (% style="text-align:center" %)
1921 [[image:JqIamFyDzE.png]]
1922
1923 (% style="text-align:center" %)
1924 [[image:企业微信截图_16730803592289.png]]
1925
1926 |=(% scope="row" %)(((
1927 **Register**
1928 )))|=(% colspan="2" style="width: 662px;" %)(((
1929 Function
1930 )))|=(% style="width: 168px;" %)(((
1931 **Length**
1932 )))
1933 |=(((
1934 HDW0
1935 )))|(% colspan="2" style="width:662px" %)(((
1936 User name
1937 )))|(% style="width:168px" %)(((
1938 20 words
1939 )))
1940 |=(((
1941 HDW20
1942 )))|(% colspan="2" style="width:662px" %)(((
1943 Password
1944 )))|(% style="width:168px" %)20 words
1945 |=(((
1946 HDW40
1947 )))|(% colspan="2" style="width:662px" %)(((
1948 IP
1949 )))|(% style="width:168px" %)(((
1950 8 words
1951 )))
1952 |=(((
1953 HDW48
1954 )))|(% colspan="2" style="width:662px" %)(((
1955 Port
1956 )))|(% style="width:168px" %)(((
1957 1 word
1958 )))
1959 |=(% rowspan="10" %)(((
1960 HDW49
1961 )))|(((
1962 HDX49.0
1963 )))|(% style="width:448px" %)(((
1964 Open Camera
1965 )))|(% rowspan="10" style="width:168px" %)(((
1966 1 word
1967 )))
1968 |(((
1969 HDX49.1
1970 )))|(% style="width:448px" %)(((
1971 Close Camera
1972 )))
1973 |(((
1974 HDX49.2
1975 )))|(% style="width:448px" %)(((
1976
1977 )))
1978 |(((
1979 HDX49.3
1980 )))|(% style="width:448px" %)(((
1981
1982 )))
1983 |(((
1984 HDX49.4
1985 )))|(% style="width:448px" %)(((
1986
1987 )))
1988 |(((
1989 HDX49.5
1990 )))|(% style="width:448px" %)(((
1991
1992 )))
1993 |(((
1994 HDX49.6
1995 )))|(% style="width:448px" %)(((
1996 Screenshots
1997 )))
1998 |(((
1999 HDX49.7
2000 )))|(% style="width:448px" %)
2001 |(((
2002 HDX49.8
2003 )))|(% style="width:448px" %)(((
2004
2005 )))
2006 |(((
2007 HDX49.9
2008 )))|(% style="width:448px" %)(((
2009
2010 )))
2011 |=(((
2012 HDW50
2013 )))|(% colspan="2" style="width:662px" %)(((
2014 Camera Status
2015
2016 ~=0:Camera disconnected;
2017
2018 ~=1:Camera connected properly;
2019
2020 ~=2:Camera is being connected.
2021 )))|(% style="width:168px" %)(((
2022 1 word
2023 )))
2024 |=(((
2025 HDW51
2026 )))|(% colspan="2" style="width:662px" %)(((
2027 Screenshot save location:
2028
2029 ~=0:Screenshot save in Flash/IPCameraScreenShot;
2030
2031 ~=1:Screenshot save in U Disk/IPCameraScreenShot;
2032
2033 ~=2:Screenshot save in SDCard/IPCameraScreenShot.
2034 )))|(% style="width:168px" %)(((
2035 1 word
2036 )))
2037
2038 * (((
2039 If you have set the default settings, directly trigger the function address to trigger the opening of the camera.
2040 )))
2041 * (((
2042 The camera configured via ip only supports, turn on, turn off, screenshot basic functions.
2043 )))
2044
2045 (3)Usage 3: Suitable for users know the address of rtsp stream play.
2046
2047 After enabling the rtsp camera and configuring the function address, additional check URL configuration option, configuration method and function can address as follows.
2048
2049 (% style="text-align:center" %)
2050 [[image:qi1abBsfln.png]]
2051
2052 (% style="text-align:center" %)
2053 [[image:EwAePzRgIB.png]]
2054
2055 |=(% scope="row" %)(((
2056 **Register**
2057 )))|=(% colspan="2" style="width: 662px;" %)(((
2058 Function
2059 )))|=(% style="width: 168px;" %)(((
2060 **Length**
2061 )))
2062 |=(((
2063 HDW0
2064 )))|(% colspan="2" style="width:662px" %)(((
2065 User name
2066 )))|(% style="width:168px" %)(((
2067 20 words
2068 )))
2069 |=(((
2070 HDW20
2071 )))|(% colspan="2" style="width:662px" %)(((
2072 Password
2073 )))|(% style="width:168px" %)20 words
2074 |=(((
2075 HDW40
2076 )))|(% colspan="2" style="width:662px" %)(((
2077 IP
2078 )))|(% style="width:168px" %)(((
2079 8 words
2080 )))
2081 |=(((
2082 HDW48
2083 )))|(% colspan="2" style="width:662px" %)(((
2084 Port
2085 )))|(% style="width:168px" %)(((
2086 1 word
2087 )))
2088 |=(% rowspan="10" %)(((
2089 HDW49
2090 )))|(((
2091 HDX49.0
2092 )))|(% style="width:448px" %)(((
2093 Open Camera
2094 )))|(% rowspan="10" style="width:168px" %)(((
2095 1 word
2096 )))
2097 |(((
2098 HDX49.1
2099 )))|(% style="width:448px" %)(((
2100 Close Camera
2101 )))
2102 |(((
2103 HDX49.2
2104 )))|(% style="width:448px" %)(((
2105
2106 )))
2107 |(((
2108 HDX49.3
2109 )))|(% style="width:448px" %)(((
2110
2111 )))
2112 |(((
2113 HDX49.4
2114 )))|(% style="width:448px" %)(((
2115
2116 )))
2117 |(((
2118 HDX49.5
2119 )))|(% style="width:448px" %)(((
2120
2121 )))
2122 |(((
2123 HDX49.6
2124 )))|(% style="width:448px" %)(((
2125 Screenshots
2126 )))
2127 |(((
2128 HDX49.7
2129 )))|(% style="width:448px" %)
2130 |(((
2131 HDX49.8
2132 )))|(% style="width:448px" %)(((
2133
2134 )))
2135 |(((
2136 HDX49.9
2137 )))|(% style="width:448px" %)(((
2138
2139 )))
2140 |=(((
2141 HDW50
2142 )))|(% colspan="2" style="width:662px" %)(((
2143 Camera Status
2144
2145 ~=0:Camera disconnected;
2146
2147 ~=1:Camera connected properly;
2148
2149 ~=2:Camera is being connected.
2150 )))|(% style="width:168px" %)(((
2151 1 word
2152 )))
2153 |=(((
2154 HDW51
2155 )))|(% colspan="2" style="width:662px" %)(((
2156 Screenshot save location:
2157
2158 ~=0:Screenshot save in Flash/IPCameraScreenShot;
2159
2160 ~=1:Screenshot save in U Disk/IPCameraScreenShot;
2161
2162 ~=2:Screenshot save in SDCard/IPCameraScreenShot.
2163 )))|(% style="width:168px" %)(((
2164 1 word
2165 )))
2166
2167 * (((
2168 If you have set the default settings, directly trigger the function address to trigger the opening of the camera.
2169 )))
2170 * (((
2171 The camera configured via ip only supports, turn on, turn off, screenshot basic functions.
2172 )))
2173
2174 **EZVIZ Cloud Descirption**
2175
2176 (% style="text-align:center" %)
2177 [[image:企业微信截图_1673081149790.png]]
2178
2179 (% style="text-align:center" %)
2180 [[image:企业微信截图_1673081156755.png]]
2181
2182 (% class="wikigeneratedid" %)
2183 The function address will occupy the 125 word address, the following table is using the HDW6000 as a example:
2184
2185 (% style="width:892px" %)
2186 |=(% scope="row" style="width: 208px;" %)Register|=(% style="width: 308px;" %)Description|=(% style="width: 132px;" %)Length|=(% style="width: 241px;" %)Data Format
2187 |=(% style="width: 208px;" %)HDW6000|(% style="width:308px" %)AppKey of EZVIZ Cloud|(% style="width:132px" %)20 Words|(% style="width:241px" %)String
2188 |=(% style="width: 208px;" %)HDW6020|(% style="width:308px" %)AppSecret of EZVIZ Cloud|(% style="width:132px" %)20 Words|(% style="width:241px" %)String
2189 |=(% style="width: 208px;" %)HDW6040|(% style="width:308px" %)Device S/N of EZVIZ Cloud|(% style="width:132px" %)43 Words|(% style="width:241px" %)String
2190 |=(% style="width: 208px;" %)HDW6083|(% style="width:308px" %)Channel number of EZVIZ Cloud|(% style="width:132px" %)1 Word|(% style="width:241px" %)16bit Unsigned
2191 |=(% style="width: 208px;" %)HDW6084|(% style="width:308px" %)Device IP of EZVIZ Cloud|(% style="width:132px" %)16 Words|(% style="width:241px" %)String
2192 |=(% style="width: 208px;" %)HDW6100|(% style="width:308px" %)RTSP Port of EZVIZ Cloud|(% style="width:132px" %)1 Word|(% style="width:241px" %)16bit Unsigned
2193 |=(% style="width: 208px;" %)HDW6101|(% style="width:308px" %)Verification code of EZVIZ Cloud|(% style="width:132px" %)20 Words|(% style="width:241px" %)String
2194 |=(% style="width: 208px;" %)HDX6121.1|(% style="width:308px" %)(((
2195 Confirmation of binding EZVIZ camera
2196
2197 (=1, Confirm; =Others value, Unconfirm)
2198 )))|(% style="width:132px" %)1 Bit|(% style="width:241px" %)Bit
2199 |=(% style="width: 208px;" %)HDW6122|(% style="width:308px" %)Device function control |(% style="width:132px" %)1 Word|(% style="width:241px" %)16bit Unsigned
2200 |=(% style="width: 208px;" %)HDW6123|(% style="width:308px" %)(((
2201 Device status
2202
2203 (=0, Close; =1, Open)
2204 )))|(% style="width:132px" %)1 Word|(% style="width:241px" %)16bit Unsigned
2205 |=(% style="width: 208px;" %)HDW6124|(% style="width:308px" %)Result code of function control(HDW6122)|(% style="width:132px" %)2 Words|(% style="width:241px" %)32bit Signed
2206
2207 When the function control HDW6122 set to different value, it will trigger different function. After triggered, the HDW6122 will be reset to 0. The specific introduction like follows:
2208
2209 |=(% scope="row" style="width: 450px;" %)Register Value|=(% style="width: 564px;" %)Function Description
2210 |=(% style="width: 450px;" %)1|(% style="width:564px" %)Open camera
2211 |=(% style="width: 450px;" %)2|(% style="width:564px" %)Close camera
2212 |=(% style="width: 450px;" %)3|(% style="width:564px" %)Move up
2213 |=(% style="width: 450px;" %)4|(% style="width:564px" %)Move down
2214 |=(% style="width: 450px;" %)5|(% style="width:564px" %)Move left
2215 |=(% style="width: 450px;" %)6|(% style="width:564px" %)Move right
2216 |=(% style="width: 450px;" %)7|(% style="width:564px" %)Move upper left
2217 |=(% style="width: 450px;" %)8|(% style="width:564px" %)Move lower left
2218 |=(% style="width: 450px;" %)9|(% style="width:564px" %)Move upper right
2219 |=(% style="width: 450px;" %)10|(% style="width:564px" %)Move lower right
2220 |=(% style="width: 450px;" %)11|(% style="width:564px" %)Zoom in
2221 |=(% style="width: 450px;" %)12|(% style="width:564px" %)Zoom out
2222 |=(% style="width: 450px;" %)13|(% style="width:564px" %)Short focal length
2223 |=(% style="width: 450px;" %)14|(% style="width:564px" %)Long focal length
2224 |=(% style="width: 450px;" %)15|(% style="width:564px" %)HD clarity
2225 |=(% style="width: 450px;" %)16|(% style="width:564px" %)Smooth clarity
2226 |=(% style="width: 450px;" %)17|(% style="width:564px" %)Stop control
2227
2228 The result code of function control will be displayed in HDW6124, the specific code as following table shows:
2229
2230 (% style="width:1029px" %)
2231 |=(% scope="row" style="width: 129px;" %)Result Code|=(% style="width: 366px;" %)Description|=(% style="width: 531px;" %)Remark
2232 |=(% style="width: 129px;" %)-1|(% style="width:366px" %)Operation failed|(% style="width:531px" %)Other reason(For example network error, device configuration error, etc.)
2233 |=(% style="width: 129px;" %)-1001|(% style="width:366px" %)Internal error|(% style="width:531px" %)Suggest to retry
2234 |=(% style="width: 129px;" %)-1002|(% style="width:366px" %)Camera search: Request parameter is empty|(% style="width:531px" %)Confirm the account and password whether correct or not
2235 |=(% style="width: 129px;" %)-1003|(% style="width:366px" %)Camera search: Search failed|(% style="width:531px" %)Confirm the device ethernet whether connect normal
2236 |=(% style="width: 129px;" %)-1004|(% style="width:366px" %)Camera binding failed: Invalid camera ID|(% style="width:531px" %)Confirm the camera ID whether is in the valid range
2237 |=(% style="width: 129px;" %)-1005|(% style="width:366px" %)Camera opening failed: Cannot match the corresponding camera|(% style="width:531px" %)Confirm the account, password and S/N whether correct or not
2238 |=(% style="width: 129px;" %)-1006|(% style="width:366px" %)Camera opening failed: Cannot adapt minimum resolution|(% style="width:531px" %)Confirm the camera supports ONVIF protocol or not
2239 |=(% style="width: 129px;" %)-1007|(% style="width:366px" %)Camera opening failed: Cannot get the rtsp stream address|(% style="width:531px" %)Confirm the camera supports ONVIF protocol or not
2240 |=(% style="width: 129px;" %)-1008|(% style="width:366px" %)Camera opening failed: Cannot adapt the camera parameters|(% style="width:531px" %)Confirm the camera supports ONVIF protocol or not
2241 |=(% style="width: 129px;" %)-1009|(% style="width:366px" %)Camera opening failed: Open video stream failed|(% style="width:531px" %)Confirm the camera whether is on running status, or whether open the camera too frequently
2242 |=(% style="width: 129px;" %)-1010|(% style="width:366px" %)Camera closing failed: Camera on the closed status|(% style="width:531px" %)Confirm the camera whether is on running status or not
2243 |=(% style="width: 129px;" %)-1011|(% style="width:366px" %)Camera closing failed: Camera on the closed status|(% style="width:531px" %)Confirm the camera whether is on running status or not
2244 |=(% style="width: 129px;" %)-1012|(% style="width:366px" %)Screenshot failed: Camera not opened|(% style="width:531px" %)Confirm the camera whether is on running status or not
2245 |=(% style="width: 129px;" %)-1013|(% style="width:366px" %)Screenshot failed: Execution error occurred|(% style="width:531px" %)Confirm the camera whether is on normal running status or not
2246 |=(% style="width: 129px;" %)-1014|(% style="width:366px" %)Alias setting failed: Cannot match the corresponding camera|(% style="width:531px" %)Confirm the S/N whether correct or camera whether is on running status
2247 |=(% style="width: 129px;" %)-1015|(% style="width:366px" %)Pan controlling failed: Camera on the closed status|(% style="width:531px" %)Confirm the camera whether is on normal running status or not
2248 |=(% style="width: 129px;" %)-1016|(% style="width:366px" %)Pan controlling failed: Camera match failed|(% style="width:531px" %)Confirm the account, password and S/N whether correct and the camera device whether supports pan movement
2249 |=(% style="width: 129px;" %)1|(% style="width:366px" %)Operation success|(% style="width:531px" %)Operation success
2250 |=(% style="width: 129px;" %)201|(% style="width:366px" %)Play address created|(% style="width:531px" %)Do not open the camera frequently
2251 |=(% style="width: 129px;" %)401|(% style="width:366px" %)Unauthorized|(% style="width:531px" %)Please contact the device administrator to enable operation permission
2252 |=(% style="width: 129px;" %)403|(% style="width:366px" %)Operation prohibited|(% style="width:531px" %)Please contact the device administrator to enable operation permission
2253 |=(% style="width: 129px;" %)404|(% style="width:366px" %)Play address not obtain|(% style="width:531px" %)Confirm the device network status
2254 |=(% style="width: 129px;" %)403|(% style="width:366px" %)User does not exist|(% style="width:531px" %)Confirm the AppKey and AppSecret whether correct
2255 |=(% style="width: 129px;" %)10001|(% style="width:366px" %)Parameter error|(% style="width:531px" %)Confirm the basic information of EZVIZ Cloud whether correct
2256 |=(% style="width: 129px;" %)10002|(% style="width:366px" %)AccessToken abnormal or expire|(% style="width:531px" %)Please try to reopen the camera
2257 |=(% style="width: 129px;" %)10005|(% style="width:366px" %)AppKey abnormal|(% style="width:531px" %)AppKey is frozen, please contact with EZVIZ customer service to unfreeze
2258 |=(% style="width: 129px;" %)10017|(% style="width:366px" %)AppKey does not exist|(% style="width:531px" %)Confirm the AppKey whether correct or not
2259 |=(% style="width: 129px;" %)10030|(% style="width:366px" %)AppKey is unmatched with AppSecret|(% style="width:531px" %)Confirm the AppKey and AppSecret whether correct
2260 |=(% style="width: 129px;" %)20001|(% style="width:366px" %)Channel does not exist|(% style="width:531px" %)Confirm the camera whether re-added or channel parameter whether changed
2261 |=(% style="width: 129px;" %)20002|(% style="width:366px" %)Device does not exist|(% style="width:531px" %)Confirm the S/N whether correct
2262 |=(% style="width: 129px;" %)20006|(% style="width:366px" %)Network abnormal|(% style="width:531px" %)Confirm the device network status, try again later
2263 |=(% style="width: 129px;" %)20007|(% style="width:366px" %)Device offline|(% style="width:531px" %)Confirm the devie whether online or not
2264 |=(% style="width: 129px;" %)20008|(% style="width:366px" %)Device response timeout|(% style="width:531px" %)Operation too frequent, try again later
2265 |=(% style="width: 129px;" %)20014|(% style="width:366px" %)S/N illegal|(% style="width:531px" %)Confirm the S/N whether correct
2266 |=(% style="width: 129px;" %)20018|(% style="width:366px" %)The current user does not own the device|(% style="width:531px" %)Confirm the S/N whether correct
2267 |=(% style="width: 129px;" %)20032|(% style="width:366px" %)Channel does not exist under the current user|(% style="width:531px" %)Confirm the camera whether re-added or channel parameter whether changed
2268 |=(% style="width: 129px;" %)49999|(% style="width:366px" %)Data abnormal|(% style="width:531px" %)Please try to reopen the camera
2269 |=(% style="width: 129px;" %)60000|(% style="width:366px" %)Device does not support pan controlling|(% style="width:531px" %)Confirm the device whether supports pan controlling or not
2270 |=(% style="width: 129px;" %)60001|(% style="width:366px" %)The current user does not have the permission of pan controlling|(% style="width:531px" %)Please contact the device administrator to enable operation permission
2271 |=(% style="width: 129px;" %)60002|(% style="width:366px" %)Device pan reaches to the upper movement limit|(% style="width:531px" %)Device control reach to limitation, do not repeat the operation
2272 |=(% style="width: 129px;" %)60003|(% style="width:366px" %)Device pan reaches to the lower movement limit|(% style="width:531px" %)Device control reach to limitation, do not repeat the operation
2273 |=(% style="width: 129px;" %)60004|(% style="width:366px" %)Device pan reaches to the left movement limit|(% style="width:531px" %)Device control reach to limitation, do not repeat the operation
2274 |=(% style="width: 129px;" %)60005|(% style="width:366px" %)Device pan reaches to the right movement limit|(% style="width:531px" %)Device control reach to limitation, do not repeat the operation
2275 |=(% style="width: 129px;" %)60006|(% style="width:366px" %)Current pan controlling operation failed|(% style="width:531px" %)Pan operation failed, try again later
2276 |=(% style="width: 129px;" %)60019|(% style="width:366px" %)Device stream is encrypted|(% style="width:531px" %)Using the EZVIZ Cloud client software to close the stream encrypted, then remote monitoring will be able to use
2277 |=(% style="width: 129px;" %)60020|(% style="width:366px" %)Unsupport this command|(% style="width:531px" %)Confirm the device whether supports this operation or not
2278
2279 (% class="wikigeneratedid" %)
2280 **Default Configuration**:Enable the default configuration, the initialization of the EZVIZ cloud camera display components will use the default configuration for binding, the screen can also be modified through the function address configuration information; do not enable the default configuration, the default initial configuration of the EZVIZ cloud camera display components are empty.
2281
2282 **In the default configuration, the following are required:**
2283
2284 **AppKey**:EZVIZ cloud application information AppKey, up to 32 characters in length, only letters and numbers can be entered, which can be obtained through the EZVIZ cloud open platform.
2285 **Secret**:EZVIZ cloud application information Secret, up to 32 characters in length, only letters and numbers can be entered, available through the EZVIZ cloud open platform.
2286 **Channel number**:EZVIZ cloud device source channel number, 1~~65535, no special modification, generally defaulted to 1, which can be obtained by viewing the EZVIZ cloud client software.
2287
2288 **S/N:**EZVIZ cloud device serial number, 0 to 80 characters in length, only letters, numbers and "-" can be entered, which can be obtained through the device information.
2289
2290
2291 **In the default configuration, the following are optional:**
2292
2293 **IP**:EZVIZ cloud device IP, which can be obtained by viewing the EZVIZ cloud client software.
2294
2295 **RTSP Port**:EZVIZ cloud device source rtsp port number, range 0~~65535, no special modification, generally default to 554, can be obtained by viewing the EZVIZ cloud client software.
2296 **Verification Code**:EZVIZ cloud device authentication code, up to 32 characters in length, obtainable through device information.
2297
2298 {{info}}
2299 **✎Note: **The required content in the configuration only supports remote monitoring when the camera screen can be displayed, if there is a demand for the screen side can also display the camera screen, user need to fill in the optional content in the configuration.
2300 {{/info}}
2301
2302 === **USB Camera** ===
2303
2304 (% style="text-align:center" %)
2305 [[image:6.Objects_html_6d926ea40f8267c.gif||class="img-thumbnail"]]
2306
2307 **1) Mode select**
2308
2309 It is used for selecting modes; each mode uses different settings;
2310
2311 **2) Camera settings**
2312
2313 **Function address: **It occupies a word for functional operation. Different value means different operations, as below table shows:
2314
2315 (% class="table-bordered" %)
2316 |=(% style="width: 144px;" %)**Value**|=(% style="width: 700px;" %)**Operation**
2317 |(% style="width:144px" %)1|(% style="width:700px" %)Enable the screenshot function
2318 |(% style="width:144px" %)2|(% style="width:700px" %)refresh camera display object
2319
2320 **Camera state: **It shows the current camera states. Itoccupies a word address. Different value means different operations, as below table shows:
2321
2322 (% class="table-bordered" %)
2323 |=**Value**|=**Operation**
2324 |1|Load the camera function successfully
2325 |2|Failed to load the camera function
2326 |3|Camera does not exist
2327 |4|Camera is not running
2328 |5|Initialize the camera successfully
2329 |6|Failed to initialize the camera
2330 |7|Screenshot successfully
2331 |8|Failed to screenshot
2332 |9|Connected camera
2333 |10|Removed camera
2334 |11|The cache is full
2335 |12|The cache is abnormal
2336
2337 **3) Screenshot storage**
2338
2339 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.
2340
2341 **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 is not set, it will be named according to the time and displayed as [YYYYMMDDHHMMSS.bmp] and screenshot format is [.bmp].
2342
2343 **4) Global screenshot**
2344
2345 If this function is enable, camera display object can perform the screenshot operation when HMI is running and save it as a .BMP image.
2346
2347 If this function is disabled, camera display object only performs the screenshot operation when it is displayed on screen.
2348
2349 **5) Resolution**
2350
2351 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.
2352
2353 **6) Use resolution size**
2354
2355 Coordinate displays the object location in the screen, and size is the length and width of the object.
2356
2357 **✎Note:**
2358
2359 * When using USB camera, HD USB camera is not recommended, which is limited by the resolution displayed by HMI itself.
2360 * 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.)
2361 * 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).
2362 * 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.
2363 * All below USB camera model have been tested by WECON to ensure the compatibility.
2364 * Currently, only PI8000 and PI9000 series support the USB camera function. Recommended USB cameras include:
2365 ** REB-USB 100W07M (supports 720p)
2366 ** WX152HD (supports 720p)
2367 ** RMONCAM G200 (supports 720p)
2368 ** ASHU S300 (640*480)
2369
2370 == **Camera control** ==
2371
2372 **Introduction**
2373
2374 This is for control camera; this object need to be used with camera display object.
2375
2376 **Description**
2377
2378 (% style="text-align:center" %)
2379 [[image:6.Objects_html_92cebe892be1631e.gif||class="img-thumbnail"]]
2380
2381 **1) Use dynamic control instruction**
2382
2383 Read a string from designated system address, and then combine the instruction to control the camera image.
2384
2385 When the dynamic control command is disabled, the complete camera control command be entered in order to display the camera contents.
2386
2387 **2) Camera control instruction**
2388
2389 This is for enter static instruction for camera, so that users can operation camera when HMI running;
2390
2391 **3) Control bit**
2392
2393 Trigger the switch to control the instruction.
2394
2395 **4) Enable beep**
2396
2397 The object will beep when operate.
2398
2399 == **Flow component** ==
2400
2401 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.
2402
2403 **Description**
2404
2405
2406 (% style="text-align:center" %)
2407 [[image:6.Objects_html_d5859e3da0f0d96e.gif||class="img-thumbnail"]]
2408
2409 **(1) Color**
2410
2411 1. **FlowFrn: **It sets outer border color of flow component.
2412 1. **Block: **It sets the block color of flow component.
2413 1. **FlowBg:** It sets background color of flow component.
2414
2415 **(2) Detail**
2416
2417 1. **Pipe width:** It sets background width of flow component.
2418 1. **Block width:** It sets block width of flow component.
2419 1. **PipeFrn width: **It sets outer border width of flow component.
2420 1. **Block length: **It sets block length of flow component.
2421 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.
2422 1. **Ratio:** It sets display ratio of block and background (Display density of the block in flow component).
2423 1. **Speed:** It setsflow speed of the block during HMI running.
2424
2425 **(3) Control**
2426
2427 **It flows automatically by default, and the direction is from left to right, up to down.**
2428
2429 1. **Reverse:** It sets flow in reverse (default is left to right).
2430 1. **Variable:** It sets bit address to control reverse flow or not.
2431
2432 * **Set OFF: **Forward
2433 * **Set ON: **Reverse
2434
2435 (% start="3" %)
2436 1. **Address: **It sets bit address to control flow or not.
2437
2438 * **Set OFF:** Stop
2439 * **Set ON: **Flowing
2440
2441 **(4) Preview**
2442
2443 It is for preview object.
2444
2445 == **Printer** ==
2446
2447 The printing object is primarily suitable for print out or screenshots saving when connected to micro printer.
2448
2449 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.
2450
2451 **Printer protocol**
2452
2453 HMI provides printer protocol to users as below. If users want to connect printer to HMI, protocol is necessary.
2454
2455 (% style="text-align:center" %)
2456 [[image:6.Objects_html_c453720e1c20151f.gif||class="img-thumbnail"]]
2457
2458 (% style="text-align:center" %)
2459 [[image:6.Objects_html_7c8cf5dd7d245017.gif||class="img-thumbnail"]]
2460
2461 **Description**
2462
2463 (% style="text-align:center" %)
2464 [[image:6.Objects_html_3b114c6a3e49fb0a.gif||class="img-thumbnail"]]
2465
2466 **(1) Display settings**
2467
2468 1. **Direction: **Four direction choices in printing: 0, 90, 180, and 270.
2469 1. **Zoom in: **Check "Zoom in" to zoom printing content in proportion with paper size.
2470
2471 **(2) Trigger mode**
2472
2473 1. **Trigger address: **When trigger address turns ON.Printer starts to respond operation.
2474 1. **Printer\ Save:** It sets operation for this object, printer object could support sending printing command to printer device, and including screenshot.
2475
2476 **(3) Save path**
2477
2478 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.
2479
2480 Folder: It's available 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.
2481
2482 **Related issues**
2483
2484 1. The printer supports the following models:
2485
2486 * **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.
2487 * **USB printer: **SP-EU80, SP-EU80N, SP-EU801SU-USB, SP-RME3UHB, SP-RME4, SP-RMD8CUH-USB.
2488
2489 (% start="2" %)
2490 1. How to use USB printer and USB disk at the same time?
2491
2492 * Plug the USB interface in the HMI into the Hub to expand the USB interface.
2493
2494 = **Draw** =
2495
2496 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.
2497
2498 (% style="text-align:center" %)
2499 [[image:6.Objects_html_dd833ab994009b36.gif||class="img-thumbnail"]]
2500
2501 == **Date** ==
2502
2503 Date object displays local system date on the HMI screen.
2504
2505 (% style="text-align:center" %)
2506 [[image:6.Objects_html_2f5f5e3da13b2d1b.gif||class="img-thumbnail"]]
2507
2508 **(1) Display**
2509
2510 1. **Open:** It locals to [Shape] to select object background picture.
2511 1. **Default: **Click it to reset object background.
2512 1. **No Shape: **It sets transparent background for this object.
2513 1. **Font:** It locals to [Font library] to select font for text in object.
2514
2515 **(2) Text color**
2516
2517 It sets color for text in object.
2518
2519 **(3) Color**
2520
2521 Valid when select SVG picture from [Shape], user can modify SVG color according to requirements.
2522
2523 **(4) Data format**
2524
2525 It sets object display date or week, and format, detailed please refer to below table.
2526
2527 (% class="table-bordered" %)
2528 |**Classification**|**Properties**|**Display style**
2529 |(% rowspan="2" %)Format|Show date|(((
2530 YYYY/MM/DD: year/month/day
2531
2532 MM/DD/YYYY: month/day/year
2533
2534 DD/MM/YYYY: day/month/year
2535 )))
2536 |Show week|(((
2537 Chinese 1
2538
2539 English 1
2540
2541 Chinese 2
2542
2543 English 2
2544 )))
2545
2546 (% class="wikigeneratedid" %)
2547 ✎**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]]".
2548
2549 == **Time** ==
2550
2551 Date object displays local system time on the HMI screen
2552
2553 (% style="text-align:center" %)
2554 [[image:6.Objects_html_b816c29f98f67eb9.gif||class="img-thumbnail"]]
2555
2556 **(1) Display**
2557
2558 1. **Open:** It locals to [Shape] to select object background picture.
2559 1. **Default: **Click it to reset object background.
2560 1. **No Shape: **It sets transparent background for this object.
2561 1. **Font:** It locals to [Font library] to select font for text in object.
2562
2563 **(2) Text color**
2564
2565 It sets color for text in object;
2566
2567 **(3) Color**
2568
2569 Valid when select SVG picture from [Shape], user can modify SVG color according to requirements;
2570
2571 == **Text** ==
2572
2573 It adds text to HMI screen, and a object can be displayed in 8 languages (set in "All Languages") with a special address setting.
2574
2575 **Description**
2576
2577 (% style="text-align:center" %)
2578 [[image:6.Objects_html_3cae6153cc6e4750.gif||class="img-thumbnail"]]
2579
2580 **(1) Current state**
2581
2582 It used to switch the object states, but [Text] object only has one state, so this function is invalid.
2583
2584 **(2) All language**
2585
2586 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.
2587
2588 (% style="text-align:center" %)
2589 [[image:6.Objects_html_9e5568517d7a5c7c.gif||class="img-thumbnail"]]
2590
2591 **(3) From Text Library**
2592
2593 If user already setting text in "Text library", you could use text from "Text library" directly.
2594
2595 **(4) Windows**
2596
2597 It displays three languages content and provides text display setting access.
2598
2599 **(5) Text color**
2600
2601 It sets color for text in object.
2602
2603 **(6) Text background**
2604
2605 It sets object background and it only supports color.
2606
2607 == **Table** ==
2608
2609 It is displayed in a table format in the HMI screen to meet the display needs of user.
2610
2611 **Description**
2612
2613 (% style="text-align:center" %)
2614 [[image:6.Objects_html_2aad7ef679949d71.gif||class="img-thumbnail"]]
2615
2616 **(1) General**
2617
2618 1. **Rows:** It sets rows for table.
2619 1. **Columns:** It sets columns for table.
2620 1. **Table line width:** It sets table line width, the larger the value, the thicker the line.
2621 1. **Frame line width: **It sets table frame line width, the larger the value, the thicker the line.
2622 1. **Border:** It sets table line color, including table line and frame line.
2623 1. **Transparence: **It sets the transparency of the object background.
2624 1. **Fill style: **There are two options for it, one is display background, and the other is no background.
2625 1. **Background:** Valid when select display background in "Fill style".
2626
2627 **(2) View**
2628
2629 It is for preview object.
2630
2631 == **Line** ==
2632
2633 It is displayed in line format in the HMI screen to meet the display needs of user.
2634
2635 **Description**
2636
2637 (% style="text-align:center" %)
2638 [[image:6.Objects_html_795af47bf0ad8529.gif||class="img-thumbnail"]]
2639
2640 **(1) Display settings**
2641
2642 1. **Line:** It sets line color.
2643 1. **Line type:** It sets line type; it provides 9 types for user.
2644 1. **Transparence: **It sets the transparency of the object background.
2645
2646 **(2) Line width control**
2647
2648 In basic display settings, the line width can't be changed, but you could change width by address.
2649
2650 Read the numerical value of address to control the width of line. Display range of numerical value:1-10.
2651
2652 **(3) Coordinate control**
2653
2654 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.
2655
2656 **(4) Color control**
2657
2658 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.
2659
2660 **(5) View**
2661
2662 It is for preview object.
2663
2664 == **Polygon** ==
2665
2666 It is displayed in polygon format in the HMI screen to meet the display needs of user.
2667
2668 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.
2669
2670 **Description**
2671
2672 (% style="text-align:center" %)
2673 [[image:6.Objects_html_9f46a2daf3b48e68.gif||class="img-thumbnail"]]
2674
2675 **(1) Display settings**
2676
2677 1. **Border color: **It sets border line color.
2678 1. **Border type:** It sets border line type.
2679 1. **Border width: **It sets border line width.
2680 1. **Transparence: **It sets the transparency of the object background.
2681 1. **Coordinate editing:** It changes coordinate for all points in this object, as below shows.
2682
2683 (% style="text-align:center" %)
2684 [[image:6.Objects_html_52dee5d0cb5df996.gif||class="img-thumbnail"]]
2685
2686 (% start="6" %)
2687 1. **Filling pattern:** It can't be modified now.
2688 1. **Background:** It sets background color of object.
2689
2690 **(2) Transparence control**
2691
2692 Read the numerical value of address, control the transparency; value range: 0 to 100.
2693
2694 **(3) Color control**
2695
2696 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.
2697
2698 **(4) View**
2699
2700 It is for preview object.
2701
2702 == **Cycle/ Ellipse** ==
2703
2704 It is displayed as cycle in HMI screen to meet the display needs of user.
2705
2706 **Description**
2707
2708 (% style="text-align:center" %)
2709 [[image:6.Objects_html_1851aaa90af6ee72.gif||class="img-thumbnail"]]
2710
2711 **1) Display settings**
2712
2713 1. **Border:** It sets border line color.
2714 1. **Frame width: **It sets border line type.
2715 1. **Frame type: **It sets border line width
2716 1. **Pattern: **It sets background type, there are four types.
2717 1. **Background: **It sets background color of object, invalid when select [No fill] in [Pattern]
2718 1. **Transparence:** It sets the transparency of the object background.
2719
2720 **2) Transparence control**
2721
2722 Read the numerical value of address, control the transparency; value range: 0 to 100.
2723
2724 **3) Cycle**
2725
2726 Check if for circle; uncheck it for ellipse.
2727
2728 **4) Color control**
2729
2730 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.
2731
2732 **5) Move Control**
2733
2734 Dynamically set the position coordinate and size of circle/ellipse when HMI is running.
2735
2736 1. **X axis: **The length value moved along the X axis comes from the set address.
2737 1. **Y axis: **The length value moved along the Y axis comes from the set address.
2738 1. **Radius address: **The radius length of the circle/ellipse from the set address.
2739
2740 == **Arc** ==
2741
2742 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.
2743
2744 **Description**
2745
2746 **(1) View**
2747
2748 It is for preview object.
2749
2750 **2) Display settings**
2751
2752
2753 (% style="text-align:center" %)
2754 [[image:6.Objects_html_4729b28f315a5a9b.gif||class="img-thumbnail"]]
2755
2756 1. **Border:** It sets border line color.
2757 1. **Line type: **It sets border line width.
2758 1. **Line width: **It sets border line type.
2759 1. **Fill style: **It sets background type, there are four types.
2760 1. **Transparence:** It sets the transparency of the object background.
2761 1. **Background: **It sets background color of object, invalid when select [No fill] in [Pattern].
2762
2763 **(3) Only show arc**
2764
2765 Check it for displaying arc; Uncheck it for displaying sector;
2766
2767 **(4) Transparence control**
2768
2769 Read the numerical value of address, control the transparency; value range:0-100.
2770
2771 **(5) Color control**
2772
2773 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.
2774
2775 **(6) Angle control**
2776
2777 Dynamically set the shape of the arc, start angle and end angle are controlled separately by setting address.
2778
2779 **(7) Angle**
2780
2781 It displays and sets the starting and ending angles of the arc.
2782
2783 == **Broken line** ==
2784
2785 The line segments are linked end-to-end to form a broken line, whose vertex coordinate can be modified by drafting, just like polygon.
2786
2787 **Description**
2788
2789 (% style="text-align:center" %)
2790 [[image:6.Objects_html_c3b0de1d4c2fe745.gif||class="img-thumbnail"]]
2791
2792 **(1) Display settings**
2793
2794 1. **Line color: **It sets line color.
2795 1. **Line type:** It sets line type.
2796 1. **Line width: **It sets line width.
2797 1. **Transparence: **It sets the transparency of the object line.
2798 1. **Coordinate editing:** It changes coordinate for all points in this object, as below shows.
2799
2800 (% style="text-align:center" %)
2801 [[image:6.Objects_html_52dee5d0cb5df996.gif||class="img-thumbnail"]]
2802
2803 **(2) Transparence control**
2804
2805 Read the numerical value of address, control the transparency; value range:0-100.
2806
2807 **(3) Line width control**
2808
2809 In basic display settings, the line width can't be changed, but user can change width by address.
2810
2811 Read the numerical value of address to control the width of line.Display range of numerical value:1-10.
2812
2813 **(4) View**
2814
2815 It is for preview object;
2816
2817 == **Linear scale** ==
2818
2819 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.
2820
2821 **Description**
2822
2823 (% style="text-align:center" %)
2824 [[image:6.Objects_html_b604bd83c8b8b6d1.gif||class="img-thumbnail"]]
2825
2826 **(1) Display settings**
2827
2828 1. **Line color:** It sets all line in object (including main and sub scale).
2829 1. **Display direction: **It provides four modes for display.
2830 1. **Main scale:**It sets the cell of the main scale.
2831 1. **Sub scale:** It sets the cell of sub scale for every main scale.
2832
2833 **(2) View**
2834
2835 It is for preview object;
2836
2837 == **Arc scale** ==
2838
2839 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.
2840
2841 **Description**
2842
2843 (% style="text-align:center" %)
2844 [[image:6.Objects_html_bd7f21c4d48f4d8a.gif||class="img-thumbnail"]]
2845
2846 **Line color: **It sets all line in object (including main and sub scale).
2847
2848 **Display direction: **It provides four modes for display.
2849
2850 **Main scale: **It sets the cell of the main scale.
2851
2852 **External radius:** It sets the distance from the center of the circle to the outer circle of object.
2853
2854 **Inner radius: **It sets the distance from the center of the circle to the inner circle of object.
2855
2856 **Start angle: **It displays and sets the start angles of the arc.
2857
2858 **End angle: **It displays and sets the end angles of the arc.
2859
2860 = **Custom object** =
2861
2862 (% style="text-align:center" %)
2863 [[image:6.Objects_html_b1535eb250d177d6.gif||class="img-thumbnail"]]
2864
2865 == **Customized object** ==
2866
2867 Customized object is provided for users to design the universal interface of object freely to meet customization requirements.
2868
2869 **Description**
2870
2871 (% style="text-align:center" %)
2872 [[image:6.Objects_html_c8146ad79a9ce732.gif||class="img-thumbnail"]]
2873
2874 1. **Function Address:** the numerical value in this address is used as the function code of object to handle the corresponding operation.
2875 1. **DLL file name: **Select needed dll file (i.e. dll files provided by users)
2876 1. **Custom address:** users can add some function address to cooperate with dll file to complete other operations
2877
2878 **✎Note:**
2879
2880 This is a custom-made object that requires the cooperation of WECON software engineers.
2881
2882 Required documents: two XXXXXX.dll files and an document.
2883
2884 * One dll file is used in PC and should be put under the dll_pc folder in the software installation directory.
2885 * One dll file is used in HMI and should be put under the dll_hmi folder in the software installation directory.
2886 * A document for illustrating the dll files.