Wiki source code of 05 Objects

Last modified by Joe on 2025/09/05 17:02

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