Wiki source code of 05 Objects

Version 94.1 by Jett on 2024/12/04 09:57

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