Wiki source code of 05 Objects

Version 87.2 by Hunter on 2024/02/19 10:47

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