Wiki source code of 02 PLC editor2 software help

Version 1.1 by Leo Wei on 2022/06/08 12:57

Show last authors
1 (((
2 = **2.1 Quick start** =
3 )))
4
5 This chapter briefly introduces the use of our PLC programming software to write a simple PLC control program and programming operations to help beginners get familiar with and master the operation of our programming software as soon as possible. The following are the development steps of PLC:
6
7 Step 1: Start our PLC editor2 and enter the programming window.
8
9 Step 2: Click "New" to pop up the "New Project" window, set "PLC Series", "PLC Type" and "Program Language".
10
11 Step 3: Click "Program" in the "Project Management" area to start writing the ladder diagram program.
12
13 Step 4: Add instructions.
14
15 Step 5: Save the program project (when the program has a designated save path, the software will save the current program regularly).
16
17 Step 6: Compile the program.
18
19 Step 7: Establish a communication connection with PLC.
20
21 Step 8: Download the program to the PLC.
22
23 Step 9: Start the PLC (RUN state).
24
25 == **2.1.1 A.Start the software** ==
26
27 After the programming software of our company is correctly installed, click on PLC Editor2 in the Windows start menu to start the PLC programming software and enter the main programming screen, which is shown in the following figure:
28
29 (% style="text-align:center" %)
30 [[image:5V帮助文档_中性_html_5ded10266dfb47ad.png||class="img-thumbnail" height="718" width="1200"]]
31
32 == **2.1.2 B.Build the project** ==
33
34 After starting the programming environment, you first need to create a new project. Click "New" to pop up the "New Program" window, you can select or create a new project:
35
36 * PLC series
37 * PLC type
38 * PLC language
39
40 **To create a new project, please operate as shown in the figure below:**
41
42 1.Move the mouse to the upper left corner of the program, and click the [File] menu at the position indicated by the number "1" as shown in the figure.
43
44 2.After clicking the [File] menu, a new module will pop up.
45
46 3.Click the number "2" to indicate the place, the [New] button, and click to enter.
47
48 (% style="text-align:center" %)
49 [[image:5V帮助文档_中性_html_32f62e23a69a71f9.png||class="img-thumbnail" height="316" width="300"]]
50
51 4.Wait for a new dialog box to pop up.
52
53 5.Select [PLC Series], [PLC Type] and [Program Language] through the drop-down box.
54
55 6.Click the [OK] button to create a new project.
56
57 (% style="text-align:center" %)
58 [[image:5V帮助文档_中性_html_796bc9914403b60f.png||class="img-thumbnail" height="162" width="300"]]
59
60 In this example, we have selected a 5V type PLC, using ladder diagram as the programming language, after completing the steps of creating a new project, as shown in the following figure:
61
62 (% style="text-align:center" %)
63 [[image:5V帮助文档_中性_html_c638976e9f4739bc.png||class="img-thumbnail" height="717" width="1200"]]
64
65 **✎Note:** For specific project management function operations, please refer to the relevant chapters.
66
67 == **2.1.3 C.Add instructions** ==
68
69 **method:**
70
71 1.A new project has been completed.
72
73 2.Expand the directory tree of [Project Manager].
74
75 (% style="text-align:center" %)
76 [[image:5V帮助文档_中性_html_8fdf261f88bbddd6.png||class="img-thumbnail" height="713" width="200"]]
77
78 3.After expanding the [Project Manager], expand the [Instruction Set] directory.
79
80 4.Expand the [Basic Sequence Commands] directory.
81
82 (% style="text-align:center" %)
83 [[image:5V帮助文档_中性_html_cf2bb78b924b3142.png||class="img-thumbnail" height="579" width="200"]]
84
85 5.Use the left mouse button to select the specified sequence control command, such as [LD].
86
87 6.Press and hold the mouse, select [LD] and drag it to the right [Ladder Diagram (Write)] input box, place it in the designated position, and release the left mouse button.
88
89 (% style="text-align:center" %)
90 [[image:5V帮助文档_中性_html_491ae02861267ab0.png||class="img-thumbnail" height="175" width="900"]]
91
92 * **✎Note: **In addition to the system default parameters, the input and output of some added commands are empty, and the user needs to input parameters or component addresses.
93 * If you want to add multiple instructions, repeat the above operation until all the instructions are added.
94
95 == **2.1.4 D.Compile program** ==
96
97 After the program is written, it needs to be compiled and saved, which can be achieved by pressing [F4] on the keyboard or the [Compile] button in the program panel, as shown in the figure below:
98
99 (% style="text-align:center" %)
100 [[image:5V帮助文档_中性_html_ab57c233bf465ba9.png||class="img-thumbnail" height="114" width="500"]]
101
102 Successful compilation is the following promptl:
103
104 (% style="text-align:center" %)
105 [[image:5V帮助文档_中性_html_9b8787d1b98c9a2d.png||class="img-thumbnail" height="159" width="300"]]
106
107 Compilation failure is the following prompt:
108
109 (% style="text-align:center" %)
110 [[image:5V帮助文档_中性_html_56aac354d68e85a.png||class="img-thumbnail" height="79" width="1200"]]
111
112 All errors will be displayed in the list box. The user can select the specified error information, double-click the specified information with the left mouse button, and the system will automatically locate the error or warning position, which is convenient for the user to debug the program.
113
114 **✎Note:** The program can be downloaded to the PLC only when the compilation is successful or there are no errors.
115
116 == **2.1.5 E.Communication test (establish connection with PLC)** ==
117
118 The main purpose of the communication test is to improve the stability of the PLC and PC, and avoid the loss of force majeure during the transmission process.
119
120 **Preparation steps:**
121
122 1. Open and run PLC Editor.
123 1. Move the mouse pointer to the [Online] module above the program panel.
124 1. Move the mouse pointer to the [Transfer Setup] button, and left-click the button. As shown below:
125
126 (% style="text-align:center" %)
127 [[image:5V帮助文档_中性_html_7599d67300f099ff.png||class="img-thumbnail" height="94" width="500"]]
128
129 1. Wait for the program to respond and the [Transfer Setup] dialog box will pop up.
130 1. The [Transfer Setup] pops up, when the [More] checkbox is not checked, select the specified port, and the panel is as shown in the figure below:
131
132 (% style="text-align:center" %)
133 [[image:5V帮助文档_中性_html_5e1b1dc363fb1c48.png||class="img-thumbnail" height="297" width="600"]]
134
135 USB port device: This download interface is only supported when using the PLC's USB port to download programs or monitor devices. If a USB device is currently connected, the software system defaults to the "PLC USB interface" radio button.
136
137 COM port equipment: Use when using the round head (8-pin head) of the PLC to download programs or monitor equipment.
138
139 1. When the [Detailed Settings] option box is checked, the detailed settings window will pop up. The panel looks like this:
140
141 (% style="text-align:center" %)
142 [[image:5V帮助文档_中性_html_719fb2007ec93d29.png||class="img-thumbnail" height="502" width="600"]]
143
144 1. Users can set the data according to their needs.
145
146 Note: The range of communication time check is [0-9999], and the number of repetitions is [0-5], please do not exceed the limited range.
147
148 1. After the user completes the settings, he can click the [Communication Test] or [Execute] button to perform a connection test.
149 1. If the test connection fails, the system will give a corresponding prompt, as shown in the figure below:
150
151 (% style="text-align:center" %)
152 [[image:5V帮助文档_中性_html_de3c6ea96f892755.png||class="img-thumbnail" height="124" width="300"]]
153
154 1. The connection is successful as shown in the figure below:
155
156 (% style="text-align:center" %)
157 [[image:5V帮助文档_中性_html_8eb649148fdd4fa4.png||class="img-thumbnail" height="170" width="300"]]
158
159 1. After successful communication, you can click [View Device Information].
160
161 (% style="text-align:center" %)
162 [[image:5V帮助文档_中性_html_530e353eb6437411.png||class="img-thumbnail" height="343" width="500"]]
163
164 **F.PLC program download**
165
166 **~1. What needs to be done before downloading:**
167
168 1. Open the compiler;
169 1. Create a new project and make the project compile successfully;
170 1. Install the corresponding PLC driver on the PC and connect the PLC and PC;
171 1. Complete the communication setting through the compiler.
172
173 **2. Start downloading**
174
175 1. After completing the preparations, move the mouse to the [Online] module, and click the [Write to PLC] button to open the download setting window, as shown in the figure below:
176
177 (% style="text-align:center" %)
178 [[image:5V帮助文档_中性_html_41e6955b353f225e.png||class="img-thumbnail" height="129" width="500"]]
179
180 1. The online operation window is shown in the figure below:
181
182 (% style="text-align:center" %)
183 [[image:5V帮助文档_中性_html_f6b694b62aa9ad72.png||class="img-thumbnail" height="587" width="700"]]
184
185 1. Click the [Param+Prog (P)] button, and the system will automatically select the preset option in the message box. After the configuration is completed, click [Execute]. As shown below:
186
187 (% style="text-align:center" %)
188 [[image:5V帮助文档_中性_html_a758954313777cea.png||class="img-thumbnail" height="587" width="700"]]
189
190 1. After clicking [Execute], the system will automatically pop up a prompt window. Click [Yes] to stop the operation of the PLC and start downloading the PLC program. Clicking [No] means that the PLC will not be stopped, and the program will not be downloaded to the PLC. As shown below:
191
192 (% style="text-align:center" %)
193 [[image:5V帮助文档_中性_html_9a00272861fd55ef.png||class="img-thumbnail" height="182" width="400"]]
194
195 1. After clicking [Yes], the download and compile window will start to run. As shown below:
196
197 (% style="text-align:center" %)
198 [[image:5V帮助文档_中性_html_f3c8d22bd59f7e54.png||class="img-thumbnail" height="503" width="600"]]
199
200 1. When the progress bar in the download window completes the progress, the system will pop up a [Compilation Successful] prompt. As shown below:
201
202 (% style="text-align:center" %)
203 [[image:5V帮助文档_中性_html_7446b0dc3a4ce5bb.png||class="img-thumbnail" height="201" width="300"]]
204
205 = **2.2 Software function introduction** =
206
207 == **2.2.1 A.Overall structure introduction** ==
208
209 After the software is started, enter the main interface, as shown in the figure below:
210
211 (% style="text-align:center" %)
212 [[image:5V帮助文档_中性_html_c638976e9f4739bc.png||class="img-thumbnail" height="717" width="1200"]]
213
214 **1)Toolbar area**
215
216 Most of the functions of the software can be found here, which are divided into PLC, view and help according to classification.
217
218 (% style="text-align:center" %)
219 [[image:5V帮助文档_中性_html_50c004c3a273b529.png||class="img-thumbnail" height="79" width="1200"]]
220
221 1. There are functions such as ladder diagram symbol, comment statement editing mode, compilation, communication function and encryption tool in the PLC classification, which will be explained in detail in the following chapters.
222 1. Functions such as each floating window and ladder diagram display scale can be enabled in the view classification.
223 1. The help of the software can be viewed in the help category, and the software version number information can be viewed through the about button of the category.
224
225 **2)Project management area**
226
227 It is used to create new programs, operate program pages or program blocks, and configure PLC parameters.
228
229 (% style="text-align:center" %)
230 [[image:5V帮助文档_中性_html_edfcd25742454c39.png||class="img-thumbnail" height="288" width="300"]]
231
232 **3)Ladder diagram editing area**
233
234 In short, it is the module for development. In this module, users can write programs, configure PLC and other development, and at the same time, users can add, delete, modify and check PLC through this module.
235
236 (% style="text-align:center" %)
237 [[image:5V帮助文档_中性_html_19cd54e828e373fa.png||class="img-thumbnail" height="146" width="700"]]
238
239 **4)Other floating windows**
240
241 It is used to display or realize a specific function, which will be explained in detail in the following chapters.
242
243 (% style="text-align:center" %)
244 [[image:5V帮助文档_中性_html_440142e42b85121d.png||class="img-thumbnail" height="221" width="1000"]]
245
246 Status bar: used to display the status of the PLC or program page.
247
248 (% style="text-align:center" %)
249 [[image:5V帮助文档_中性_html_2d945313e408d905.png||class="img-thumbnail" height="26" width="600"]]
250
251 == **2.2.2 B.PLC function menu** ==
252
253 **1)Clipboard description**
254
255 Clipboard is a basic function of PLC Editor2 and has a very important function. This chapter will explain the basic description of the clipboard.
256
257 The clipboard has five functions: "Cut", "Copy", "Paste", "Undo" and "Redo".
258
259 (% style="text-align:center" %)
260 [[image:5V帮助文档_中性_html_60e90e953121ee54.png||class="img-thumbnail" height="110" width="150"]]
261
262 Cut: After selecting the ladder diagram, use the [Ctrl+X] command or the right mouse button to cut the selected data to the memory and switch to other places for use.
263
264 Copy: After selecting the ladder diagram, you can use the [Ctrl+C] command or the right mouse button command to copy the specified data.
265
266 Paste: After selecting the ladder diagram, you can use the [Ctrl+V] command or the right mouse button command to paste the specified data.
267
268 Cancellation: Through the [Ctrl+Z] command or the right mouse button command, the event operated by the user can be rolled back, only when the software is running continuously, and the cancellation cache will be cleared if you exit
269
270 Redo: Through the [Ctrl+Y] command, or the right mouse button command, the user can return to the previous action after canceling the event.
271
272 **2)Ladder diagram symbol description**
273
274 PLC Eidtor provides powerful and complete functions in the menu bar, which can greatly improve programming efficiency, as shown in the following figure:
275
276 (% style="text-align:center" %)
277 [[image:5V帮助文档_中性_html_dca6dc7e0cb73c31.png||class="img-thumbnail" height="99" width="200"]]
278
279 **The following table is a detailed description of the ladder diagram:**
280
281 (% class="table-bordered" %)
282 |**Image**|**Instruction**|**Command function description**|**Hot key**
283 |[[image:5V帮助文档_中性_html_17467c64c59b7dcc.jpg]]|LD AND|Input series normally open stagnation point|F5
284 |[[image:5V帮助文档_中性_html_78ee1c120297f15c.jpg]]|OR|Input parallel normally open stagnation point|SHIFT+F5
285 |[[image:5V帮助文档_中性_html_6d69b74c12b3d4ac.jpg]]|LDI ANI|Input series normally closed stagnation point|F6
286 |[[image:5V帮助文档_中性_html_16ca0a4e28932a25.jpg]]|ORI|Input parallel normally open stagnation point|SHIFT+F6
287 |[[image:5V帮助文档_中性_html_91ad97fbb1766cde.jpg]]|OUT|Ladder diagram output coil|F7
288 |[[image:5V帮助文档_中性_html_bb11bf59792412cb.jpg]]|CJ/CALL and other application instructions|Enter application instructions|F8
289 |[[image:5V帮助文档_中性_html_e11c169668fbc3d7.jpg]]| |Ladder diagram input horizontal line|F9
290 |[[image:5V帮助文档_中性_html_25d3575219c37c40.jpg]]| |Ladder diagram input vertical line|F11
291 |[[image:5V帮助文档_中性_html_e1fd81d831e4cc1e.jpg]]| |Delete horizontal lines in ladder diagram|CTRL+F9
292 |[[image:5V帮助文档_中性_html_50a964bc9aa2388f.jpg]]| |Delete vertical line in ladder diagram|CTRL+F11
293 |[[image:5V帮助文档_中性_html_4c194d2b4c3e9166.jpg]]|LDP ANP|Input series rising edge pulse|SHIFT+F7
294 |[[image:5V帮助文档_中性_html_4e945174029d8824.jpg]]|LDF ANF|Input series falling edge pulse|SHIFT+F8
295 |[[image:5V帮助文档_中性_html_94c5f7c4566eeb6e.jpg]]|ORP|Input parallel rising edge pulse|CTRL+ALT+F7
296 |[[image:5V帮助文档_中性_html_fe027a1353a855e2.jpg]]|ORF|Input parallel falling edge pulse|CTRL+ALT+F8
297 |[[image:5V帮助文档_中性_html_8213f80a4dec5ecc.jpg]]|INV|Invert the result of the operation|CTRL+ALT+F11
298 |[[image:5V帮助文档_中性_html_bd63cbbc541dc1c9.png]]| |Line segment input|SHIFT+F9
299 |[[image:5V帮助文档_中性_html_fb82ee5fc2b94c23.png]]| |Line segment deletion|SHIFT+F11
300 |[[image:5V帮助文档_中性_html_236aac83ad0c365e.png]]|MEP|Pulse of the rising edge of the calculation result|ALT+F5
301 |[[image:5V帮助文档_中性_html_fc7bf55c55a8fc75.png]]|MEF|Pulse of the falling edge of the calculation result|CTRL+ALT+F5
302
303 **3)Edit comment or statement**
304
305 Editing comments or statement is mainly to comment the code in the project to better interpret the project.
306
307 As shown in the figure below, it enters the editing state.
308
309 (% style="text-align:center" %)
310 [[image:5V帮助文档_中性_html_8b22888c837c4e68.png||class="img-thumbnail" height="160" width="150"]]
311
312
313 (% style="text-align:center" %)
314 [[image:5V帮助文档_中性_html_710a3e14734e58bb.png||class="img-thumbnail" height="152" width="150"]]
315
316 === **2.2.2.1 Edit comment** ===
317
318 Function: Comment on the device.
319
320 Prerequisite: devices are required on the ladder diagram.
321
322 **Step:**
323
324 1. Click the [Comment] button, when the button color becomes darker, it will enter the editing state.
325 1. After successfully entering the edit comment state, move the mouse to the code segment specified by the user, and double-click the target area with the left button, and the [Comment Edit] window will pop up.
326 1. At this time, you can enter the specified comment in the column input box of [Device/Tag].
327 1. After editing the comment, click [Execute] to save it.
328
329 Note: The comment can be edited up to 128 characters, and the alias can be edited up to 8 characters.
330
331 (% style="text-align:center" %)
332 [[image:5V帮助文档_中性_html_be4a888595c92181.png||class="img-thumbnail" height="197" width="500"]]
333
334 **Expected:**
335
336 (% style="text-align:center" %)
337 [[image:5V帮助文档_中性_html_afc613790818c23b.png||class="img-thumbnail" height="71" width="700"]]
338
339 === **2.2.2.2 Edit statement** ===
340
341 Function: Annotate the ladder diagram block.
342
343 **Step:**
344
345 1. Click the [Statement] button, when the button color becomes darker, enter the editing state.
346 1. After successfully entering the edit statement state, move the mouse to the code segment specified by the user, and double-click the target area with the left button, and the [Statement Edit] window will pop up.
347 1. At this time, you can enter the specified statement in the previous input box.
348 1. After editing the statement, click [Execute] to save it.
349
350 Note: The statement line can edit up to 64 characters, and the statement can be downloaded to the PLC when downloading the ladder diagram.
351
352 (% style="text-align:center" %)
353 [[image:5V帮助文档_中性_html_fe14e945492e2ac8.png||class="img-thumbnail" height="109" width="400"]]
354
355 **Expected:**
356
357 (% style="text-align:center" %)
358 [[image:5V帮助文档_中性_html_12e07c63fa46c58b.png||class="img-thumbnail" height="144" width="800"]]
359
360 **4)Program compilation**
361
362 This chapter mainly introduces the program compilation function.
363
364 The program compilation menu has three functions, including compile, switch, and compile all, as shown in the figure below:
365
366 (% style="text-align:center" %)
367 [[image:5V帮助文档_中性_html_798be77f75c5ef4f.png||class="img-thumbnail" height="142" width="150"]]
368
369 === **2.2.2.3 Compile** ===
370
371 **Function:** Refers to the form of converting the ladder diagram (program) of the current program page into the instruction list (IL).
372
373 **Steps:** After compiling the ladder diagram, click compile or use the hot key F4.
374
375 **Expected:**
376
377 1. Compiling correctly will prompt that the compilation is successful.
378
379 (% style="text-align:center" %)
380 [[image:5V帮助文档_中性_html_b875a162ab95dc5e.png||class="img-thumbnail" height="675" width="1200"]]
381
382 1. Failure will prompt compilation failure. Locate the error location and go to the information output window. You can modify the ladder diagram according to the prompts.
383
384 (% style="text-align:center" %)
385 [[image:5V帮助文档_中性_html_d0443d962acc4f10.png||class="img-thumbnail" height="740" width="1000"]]
386
387 1. Double coil inspection, manifested in the form of warning.
388
389 (% style="text-align:center" %)
390 [[image:5V帮助文档_中性_html_e7ac81fd5ca5a3ad.png||class="img-thumbnail" height="276" width="700"]]
391
392 === **2.2.2.4 Switch** ===
393
394 **Function:** refers to switching the current program page between the ladder diagram interface and the instruction list (IL) interface.
395
396 **Steps:** Click the switch button on the program page interface.
397
398 **Expected:**
399
400 1. In the compiled program page, click to switch to the instruction list interface.
401
402 (% style="text-align:center" %)
403 [[image:5V帮助文档_中性_html_a960f4d0de9166e6.png||class="img-thumbnail" height="213" width="500"]]
404
405 1. In the uncompiled program page, the prompt "Contains the converted ladder diagram, give up the unconverted ladder diagram?", click Yes to abandon the editing ladder diagram and convert it to the instruction list, click otherwise it will not switch.
406
407 (% style="text-align:center" %)
408 [[image:5V帮助文档_中性_html_9faeae6f3bd3d0f5.png||class="img-thumbnail" height="369" width="1000"]]
409
410 === **2.2.2.5 Compile all** ===
411
412 **Function:** Refers to converting the ladder diagram of all programs under the current project into the form of instruction list (IL).
413
414 **Steps:** Click the compile all button or use the shortcut key Ctrl+F4.
415
416 **Expected:** As long as there is a compilation error, it will prompt compilation failure, and only when all compilation succeeds will it prompt compilation success.
417
418 (% style="text-align:center" %)
419 [[image:5V帮助文档_中性_html_91564a6ea759db7e.png||class="img-thumbnail" height="681" width="1200"]]
420
421 **5)Monitoring Ladder Diagram**
422
423 Function: monitor the value of the devices on the ladder diagram, modify and debug the program.
424
425 **Step:**
426
427 1. Connect to the PLC and switch to monitoring mode.
428
429 (% style="text-align:center" %)
430 [[image:5V帮助文档_中性_html_a9d035f4fc903d21.png||class="img-thumbnail" height="718" width="1200"]]
431
432 1. Right-click the menu, click Debug-Modify Device Value to modify the value of the device.
433
434 (% style="text-align:center" %)
435 [[image:5V帮助文档_中性_html_21227dbf4e5e949f.png||height="721" width="1200"]]
436
437 1. Click the ON, OFF, ON/OFF inversion or setting button to set the device.
438
439 (% style="text-align:center" %)
440 [[image:5V帮助文档_中性_html_8d302ae7fe475659.png||class="img-thumbnail" height="484" width="500"]]
441
442 **6)Online**
443
444 In PLC Editor2, the online menu provides very rich functions. This chapter mainly explains the description and usage of various functions.
445
446 The online menu is mainly divided into 10 parts: Transfer setup, Read from PLC,Write to PLC, Checksum PLC, PLC Diagnosis, Remote operation, Device monitor, Module monitoring, Clear device memory, and Clock setting.
447
448 (% style="text-align:center" %)
449 [[image:5V帮助文档_中性_html_ff0da986965d262b.png||class="img-thumbnail" height="99" width="400"]]
450
451 === **2.2.2.6 Communication test** ===
452
453 Function: The main purpose of the communication test is to improve the stability of the PLC and PC, and avoid the loss of force majeure during the transmission process.
454
455 **Step:**
456
457 1. Open and run PLC Editor2.
458 1. Move the mouse pointer to the [Online] module above the program panel.
459 1. Move the mouse pointer to the [Transfer Settings] button, and left-click the button. As shown below:
460
461 (% style="text-align:center" %)
462 [[image:5V帮助文档_中性_html_ab771a523bc68c7d.png||class="img-thumbnail" height="102" width="400"]]
463
464 1. Wait for the program to respond and the [Transfer Setup] dialog box will pop up.
465 1. [Transfer Setup] dialog box pops up, when using USB connection, select the designated port, the panel is as shown in the figure below:
466
467 (% style="text-align:center" %)
468 [[image:5V帮助文档_中性_html_d03e2d5aeeaf15e3.png||class="img-thumbnail" height="246" width="500"]]
469
470 1. When using the serial port to connect, select the designated port and check the [More] checkbox, the detailed settings window will pop up. The panel looks like this:
471
472 (% style="text-align:center" %)
473 [[image:5V帮助文档_中性_html_719fb2007ec93d29.png||class="img-thumbnail" height="418" width="500"]]
474
475 1. Users can set the data according to their needs.
476
477 **✎Note: **The communication time check range is [0-9999], the number of repetitions is [0-5], and the station number range is [1-255]. Please do not exceed the limit.
478
479 1. After the user completes the settings, he can click the [Connection Test] or [OK] button to perform a connection test.
480 1. If the test connection fails, the system will give a corresponding prompt, as shown in the figure below:
481
482 (% style="text-align:center" %)
483 [[image:5V帮助文档_中性_html_e332cbf01cdffeeb.png||class="img-thumbnail" height="154" width="300"]]
484
485 1. The connection is successful as shown in the figure below:
486
487 (% style="text-align:center" %)
488 [[image:5V帮助文档_中性_html_8eb649148fdd4fa4.png||class="img-thumbnail" height="170" width="300"]]
489
490 1. After successful communication, you can click [Device Info].
491
492 (% style="text-align:center" %)
493 [[image:5V帮助文档_中性_html_530e353eb6437411.png||class="img-thumbnail" height="274" width="400"]]
494
495 1. Click Select to select the connected PLC.
496
497 === **2.2.2.7 PLC upload** ===
498
499 **Function: **Upload the data in the series PLC to the software through the communication line.
500
501 (% style="text-align:center" %)
502 [[image:5V帮助文档_中性_html_a66d06f592bf8e38.png||class="img-thumbnail" height="587" width="700"]]
503
504 **Interface introduction:**
505
506 **Para + program: **Upload parameters and programs from the PLC to the software.
507
508 **Select all:** Upload parameters, programs, comments, devices memory area settings and electronic cam tables from the PLC to the software.
509
510 **Cancel all select:** Cancel all selections.
511
512 **Execute: **Start the upload operation.
513
514 **Stop: **Stop the upload operation.
515
516 **Close:** Exit the current window.
517
518 **Execute (upload):** upload the data of the lower computer to the software.
519
520 **Show/Hide:** Show/hide the upload progress and other information, as shown in the figure below:
521
522 (% style="text-align:center" %)
523 [[image:5V帮助文档_中性_html_bb451e3bb02289f7.png||class="img-thumbnail" height="405" width="700"]]
524
525 **Step:**
526
527 1. Check the data items that need to be uploaded.
528 1. If the selected data item is the device memory, click the device memory setting, you can set the title of the uploaded device memory and the range of the device to be uploaded.
529
530 (% style="text-align:center" %)
531 [[image:5V帮助文档_中性_html_58ae7b9d72985a8c.png||class="img-thumbnail" height="355" width="900"]]
532
533 1. If the selected data item is an electronic cam, click the settings of the electronic cam to set the title of the uploaded electronic cam table and the uploaded cam table.
534
535 (% style="text-align:center" %)
536 [[image:5V帮助文档_中性_html_e2a845141786afb7.png||class="img-thumbnail" height="362" width="900"]]
537
538 1. Click Execute to start uploading. At this time, the PLC needs to be in the stop state.
539
540 (% style="text-align:center" %)
541 [[image:5V帮助文档_中性_html_e36a018d0991b2da.png||class="img-thumbnail" height="228" width="500"]]
542
543 1. Keep communication and wait for the upload to complete.
544
545 (% style="text-align:center" %)
546 [[image:5V帮助文档_中性_html_1ea279669de84f2b.png||class="img-thumbnail" height="587" width="700"]]
547
548 === **2.2.2.8 PLC program download** ===
549
550 **Function: **Download the ladder diagram program or other configuration to the PLC.
551
552 (% style="text-align:center" %)
553 [[image:5V帮助文档_中性_html_a23ff0b26dd90e11.png||class="img-thumbnail" height="587" width="700"]]
554
555 **Interface introduction:**
556
557 **Para + program:** download parameters and programs to the PLC.
558
559 **Select all: **Download parameters, programs, comments, and devices memory area settings to the PLC.
560
561 **Cancel all selections:** Cancel all selections.
562
563 **Execute: **start the download operation.
564
565 **Stop: **stop the download operation.
566
567 **Close:** Exit the current window.
568
569 **Calculating size:** To calculate the number of steps of the ladder diagram, the size of the downloaded file and the size of the comment, it needs to be connected to the PLC.
570
571 **Show/Hide:** Show/hide the download progress and other information, as shown in the figure below.
572
573 (% style="text-align:center" %)
574 [[image:5V帮助文档_中性_html_6bb013e8b356d2d3.png||class="img-thumbnail" height="405" width="700"]]
575
576 **Step:**
577
578 1. Check the data items that need to be downloaded.
579 1. If the selected data item is the device memory, click the setting of the device memory to set the range of the downloaded device.
580
581 (% style="text-align:center" %)
582 [[image:5V帮助文档_中性_html_c7e8031e732c4401.png||class="img-thumbnail" height="521" width="800"]]
583
584 1. The PLC needs to be in the stop state when downloading.
585
586 (% style="text-align:center" %)
587 [[image:5V帮助文档_中性_html_6ce8e23c026ad89d.png||class="img-thumbnail" height="187" width="400"]]
588
589 (4) Maintain the communication between the upper and lower computers, and wait for the download to complete.
590
591 (% style="text-align:center" %)
592 [[image:5V帮助文档_中性_html_baeaf74917fcd262.png||class="img-thumbnail" height="587" width="700"]]
593
594 === **2.2.2.9 PLC device monitoring** ===
595
596 Function: You can view and modify PLC register values and expansion module values online. Click this item to pop up the interface as shown in the figure below.
597
598 (% style="text-align:center" %)
599 [[image:5V帮助文档_中性_html_839955581a08901c.png||class="img-thumbnail" height="718" width="1200"]]
600
601 **Interface description:**
602
603 Monitoring start: start the current monitoring, allowing to view or modify the value of the register.
604
605 End of monitoring: End the current monitoring, you cannot view or modify the value of the register.
606
607 Edit current value: After clicking, a dialog box named [Modify Device Value] will pop up, and you can modify
608
609 Close: Close the [Device Monitor] interface.
610
611 **Step:**
612
613 1. Open the device monitoring interface.
614
615 (% style="text-align:center" %)
616 [[image:5V帮助文档_中性_html_c516f54635196dd6.png||class="img-thumbnail" height="110" width="300"]]
617
618 1. Click the monitoring start button under the premise of communicating with the PLC.
619
620 (% style="text-align:center" %)
621 [[image:5V帮助文档_中性_html_2f129e6ffdd675cb.png||class="img-thumbnail" height="549" width="1200"]]
622
623 1. The devices can be monitored by modifying the monitoring form, display, value and bit sequence.
624
625 (% style="text-align:center" %)
626 [[image:5V帮助文档_中性_html_a2dd50ba89a54576.png||class="img-thumbnail" height="504" width="200"]]
627
628 1. Switch device, search device and switch to monitor buffer memory.
629
630 (% style="text-align:center" %)
631 [[image:5V帮助文档_中性_html_71a82c63fe904fae.png||class="img-thumbnail" height="518" width="1200"]]
632
633 === **2.2.2.10 Clear PLC memory** ===
634
635 **Function**: Clear the data of the lower computer.
636
637 (% style="text-align:center" %)
638 [[image:5V帮助文档_中性_html_63566bf52138ea07.png||class="img-thumbnail" height="320" width="500"]]
639
640 **Step:**
641
642 1. Before clearing the PLC memory, the PLC needs to be in the stop state.
643 1. Check the data object. If the PLC memory is checked, it includes but is not limited to data devicess, bit devicess and special devicess.
644 1. Click Execute and wait for the PLC to clear the data.
645
646 === **2.2.2.11 PLC clock setting** ===
647
648 Function: Set the PLC clock, you can customize the internal time of the PLC to achieve the purpose of accurate calculation.
649
650 Click [Clock setting] to open the Clock setting interface.
651
652 (% style="text-align:center" %)
653 [[image:5V帮助文档_中性_html_1d1fdcb0af06a7b4.png||class="img-thumbnail" height="374" width="500"]]
654
655 **Module explanation:**
656
657 Connection target: display the information of the currently linked PLC, read the parameters of this PLC, and cannot be changed.
658
659 Time and calendar area: you can easily select time information and match freely.
660
661 Get PC time: Let the software automatically read the current PC time without manual calibration.
662
663 Set the clock: After finishing the setting, click this button to save the current operation setting to the PLC.
664
665 Close: Do not save the current operating data, and exit to close this window.
666
667 **Set time:**
668
669 1. Please ensure that the PLC and PC communicate normally. If it fails to communicate normally, please move to [Transfer Settings] and put the PLC in the STOP state.
670 1. Click [Clock setting] to open the time setting window.
671 1. Select the time required by the user in the time control panel or in the calendar panel.
672 1. The time interval of the year is 2000-2099; the interval of the month is January-December;
673 The time interval is from 0 o'clock to 23 o'clock; the partitions are from 0 minutes to 59 minutes; the second interval is from 0 seconds to 59 seconds.
674 1. You can also click [Get PC Time] to quickly match the current time (provided that the PC time is accurate).
675 1. After completing the configuration, please click [Set Clock] to save, otherwise it will not be saved. The setting is successful as shown in the figure below:
676
677 (% style="text-align:center" %)
678 [[image:5V帮助文档_中性_html_967b5841c25d204c.png||class="img-thumbnail" height="158" width="250"]]
679
680 === **2.2.2.12 PLC remote operation** ===
681
682 Function: Remote operation can quickly change the state of the PLC online and control the switch of the PLC.
683
684 (% style="text-align:center" %)
685 [[image:5V帮助文档_中性_html_237d4162b4a38587.png||class="img-thumbnail" height="212" width="400"]]
686
687 === **2.2.2.13 PLC diagnosis** ===
688
689 Function: PLC diagnosis will monitor the errors generated by PLC in real time and reflect them in the table. The user can view the summary of the error, the cause and the treatment method through this interface. If it is a problem with the ladder diagram, click Error Jump to jump to the location where the error occurred.
690
691 (% style="text-align:center" %)
692 [[image:5V帮助文档_中性_html_55c44a5c8690dbf5.png||class="img-thumbnail" height="412" width="700"]]
693
694 === **2.2.2.14 PLC verification** ===
695
696 Function: The user can select the items that need to be verified by the PLC, as shown in the figure below:
697
698 (% style="text-align:center" %)
699 [[image:5V帮助文档_中性_html_ec72bcd11572003e.png||class="img-thumbnail" height="587" width="700"]]
700
701 Compare the difference between the program in the current PC software and the program in the PLC, as shown in the figure below:
702
703 (% style="text-align:center" %)
704 [[image:5V帮助文档_中性_html_1cc43a035d93c05b.png||class="img-thumbnail" height="286" width="700"]]
705
706 By double-clicking the list, you can view the specific differences of the program, as shown in the following figure:
707
708 (% style="text-align:center" %)
709 [[image:5V帮助文档_中性_html_b18231acc57a461f.png||class="img-thumbnail" height="252" width="700"]]
710
711 === **2.2.2.15 Module monitoring** ===
712
713 Function: This function is used to monitor the BFM value of the module, and at the same time can modify the BFM data. According to the description information corresponding to the BFM, the user can understand the function of the BFM.
714
715 **Interface description:**
716
717 (1) Customization: Create a new module plan, use the default data as the initial value of the module BFM, and the user can edit the plan content on this basis.
718
719 (2) Save: Create a new module plan, and use the current module monitoring data as the initial value of the module's BFM, and the user can edit the plan content on this basis.
720
721 (3) Help: Open the instruction manual of the module, which can be used to find the detailed instructions of the module on it.
722
723 (4) Refresh: You can update the module information of the current PLC connection and refresh the module information list.
724
725 **(5) Working mode:**
726
727 ① Offline mode: display all module types that can be connected to the current PLC model. You can view the module BFM information when the module is not connected, or open the module instruction file through the "Help" button;
728
729 ② Online mode: display the module information of the current PLC connection in the module information list, and monitor/modify the BFM value of the module.
730
731 **Step:**
732
733 1. Click Module Monitoring.
734
735 (% style="text-align:center" %)
736 [[image:5V帮助文档_中性_html_7e64d17a4a480165.png||class="img-thumbnail" height="112" width="300"]]
737
738 1. Select the module you want to monitor.
739 1. To view and modify the value.
740
741 (% style="text-align:center" %)
742 [[image:5V帮助文档_中性_html_70be57a90d675c22.png||class="img-thumbnail" height="453" width="1200"]]
743
744 **7)Tool**
745
746 === **2.2.2.16 PLC encryption tool** ===
747
748 In the PLC Editor, you can set a password for the PLC to maintain security. The PLC encryption tool can be set to "upload password", "download password", and "clock password" respectively.
749
750 **Explanation:** The three types of passwords are independent (you must use separate decryption when performing operations), and the set passwords can be the same or different. Ensure the safety and independence of PLC. As shown below:
751
752 (% style="text-align:center" %)
753 [[image:5V帮助文档_中性_html_1e4c37ba99b3d4f4.png||class="img-thumbnail" height="368" width="500"]]
754
755 **~1. Set a password Note:**
756
757 1. The setting steps of "upload password", "download password", and "clock password" are exactly the same (only the type needs to be customized by the user).
758 1. The length of the password can only be 8 characters, no more or less than.
759 1. When setting a new password, the first time password and the second confirmation password must be the same.
760 1. When performing password operations, please ensure that the PLC and PC are in a normal connection state, and the PLC must be in the NOT RUN state (close the switch of the PLC panel).
761 1. When the password is entered incorrectly for 5 times, the password is locked, and the password can be entered again only when the PLC is restarted after power off.
762
763 **2. Steps to set password:**
764
765 1. Make the PLC and PC connect normally, and run the compiler at the same time;
766 1. Turn off the RUN of the PLC;
767 1. Click [PLC Encryption Tool] in the [Tools] panel;
768 1. After opening a new window, if the [old password] input box shows that it cannot be entered, it means that the PLC is not currently encrypted;
769 1. Select the type of password that needs to be set, and click [Set Password]. (The following PLC takes uploading password as an example)
770
771 (% style="text-align:center" %)
772 [[image:5V帮助文档_中性_html_1e4c37ba99b3d4f4.png||class="img-thumbnail" height="368" width="500"]]
773
774 1. Please follow the instructions to fill in the correct password.
775 1. If the password length is not enough, there will be a prompt as follows:
776
777 (% style="text-align:center" %)
778 [[image:5V帮助文档_中性_html_5852c5dbdd8ee45d.png||class="img-thumbnail" height="185" width="300"]]
779
780 1. If the secondary password is inconsistent, there will be a prompt as shown below:
781
782 (% style="text-align:center" %)
783 [[image:5V帮助文档_中性_html_e90ecbf41cadf882.png||class="img-thumbnail" height="149" width="400"]]
784
785 1. If the password is successfully set, there will be a prompt as shown below:
786
787 (% style="text-align:center" %)
788 [[image:5V帮助文档_中性_html_32b27e2bc1d9673d.png||class="img-thumbnail" height="199" width="300"]]
789
790 **3. Clear password:**
791
792 If the PLC does not have a password, ignore this description. If the PLC has a set password, please enter the existing password if you need to clear the password. Please refer to the precautions for input errors more than 5 times.
793
794 (% style="text-align:center" %)
795 [[image:5V帮助文档_中性_html_ee1ff864f7dcecdf.png||class="img-thumbnail" height="188" width="300"]]
796
797 **4. Steps to clear the password:**
798
799 1. Make the PLC and PC connect normally and run the compiler at the same time.
800 1. Turn off the RUN of the PLC.
801 1. Click [Decice encryption] in the [Tools] panel.
802 1. Select the PLC password to be cleared in [Type], and click [Clear].
803 1. After opening a new window, please enter the specified password in the [Please enter password] area, and then click [Execute].
804 1. If you clear the upload password input error, there will be a prompt as shown below:
805
806 (% style="text-align:center" %)
807 [[image:5V帮助文档_中性_html_249fce69e20fccd1.png||class="img-thumbnail" height="157" width="300"]]
808
809 1. If the password is correct, there will be a prompt as shown below:
810
811 (% style="text-align:center" %)
812 [[image:5V帮助文档_中性_html_4e99c8ea17c1b1ce.png||class="img-thumbnail" height="202" width="300"]]
813
814 === **2.2.2.17 Engineering encryption tool** ===
815
816 In the PLC Editor, you can set a password for the project file to maintain security. As shown below:
817
818 (% style="text-align:center" %)
819 [[image:5V帮助文档_中性_html_9b7bcf11a5a5ddf1.png||class="img-thumbnail" height="299" width="400"]]
820
821 **~1. Precautions for setting password:**
822
823 1. The length of the password can only be 8 characters, no more or less than.
824 1. When setting a new password, the first time password and the second confirmation password must be the same.
825 1. When the password is entered incorrectly for 5 times, the password is locked, and the password can be entered again only when the project file is reopened.
826
827 **2. Steps to set password:**
828
829 1. Click [Project Encryption Tool] in the [Tools] panel;
830 1. After opening a new window, if the [old password] input box shows that it cannot be entered, it means that the PLC is not currently encrypted;
831 1. Select the password that needs to be entered, and click [Set Password].
832
833 (% style="text-align:center" %)
834 [[image:5V帮助文档_中性_html_d0ae32303af041be.png||class="img-thumbnail" height="302" width="400"]]
835
836 1. Please follow the instructions to fill in the correct password.
837 1. If the password is not long enough, there will be a prompt as shown below:
838
839 (% style="text-align:center" %)
840 [[image:5V帮助文档_中性_html_97efb9eaa38c6172.png||class="img-thumbnail" height="179" width="500"]]
841
842 1. If the secondary password is inconsistent, there will be a prompt as shown below:
843
844 (% style="text-align:center" %)
845 [[image:5V帮助文档_中性_html_e90ecbf41cadf882.png||class="img-thumbnail" height="186" width="500"]]
846
847 1. If the password is successfully set, there will be a prompt as shown below:
848
849 (% style="text-align:center" %)
850 [[image:5V帮助文档_中性_html_852b3ed602bbc480.png||class="img-thumbnail" height="199" width="300"]]
851
852 **3. Clear password:**
853
854 If the project does not have a password, ignore this description. If the project has a password, please enter the existing password if you need to clear the password. Please refer to the precautions for input errors more than 5 times.
855
856 (% style="text-align:center" %)
857 [[image:5V帮助文档_中性_html_ae5bcabb06629168.png||class="img-thumbnail" height="188" width="300"]]
858
859 **4. Steps to clear the password:**
860
861 1. Click [Project Encryption Tool] in the [Tools] panel.
862 1. In the opened window panel, click [Clear].
863 1. After opening a new window, please enter the specified password in the [Please enter password] area, and then click [Execute].
864 1. If the password is entered incorrectly, there will be a prompt as shown below:
865
866 (% style="text-align:center" %)
867 [[image:5V帮助文档_中性_html_249fce69e20fccd1.png||class="img-thumbnail" height="157" width="300"]]
868
869 1. If the password is correct, there will be a prompt as shown below:
870
871 (% style="text-align:center" %)
872 [[image:5V帮助文档_中性_html_4bbbe8646e6aa1ad.png||class="img-thumbnail" height="202" width="300"]]
873
874 === **2.2.2.18 USB download** ===
875
876 Function: Generate a bin file, the user can use the file to download programs and other configurations through the HMI screen.
877
878 **Step:**
879
880 1. Click on the U disk to download and open the interface.
881
882 (% style="text-align:center" %)
883 [[image:5V帮助文档_中性_html_b3b419b08b029beb.png||class="img-thumbnail" height="90" width="300"]]
884
885 1. Check the items that need to be downloaded, set the communication port parameters, and select the location of the U disk.
886
887 (% style="text-align:center" %)
888 [[image:5V帮助文档_中性_html_d6612d208a751e0d.png||class="img-thumbnail" height="636" width="600"]]
889
890 1. Click Make to generate the bin file.
891 1. Insert the U disk into the HMI screen to download.
892
893 === **2.2.2.19 Automatic backup** ===
894
895 **Function**: Back up project files, users can view and retrieve historical versions through this function.
896
897 **Step:**
898
899 1. Open the saved file, click compile, compile all, close the project, switch historical version or switch program type after editing. The user can see the historical version number increase by clicking on the automatic backup window.
900
901 (% style="text-align:center" %)
902 [[image:5V帮助文档_中性_html_f2c0da12068ac370.png||class="img-thumbnail" height="602" width="1200"]]
903
904 1. Click the remark information to add remarks to the historical version, and click Execute to save it.
905 1. Check the version number, click to switch to this version, close the current version and load the historical version, as shown in the figure below:
906
907 (% style="text-align:center" %)
908 [[image:5V帮助文档_中性_html_f0355b539ee43c1b.png||class="img-thumbnail" height="185" width="300"]]
909
910 === **2.2.2.20 Generate download file** ===
911
912 Function: Generate a file for download only, the file cannot be viewed and uploaded.
913
914 **Step:**
915
916 1. Compile all the program pages, click to generate the download file.
917 1. Select the path and file name.
918 1. Open the generated .swcp2 file and click download.
919
920 (% style="text-align:center" %)
921 [[image:5V帮助文档_中性_html_64ff2d2ca21a855f.png||class="img-thumbnail" height="123" width="1200"]]
922
923 === **2.2.2.21 Reset window layout** ===
924
925 Function: Restore all floating windows in the program to the default position.
926
927 Steps: Click the reset window layout button in the view.
928
929 **Before reset:**
930
931 (% style="text-align:center" %)
932 [[image:5V帮助文档_中性_html_3b2e61a7dc00f421.png||class="img-thumbnail" height="715" width="1200"]]
933
934 **After reset:**
935
936 (% style="text-align:center" %)
937 [[image:5V帮助文档_中性_html_f5648ea83791419a.png||class="img-thumbnail" height="719" width="1200"]]
938
939 == **2.2.3 C.Program editing area** ==
940
941 In the program editing area, the user can freely switch between the ladder diagram and the instruction list. The ladder diagram interface provides editing operations. The instruction list interface is only allowed to be viewed and cannot be modified.
942
943 **1)Ladder Diagram Work Area**
944
945 **Insert or delete Rows/Columns**
946
947 **~1. Insert a new row**
948
949 1. Select the position where you want to insert the row +1.
950 1. Click on the keyboard [Shift] + [Insert] to insert a new row, or move the mouse to any position of the specified insertion row, right-click, select [Edit], and then click [Program Line Insert].
951
952 (% style="text-align:center" %)
953 [[image:5V帮助文档_中性_html_fe3e14b543c5cd59.png||class="img-thumbnail" height="283" width="1200"]]
954
955 (% style="text-align:center" %)
956 [[image:5V帮助文档_中性_html_e1fe303f61871b4a.png||class="img-thumbnail" height="486" width="1200"]]
957
958 **2. Insert the statement line**
959
960 Select the position where you want to insert the row.
961
962 Method 1: Use the keyboard shortcut [Shift]+[Ctrl]+[Insert].
963
964 (% style="text-align:center" %)
965 [[image:5V帮助文档_中性_html_38c17655daa7e99d.png||class="img-thumbnail" height="266" width="1200"]]
966
967 Method 2: 【Ctrl】+【F7】.
968
969 (% style="text-align:center" %)
970 [[image:5V帮助文档_中性_html_8fd6a5c0dbd0c1f1.png||class="img-thumbnail" height="316" width="1200"]]
971
972 Method 3: Right-click, select [Edit], and then click [Insert Statement].
973
974 (% style="text-align:center" %)
975 [[image:5V帮助文档_中性_html_71abb0a50efacc03.png||class="img-thumbnail" height="419" width="1200"]]
976
977 **3. Delete the program line**
978
979 (% style="text-align:center" %)
980 [[image:5V帮助文档_中性_html_4eca87fd2e8ea6b9.png||class="img-thumbnail" height="339" width="800"]]
981
982 Move the mouse to the row to be deleted, press and hold the left mouse button to select and move the row to be deleted (multiple rows are possible), the selected area will change color, and the selected range must include the 0th column, and then click [Delete] on the keyboard.
983
984 (% style="text-align:center" %)
985 [[image:5V帮助文档_中性_html_4f121787d41b35e7.png||class="img-thumbnail" height="227" width="800"]]
986
987 Move the mouse to the row to be deleted, press and hold the left mouse button to select and move the row to be deleted (multiple rows can be selected), the selected area changes color, the selected range must include the 0th column, right-click in the color change area, and directly select [Delete] , Or select [Delete Row] in [Edit].
988
989 (% style="text-align:center" %)
990 [[image:5V帮助文档_中性_html_5372d242118587ad.png||class="img-thumbnail" height="369" width="1200"]]
991
992 **4. Deletion of the statement line**
993
994 Same as program line deletion. Move the mouse to the statement line that needs to be deleted, press and hold the left mouse button to select and move the line to be deleted (multiple lines are possible), the selected area will change color, then click [Delete] on the keyboard, or right-click in the color-changing area to directly select [Delete], or select [Delete Row] in [Edit].
995
996 **5. Insert column**
997
998 1. Select the position where you want to insert the column.
999 1. Click the keyboard [Ctrl] + [Insert] to insert, or move the mouse to any position of the specified insertion row, right-click, select [Edit], and click [Column Insert].
1000
1001 (% style="text-align:center" %)
1002 [[image:5V帮助文档_中性_html_689dfd75a992c94c.png||class="img-thumbnail" height="340" width="800"]]
1003
1004 (% style="text-align:center" %)
1005 [[image:5V帮助文档_中性_html_8a1a1069716f5bce.png||class="img-thumbnail" height="213" width="800"]]
1006
1007 **6 Delete column**
1008
1009 1. Select the position of the column to be deleted.
1010 1. Click [Ctrl]+[Delete] on the keyboard to delete the column, or move the mouse to any position of the specified inserted row, right-click, and directly select [Delete], or select [Delete row] in [Edit].
1011
1012 **Before deleting:**
1013
1014 (% style="text-align:center" %)
1015 [[image:5V帮助文档_中性_html_1dc378107dafcc54.png||class="img-thumbnail" height="341" width="800"]]
1016
1017 **After deleting:**
1018
1019 (% style="text-align:center" %)
1020 [[image:5V帮助文档_中性_html_cfd75e5eede2e139.png||class="img-thumbnail" height="206" width="800"]]
1021
1022 **Copy and paste function**
1023
1024 The copy and paste function can save time and reduce the time spent on repeated operations.
1025
1026 **Steps for usage:**
1027
1028 1. Move the mouse to the ladder editing area.
1029 1. Select the specified cell or drag the mouse to select an area.
1030
1031 (% style="text-align:center" %)
1032 [[image:5V帮助文档_中性_html_d5aa6c70c096349a.png||class="img-thumbnail" height="155" width="700"]]
1033
1034 1. Use the [Copy] button of [Clipboard] in the "PLC Menu", or use the right mouse button to [Copy], or use the keyboard [Ctrl]+[C] function.
1035
1036 (% style="text-align:center" %)
1037 [[image:5V帮助文档_中性_html_b9fa9a54a94c1613.png||class="img-thumbnail" height="435" width="900"]]
1038
1039 1. After completing the third operation, copy the specified area to the clipboard.
1040 1. Move the mouse to the designated position to be pasted, click the [Paste] button on the [Clipboard], or use the [Paste] function of the right mouse button, or use the keyboard [Ctrl]+[V] to copy the specified data Copy to the specified location.
1041
1042 (% style="text-align:center" %)
1043 [[image:5V帮助文档_中性_html_78c29e0dd8cb401a.png||class="img-thumbnail" height="458" width="900"]]
1044
1045 **Delete and modify ladder diagram components**
1046
1047 **~1. Modify the ladder diagram components**
1048
1049 **Steps to modify ladder diagram components:**
1050
1051 1. It must be ensured that the ladder diagram components can be modified in the [write mode] in the current state.
1052
1053 (% style="text-align:center" %)
1054 [[image:5V帮助文档_中性_html_12c88470e88f68bf.png||class="img-thumbnail" height="119" width="400"]]
1055
1056 1. Use the mouse to select the component that needs to be modified, and double-click the left button or click the [Enter] key on the keyboard.
1057 1. After performing step 2, the output command dialog box will pop up.
1058 1. Enter the command corresponding to the selected component into the dialog box.
1059 1. Click [Execute] to save the modification.
1060
1061 **✎Note: **
1062
1063 1. The modified instruction must be able to pass the correct instruction verification before it can be saved.
1064 1. The contact element that occupies a cell (normally open, normally closed, rising edge, falling edge, reverse, stepping). Cannot modify each other with the comparison contact.
1065 1. All contact components cannot be modified mutually with coils or application instructions.
1066
1067 **2. Delete ladder diagram components**
1068
1069 **Steps to delete ladder diagram components:**
1070
1071 1. It must be ensured that the ladder diagram components can be deleted in the [write mode] in the current state.
1072 1. Use the mouse to select the component grid that needs to be deleted, left-click, and the selected part will be locked with a blue frame, and then you can click the keyboard [Delete] to delete it.
1073 1. Batch delete: Move the mouse to the designated delete area, hold down the left mouse button, drag the mouse, and select cells in batches (cells will turn blue). After completing the selection, you can click the keyboard [Delete] to delete.
1074 1. Delete horizontal and vertical lines: In this special ladder diagram, you can perform step 2 or 3 to select the target first, and then click the [CF9] icon or [CF11] in the [Ladder Symbol] function of the menu bar Perform the corresponding deletion.
1075
1076 **Enter ladder diagram instructions**
1077
1078 There are 5 ways to input ladder diagram instructions:
1079
1080 * Direct input method
1081 * Input method through instruction set
1082 * Double-click cell method
1083 * Instruction help
1084 * Ladder Symbol/Shortcut Method
1085
1086 **~1. Direct input method**
1087
1088 1. Move the mouse and left-click the specified cell.
1089 1. Directly use the keyboard to input the specified instruction, the system will automatically pop up the ladder diagram input box.
1090 1. Enter the complete instructions and parameters in the dialog box.
1091 1. Click [Execute] or the [Enter] button on the keyboard.
1092 1. The system verifies the correctness of the input, and generates the graphic element represented by the instruction after the verification is correct.
1093 1. If the instruction is wrong, the instruction help interface will pop up.
1094
1095 (% style="text-align:center" %)
1096 [[image:5V帮助文档_中性_html_40e677f14ea9fae6.png||class="img-thumbnail" height="53" width="600"]]
1097
1098 **2. Through the instruction set input method**
1099
1100 1. Move the mouse to the [Project Management] interface on the left side of the window.
1101 1. Expand [Instruction Set].
1102 1. Open the instruction tree required by the user.
1103 1. Select the instruction required by the user, click the left mouse button to select and hold, drag it to the [ladder diagram writing area], and place it in the designated area.
1104 1. After completing step (4), [Edit] will pop up.
1105 1. Enter the correct operand in the input box.
1106 1. Click [Execute] or the keyboard [Enter].
1107
1108 (% style="text-align:center" %)
1109 [[image:5V帮助文档_中性_html_5bdac8caa5ecd1bb.png||class="img-thumbnail" height="217" width="900"]]
1110
1111 **3. Double-click the cell method**
1112
1113 1. Move the mouse to the designated area and double-click the left button.
1114 1. [Ladder Diagram Input] pops up, enter the correct command in the input box.
1115 1. Click [Execute] or the keyboard [Enter].
1116 1. If the instruction is wrong, the instruction help interface will pop up.
1117
1118 (% style="text-align:center" %)
1119 [[image:5V帮助文档_中性_html_68679c1a58f52c04.png||class="img-thumbnail" height="242" width="800"]]
1120
1121 **4. Command help method**
1122
1123 1. Move the mouse to the designated area and double-click the left button.
1124 1. [Ladder Diagram Input] pops up.
1125 1. Click [Help] to pop up [Command Help]
1126 1. After selecting the instruction that needs to be entered, click the [Detail] button to pop up the [Instruction Wizard].
1127 1. The instruction guide interface selects the correct operand according to different instructions.
1128 1. After selecting the specified command, click [Execute] to save the data and complete the command input.
1129
1130 (% style="text-align:center" %)
1131 [[image:5V帮助文档_中性_html_1e72f783a4402ac0.png||class="img-thumbnail" height="592" width="1200"]]
1132
1133
1134 (% style="text-align:center" %)
1135 [[image:5V帮助文档_中性_html_296b88f4766c787d.png||class="img-thumbnail" height="199" width="700"]]
1136
1137 **5. Ladder diagram symbol/shortcut method**
1138
1139 The ladder diagram symbol is located in the PLC menu, as shown in the figure below:
1140
1141 (% style="text-align:center" %)
1142 [[image:5V帮助文档_中性_html_4708bb852d0e898f.png||class="img-thumbnail" height="141" width="300"]]
1143
1144 After selecting the cell, click "Ladder Diagram Symbol" in the menu, and enter the operand in the pop-up ladder diagram input box to complete the instruction input. If it is an application instruction, after clicking on the panel, you must enter the complete application instruction and its operands in the ladder diagram input box to complete the input instruction. You can also use the shortcut corresponding to the command (see the shortcut key list) to input, and the operation method is the same as the "ladder symbol".[[image:5V帮助文档_中性_html_1c8d975fb5bd8c.png]]
1145
1146 After the instruction input is completed, click the "Execute" button in the ladder diagram input box and it will be displayed in the ladder diagram editing area.
1147
1148 **✎Note: **
1149
1150 1. Some instructions can only be entered in the instruction list (IL) editor, but not in the ladder diagram, such as MPS, MPP, etc. When these instructions are directly input in the ladder diagram, no components will be generated.
1151 1. Since coils and application instructions represent the end of one line of the ladder diagram program, no other components can be input after these components.
1152 1. Since the vertical line occupies the space of two lines, when inputting the vertical line, if the corresponding position in the next line is just the middle part of other components, the vertical line cannot be input.
1153 1. The maximum number of input columns in the ladder diagram is 13 columns.
1154
1155 **2)Instruction list workspace**
1156
1157 **Instruction list editor**
1158
1159 In the PLC Editor, the program not only provides a ladder diagram editor, but also provides an instruction list interface. The instruction list interface is not editable and only allowed to be viewed. As shown below:
1160
1161 (% style="text-align:center" %)
1162 [[image:5V帮助文档_中性_html_550c5cb7f37a8b23.png||class="img-thumbnail" height="190" width="300"]]
1163
1164 **Step number: **The step number indicates the position of the instruction in the program, which can be used to quickly locate the program and improve the readability of the program.
1165
1166 **Ladder diagram-instruction list switching:** If there is an error in the program logic, it cannot be switched.
1167
1168 **3)Program editing shortcut menu**
1169
1170 **Function description of right key in program edit area**
1171
1172 In the program editing area, click the right mouse button to pop up frequently used function buttons, which can greatly improve the developer's development efficiency.
1173
1174 (% style="text-align:center" %)
1175 [[image:5V帮助文档_中性_html_c665b55b77356626.png||class="img-thumbnail" height="349" width="200"]]
1176
1177 * Undo: Undo the current operation and roll back the previous step.
1178 * Redo: roll back the undo operation.
1179 * Cut: Cut the selected ladder diagram in the ladder diagram and put the content on the clipboard.
1180 * Copy: Copy the selected ladder diagram in the ladder diagram and put the content on the clipboard.
1181 * Paste: In the ladder diagram, at the selected position, paste the data in the clipboard. When there is no data in the clipboard, paste is not available.
1182 * Delete: Ladder diagram, delete the selected ladder diagram content.
1183 * Compile: Compile the current program page.
1184
1185 **Editing options:**
1186
1187 * Program line insertion: Insert an empty table line in the currently selected line in the ladder diagram.
1188 * Insert declaration line: insert a blank declaration line in the currently selected line in the ladder diagram.
1189 * Row delete: delete the currently selected row in the ladder diagram.
1190 * Column insertion: In the ladder diagram, a blank node is added to the selected instruction, and other instructions move one grid to the right.
1191 * Column deletion: In the ladder diagram, delete the currently selected instruction, and other instructions move one space to the left.
1192
1193 **Search:**
1194
1195 * Device search: open the search/replace window, the default is the device search page, if the selected instruction in the ladder diagram contains a device, the "search device" defaults to the selected instruction's device, and it will be empty if there is none.
1196 * Command search: Open the search/replace window, the default is the command search page, if the command is selected in the ladder diagram, the "search command" defaults to the selected command, and it is empty if there is no command.
1197 * String search: Open the search/replace window, the default is the string search page, if a string is selected in the ladder diagram, the "search string" defaults to the selected string, and it is empty if there is no string.
1198
1199 **View:**
1200
1201 * Comment display: In the ladder diagram, the comment of the device is displayed.
1202 * Alias display: In the ladder diagram, display the alias of the device.
1203
1204 **Debugging:**
1205
1206 * Modify the current value: In the monitor mode (write mode is not available), open the device write dialog box. Modify the value of the device of the currently selected instruction.
1207
1208 == **2.2.4 D.Project Management Area** ==
1209
1210 **1)program**
1211
1212 MIAN is the default program page name for a new project. There can be multiple program pages in a project. Double-click the program page to open the ladder diagram editing area in the user area, and the user can edit the program.
1213
1214 (% style="text-align:center" %)
1215 [[image:5V帮助文档_中性_html_c994cf26a619747a.png||class="img-thumbnail" height="289" width="300"]]
1216
1217 New program page: select scan/event/subprogram/interrupt, right click[scan]->new, you can open the new program window, as shown in the figure below:
1218
1219 (% style="text-align:center" %)
1220 [[image:5V帮助文档_中性_html_a8e9017d31a283f4.png||class="img-thumbnail" height="253" width="300"]]
1221
1222
1223 (% style="text-align:center" %)
1224 [[image:5V帮助文档_中性_html_e5f29f0a4a8e987a.png||class="img-thumbnail" height="375" width="300"]]
1225
1226 Program page operations: Right-click the program page with the mouse to perform corresponding operations on the program page.
1227
1228 (% style="text-align:center" %)
1229 [[image:5V帮助文档_中性_html_77f4622516b9586b.png||class="img-thumbnail" height="283" width="300"]]
1230
1231 1. Delete: delete the program page.
1232 1. Rename: Rename the program page.
1233 1. Program encryption: Encrypt and decrypt the program page.
1234
1235 * Encryption: select the program page to be encrypted and set the encryption password; after the encryption is executed, the program page is in the "encrypted" state, and the content of the program page is not displayed.
1236
1237 (% style="text-align:center" %)
1238 [[image:5V帮助文档_中性_html_dd6dac658ce9f761.png||class="img-thumbnail" height="263" width="500"]]
1239
1240 (% style="text-align:center" %)
1241 [[image:5V帮助文档_中性_html_d35d37b5c5f1b474.png||class="img-thumbnail" height="211" width="300"]]
1242
1243
1244 (% style="text-align:center" %)
1245 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||class="img-thumbnail" height="259" width="300"]]
1246
1247 * Cancel encryption: After entering the correct password, cancel the encryption of the program page.
1248
1249 (% style="text-align:center" %)
1250 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||class="img-thumbnail" height="211" width="300"]]
1251
1252 * Modify password: After entering the original program page password, set a new program page password.
1253
1254 (% style="text-align:center" %)
1255 [[image:5V帮助文档_中性_html_9c6f7d5b041a8b03.png||class="img-thumbnail" height="211" width="300"]]
1256
1257 * Show encrypted content: Show encrypted program page content. This function is only used to temporarily display the content of the program page without canceling the encryption status of the program page, which is convenient for editing the encrypted program page.
1258
1259 (% style="text-align:center" %)
1260 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||class="img-thumbnail" height="211" width="300"]]
1261
1262 (% style="text-align:center" %)
1263 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||class="img-thumbnail" height="259" width="300"]]
1264
1265 1. Settings: You can view the author, date of creation, and remarks on the program page.
1266
1267 (% style="text-align:center" %)
1268 [[image:5V帮助文档_中性_html_c759000c8e559104.png||class="img-thumbnail" height="372" width="300"]]
1269
1270 * Configuration: The time and interrupt program page can click the configuration button to set the trigger condition.
1271
1272 (% style="text-align:center" %)
1273 [[image:5V帮助文档_中性_html_3dfaca311d1985d9.png||class="img-thumbnail" height="401" width="600"]]
1274
1275 1. Move up: Move the program page up, used to adjust the execution order of the program page.
1276
1277 (% style="text-align:center" %)
1278 [[image:5V帮助文档_中性_html_94faf2e95ee9b671.png||class="img-thumbnail" height="256" width="300"]]
1279
1280
1281 (% style="text-align:center" %)
1282 [[image:5V帮助文档_中性_html_d07ec8d22a4d2124.png||class="img-thumbnail" height="262" width="300"]]
1283
1284 1. Move down: Move the program page down to adjust the execution order of the program page.
1285
1286 (% style="text-align:center" %)
1287 [[image:5V帮助文档_中性_html_5cbaa91e1de6507d.png||class="img-thumbnail" height="287" width="300"]]
1288
1289
1290 (% style="text-align:center" %)
1291 [[image:5V帮助文档_中性_html_26f9c3fcfd8bcf9.png||class="img-thumbnail" height="288" width="300"]]
1292
1293 **2)Device comment**
1294
1295 Device comment module: A .wcp2 file has and only one module named COMMENT "device comment".
1296
1297 Double-click "COMMENT" and the following interface will appear:
1298
1299 (% style="text-align:center" %)
1300 [[image:5V帮助文档_中性_html_394b0adad39bfa55.png||class="img-thumbnail" height="682" width="1200"]]
1301
1302 **Interface label description:**
1303
1304 **Input the device name:** input the correct device name and press Enter to confirm, the comment list will locate the input device and select it.
1305
1306 **The comment list is divided into 3 columns: **device name, device comment, and device alias. Click the comment list, select the device row, and double-click the device comment or alias to pop up an edit box for editing. The device comment value allows input of 128 characters, and the device alias only allows input of 8 characters.
1307
1308 **Device interval selection: **Click to select the device interval and change the device displayed in the comment list. The blue device section indicates that the section is selected. The devices interval is as shown in the figure below:
1309
1310 (% style="text-align:center" %)
1311 [[image:5V帮助文档_中性_html_44cc58ed200be21d.png||class="img-thumbnail" height="688" width="300"]]
1312
1313 **Interface button description:**
1314
1315 Display commented devices: The comment list displays all devices with comments or aliases.
1316
1317 Import EXCEL: select the *.xls file to be imported, and import all the correct device comments and aliases in the *.xls file into the software (supports *.csv file import).
1318
1319 Export EXCEL: Export and save all the devices information of edit devices comments or aliases as *.xls files to local disk.
1320
1321 **3)Parameter**
1322
1323 You can set the latch range of the PLC devices and the COM port communication settings according to your needs. Click the "×" symbol in the upper right corner to close the dialog box and change without saving.
1324
1325 Double-click the "PLC Parameters" node and the interface as shown on the left will appear:
1326
1327 (% style="text-align:center" %)
1328 [[image:5V帮助文档_中性_html_9125c6e25b27de33.png||class="img-thumbnail" height="415" width="700"]]
1329
1330 **Interface button description:**
1331
1332 * Check: Check the configuration of the current settings, respectively check the "device latch", "COM1 " and "COM2". If the check fails, click the "OK" button at this time to report an error.
1333 * Reset: Click this button to restore the default settings.
1334 * OK: Complete the correct PLC parameter change and set it.
1335 * Cancel: Cancel the PLC parameter setting and keep the parameter setting before the change.
1336
1337 **~1. Devices latch**
1338
1339 The address range of various types of registers including plc is set in the devices. The white squares in the picture table can be parameterized, and the gray ones are set (cannot be modified). By modifying the data at the beginning and end of the latch, the latch range of the register can be changed, and the modified data range must be within the latch range.
1340
1341 (% style="text-align:center" %)
1342 [[image:5V帮助文档_中性_html_6e4356d226d3b009.png||class="img-thumbnail" height="416" width="700"]]
1343
1344 **2. COM1 settings**
1345
1346 (% style="text-align:center" %)
1347 [[image:5V帮助文档_中性_html_84b7a9f11d75a88c.png||class="img-thumbnail" height="416" width="700"]]
1348
1349 Whether to set: whether to enable the COM1 port configuration.
1350 Baud rate: select the data transmission rate.
1351
1352 Data bits: select the data length.
1353
1354 Stops: select the number of stop bits.
1355
1356 Check bit: Select the check digit.
1357
1358 Station No.: Set the station number, ranging from 1 to 47.
1359
1360 **3. COM2 settings**
1361
1362 (% style="text-align:center" %)
1363 [[image:5V帮助文档_中性_html_ef25b614b6b21364.png||class="img-thumbnail" height="414" width="700"]]
1364
1365 Whether to set: whether to enable the COM1 port configuration.
1366
1367 **(1), communication settings**
1368
1369 Baud rate: select the data transmission rate.
1370
1371 Data bits: select the data length.
1372
1373 Stops: select the number of stop bits.
1374
1375 Check bit: Select the check digit.
1376
1377 Timeout: Set the timeout time, the range is 0~~32767.
1378
1379 Sending interval: Set the sending interval, the range is 0~~32767.
1380
1381 Protocol: Select the communication protocol.
1382
1383 **(2), agreement related**
1384
1385 Station No.: Set the station number. According to different protocols, the station number setting range is different.
1386
1387 Whether to enable the start character: used to customize the protocol.
1388
1389 Header: set the end character for custom protocol.
1390
1391 Whether to enable terminator: used to customize the protocol.
1392
1393 Terminator: Set the terminator to customize the agreement.
1394
1395 Timeout between characters: used to customize the protocol.
1396
1397 **4)Devices memory**
1398
1399 Devices memory: It is used to set the data of PLC data block when PLC is downloaded, and the data of the read PLC data block is displayed when PLC is uploaded.
1400
1401 New devices memory: Right-click and select the "devices memory" node → "New" to create a new devices memory file (any character in the file name, up to 64 characters in length, and only one can be downloaded at a time). The interface distribution is as follows:
1402
1403 (% style="text-align:center" %)
1404 [[image:5V帮助文档_中性_html_a6e26997559e3d17.png||class="img-thumbnail" height="682" width="1200"]]
1405
1406 **Interface label description:**
1407
1408 **Please input the device:** input the device to be searched, and press Enter to locate the device to be searched.
1409
1410 **List of Device intervals:** Divided into 10 intervals C, D, HSC, LC, M, R, S, T, V, Z.
1411
1412 (% style="text-align:center" %)
1413 [[image:5V帮助文档_中性_html_b83cc213845b2ee0.png||class="img-thumbnail" height="369" width="300"]]
1414
1415 **Device value display area**: currently editing operations are prohibited.
1416
1417 (% style="text-align:center" %)
1418 [[image:5V帮助文档_中性_html_41e88cb8867d2780.png||class="img-thumbnail" height="682" width="1200"]]
1419
1420 Display format: 7 data formats: binary, decimal, hexadecimal, octal, real number, character string, ASCII code; one format and one color: binary (red), octal (pink) Color), decimal (blue), hexadecimal (brown), real number (orange), character string (cyan), ASCII code (green).
1421
1422 The data can be expressed in size: 16 bits and 32 bits.
1423
1424 **The data size that each format can represent when the length is 16 bits:**
1425
1426 1. Binary: 0000000000000000 ~~1111111111111111;
1427 1. Octal: 0~~1777777;
1428 1. Decimal: -32768~~32767;
1429 1. Hexadecimal: 0~~FFFF;
1430 1. String: the size of 2 characters in length;
1431 1. ASCII: 2 ASCII code values.
1432
1433 **The data size that each format can represent when the length is 32 bits:**
1434
1435 1. Binary: 00000000 00000000 00000000 00000000 ~~11111111 11111111 11111111 11111111;
1436 1. Octal: 0~~37777777777;
1437 1. Decimal: -2147483648~~2147483647;
1438 1. Hexadecimal: 0 ~~ FFFF FFFF FFFF FFFF;
1439 1. String: the size of the length of 4 strings;
1440 1. ASCII: 4 ASCII code values;
1441 1. Real number: ±1.175495E-38 ~~±3.402823E+38.
1442
1443 **5)Electronic cam**
1444
1445 1. In the project management window, right-click the electronic cam node to create a new electronic cam table.
1446
1447 (% style="text-align:center" %)
1448 [[image:5V帮助文档_中性_html_772b0f2c063c7bdf.png||class="img-thumbnail" height="305" width="300"]]
1449
1450
1451 (% style="text-align:center" %)
1452 [[image:5V帮助文档_中性_html_eec94f52f6d7038e.png||class="img-thumbnail" height="203" width="300"]]
1453
1454 1. Open the electronic cam interface and set the data.
1455
1456 (% style="text-align:center" %)
1457 [[image:5V帮助文档_中性_html_b1e3be1ad040658e.png||class="img-thumbnail" height="696" width="1200"]]
1458
1459 1. Click the parameter setting to set the parameters, such as the starting device, which indicates the starting position of the download time.
1460
1461 (% style="text-align:center" %)
1462 [[image:5V帮助文档_中性_html_1dd63794eea30141.png||class="img-thumbnail" height="555" width="700"]]
1463
1464 1. Through import and export, the electronic cam table information written by other programs can be imported into the electronic cam table.
1465 1. Download the electronic cam, you can download the electronic cam to the lower computer.
1466
1467 **6)Instruction Set**
1468
1469 Available instruction set: all instructions, basic sequence control, step ladder instruction, program flow, transmission and comparison, four arithmetic, cycle and displacement, data processing, high number processing, convenient instruction, external device IO, external device SER, floating Point operation, contact comparison, high-speed pulse output, clock operation, floating-point contact comparison, data table, data block, communication instruction, electronic cam, other instructions, string control.
1470
1471 (% style="text-align:center" %)
1472 [[image:5V帮助文档_中性_html_e604a54f978bf5c9.png||class="img-thumbnail" height="479" width="300"]]
1473
1474 == **2.2.5 E.Output window** ==
1475
1476 **1)Output window**
1477
1478 Information output window: Provide users with the results after the software performs operations. Including: the execution result information of the three operations of compiling, communication, and conversion.
1479
1480 (% style="text-align:center" %)
1481 [[image:5V帮助文档_中性_html_90e91b513b595ebb.png||class="img-thumbnail" height="256" width="800"]]
1482
1483 If there is an error in the program, the error will be listed in the [Output] module at the bottom of the diagram, select the specified error item, and double-click to locate the error position of the ladder diagram.
1484
1485 == **2.2.6 F.Search and replace window** ==
1486
1487 **1)Search and replace function**
1488
1489 **Search and replace function: **Similar to the search and replace function of OFFICE, it can locate the data block specified by the user in a large amount of data, or perform batch addition, deletion, modification, and check, which can greatly improve efficiency.
1490
1491 **How to use: **Open the main program, after creating a new project, click [Ctrl]+[F] on the keyboard to pop up the search and replace interface, as shown in the following figure:
1492
1493 (% style="text-align:center" %)
1494 [[image:5V帮助文档_中性_html_b92476f464af9b7d.png||class="img-thumbnail" height="336" width="700"]]
1495
1496 Buttons are divided into 4 categories: devices, instruction, character string, and result, as shown in the figure above; clicking any one will switch to the corresponding operation interface.
1497
1498 == **2.2.7 G.Device value modification** ==
1499
1500 **1)Device value modification**
1501
1502 Modify the device value: modify the PLC internal register and coil value; modify the expansion device register value.
1503
1504 As shown below:
1505
1506 (% style="text-align:center" %)
1507 [[image:5V帮助文档_中性_html_7587d5d838501899.png||class="img-thumbnail" height="487" width="500"]]
1508
1509 **The above figure is explained in detail as follows:**
1510
1511 **PLC internal devices:**
1512
1513 **~1. Devices:**
1514
1515 1. "Devicess" are registers and coils (such as C0, M1, etc.) whose values need to be modified within the PLC range.
1516 1. "Data type" includes Word (single word), Bit (binary 0 or 1), Double Word (double word), Float (single precision floating point number).
1517 1. "Value" is the specific value to be modified (corresponding to the number in the range of "Data Type"), such as -120.
1518 1. The data format can be decimal (single word -32768~~32767, double word -2147483648~~2147483647) or hexadecimal (single word 0~~FFFF, double word 0~~FFFFFFFF).
1519 1. Click "Set" to write the set value within the correct range to the selected device.
1520
1521 **2. Execution result: **record the successfully modified "device", "data type" and "set value" in the form of a list.
1522
1523 **3. Record list:** Click any one in the list, click "Delete" to delete it.
1524
1525 Click "Clear List" to clear the record list.
1526
1527 Select any one in the record list and click "**Reflect to Input Field**" to reflect the items in [1, device].
1528
1529 **PLC external expansion module:**
1530
1531 1. "Module start" is the extension module number (such as module 0).
1532 1. "Address" is the internal writable address of the expansion module, and the address type can be decimal or hexadecimal.
1533 1. "Data type" includes Word (single word), Double Word (double word), Float (single precision floating point number).
1534 1. "Value" is the specific value to be modified (corresponding to the number in the "data type" range), such as -120; the type can be decimal or hexadecimal.
1535 1. Range: decimal (single word -32768~~32767, double word -2147483648~~2147483647), or hexadecimal (single word 0~~FFFF, double word 0~~FFFFFFFF).
1536 1. Click "Set" to write the set value within the correct range to the selected device.
1537
1538 **✎Note: **
1539
1540 1. Modification of the device value must be completed in the case of communication with the PLC.
1541 1. The device must be within the available range of the corresponding PLC model.
1542 1. The input value must be within the allowable range. Decimal (single word -32768~~32767, double word -2147483648~~2147483647), hexadecimal (single word 0~~FFFF, double word 0~~FFFFFFFF), floating point number (±1.175495E-38~~ 3.402823E+38).
1543
1544 == **2.2.8 H.Print ladder diagram** ==
1545
1546 The print function is divided into: print, print preview, and print settings.
1547
1548 **1)Preconditions for printing function**
1549
1550 (1) Open the project file (not the project file generated by the "Generate Download File" function).
1551
1552 (2) The program has all been compiled.
1553
1554 (3) The program is in edit mode.
1555
1556 Only when the above three conditions are met, the print button can be clicked:
1557
1558 (% style="text-align:center" %)
1559 [[image:5V帮助文档_中性_html_4a3514f38a7f788c.png||class="img-thumbnail" height="350" width="150"]]
1560
1561 **2)Printing preview**
1562
1563 Before printing, you can preview the print on the screen. Click the [File/Print/Print Preview] menu to open the print preview window as shown in the figure below:
1564
1565 (% style="text-align:center" %)
1566 [[image:5V帮助文档_中性_html_358b997f8596889a.png||class="img-thumbnail" height="535" width="700"]]
1567
1568 **Print preview interface:**
1569
1570 (% style="text-align:center" %)
1571 [[image:5V帮助文档_中性_html_a4bfbcc21b73893c.png||class="img-thumbnail" height="305" width="700"]]
1572
1573 **3)Print out**
1574
1575 When you need to print, please click the print button in the print window. First, a standard print dialog box will pop up. You can set the print options here. After confirming, you can output the current program to the printer.
1576
1577 (% style="text-align:center" %)
1578 [[image:5V帮助文档_中性_html_aca7cc53d9a9c6a4.png||class="img-thumbnail" height="363" width="500"]]
1579
1580 **4)Printer settings**
1581
1582 Set print information. As shown below:
1583
1584 (% style="text-align:center" %)
1585 [[image:5V帮助文档_中性_html_4509367d76861edf.png||class="img-thumbnail" height="378" width="500"]]
1586
1587 == **2.2.9 I.Status Bar** ==
1588
1589 **1)Status Bar**
1590
1591 Indication: language, uppercase and lowercase status, digital keyboard lock status, rewrite/insert status, communication port, project model, current program steps/total program steps and other status information.
1592
1593 (% style="text-align:center" %)
1594 [[image:5V帮助文档_中性_html_e600547de77c9c6c.png||class="img-thumbnail" height="27" width="800"]]
1595
1596 * Language: The language type displayed by the software. Highlighted means enabled.
1597 * Case status: English input status.
1598 * Numeric keypad lock: Whether the numeric keypad is available.
1599 * Rewrite/insert state: ladder diagram editing mode.
1600 * Communication port: communication COM port, click to pop up the communication setting window.
1601 * Project Type: Display the PLC model of the current project.
1602 * Current program steps/total program steps: Program editing page, program steps of the currently selected instruction/total program steps.
1603
1604 == **2.2.10 J.Device usage list** ==
1605
1606 **1)Device usage list**
1607
1608 The device usage list mainly displays the specified type of device, check the usage, and the corresponding comment and alias of the device.
1609
1610 (% style="text-align:center" %)
1611 [[image:5V帮助文档_中性_html_cdf7d5cd84a2e8dd.png||class="img-thumbnail" height="454" width="1200"]]
1612
1613 **Instructions for using the list of devices:**
1614
1615 1. Device selection drop-down box: select the drop-down box option, search for and display the usage of the corresponding type of Device (starting from serial number 0).
1616
1617 (% style="text-align:center" %)
1618 [[image:5V帮助文档_中性_html_913e6ee52eb6e334.png||class="img-thumbnail" height="346" width="300"]]
1619
1620 1. Start devices drop-down box: You can enter the full name or serial number of the start devices, press the Enter key or press the search button to search and display the usage of this type of devices (starting from the initial serial number). Record the search record in the drop-down box. After selecting the record, you can perform the search again.
1621
1622 (% style="text-align:center" %)
1623 [[image:5V帮助文档_中性_html_47cd0e948e54519c.png||class="img-thumbnail" height="65" width="200"]]
1624
1625 1. Search button: perform a search operation. When the starting device is empty, it will prompt to input a device.
1626
1627 (% style="text-align:center" %)
1628 [[image:5V帮助文档_中性_html_66a6f580b9c0c44c.png||class="img-thumbnail" height="45" width="100"]]
1629
1630 1. Search range: Specify the search range of the device.
1631
1632 (% style="text-align:center" %)
1633 [[image:5V帮助文档_中性_html_88d6e92e19a0506e.png||class="img-thumbnail" height="63" width="200"]]
1634
1635 Current program page: Search only for the currently active program page.
1636
1637 Current program type: only for all program pages of the same type in the currently activated program page.
1638
1639 Entire project: for all program pages of the current project.
1640
1641 (The program page types are divided into: scan, event, subroutine, interrupt)
1642
1643 1. Expand and close the sub-items of the device usage list.
1644
1645 (% style="text-align:center" %)
1646 [[image:5V帮助文档_中性_html_20f51e155751f6fb.png||class="img-thumbnail" height="53" width="700"]]
1647
1648 1. The sub-item of the devices use list: contains the instruction, step number, type and other information of the devices in the program. Double-click the content of the sub-item to locate the corresponding position in the program.
1649
1650 (% style="text-align:center" %)
1651 [[image:5V帮助文档_中性_html_af6f863da7a6a1f8.png||class="img-thumbnail" height="73" width="700"]]
1652
1653 1. Device comment and alias column: (the background color is white) shows the comment or alias of the device.
1654
1655 (% style="text-align:center" %)
1656 [[image:5V帮助文档_中性_html_6141a76952650a78.png||class="img-thumbnail" height="76" width="700"]]
1657
1658 **Display options:**
1659
1660 1. All devicess: After selecting, search all devicess of this type.
1661
1662 (% style="text-align:center" %)
1663 [[image:5V帮助文档_中性_html_fbaecf403347d02b.png||class="img-thumbnail" height="65" width="400"]]
1664
1665 1. Use devices: After selecting, search for the used devices of this type according to the contact and coil options.
1666
1667 (% style="text-align:center" %)
1668 [[image:5V帮助文档_中性_html_305d195aeaed9291.png||class="img-thumbnail" height="65" width="400"]]
1669
1670 Neither the contact nor the coil is selected, and all the devicess of this type that have been used in the program are displayed.
1671
1672 Select the contact (coil) to display the type of devices as the contact (coil) in the program.
1673
1674 Select both contacts and coils, and display the type of devices that are used as contacts and coils in the program.
1675
1676 1. Unused devices: After selecting, display all the devicess of this type that are not used in the program.
1677
1678 (% style="text-align:center" %)
1679 [[image:5V帮助文档_中性_html_fd0d9a97419875b3.png||class="img-thumbnail" height="65" width="400"]]
1680
1681 = **2.3 Shortcut keys list** =
1682
1683 == **2.3.1 A.Universal shortcut keys** ==
1684
1685 **The general shortcut keys are as follows:**
1686
1687 (% class="table-bordered" %)
1688 |**hot key**|(% style="width:343px" %)**Corresponding menu (function name)**|(% style="width:641px" %)**summary**
1689 |Ctrl + N|(% style="width:343px" %)New Project|(% style="width:641px" %)New Project
1690 |Ctrl + O|(% style="width:343px" %)Open the project|(% style="width:641px" %)Open an existing project
1691 |Ctrl + S|(% style="width:343px" %)Save the project|(% style="width:641px" %)Save the project
1692 |Ctrl + X|(% style="width:343px" %)Cut|(% style="width:641px" %)Cut selected data and range
1693 |Ctrl + C|(% style="width:343px" %)Copy|(% style="width:641px" %)Copy selected data and range
1694 |Ctrl + V|(% style="width:343px" %)Paste|(% style="width:641px" %)Cut/paste the copied data at the cursor position
1695 |Ctrl + Z|(% style="width:343px" %)Revoke|(% style="width:641px" %)Undo the previous operation
1696 |Ctrl + Y|(% style="width:343px" %)restore|(% style="width:641px" %)Resume the operation cancelled by [Undo]
1697 |Ctrl + F|(% style="width:343px" %)Search|(% style="width:641px" %)Search
1698 |Ctrl + F1|(% style="width:343px" %)Show/hide menu toolbar|(% style="width:641px" %)Show/hide menu toolbar
1699 |F3|(% style="width:343px" %)Start Monitoring|(% style="width:641px" %)Currently, start to monitor the window that is the target of the operation
1700 |Ctrl + F3|(% style="width:343px" %)Monitoring stop|(% style="width:641px" %)Currently, stop monitoring the window that is the target of operation
1701 |F4|(% style="width:343px" %)Compile|(% style="width:641px" %)Compile (transform) the program page currently being edited
1702 |Ctrl+F4|(% style="width:343px" %)Compile all|(% style="width:641px" %)Compile (transform) all program pages in the current project
1703 |Alt+F4|(% style="width:343px" %)Exit the software|(% style="width:641px" %)Exit the software
1704
1705 **A.Shortcut keys of the ladder diagram editor**
1706
1707 **The shortcut keys that can be used in the ladder diagram editor are as follows:**
1708
1709 (% class="table-bordered" %)
1710 |**hot key**|**Corresponding menu (function name)**|**summary**
1711 |F5|Normally open contact|Write the normally open contact to the cursor position
1712 |Shift + F5|Normally open contact OR|Write the normally open contact OR to the cursor position
1713 |F6|Normally closed contact|Write the normally closed contact to the cursor position
1714 |Shift + F6|Normally closed contact OR|Write the normally closed contact OR to the cursor position
1715 |F7|Coil|Write the coil to the cursor position
1716 |F8|Application instructions|Write application instructions to the cursor position
1717 |F9|Horizontal line input|Write horizontal line to cursor position
1718 |F11|Vertical line input|Write the vertical line to the cursor position
1719 |Ctrl + F9|Delete horizontal line|Delete the horizontal line at the cursor position
1720 |Ctrl + F11|Delete vertical line|Delete the vertical line at the cursor position
1721 |Shift + F7|Rising edge pulse|Write the rising edge pulse to the cursor position
1722 |Shift + F8|Falling edge pulse|Write the falling edge pulse to the cursor position
1723 |Ctrl + Alt + F7|Parallel rising edge pulse|Write the parallel rising edge pulse to the cursor position
1724 |Ctrl + Alt + F8|Parallel falling edge pulse|Write the parallel falling edge pulse to the cursor position
1725 |Ctrl + Alt + F11|Invert the result of the operation|Write the result of the calculation to the cursor position
1726 |Ctrl + Shift + Insert|Insert statement between lines|Insert the declaration line at the cursor position
1727 |Shift + Insert|Program line insertion|Insert the program line at the cursor position
1728 |Shift + Delete|Row delete|Delete the line at the cursor position
1729 |Ctrl + Insert|Column insert|Insert column at cursor position
1730 |Ctrl + Delete|Column delete|Delete the column at the cursor position
1731 |Ctrl + →|Enter/delete horizontal line in the right direction|Enter/delete horizontal line from the cursor position to the right
1732 |Ctrl + ←|Horizontal line input/delete in the left direction|Enter/delete horizontal line from the cursor position to the left
1733 |Ctrl + ↓|Enter/delete the vertical line in the downward direction|Enter/delete the vertical line from the cursor position down
1734 |Ctrl + ↑|Upward vertical line input/delete|Enter/delete the vertical line up from the cursor position
1735 |Ctrl + /|Normally open/normally closed contact switch|Switch between normally open contact and normally closed contact
1736 |Ctrl + G|Jump|Display jump to the instruction position corresponding to the specified number of steps
1737 |Ctrl + F5|Comment display|Display device comments and label comments
1738 |Ctrl + F7|Statement display|Show statement
1739 |F1|Open instruction help|Show command help