Wiki source code of 02 PLC editor2 software help

Version 7.1 by Stone Wu on 2022/06/24 12:03

Show last authors
1 (((
2 = **1 Quick start** =
3 )))
4
5 This chapter briefly introduces the use of our PLC programming software (PLC editor2) 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 * Step 2: Click "New" to pop up the "New Project" window, and set "PLC Series", "PLC Type" and "Program Language".
9 * Step 3: Click "Program" in the "Project Management" area to start writing the ladder diagram program.
10 * Step 4: Add instructions.
11 * Step 5: Save the program project (when the program has a specified save path, the software will save the current program regularly).
12 * Step 6: Compile the program.
13 * Step 7: Establish a communication connection with PLC.
14 * Step 8: Download the program to the PLC.
15 * Step 9: Start the PLC (RUN state).
16
17 == **Start the software** ==
18
19 After PLC editor 2 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:
20
21 [[image:image-20220623161849-29.jpeg]]
22
23 == **Create a project** ==
24
25 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:
26
27 * PLC series
28 * PLC type
29 * PLC language
30
31 **To create a new project, please operate as shown in the figure below:**
32
33 1. Move the mouse to the upper left corner of the program, and click the "File" menu.
34 1. After clicking the "File"  menu, a new dialog box will pop up.
35
36 (% style="text-align:center" %)
37 [[image:image-20220623134722-3.jpeg]]
38
39 (% start="3" %)
40 1. Select "PLC Series", "PLC Model" and "Program Language" through the drop-down box.
41 1. Click the "OK" button to create a new project.
42
43 (% style="text-align:center" %)
44 [[image:image-20220623134805-4.jpeg]]
45
46 In this example, we select 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:
47
48 [[image:image-20220623135152-5.jpeg]]
49
50 **✎Note:** For the operation of specific project management function, please refer to the relevant chapters.
51
52 == **Add instructions** ==
53
54 1. When a project is created, expand the directory tree of "Project Manager".
55
56 (% style="text-align:center" %)
57 [[image:image-20220623135506-6.jpeg]]
58
59 (% start="2" %)
60 1. After expanding "Project Manager", click "Instructions" ->"Basic instructions", select the specific instruction,such as "LD".
61
62 (% style="text-align:center" %)
63 [[image:image-20220623140414-8.jpeg]]
64
65 (% start="3" %)
66 1. Press and hold the mouse, select "LD]" and drag it to the right "Ladder Diagram (Write)"" input box, place it in the specified position, and release the left mouse button. Then you can input the parameters and click "OK".
67
68 (% style="text-align:center" %)
69 [[image:image-20220623141907-9.jpeg]]
70
71 (% style="text-align:center" %)
72 [[image:image-20220623141956-10.jpeg]]
73
74 **✎Note: **
75
76 * 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.
77 * If you want to add multiple instructions, repeat the above operation until all the instructions are added.
78
79 == **Compile program** ==
80
81 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.
82
83 (% style="text-align:center" %)
84 [[image:image-20220623144306-12.jpeg]]
85
86 If compiled successfully, it is shown as below.
87
88 (% style="text-align:center" %)
89 [[image:image-20220623144157-11.jpeg]]
90
91 If compilation fails, it is shown as below.
92
93 [[image:image-20220623153633-19.jpeg]]
94
95 All errors will be displayed in the list box. You could 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 you to debug the program.
96
97 **✎Note:** The program could be downloaded to the PLC only when the compilation is successful or there are no errors.
98
99 == **Communication test** ==
100
101 The communication test is to improve the connection stability of the PLC and PC, and avoid the loss of force majeure during the transmission process.
102
103 **Preparation steps:**
104
105 1. Open and run PLC Editor.
106 1. Click "Transfer Settings] of "Online" module above the program panel. As shown below:
107
108 (% style="text-align:center" %)
109 [[image:image-20220623145502-14.jpeg]]
110
111 (% start="3" %)
112 1. The "Transfersettings" dialog box pops up, when the "Detailed settings" is not checked, select the specified port, it is as shown in the figure below.
113
114 (% style="text-align:center" %)
115 [[image:image-20220623154113-20.jpeg]]
116
117 * **USB connection:** 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" button.
118 * **Ethernet configuration": **You could select the corresponding NIC and configure the IP address to connect the PLC with Ethernet function, or search the devices in the LAN by the device search function!
119 ** **✎Note:** Currently Ethernet is only supported by 5V-N series and 6V series.
120 * **Serial port (COM) connection**: Used when downloading programs or monitoring device using the PLC's round head (8-pin head).
121
122 (% start="4" %)
123 1. When the "Detailed Settings" option box is checked, the detailed settings window will pop up as below. You could set data according to their needs.
124
125 (% style="text-align:center" %)
126 [[image:image-20220623154122-21.jpeg]]
127
128 **✎Note:** The range of communication time check is 0 to 9999, and the number of repetitions is 0 to 5. Please do not exceed the limited range.
129
130 (% start="5" %)
131 1. After completing the settings, you could click the "Communication Test" or "OK" to perform a connection test.
132 1. If the test fails, the system will prompt as below.
133
134 (% style="text-align:center" %)
135 [[image:image-20220623153332-17.jpeg]]
136
137 (% start="7" %)
138 1. The connection is successful as shown in the figure below:
139
140 (% style="text-align:center" %)
141 [[image:image-20220623153337-18.jpeg]]
142
143 (% start="8" %)
144 1. After successful communication, you could click “Device Info“ to view the device information.
145
146 (% style="text-align:center" %)
147 [[image:image-20220623154456-22.jpeg]]
148
149 == **PLC program download** ==
150
151 **Work to be done before downloading:**
152
153 1. Open the compiler;
154 1. Create a new project and make the project compile successfully;
155 1. Install the corresponding PLC driver on the PC and connect the PLC and PC;
156 1. Complete the communication setting through the compiler.
157
158 **Start downloading**
159
160 * 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:
161
162 (% style="text-align:center" %)
163 [[image:image-20220623155646-23.jpeg]]
164
165 * The online operation window is shown in the figure below:
166
167 (% style="text-align:center" %)
168 [[image:image-20220623160440-24.jpeg]]
169
170 * Click "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:
171
172 (% style="text-align:center" %)
173 [[image:image-20220623160446-25.jpeg]]
174
175 * After clicking "Execute", the system will automatically pop up a prompt window. Clicking "Yes" means stop the PLC operation 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:
176
177 (% style="text-align:center" %)
178 [[image:image-20220623160453-26.jpeg]]
179
180 * After clicking "Yes", the download and compile window will start to run. As shown below:
181
182 (% style="text-align:center" %)
183 [[image:image-20220623160458-27.jpeg||height="619" width="742"]]
184
185 * When the progress bar in the download window completes the progress, the system will promt "Write to PLC(Complete)". As shown below:
186
187 (% style="text-align:center" %)
188 [[image:image-20220623160503-28.jpeg]]
189
190 = **2 Overall introduction** =
191
192 After the software is started, enter the main interface, as shown in the figure below:
193
194 [[image:image-20220623161945-30.jpeg]]
195
196 == **Toolbar area** ==
197
198 Most of the functions of the software can be found here, which are divided into PLC, view and help.
199
200 [[image:image-20220623162610-31.jpeg]]
201
202 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.
203 1. Functions such as each floating window and ladder diagram display scale can be enabled in the view classification.
204 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.
205
206 == **Project management** ==
207
208 It is used to create new programs, operate program pages or program blocks, and configure PLC parameters.
209
210 (% style="text-align:center" %)
211 [[image:image-20220623162814-32.jpeg]]
212
213 == **Ladder editing** ==
214
215 In short, it is the module for development. In this module, you could write programs, configure PLC and other development. At the same time, you could add, delete, modify and check PLC through this module.
216
217 [[image:image-20220623162958-33.jpeg]]
218
219 === **Floating windows** ===
220
221 It is used to display or realize a specific function, which will be explained in detail in the following chapters.
222
223 [[image:image-20220623163153-34.jpeg]]
224
225 **Status bar:** used to display the status of the PLC or program page.
226
227 (% style="text-align:center" %)
228 [[image:image-20220623163359-35.jpeg]]
229
230 = **PLC function menu** =
231
232 == **Clipboard** ==
233
234 Clipboard is a basic function of PLC Editor2 and has a very important function. This chapter will explain the basic description of the clipboard.
235
236 The clipboard has five functions: "Cut", "Copy", "Paste", "Undo" and "Redo".
237
238 (% style="text-align:center" %)
239 [[image:image-20220623170127-36.jpeg]]
240
241 * **Cut: **After selecting the ladder diagram, you could 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.
242 * **Copy:** After selecting the ladder diagram, you could use the "Ctrl+C" command or the right mouse button to copy the specified data.
243 * **Paste: **After selecting the ladder diagram, you can use the "Ctrl+V" command or the right mouse button to paste the specified data.
244 * **Undo:** Through "Ctrl+Z" or the right mouse button, 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.
245 * **Redo: **Through the "Ctrl+Y" or the right mouse button, you could return to the previous action after canceling the event.
246
247 == **Ladder symbol** ==
248
249 PLC Eidtor provides powerful and complete functions in the menu bar, which can greatly improve programming efficiency, as shown in the following figure:
250
251 (% style="text-align:center" %)
252 [[image:image-20220623171113-37.jpeg||height="120" width="247"]]
253
254 **The following table is a detailed description of the ladder diagram.**
255
256 (% class="table-bordered" %)
257 |(% style="width:70px" %)**Image**|(% style="width:361px" %)**Instruction**|(% style="width:382px" %)**Command function description**|(% style="width:263px" %)**Hot key**
258 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_17467c64c59b7dcc.jpg||height="35" width="35"]]|(% style="width:361px" %)LD AND|(% style="width:382px" %)Input series normally open |(% style="width:263px" %)F5
259 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_78ee1c120297f15c.jpg||height="35" width="35"]]|(% style="width:361px" %)OR|(% style="width:382px" %)Input parallel normally open|(% style="width:263px" %)SHIFT+F5
260 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_6d69b74c12b3d4ac.jpg||height="35" width="35"]]|(% style="width:361px" %)LDI ANI|(% style="width:382px" %)Input series normally close|(% style="width:263px" %)F6
261 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_16ca0a4e28932a25.jpg||height="35" width="35"]]|(% style="width:361px" %)ORI|(% style="width:382px" %)Input parallel normally open|(% style="width:263px" %)SHIFT+F6
262 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_91ad97fbb1766cde.jpg||height="35" width="35"]]|(% style="width:361px" %)OUT|(% style="width:382px" %)Ladder diagram output coil|(% style="width:263px" %)F7
263 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_bb11bf59792412cb.jpg||height="35" width="35"]]|(% style="width:361px" %)CJ/CALL and other application instructions|(% style="width:382px" %)Inpuyt application instructions|(% style="width:263px" %)F8
264 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_e11c169668fbc3d7.jpg||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Ladder diagram input horizontal line|(% style="width:263px" %)F9
265 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_25d3575219c37c40.jpg||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Ladder diagram input vertical line|(% style="width:263px" %)F11
266 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_e1fd81d831e4cc1e.jpg||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Delete horizontal line in ladder diagram|(% style="width:263px" %)CTRL+F9
267 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_50a964bc9aa2388f.jpg||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Delete vertical line in ladder diagram|(% style="width:263px" %)CTRL+F11
268 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_4c194d2b4c3e9166.jpg||height="35" width="35"]]|(% style="width:361px" %)LDP ANP|(% style="width:382px" %)Input series rising edge pulse|(% style="width:263px" %)SHIFT+F7
269 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_4e945174029d8824.jpg||height="35" width="35"]]|(% style="width:361px" %)LDF ANF|(% style="width:382px" %)Input series falling edge pulse|(% style="width:263px" %)SHIFT+F8
270 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_94c5f7c4566eeb6e.jpg||height="35" width="35"]]|(% style="width:361px" %)ORP|(% style="width:382px" %)Input parallel rising edge pulse|(% style="width:263px" %)CTRL+ALT+F7
271 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_fe027a1353a855e2.jpg||height="35" width="35"]]|(% style="width:361px" %)ORF|(% style="width:382px" %)Input parallel falling edge pulse|(% style="width:263px" %)CTRL+ALT+F8
272 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_8213f80a4dec5ecc.jpg||height="35" width="35"]]|(% style="width:361px" %)INV|(% style="width:382px" %)Invert the result of the operation|(% style="width:263px" %)CTRL+ALT+F11
273 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_bd63cbbc541dc1c9.png||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Line segment input|(% style="width:263px" %)SHIFT+F9
274 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_fb82ee5fc2b94c23.png||height="42" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Line segment deletion|(% style="width:263px" %)SHIFT+F11
275 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_236aac83ad0c365e.png||height="37" width="35"]]|(% style="width:361px" %)MEP|(% style="width:382px" %)Rising edge pulsing of operation results|(% style="width:263px" %)ALT+F5
276 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_fc7bf55c55a8fc75.png||height="35" width="35"]]|(% style="width:361px" %)MEF|(% style="width:382px" %)Falling edge pulsing of operation results|(% style="width:263px" %)CTRL+ALT+F5
277
278 == **Comment&statement** ==
279
280 Editing comments or statement is mainly to comment the code in the project to better interpret the project.
281
282 As shown in the figure below, it enters the editing state.
283
284 (% style="text-align:center" %)
285 [[image:image-20220623172114-38.jpeg||height="129" width="125"]]
286
287 === **Edit comment** ===
288
289 Function: Comment on the device.
290
291 Prerequisite: devices are required on the ladder diagram.
292
293 Step:
294
295 1. Click the "Comment" button, when the button color becomes darker, it will enter the editing state.
296 1. After successfully entering the edit comment state, move the mouse to the code segment specified by you, and double-click the target area with the left button, and the "Comment Edit” window will pop up.
297 1. At this time, you could enter the specified comment in the column input box.
298 1. After editing the comment, click “Execute" to save it.
299
300 **✎Note:** The comment can be edited up to 128 characters, and the alias can be edited up to 8 characters.
301
302 (% style="text-align:center" %)
303 [[image:image-20220623172401-39.jpeg]]
304
305 **Result:**
306
307 (% style="text-align:center" %)
308 [[image:image-20220623172710-40.jpeg]]
309
310 === **Edit statement** ===
311
312 Function: Annotate the ladder diagram block.
313
314 **Step:**
315
316 1. Click the "Statement" button, when the button color becomes darker, it will enter the editing state.
317 1. After successfully entering the edit statement state, move the mouse to the code segment specified by you, and double-click the target area with the left button, and the "Statement Edit" window will pop up.
318 1. At this time, you could enter the specified statement in the previous input box.
319 1. After editing the statement, click "Execute" to save it.
320
321 **✎Note:** The statement line can edit up to 64 characters, and the statement can be downloaded to the PLC when downloading the ladder diagram.
322
323 [[image:image-20220623172907-41.jpeg]]
324
325 **Result:**
326
327 [[image:image-20220623172913-42.jpeg]]
328
329 == **Program compilation** ==
330
331 This chapter mainly introduces the program compilation function.
332
333 The program compilation menu has three functions, including compile, switch, and compile all, as shown in the figure below:
334
335 (% style="text-align:center" %)
336 [[image:image-20220624090820-2.jpeg]]
337
338 === **Compile** ===
339
340 Function: Refers to the form of converting the ladder diagram (program) of the current program page into the instruction list (IL).
341
342 Steps: After compiling the ladder diagram, click compile or use the hot key F4.
343
344 Results:
345
346 * Compiling correctly will prompt that the compilation is successful.
347
348 (% style="text-align:center" %)
349 [[image:image-20220624091026-3.jpeg]]
350
351 * Failure will prompt compilation failure. Locate the error and go to the information output window. You coulc modify the ladder diagram according to the prompts.
352
353 (% style="text-align:center" %)
354 [[image:image-20220624091132-4.jpeg]]
355
356 (% style="text-align:center" %)
357 [[image:image-20220624091200-5.jpeg]]
358
359 * Double coil inspection, manifested in the form of warning.
360
361 (% style="text-align:center" %)
362 [[image:image-20220624092222-6.png]]
363
364 === **Switch** ===
365
366 Function: refers to switching the current program page between the ladder diagram interface and the instruction list (IL) interface.
367
368 Steps: Click the switch button on the program page interface.
369
370 Results:
371
372 * In the compiled program page, click to switch to the instruction list interface.
373
374 (% style="text-align:center" %)
375 [[image:image-20220624093016-7.jpeg]]
376
377 * In the uncompiled program page, the prompt "TheI current ladder diagram is not compiledI. Do you want to abandon the current ladder diagram?" Click "Yes" to abandon the editing ladder diagram and convert it to the instruction list, click "No" not to switch.
378
379 [[image:image-20220624094410-9.jpeg]]
380
381 === **Compile all** ===
382
383 Function: Refers to converting the ladder diagram of all programs under the current project into the form of instruction list (IL).
384
385 Steps: Click the compile all button or use the shortcut key Ctrl+F4.
386
387 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.
388
389 [[image:image-20220624095005-10.jpeg]]
390
391 == **Ladder monitoring ** ==
392
393 Function: monitor the value of the devices on the ladder diagram, modify and debug the program.
394
395 **Step:**
396
397 * Connect to the PLC and switch to monitoring mode.
398
399 [[image:image-20220624095815-11.jpeg]]
400
401 1. Right-click the menu, click "Debug" to modify the value of the device.
402
403 (% style="text-align:center" %)
404 [[image:image-20220624095855-12.jpeg]]
405
406 * Click the ON, OFF, or ON/OFF inversion to set the device.
407
408 (% style="text-align:center" %)
409 [[image:image-20220624100037-13.jpeg]]
410
411 === **Monitor edit** ===
412
413 PLC Editor2 provides the "Monitor edit" function. You could edit ladder program in the state of monitoring it.
414
415 Steps:
416
417 * Connect to PLC and switch to "Monitor edit" mode.
418
419 (% style="text-align:center" %)
420 [[image:image-20220624101413-14.jpeg]]
421
422 * Modify ladder diagram
423
424 (% style="text-align:center" %)
425 [[image:image-20220624101446-15.jpeg]]
426
427 * Compile the ladder diagram
428
429 (% style="text-align:center" %)
430 [[image:image-20220624101510-16.jpeg]]
431
432 * After the compilation, download it to PLC.
433
434 (% style="text-align:center" %)
435 [[image:image-20220624101609-17.jpeg]]
436
437 **✎Note:** The firmware version requires above v2.000 version.
438
439 == **Online menu** ==
440
441 The online menu provdes rich fucntions. It is mainly divided into 10 parts: Transfer settings, Read from PLC,Write to PLC, Checksum PLC, PLC Diagnosis, Remote operation, Device monitor, Module monitoring, Clear PLC memory, and PLC clock set.
442
443 (% style="text-align:center" %)
444 [[image:image-20220624103113-18.jpeg]]
445
446 === **Transfer settings** ===
447
448 Function: The main purpose is to improve the stability of the PLC and PC, and to avoid force majeure problems during transmission that could lead to losses.
449
450 **Steps:**
451
452 Open PLC Editor2, and click "Online" ->"Transfer Settings". As shown below:
453
454 (% style="text-align:center" %)
455 [[image:image-20220624103242-19.jpeg]]
456
457 "Transfer setting" dialog box will pop up. When using USB connection, select the specified port, it is as shown in the figure below.
458
459 (% style="text-align:center" %)
460 [[image:image-20220624103637-20.jpeg]]
461
462 When using Ethernet configuration, you could click "Devices research" to select the corresponding NIC and configure the IP address to connect the PLC with Ethernet function,
463
464 **✎Note:** Currently Ethernet configuration is only supported by 5V-N series and 6V series.
465
466 (% style="text-align:center" %)
467 [[image:image-20220624105239-21.jpeg]]
468
469 Click "Devices research" to pop up a search page, as shown below.
470
471 (% style="text-align:center" %)
472 [[image:image-20220624105429-22.jpeg]]
473
474 **Description: **Clicking "Device search", it will automatically search for all PLC devices supporting Ethernet in the network segment matching subnet mask, i.e., the host computor and PLC must be in the same subnet to be recognized.
475 **The subnet mask matches the network segment:**
476
477 * If the IP of this machine is 192.168.56.237 and the subnet mask is 255.255.255.0, the PLC within the 192.168.56 network segment will be searched.
478 * If the IP of this machine is 172.16.56.1 and the subnet mask is 255.255.0.0, the PLC in the 172.16 network segment will be searched.
479 * If the IP of this machine is 10.244.56.9 and the subnet mask is 255.0.0.0, then the PLC in the 10 network segment will be searched.
480
481 **✎Note:** The NIC used for the IP search function is the NIC selected by the user of the NIC selection interface.
482 **Use:** Click "Device search" to search for devices in the LAN, and the searched devices are displayed on the interface. Selecting the corresponding line and clicking the "OK", the corresponding IP information will be displayed in the IP address input box of the Ethernet configuration. Please refer to the PLC programming manual for the specific PC network address configuration.
483
484 When using the serial port to connect, select the specified port and check the "Detailed setting", the detailed settings window will pop up as below.
485
486 (% style="text-align:center" %)
487 [[image:image-20220624111046-23.jpeg]]
488
489 You could set the data according to their needs.
490
491 **✎Note: **The range of communication time check is 0 to 9999, and the number of repetitions is 0 to 5. Please do not exceed the limited range.
492
493 After completing the settings, you could click the "Communication Test" or "OK" to perform a connection test.
494
495 If the test fails, the system will prompt as below.
496
497 (% style="text-align:center" %)
498 [[image:image-20220624111448-24.jpeg]]
499
500 Successful connection is shown as below.
501
502 (% style="text-align:center" %)
503 [[image:image-20220624111451-25.jpeg||height="186" width="285"]]
504
505 After successful communication, you can click "Device Info" to view the device information.
506
507 (% style="text-align:center" %)
508 [[image:image-20220624111617-26.jpeg]]
509
510 === **Read from PLC** ===
511
512 **Function: **Upload the data in the series PLC to the software through the communication line.
513
514 (% style="text-align:center" %)
515 [[image:image-20220624114311-27.jpeg]]
516
517 **Interface introduction:**
518
519 * **Para + program: **Upload parameters and programs from the PLC to the software.
520 * **Select all:** Upload parameters, programs, comments, devices memory area settings and electronic cam tables from the PLC to the software.
521 * **Cancel all select:** Cancel all selections.
522 * **Execute: **Start the upload operation.
523 * **Stop: **Stop the upload operation.
524 * **Close:** Exit the current window.
525 * **Execute (upload):** Upload the data of the lower computer to the software.
526 * **Display/Hide: **Display/hide the upload progress and other information, as shown in the figure below:
527
528 (% style="text-align:center" %)
529 [[image:image-20220624114427-28.jpeg]]
530
531 **Steps:**
532
533 Check the data items that need to be uploaded.
534
535 * If the selected data item is device memory, you could click "set" to set the title of the uploaded device memory and the range of the device to be uploaded.
536
537 [[image:image-20220624114632-29.jpeg]]
538
539 * If the selected data item is electronic cam table, you could click "set" to set the title of the uploaded electronic cam table and the uploaded cam table.
540
541 [[image:image-20220624114647-30.jpeg]]
542
543 Click "Execute" to start uploading. At this time, the PLC needs to be in the stop state.
544
545 (% style="text-align:center" %)
546 [[image:image-20220624114918-31.jpeg]]
547
548 Keep communication and wait for the upload to complete.
549
550 (% style="text-align:center" %)
551 [[image:image-20220624114941-32.jpeg]]
552
553 === **Write to PLC** ===
554
555 **Function: **Download the ladder diagram program or other configuration to the PLC.
556
557 (% style="text-align:center" %)
558 [[image:image-20220624115206-33.jpeg]]
559
560 **Interface introduction:**
561
562 * **Para + program:** Download parameters and programs to the PLC.
563 * **Select all: **Download parameters, programs, comments, and devices memory area settings to the PLC.
564 * **Cancel all selections:** Cancel all selections.
565 * **Execute: **start the download operation.
566 * **Stop: **stop the download operation.
567 * **Close:** Exit the current window.
568 * **Calculated 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.
569 * **Display/Hide:** Display/hide the download progress and other information, as shown in the figure below.
570
571 (% style="text-align:center" %)
572 [[image:image-20220624115419-34.jpeg]]
573
574 **Step:**
575
576 Check the data items that need to be downloaded.
577
578 * If the selected data item is device memory, you could click "set" to set the title of the uploaded device memory and the range of the device to be downloaded.
579
580 (% style="text-align:center" %)
581 [[image:image-20220624115440-35.jpeg]]
582
583 The PLC needs to be in the stop state when downloading.
584
585 (% style="text-align:center" %)
586 [[image:image-20220624115451-36.jpeg]]
587
588 Keep communication and wait for the downpload to complete.
589
590 (% style="text-align:center" %)
591 [[image:image-20220624115455-37.jpeg]]
592
593 === **PLC device monitoring** ===
594
595 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.
596
597 (% style="text-align:center" %)
598 [[image:5V帮助文档_中性_html_839955581a08901c.png||height="718" width="1200" class="img-thumbnail"]]
599
600 **Interface description:**
601
602 Monitoring start: start the current monitoring, allowing to view or modify the value of the register.
603
604 End of monitoring: End the current monitoring, you cannot view or modify the value of the register.
605
606 Edit current value: After clicking, a dialog box named [Modify Device Value] will pop up, and you can modify
607
608 Close: Close the [Device Monitor] interface.
609
610 **Step:**
611
612 1. Open the device monitoring interface.
613
614 (% style="text-align:center" %)
615 [[image:5V帮助文档_中性_html_c516f54635196dd6.png||height="110" width="300" class="img-thumbnail"]]
616
617 1. Click the monitoring start button under the premise of communicating with the PLC.
618
619 (% style="text-align:center" %)
620 [[image:5V帮助文档_中性_html_2f129e6ffdd675cb.png||height="549" width="1200" class="img-thumbnail"]]
621
622 1. The devices can be monitored by modifying the monitoring form, display, value and bit sequence.
623
624 (% style="text-align:center" %)
625 [[image:5V帮助文档_中性_html_a2dd50ba89a54576.png||height="504" width="200" class="img-thumbnail"]]
626
627 1. Switch device, search device and switch to monitor buffer memory.
628
629 (% style="text-align:center" %)
630 [[image:5V帮助文档_中性_html_71a82c63fe904fae.png||height="518" width="1200" class="img-thumbnail"]]
631
632 === **Clear PLC memory** ===
633
634 **Function**: Clear the data of the lower computer.
635
636 (% style="text-align:center" %)
637 [[image:5V帮助文档_中性_html_63566bf52138ea07.png||height="320" width="500" class="img-thumbnail"]]
638
639 **Step:**
640
641 1. Before clearing the PLC memory, the PLC needs to be in the stop state.
642 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.
643 1. Click Execute and wait for the PLC to clear the data.
644
645 === **PLC clock setting** ===
646
647 Function: Set the PLC clock, you can customize the internal time of the PLC to achieve the purpose of accurate calculation.
648
649 Click [Clock setting] to open the Clock setting interface.
650
651 (% style="text-align:center" %)
652 [[image:5V帮助文档_中性_html_1d1fdcb0af06a7b4.png||height="374" width="500" class="img-thumbnail"]]
653
654 **Module explanation:**
655
656 Connection target: display the information of the currently linked PLC, read the parameters of this PLC, and cannot be changed.
657
658 Time and calendar area: you can easily select time information and match freely.
659
660 Get PC time: Let the software automatically read the current PC time without manual calibration.
661
662 Set the clock: After finishing the setting, click this button to save the current operation setting to the PLC.
663
664 Close: Do not save the current operating data, and exit to close this window.
665
666 **Set time:**
667
668 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.
669 1. Click [Clock setting] to open the time setting window.
670 1. Select the time required by the user in the time control panel or in the calendar panel.
671 1. The time interval of the year is 2000-2099; the interval of the month is January-December;
672 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.
673 1. You can also click [Get PC Time] to quickly match the current time (provided that the PC time is accurate).
674 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:
675
676 (% style="text-align:center" %)
677 [[image:5V帮助文档_中性_html_967b5841c25d204c.png||height="158" width="250" class="img-thumbnail"]]
678
679 === **PLC remote operation** ===
680
681 Function: Remote operation can quickly change the state of the PLC online and control the switch of the PLC.
682
683 (% style="text-align:center" %)
684 [[image:5V帮助文档_中性_html_237d4162b4a38587.png||height="212" width="400" class="img-thumbnail"]]
685
686 === **PLC diagnosis** ===
687
688 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.
689
690 (% style="text-align:center" %)
691 [[image:5V帮助文档_中性_html_55c44a5c8690dbf5.png||height="412" width="700" class="img-thumbnail"]]
692
693 === **PLC verification** ===
694
695 Function: The user can select the items that need to be verified by the PLC, as shown in the figure below:
696
697 (% style="text-align:center" %)
698 [[image:5V帮助文档_中性_html_ec72bcd11572003e.png||height="587" width="700" class="img-thumbnail"]]
699
700 Compare the difference between the program in the current PC software and the program in the PLC, as shown in the figure below:
701
702 (% style="text-align:center" %)
703 [[image:5V帮助文档_中性_html_1cc43a035d93c05b.png||height="286" width="700" class="img-thumbnail"]]
704
705 By double-clicking the list, you can view the specific differences of the program, as shown in the following figure:
706
707 (% style="text-align:center" %)
708 [[image:5V帮助文档_中性_html_b18231acc57a461f.png||height="252" width="700" class="img-thumbnail"]]
709
710 === **Module monitoring** ===
711
712 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.
713
714 **Interface description:**
715
716 (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.
717
718 (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.
719
720 (3) Help: Open the instruction manual of the module, which can be used to find the detailed instructions of the module on it.
721
722 (4) Refresh: You can update the module information of the current PLC connection and refresh the module information list.
723
724 **(5) Working mode:**
725
726 ① 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;
727
728 ② 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.
729
730 **Step:**
731
732 1. Click Module Monitoring.
733
734 (% style="text-align:center" %)
735 [[image:5V帮助文档_中性_html_7e64d17a4a480165.png||height="112" width="300" class="img-thumbnail"]]
736
737 1. Select the module you want to monitor.
738 1. To view and modify the value.
739
740 (% style="text-align:center" %)
741 [[image:5V帮助文档_中性_html_70be57a90d675c22.png||height="453" width="1200" class="img-thumbnail"]]
742
743 **7)Tool**
744
745 === **PLC encryption tool** ===
746
747 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.
748
749 **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:
750
751 (% style="text-align:center" %)
752 [[image:5V帮助文档_中性_html_1e4c37ba99b3d4f4.png||height="368" width="500" class="img-thumbnail"]]
753
754 **~1. Set a password Note:**
755
756 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).
757 1. The length of the password can only be 8 characters, no more or less than.
758 1. When setting a new password, the first time password and the second confirmation password must be the same.
759 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).
760 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.
761
762 **2. Steps to set password:**
763
764 1. Make the PLC and PC connect normally, and run the compiler at the same time;
765 1. Turn off the RUN of the PLC;
766 1. Click [PLC Encryption Tool] in the [Tools] panel;
767 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;
768 1. Select the type of password that needs to be set, and click [Set Password]. (The following PLC takes uploading password as an example)
769
770 (% style="text-align:center" %)
771 [[image:5V帮助文档_中性_html_1e4c37ba99b3d4f4.png||height="368" width="500" class="img-thumbnail"]]
772
773 1. Please follow the instructions to fill in the correct password.
774 1. If the password length is not enough, there will be a prompt as follows:
775
776 (% style="text-align:center" %)
777 [[image:5V帮助文档_中性_html_5852c5dbdd8ee45d.png||height="185" width="300" class="img-thumbnail"]]
778
779 1. If the secondary password is inconsistent, there will be a prompt as shown below:
780
781 (% style="text-align:center" %)
782 [[image:5V帮助文档_中性_html_e90ecbf41cadf882.png||height="149" width="400" class="img-thumbnail"]]
783
784 1. If the password is successfully set, there will be a prompt as shown below:
785
786 (% style="text-align:center" %)
787 [[image:5V帮助文档_中性_html_32b27e2bc1d9673d.png||height="199" width="300" class="img-thumbnail"]]
788
789 **3. Clear password:**
790
791 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.
792
793 (% style="text-align:center" %)
794 [[image:5V帮助文档_中性_html_ee1ff864f7dcecdf.png||height="188" width="300" class="img-thumbnail"]]
795
796 **4. Steps to clear the password:**
797
798 1. Make the PLC and PC connect normally and run the compiler at the same time.
799 1. Turn off the RUN of the PLC.
800 1. Click [Decice encryption] in the [Tools] panel.
801 1. Select the PLC password to be cleared in [Type], and click [Clear].
802 1. After opening a new window, please enter the specified password in the [Please enter password] area, and then click [Execute].
803 1. If you clear the upload password input error, there will be a prompt as shown below:
804
805 (% style="text-align:center" %)
806 [[image:5V帮助文档_中性_html_249fce69e20fccd1.png||height="157" width="300" class="img-thumbnail"]]
807
808 1. If the password is correct, there will be a prompt as shown below:
809
810 (% style="text-align:center" %)
811 [[image:5V帮助文档_中性_html_4e99c8ea17c1b1ce.png||height="202" width="300" class="img-thumbnail"]]
812
813 === **Engineering encryption tool** ===
814
815 In the PLC Editor, you can set a password for the project file to maintain security. As shown below:
816
817 (% style="text-align:center" %)
818 [[image:5V帮助文档_中性_html_9b7bcf11a5a5ddf1.png||height="299" width="400" class="img-thumbnail"]]
819
820 **~1. Precautions for setting password:**
821
822 1. The length of the password can only be 8 characters, no more or less than.
823 1. When setting a new password, the first time password and the second confirmation password must be the same.
824 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.
825
826 **2. Steps to set password:**
827
828 1. Click [Project Encryption Tool] in the [Tools] panel;
829 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;
830 1. Select the password that needs to be entered, and click [Set Password].
831
832 (% style="text-align:center" %)
833 [[image:5V帮助文档_中性_html_d0ae32303af041be.png||height="302" width="400" class="img-thumbnail"]]
834
835 1. Please follow the instructions to fill in the correct password.
836 1. If the password is not long enough, there will be a prompt as shown below:
837
838 (% style="text-align:center" %)
839 [[image:5V帮助文档_中性_html_97efb9eaa38c6172.png||height="179" width="500" class="img-thumbnail"]]
840
841 1. If the secondary password is inconsistent, there will be a prompt as shown below:
842
843 (% style="text-align:center" %)
844 [[image:5V帮助文档_中性_html_e90ecbf41cadf882.png||height="186" width="500" class="img-thumbnail"]]
845
846 1. If the password is successfully set, there will be a prompt as shown below:
847
848 (% style="text-align:center" %)
849 [[image:5V帮助文档_中性_html_852b3ed602bbc480.png||height="199" width="300" class="img-thumbnail"]]
850
851 **3. Clear password:**
852
853 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.
854
855 (% style="text-align:center" %)
856 [[image:5V帮助文档_中性_html_ae5bcabb06629168.png||height="188" width="300" class="img-thumbnail"]]
857
858 **4. Steps to clear the password:**
859
860 1. Click [Project Encryption Tool] in the [Tools] panel.
861 1. In the opened window panel, click [Clear].
862 1. After opening a new window, please enter the specified password in the [Please enter password] area, and then click [Execute].
863 1. If the password is entered incorrectly, there will be a prompt as shown below:
864
865 (% style="text-align:center" %)
866 [[image:5V帮助文档_中性_html_249fce69e20fccd1.png||height="157" width="300" class="img-thumbnail"]]
867
868 1. If the password is correct, there will be a prompt as shown below:
869
870 (% style="text-align:center" %)
871 [[image:5V帮助文档_中性_html_4bbbe8646e6aa1ad.png||height="202" width="300" class="img-thumbnail"]]
872
873 === **USB download** ===
874
875 Function: Generate a bin file, the user can use the file to download programs and other configurations through the HMI screen.
876
877 **Step:**
878
879 1. Click on the U disk to download and open the interface.
880
881 (% style="text-align:center" %)
882 [[image:5V帮助文档_中性_html_b3b419b08b029beb.png||height="90" width="300" class="img-thumbnail"]]
883
884 1. Check the items that need to be downloaded, set the communication port parameters, and select the location of the U disk.
885
886 (% style="text-align:center" %)
887 [[image:5V帮助文档_中性_html_d6612d208a751e0d.png||height="636" width="600" class="img-thumbnail"]]
888
889 1. Click Make to generate the bin file.
890 1. Insert the U disk into the HMI screen to download.
891
892 === **Automatic backup** ===
893
894 **Function**: Back up project files, users can view and retrieve historical versions through this function.
895
896 **Step:**
897
898 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.
899
900 (% style="text-align:center" %)
901 [[image:5V帮助文档_中性_html_f2c0da12068ac370.png||height="602" width="1200" class="img-thumbnail"]]
902
903 1. Click the remark information to add remarks to the historical version, and click Execute to save it.
904 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:
905
906 (% style="text-align:center" %)
907 [[image:5V帮助文档_中性_html_f0355b539ee43c1b.png||height="185" width="300" class="img-thumbnail"]]
908
909 === **Generate download file** ===
910
911 Function: Generate a file for download only, the file cannot be viewed and uploaded.
912
913 **Step:**
914
915 1. Compile all the program pages, click to generate the download file.
916 1. Select the path and file name.
917 1. Open the generated .swcp2 file and click download.
918
919 (% style="text-align:center" %)
920 [[image:5V帮助文档_中性_html_64ff2d2ca21a855f.png||height="123" width="1200" class="img-thumbnail"]]
921
922 === **Reset window layout** ===
923
924 Function: Restore all floating windows in the program to the default position.
925
926 Steps: Click the reset window layout button in the view.
927
928 **Before reset:**
929
930 (% style="text-align:center" %)
931 [[image:5V帮助文档_中性_html_3b2e61a7dc00f421.png||height="715" width="1200" class="img-thumbnail"]]
932
933 **After reset:**
934
935 (% style="text-align:center" %)
936 [[image:5V帮助文档_中性_html_f5648ea83791419a.png||height="719" width="1200" class="img-thumbnail"]]
937
938 == **Program editing area** ==
939
940 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.
941
942 **1)Ladder Diagram Work Area**
943
944 **Insert or delete Rows/Columns**
945
946 **~1. Insert a new row**
947
948 1. Select the position where you want to insert the row +1.
949 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].
950
951 (% style="text-align:center" %)
952 [[image:5V帮助文档_中性_html_fe3e14b543c5cd59.png||height="283" width="1200" class="img-thumbnail"]]
953
954 (% style="text-align:center" %)
955 [[image:5V帮助文档_中性_html_e1fe303f61871b4a.png||height="486" width="1200" class="img-thumbnail"]]
956
957 **2. Insert the statement line**
958
959 Select the position where you want to insert the row.
960
961 Method 1: Use the keyboard shortcut [Shift]+[Ctrl]+[Insert].
962
963 (% style="text-align:center" %)
964 [[image:5V帮助文档_中性_html_38c17655daa7e99d.png||height="266" width="1200" class="img-thumbnail"]]
965
966 Method 2: 【Ctrl】+【F7】.
967
968 (% style="text-align:center" %)
969 [[image:5V帮助文档_中性_html_8fd6a5c0dbd0c1f1.png||height="316" width="1200" class="img-thumbnail"]]
970
971 Method 3: Right-click, select [Edit], and then click [Insert Statement].
972
973 (% style="text-align:center" %)
974 [[image:5V帮助文档_中性_html_71abb0a50efacc03.png||height="419" width="1200" class="img-thumbnail"]]
975
976 **3. Delete the program line**
977
978 (% style="text-align:center" %)
979 [[image:5V帮助文档_中性_html_4eca87fd2e8ea6b9.png||height="339" width="800" class="img-thumbnail"]]
980
981 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.
982
983 (% style="text-align:center" %)
984 [[image:5V帮助文档_中性_html_4f121787d41b35e7.png||height="227" width="800" class="img-thumbnail"]]
985
986 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].
987
988 (% style="text-align:center" %)
989 [[image:5V帮助文档_中性_html_5372d242118587ad.png||height="369" width="1200" class="img-thumbnail"]]
990
991 **4. Deletion of the statement line**
992
993 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].
994
995 **5. Insert column**
996
997 1. Select the position where you want to insert the column.
998 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].
999
1000 (% style="text-align:center" %)
1001 [[image:5V帮助文档_中性_html_689dfd75a992c94c.png||height="340" width="800" class="img-thumbnail"]]
1002
1003 (% style="text-align:center" %)
1004 [[image:5V帮助文档_中性_html_8a1a1069716f5bce.png||height="213" width="800" class="img-thumbnail"]]
1005
1006 **6 Delete column**
1007
1008 1. Select the position of the column to be deleted.
1009 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].
1010
1011 **Before deleting:**
1012
1013 (% style="text-align:center" %)
1014 [[image:5V帮助文档_中性_html_1dc378107dafcc54.png||height="341" width="800" class="img-thumbnail"]]
1015
1016 **After deleting:**
1017
1018 (% style="text-align:center" %)
1019 [[image:5V帮助文档_中性_html_cfd75e5eede2e139.png||height="206" width="800" class="img-thumbnail"]]
1020
1021 **Copy and paste function**
1022
1023 The copy and paste function can save time and reduce the time spent on repeated operations.
1024
1025 **Steps for usage:**
1026
1027 1. Move the mouse to the ladder editing area.
1028 1. Select the specified cell or drag the mouse to select an area.
1029
1030 (% style="text-align:center" %)
1031 [[image:5V帮助文档_中性_html_d5aa6c70c096349a.png||height="155" width="700" class="img-thumbnail"]]
1032
1033 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.
1034
1035 (% style="text-align:center" %)
1036 [[image:5V帮助文档_中性_html_b9fa9a54a94c1613.png||height="435" width="900" class="img-thumbnail"]]
1037
1038 1. After completing the third operation, copy the specified area to the clipboard.
1039 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.
1040
1041 (% style="text-align:center" %)
1042 [[image:5V帮助文档_中性_html_78c29e0dd8cb401a.png||height="458" width="900" class="img-thumbnail"]]
1043
1044 **Delete and modify ladder diagram components**
1045
1046 **~1. Modify the ladder diagram components**
1047
1048 **Steps to modify ladder diagram components:**
1049
1050 1. It must be ensured that the ladder diagram components can be modified in the [write mode] in the current state.
1051
1052 (% style="text-align:center" %)
1053 [[image:5V帮助文档_中性_html_12c88470e88f68bf.png||height="119" width="400" class="img-thumbnail"]]
1054
1055 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.
1056 1. After performing step 2, the output command dialog box will pop up.
1057 1. Enter the command corresponding to the selected component into the dialog box.
1058 1. Click [Execute] to save the modification.
1059
1060 **✎Note: **
1061
1062 1. The modified instruction must be able to pass the correct instruction verification before it can be saved.
1063 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.
1064 1. All contact components cannot be modified mutually with coils or application instructions.
1065
1066 **2. Delete ladder diagram components**
1067
1068 **Steps to delete ladder diagram components:**
1069
1070 1. It must be ensured that the ladder diagram components can be deleted in the [write mode] in the current state.
1071 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.
1072 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.
1073 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.
1074
1075 **Enter ladder diagram instructions**
1076
1077 There are 5 ways to input ladder diagram instructions:
1078
1079 * Direct input method
1080 * Input method through instruction set
1081 * Double-click cell method
1082 * Instruction help
1083 * Ladder Symbol/Shortcut Method
1084
1085 **~1. Direct input method**
1086
1087 1. Move the mouse and left-click the specified cell.
1088 1. Directly use the keyboard to input the specified instruction, the system will automatically pop up the ladder diagram input box.
1089 1. Enter the complete instructions and parameters in the dialog box.
1090 1. Click [Execute] or the [Enter] button on the keyboard.
1091 1. The system verifies the correctness of the input, and generates the graphic element represented by the instruction after the verification is correct.
1092 1. If the instruction is wrong, the instruction help interface will pop up.
1093
1094 (% style="text-align:center" %)
1095 [[image:5V帮助文档_中性_html_40e677f14ea9fae6.png||height="53" width="600" class="img-thumbnail"]]
1096
1097 **2. Through the instruction set input method**
1098
1099 1. Move the mouse to the [Project Management] interface on the left side of the window.
1100 1. Expand [Instruction Set].
1101 1. Open the instruction tree required by the user.
1102 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.
1103 1. After completing step (4), [Edit] will pop up.
1104 1. Enter the correct operand in the input box.
1105 1. Click [Execute] or the keyboard [Enter].
1106
1107 (% style="text-align:center" %)
1108 [[image:5V帮助文档_中性_html_5bdac8caa5ecd1bb.png||height="217" width="900" class="img-thumbnail"]]
1109
1110 **3. Double-click the cell method**
1111
1112 1. Move the mouse to the designated area and double-click the left button.
1113 1. [Ladder Diagram Input] pops up, enter the correct command in the input box.
1114 1. Click [Execute] or the keyboard [Enter].
1115 1. If the instruction is wrong, the instruction help interface will pop up.
1116
1117 (% style="text-align:center" %)
1118 [[image:5V帮助文档_中性_html_68679c1a58f52c04.png||height="242" width="800" class="img-thumbnail"]]
1119
1120 **4. Command help method**
1121
1122 1. Move the mouse to the designated area and double-click the left button.
1123 1. [Ladder Diagram Input] pops up.
1124 1. Click [Help] to pop up [Command Help]
1125 1. After selecting the instruction that needs to be entered, click the [Detail] button to pop up the [Instruction Wizard].
1126 1. The instruction guide interface selects the correct operand according to different instructions.
1127 1. After selecting the specified command, click [Execute] to save the data and complete the command input.
1128
1129 (% style="text-align:center" %)
1130 [[image:5V帮助文档_中性_html_1e72f783a4402ac0.png||height="592" width="1200" class="img-thumbnail"]]
1131
1132
1133 (% style="text-align:center" %)
1134 [[image:5V帮助文档_中性_html_296b88f4766c787d.png||height="199" width="700" class="img-thumbnail"]]
1135
1136 **5. Ladder diagram symbol/shortcut method**
1137
1138 The ladder diagram symbol is located in the PLC menu, as shown in the figure below:
1139
1140 (% style="text-align:center" %)
1141 [[image:5V帮助文档_中性_html_4708bb852d0e898f.png||height="141" width="300" class="img-thumbnail"]]
1142
1143 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]]
1144
1145 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.
1146
1147 **✎Note: **
1148
1149 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.
1150 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.
1151 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.
1152 1. The maximum number of input columns in the ladder diagram is 13 columns.
1153
1154 **2)Instruction list workspace**
1155
1156 **Instruction list editor**
1157
1158 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:
1159
1160 (% style="text-align:center" %)
1161 [[image:5V帮助文档_中性_html_550c5cb7f37a8b23.png||height="190" width="300" class="img-thumbnail"]]
1162
1163 **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.
1164
1165 **Ladder diagram-instruction list switching:** If there is an error in the program logic, it cannot be switched.
1166
1167 **3)Program editing shortcut menu**
1168
1169 **Function description of right key in program edit area**
1170
1171 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.
1172
1173 (% style="text-align:center" %)
1174 [[image:5V帮助文档_中性_html_c665b55b77356626.png||height="349" width="200" class="img-thumbnail"]]
1175
1176 * Undo: Undo the current operation and roll back the previous step.
1177 * Redo: roll back the undo operation.
1178 * Cut: Cut the selected ladder diagram in the ladder diagram and put the content on the clipboard.
1179 * Copy: Copy the selected ladder diagram in the ladder diagram and put the content on the clipboard.
1180 * 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.
1181 * Delete: Ladder diagram, delete the selected ladder diagram content.
1182 * Compile: Compile the current program page.
1183
1184 **Editing options:**
1185
1186 * Program line insertion: Insert an empty table line in the currently selected line in the ladder diagram.
1187 * Insert declaration line: insert a blank declaration line in the currently selected line in the ladder diagram.
1188 * Row delete: delete the currently selected row in the ladder diagram.
1189 * Column insertion: In the ladder diagram, a blank node is added to the selected instruction, and other instructions move one grid to the right.
1190 * Column deletion: In the ladder diagram, delete the currently selected instruction, and other instructions move one space to the left.
1191
1192 **Search:**
1193
1194 * 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.
1195 * 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.
1196 * 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.
1197
1198 **View:**
1199
1200 * Comment display: In the ladder diagram, the comment of the device is displayed.
1201 * Alias display: In the ladder diagram, display the alias of the device.
1202
1203 **Debugging:**
1204
1205 * 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.
1206
1207 == **Project Management Area** ==
1208
1209 **1)program**
1210
1211 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.
1212
1213 (% style="text-align:center" %)
1214 [[image:5V帮助文档_中性_html_c994cf26a619747a.png||height="289" width="300" class="img-thumbnail"]]
1215
1216 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:
1217
1218 (% style="text-align:center" %)
1219 [[image:5V帮助文档_中性_html_a8e9017d31a283f4.png||height="253" width="300" class="img-thumbnail"]]
1220
1221
1222 (% style="text-align:center" %)
1223 [[image:5V帮助文档_中性_html_e5f29f0a4a8e987a.png||height="375" width="300" class="img-thumbnail"]]
1224
1225 Program page operations: Right-click the program page with the mouse to perform corresponding operations on the program page.
1226
1227 (% style="text-align:center" %)
1228 [[image:5V帮助文档_中性_html_77f4622516b9586b.png||height="283" width="300" class="img-thumbnail"]]
1229
1230 1. Delete: delete the program page.
1231 1. Rename: Rename the program page.
1232 1. Program encryption: Encrypt and decrypt the program page.
1233
1234 * 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.
1235
1236 (% style="text-align:center" %)
1237 [[image:5V帮助文档_中性_html_dd6dac658ce9f761.png||height="263" width="500" class="img-thumbnail"]]
1238
1239 (% style="text-align:center" %)
1240 [[image:5V帮助文档_中性_html_d35d37b5c5f1b474.png||height="211" width="300" class="img-thumbnail"]]
1241
1242
1243 (% style="text-align:center" %)
1244 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||height="259" width="300" class="img-thumbnail"]]
1245
1246 * Cancel encryption: After entering the correct password, cancel the encryption of the program page.
1247
1248 (% style="text-align:center" %)
1249 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||height="211" width="300" class="img-thumbnail"]]
1250
1251 * Modify password: After entering the original program page password, set a new program page password.
1252
1253 (% style="text-align:center" %)
1254 [[image:5V帮助文档_中性_html_9c6f7d5b041a8b03.png||height="211" width="300" class="img-thumbnail"]]
1255
1256 * 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.
1257
1258 (% style="text-align:center" %)
1259 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||height="211" width="300" class="img-thumbnail"]]
1260
1261 (% style="text-align:center" %)
1262 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||height="259" width="300" class="img-thumbnail"]]
1263
1264 1. Settings: You can view the author, date of creation, and remarks on the program page.
1265
1266 (% style="text-align:center" %)
1267 [[image:5V帮助文档_中性_html_c759000c8e559104.png||height="372" width="300" class="img-thumbnail"]]
1268
1269 * Configuration: The time and interrupt program page can click the configuration button to set the trigger condition.
1270
1271 (% style="text-align:center" %)
1272 [[image:5V帮助文档_中性_html_3dfaca311d1985d9.png||height="401" width="600" class="img-thumbnail"]]
1273
1274 1. Move up: Move the program page up, used to adjust the execution order of the program page.
1275
1276 (% style="text-align:center" %)
1277 [[image:5V帮助文档_中性_html_94faf2e95ee9b671.png||height="256" width="300" class="img-thumbnail"]]
1278
1279
1280 (% style="text-align:center" %)
1281 [[image:5V帮助文档_中性_html_d07ec8d22a4d2124.png||height="262" width="300" class="img-thumbnail"]]
1282
1283 1. Move down: Move the program page down to adjust the execution order of the program page.
1284
1285 (% style="text-align:center" %)
1286 [[image:5V帮助文档_中性_html_5cbaa91e1de6507d.png||height="287" width="300" class="img-thumbnail"]]
1287
1288
1289 (% style="text-align:center" %)
1290 [[image:5V帮助文档_中性_html_26f9c3fcfd8bcf9.png||height="288" width="300" class="img-thumbnail"]]
1291
1292 **2)Device comment**
1293
1294 Device comment module: A .wcp2 file has and only one module named COMMENT "device comment".
1295
1296 Double-click "COMMENT" and the following interface will appear:
1297
1298 (% style="text-align:center" %)
1299 [[image:5V帮助文档_中性_html_394b0adad39bfa55.png||height="682" width="1200" class="img-thumbnail"]]
1300
1301 **Interface label description:**
1302
1303 **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.
1304
1305 **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.
1306
1307 **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:
1308
1309 (% style="text-align:center" %)
1310 [[image:5V帮助文档_中性_html_44cc58ed200be21d.png||height="688" width="300" class="img-thumbnail"]]
1311
1312 **Interface button description:**
1313
1314 Display commented devices: The comment list displays all devices with comments or aliases.
1315
1316 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).
1317
1318 Export EXCEL: Export and save all the devices information of edit devices comments or aliases as *.xls files to local disk.
1319
1320 **3)Parameter**
1321
1322 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.
1323
1324 Double-click the "PLC Parameters" node and the interface as shown on the left will appear:
1325
1326 (% style="text-align:center" %)
1327 [[image:5V帮助文档_中性_html_9125c6e25b27de33.png||height="415" width="700" class="img-thumbnail"]]
1328
1329 **Interface button description:**
1330
1331 * 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.
1332 * Reset: Click this button to restore the default settings.
1333 * OK: Complete the correct PLC parameter change and set it.
1334 * Cancel: Cancel the PLC parameter setting and keep the parameter setting before the change.
1335
1336 **~1. Devices latch**
1337
1338 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.
1339
1340 (% style="text-align:center" %)
1341 [[image:5V帮助文档_中性_html_6e4356d226d3b009.png||height="416" width="700" class="img-thumbnail"]]
1342
1343 **2. COM1 settings**
1344
1345 (% style="text-align:center" %)
1346 [[image:5V帮助文档_中性_html_84b7a9f11d75a88c.png||height="416" width="700" class="img-thumbnail"]]
1347
1348 Whether to set: whether to enable the COM1 port configuration.
1349 Baud rate: select the data transmission rate.
1350
1351 Data bits: select the data length.
1352
1353 Stops: select the number of stop bits.
1354
1355 Check bit: Select the check digit.
1356
1357 Station No.: Set the station number, ranging from 1 to 47.
1358
1359 **3. COM2 settings**
1360
1361 (% style="text-align:center" %)
1362 [[image:5V帮助文档_中性_html_ef25b614b6b21364.png||height="414" width="700" class="img-thumbnail"]]
1363
1364 Whether to set: whether to enable the COM1 port configuration.
1365
1366 **(1), communication settings**
1367
1368 Baud rate: select the data transmission rate.
1369
1370 Data bits: select the data length.
1371
1372 Stops: select the number of stop bits.
1373
1374 Check bit: Select the check digit.
1375
1376 Timeout: Set the timeout time, the range is 0~~32767.
1377
1378 Sending interval: Set the sending interval, the range is 0~~32767.
1379
1380 Protocol: Select the communication protocol.
1381
1382 **(2), agreement related**
1383
1384 Station No.: Set the station number. According to different protocols, the station number setting range is different.
1385
1386 Whether to enable the start character: used to customize the protocol.
1387
1388 Header: set the end character for custom protocol.
1389
1390 Whether to enable terminator: used to customize the protocol.
1391
1392 Terminator: Set the terminator to customize the agreement.
1393
1394 Timeout between characters: used to customize the protocol.
1395
1396 **4)Devices memory**
1397
1398 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.
1399
1400 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:
1401
1402 (% style="text-align:center" %)
1403 [[image:5V帮助文档_中性_html_a6e26997559e3d17.png||height="682" width="1200" class="img-thumbnail"]]
1404
1405 **Interface label description:**
1406
1407 **Please input the device:** input the device to be searched, and press Enter to locate the device to be searched.
1408
1409 **List of Device intervals:** Divided into 10 intervals C, D, HSC, LC, M, R, S, T, V, Z.
1410
1411 (% style="text-align:center" %)
1412 [[image:5V帮助文档_中性_html_b83cc213845b2ee0.png||height="369" width="300" class="img-thumbnail"]]
1413
1414 **Device value display area**: currently editing operations are prohibited.
1415
1416 (% style="text-align:center" %)
1417 [[image:5V帮助文档_中性_html_41e88cb8867d2780.png||height="682" width="1200" class="img-thumbnail"]]
1418
1419 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).
1420
1421 The data can be expressed in size: 16 bits and 32 bits.
1422
1423 **The data size that each format can represent when the length is 16 bits:**
1424
1425 1. Binary: 0000000000000000 ~~1111111111111111;
1426 1. Octal: 0~~1777777;
1427 1. Decimal: -32768~~32767;
1428 1. Hexadecimal: 0~~FFFF;
1429 1. String: the size of 2 characters in length;
1430 1. ASCII: 2 ASCII code values.
1431
1432 **The data size that each format can represent when the length is 32 bits:**
1433
1434 1. Binary: 00000000 00000000 00000000 00000000 ~~11111111 11111111 11111111 11111111;
1435 1. Octal: 0~~37777777777;
1436 1. Decimal: -2147483648~~2147483647;
1437 1. Hexadecimal: 0 ~~ FFFF FFFF FFFF FFFF;
1438 1. String: the size of the length of 4 strings;
1439 1. ASCII: 4 ASCII code values;
1440 1. Real number: ±1.175495E-38 ~~±3.402823E+38.
1441
1442 **5)Electronic cam**
1443
1444 1. In the project management window, right-click the electronic cam node to create a new electronic cam table.
1445
1446 (% style="text-align:center" %)
1447 [[image:5V帮助文档_中性_html_772b0f2c063c7bdf.png||height="305" width="300" class="img-thumbnail"]]
1448
1449
1450 (% style="text-align:center" %)
1451 [[image:5V帮助文档_中性_html_eec94f52f6d7038e.png||height="203" width="300" class="img-thumbnail"]]
1452
1453 1. Open the electronic cam interface and set the data.
1454
1455 (% style="text-align:center" %)
1456 [[image:5V帮助文档_中性_html_b1e3be1ad040658e.png||height="696" width="1200" class="img-thumbnail"]]
1457
1458 1. Click the parameter setting to set the parameters, such as the starting device, which indicates the starting position of the download time.
1459
1460 (% style="text-align:center" %)
1461 [[image:5V帮助文档_中性_html_1dd63794eea30141.png||height="555" width="700" class="img-thumbnail"]]
1462
1463 1. Through import and export, the electronic cam table information written by other programs can be imported into the electronic cam table.
1464 1. Download the electronic cam, you can download the electronic cam to the lower computer.
1465
1466 **6)Instruction Set**
1467
1468 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.
1469
1470 (% style="text-align:center" %)
1471 [[image:5V帮助文档_中性_html_e604a54f978bf5c9.png||height="479" width="300" class="img-thumbnail"]]
1472
1473 == **Output window** ==
1474
1475 **1)Output window**
1476
1477 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.
1478
1479 (% style="text-align:center" %)
1480 [[image:5V帮助文档_中性_html_90e91b513b595ebb.png||height="256" width="800" class="img-thumbnail"]]
1481
1482 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.
1483
1484 == **Search and replace window** ==
1485
1486 **1)Search and replace function**
1487
1488 **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.
1489
1490 **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:
1491
1492 (% style="text-align:center" %)
1493 [[image:5V帮助文档_中性_html_b92476f464af9b7d.png||height="336" width="700" class="img-thumbnail"]]
1494
1495 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.
1496
1497 == **Device value modification** ==
1498
1499 **1)Device value modification**
1500
1501 Modify the device value: modify the PLC internal register and coil value; modify the expansion device register value.
1502
1503 As shown below:
1504
1505 (% style="text-align:center" %)
1506 [[image:5V帮助文档_中性_html_7587d5d838501899.png||height="487" width="500" class="img-thumbnail"]]
1507
1508 **The above figure is explained in detail as follows:**
1509
1510 **PLC internal devices:**
1511
1512 **~1. Devices:**
1513
1514 1. "Devicess" are registers and coils (such as C0, M1, etc.) whose values need to be modified within the PLC range.
1515 1. "Data type" includes Word (single word), Bit (binary 0 or 1), Double Word (double word), Float (single precision floating point number).
1516 1. "Value" is the specific value to be modified (corresponding to the number in the range of "Data Type"), such as -120.
1517 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).
1518 1. Click "Set" to write the set value within the correct range to the selected device.
1519
1520 **2. Execution result: **record the successfully modified "device", "data type" and "set value" in the form of a list.
1521
1522 **3. Record list:** Click any one in the list, click "Delete" to delete it.
1523
1524 Click "Clear List" to clear the record list.
1525
1526 Select any one in the record list and click "**Reflect to Input Field**" to reflect the items in [1, device].
1527
1528 **PLC external expansion module:**
1529
1530 1. "Module start" is the extension module number (such as module 0).
1531 1. "Address" is the internal writable address of the expansion module, and the address type can be decimal or hexadecimal.
1532 1. "Data type" includes Word (single word), Double Word (double word), Float (single precision floating point number).
1533 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.
1534 1. Range: decimal (single word -32768~~32767, double word -2147483648~~2147483647), or hexadecimal (single word 0~~FFFF, double word 0~~FFFFFFFF).
1535 1. Click "Set" to write the set value within the correct range to the selected device.
1536
1537 **✎Note: **
1538
1539 1. Modification of the device value must be completed in the case of communication with the PLC.
1540 1. The device must be within the available range of the corresponding PLC model.
1541 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).
1542
1543 == **Print ladder diagram** ==
1544
1545 The print function is divided into: print, print preview, and print settings.
1546
1547 **1)Preconditions for printing function**
1548
1549 (1) Open the project file (not the project file generated by the "Generate Download File" function).
1550
1551 (2) The program has all been compiled.
1552
1553 (3) The program is in edit mode.
1554
1555 Only when the above three conditions are met, the print button can be clicked:
1556
1557 (% style="text-align:center" %)
1558 [[image:5V帮助文档_中性_html_4a3514f38a7f788c.png||height="350" width="150" class="img-thumbnail"]]
1559
1560 **2)Printing preview**
1561
1562 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:
1563
1564 (% style="text-align:center" %)
1565 [[image:5V帮助文档_中性_html_358b997f8596889a.png||height="535" width="700" class="img-thumbnail"]]
1566
1567 **Print preview interface:**
1568
1569 (% style="text-align:center" %)
1570 [[image:5V帮助文档_中性_html_a4bfbcc21b73893c.png||height="305" width="700" class="img-thumbnail"]]
1571
1572 **3)Print out**
1573
1574 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.
1575
1576 (% style="text-align:center" %)
1577 [[image:5V帮助文档_中性_html_aca7cc53d9a9c6a4.png||height="363" width="500" class="img-thumbnail"]]
1578
1579 **4)Printer settings**
1580
1581 Set print information. As shown below:
1582
1583 (% style="text-align:center" %)
1584 [[image:5V帮助文档_中性_html_4509367d76861edf.png||height="378" width="500" class="img-thumbnail"]]
1585
1586 == **Status Bar** ==
1587
1588 **1)Status Bar**
1589
1590 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.
1591
1592 (% style="text-align:center" %)
1593 [[image:5V帮助文档_中性_html_e600547de77c9c6c.png||height="27" width="800" class="img-thumbnail"]]
1594
1595 * Language: The language type displayed by the software. Highlighted means enabled.
1596 * Case status: English input status.
1597 * Numeric keypad lock: Whether the numeric keypad is available.
1598 * Rewrite/insert state: ladder diagram editing mode.
1599 * Communication port: communication COM port, click to pop up the communication setting window.
1600 * Project Type: Display the PLC model of the current project.
1601 * Current program steps/total program steps: Program editing page, program steps of the currently selected instruction/total program steps.
1602
1603 == **Device usage list** ==
1604
1605 **1)Device usage list**
1606
1607 The device usage list mainly displays the specified type of device, check the usage, and the corresponding comment and alias of the device.
1608
1609 (% style="text-align:center" %)
1610 [[image:5V帮助文档_中性_html_cdf7d5cd84a2e8dd.png||height="454" width="1200" class="img-thumbnail"]]
1611
1612 **Instructions for using the list of devices:**
1613
1614 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).
1615
1616 (% style="text-align:center" %)
1617 [[image:5V帮助文档_中性_html_913e6ee52eb6e334.png||height="346" width="300" class="img-thumbnail"]]
1618
1619 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.
1620
1621 (% style="text-align:center" %)
1622 [[image:5V帮助文档_中性_html_47cd0e948e54519c.png||height="65" width="200" class="img-thumbnail"]]
1623
1624 1. Search button: perform a search operation. When the starting device is empty, it will prompt to input a device.
1625
1626 (% style="text-align:center" %)
1627 [[image:5V帮助文档_中性_html_66a6f580b9c0c44c.png||height="45" width="100" class="img-thumbnail"]]
1628
1629 1. Search range: Specify the search range of the device.
1630
1631 (% style="text-align:center" %)
1632 [[image:5V帮助文档_中性_html_88d6e92e19a0506e.png||height="63" width="200" class="img-thumbnail"]]
1633
1634 Current program page: Search only for the currently active program page.
1635
1636 Current program type: only for all program pages of the same type in the currently activated program page.
1637
1638 Entire project: for all program pages of the current project.
1639
1640 (The program page types are divided into: scan, event, subroutine, interrupt)
1641
1642 1. Expand and close the sub-items of the device usage list.
1643
1644 (% style="text-align:center" %)
1645 [[image:5V帮助文档_中性_html_20f51e155751f6fb.png||height="53" width="700" class="img-thumbnail"]]
1646
1647 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.
1648
1649 (% style="text-align:center" %)
1650 [[image:5V帮助文档_中性_html_af6f863da7a6a1f8.png||height="73" width="700" class="img-thumbnail"]]
1651
1652 1. Device comment and alias column: (the background color is white) shows the comment or alias of the device.
1653
1654 (% style="text-align:center" %)
1655 [[image:5V帮助文档_中性_html_6141a76952650a78.png||height="76" width="700" class="img-thumbnail"]]
1656
1657 **Display options:**
1658
1659 1. All devicess: After selecting, search all devicess of this type.
1660
1661 (% style="text-align:center" %)
1662 [[image:5V帮助文档_中性_html_fbaecf403347d02b.png||height="65" width="400" class="img-thumbnail"]]
1663
1664 1. Use devices: After selecting, search for the used devices of this type according to the contact and coil options.
1665
1666 (% style="text-align:center" %)
1667 [[image:5V帮助文档_中性_html_305d195aeaed9291.png||height="65" width="400" class="img-thumbnail"]]
1668
1669 Neither the contact nor the coil is selected, and all the devicess of this type that have been used in the program are displayed.
1670
1671 Select the contact (coil) to display the type of devices as the contact (coil) in the program.
1672
1673 Select both contacts and coils, and display the type of devices that are used as contacts and coils in the program.
1674
1675 1. Unused devices: After selecting, display all the devicess of this type that are not used in the program.
1676
1677 (% style="text-align:center" %)
1678 [[image:5V帮助文档_中性_html_fd0d9a97419875b3.png||height="65" width="400" class="img-thumbnail"]]
1679
1680 = **PLC function menu** =
1681
1682 == **Clipboard** ==
1683
1684 Clipboard is a basic function of PLC Editor2 and has a very important function. This chapter will explain the basic description of the clipboard.
1685
1686 The clipboard has five functions: "Cut", "Copy", "Paste", "Undo" and "Redo".
1687
1688 (% style="text-align:center" %)
1689 [[image:image-20220623170127-36.jpeg]]
1690
1691 * **Cut: **After selecting the ladder diagram, you could 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.
1692 * **Copy:** After selecting the ladder diagram, you could use the "Ctrl+C" command or the right mouse button to copy the specified data.
1693 * **Paste: **After selecting the ladder diagram, you can use the "Ctrl+V" command or the right mouse button to paste the specified data.
1694 * **Undo:** Through "Ctrl+Z" or the right mouse button, 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.
1695 * **Redo: **Through the "Ctrl+Y" or the right mouse button, you could return to the previous action after canceling the event.
1696
1697 == **Ladder symbol** ==
1698
1699 PLC Eidtor provides powerful and complete functions in the menu bar, which can greatly improve programming efficiency, as shown in the following figure:
1700
1701 (% style="text-align:center" %)
1702 [[image:image-20220623171113-37.jpeg||height="120" width="247"]]
1703
1704 **The following table is a detailed description of the ladder diagram.**
1705
1706 (% class="table-bordered" %)
1707 |(% style="width:70px" %)**Image**|(% style="width:361px" %)**Instruction**|(% style="width:382px" %)**Command function description**|(% style="width:263px" %)**Hot key**
1708 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_17467c64c59b7dcc.jpg||height="35" width="35"]]|(% style="width:361px" %)LD AND|(% style="width:382px" %)Input series normally open |(% style="width:263px" %)F5
1709 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_78ee1c120297f15c.jpg||height="35" width="35"]]|(% style="width:361px" %)OR|(% style="width:382px" %)Input parallel normally open|(% style="width:263px" %)SHIFT+F5
1710 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_6d69b74c12b3d4ac.jpg||height="35" width="35"]]|(% style="width:361px" %)LDI ANI|(% style="width:382px" %)Input series normally close|(% style="width:263px" %)F6
1711 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_16ca0a4e28932a25.jpg||height="35" width="35"]]|(% style="width:361px" %)ORI|(% style="width:382px" %)Input parallel normally open|(% style="width:263px" %)SHIFT+F6
1712 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_91ad97fbb1766cde.jpg||height="35" width="35"]]|(% style="width:361px" %)OUT|(% style="width:382px" %)Ladder diagram output coil|(% style="width:263px" %)F7
1713 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_bb11bf59792412cb.jpg||height="35" width="35"]]|(% style="width:361px" %)CJ/CALL and other application instructions|(% style="width:382px" %)Inpuyt application instructions|(% style="width:263px" %)F8
1714 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_e11c169668fbc3d7.jpg||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Ladder diagram input horizontal line|(% style="width:263px" %)F9
1715 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_25d3575219c37c40.jpg||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Ladder diagram input vertical line|(% style="width:263px" %)F11
1716 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_e1fd81d831e4cc1e.jpg||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Delete horizontal line in ladder diagram|(% style="width:263px" %)CTRL+F9
1717 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_50a964bc9aa2388f.jpg||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Delete vertical line in ladder diagram|(% style="width:263px" %)CTRL+F11
1718 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_4c194d2b4c3e9166.jpg||height="35" width="35"]]|(% style="width:361px" %)LDP ANP|(% style="width:382px" %)Input series rising edge pulse|(% style="width:263px" %)SHIFT+F7
1719 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_4e945174029d8824.jpg||height="35" width="35"]]|(% style="width:361px" %)LDF ANF|(% style="width:382px" %)Input series falling edge pulse|(% style="width:263px" %)SHIFT+F8
1720 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_94c5f7c4566eeb6e.jpg||height="35" width="35"]]|(% style="width:361px" %)ORP|(% style="width:382px" %)Input parallel rising edge pulse|(% style="width:263px" %)CTRL+ALT+F7
1721 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_fe027a1353a855e2.jpg||height="35" width="35"]]|(% style="width:361px" %)ORF|(% style="width:382px" %)Input parallel falling edge pulse|(% style="width:263px" %)CTRL+ALT+F8
1722 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_8213f80a4dec5ecc.jpg||height="35" width="35"]]|(% style="width:361px" %)INV|(% style="width:382px" %)Invert the result of the operation|(% style="width:263px" %)CTRL+ALT+F11
1723 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_bd63cbbc541dc1c9.png||height="35" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Line segment input|(% style="width:263px" %)SHIFT+F9
1724 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_fb82ee5fc2b94c23.png||height="42" width="35"]]|(% style="width:361px" %) |(% style="width:382px" %)Line segment deletion|(% style="width:263px" %)SHIFT+F11
1725 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_236aac83ad0c365e.png||height="37" width="35"]]|(% style="width:361px" %)MEP|(% style="width:382px" %)Rising edge pulsing of operation results|(% style="width:263px" %)ALT+F5
1726 |(% style="width:70px" %)[[image:5V帮助文档_中性_html_fc7bf55c55a8fc75.png||height="35" width="35"]]|(% style="width:361px" %)MEF|(% style="width:382px" %)Falling edge pulsing of operation results|(% style="width:263px" %)CTRL+ALT+F5
1727
1728 == **Comment&statement** ==
1729
1730 Editing comments or statement is mainly to comment the code in the project to better interpret the project.
1731
1732 As shown in the figure below, it enters the editing state.
1733
1734 (% style="text-align:center" %)
1735 [[image:image-20220623172114-38.jpeg||height="129" width="125"]]
1736
1737 == **Edit comment** ==
1738
1739 Function: Comment on the device.
1740
1741 Prerequisite: devices are required on the ladder diagram.
1742
1743 Step:
1744
1745 1. Click the "Comment" button, when the button color becomes darker, it will enter the editing state.
1746 1. After successfully entering the edit comment state, move the mouse to the code segment specified by you, and double-click the target area with the left button, and the "Comment Edit” window will pop up.
1747 1. At this time, you could enter the specified comment in the column input box.
1748 1. After editing the comment, click “Execute" to save it.
1749
1750 **✎Note:** The comment can be edited up to 128 characters, and the alias can be edited up to 8 characters.
1751
1752 (% style="text-align:center" %)
1753 [[image:image-20220623172401-39.jpeg]]
1754
1755 **Result:**
1756
1757 (% style="text-align:center" %)
1758 [[image:image-20220623172710-40.jpeg]]
1759
1760 === **Edit statement** ===
1761
1762 Function: Annotate the ladder diagram block.
1763
1764 **Step:**
1765
1766 1. Click the "Statement" button, when the button color becomes darker, it will enter the editing state.
1767 1. After successfully entering the edit statement state, move the mouse to the code segment specified by you, and double-click the target area with the left button, and the "Statement Edit" window will pop up.
1768 1. At this time, you could enter the specified statement in the previous input box.
1769 1. After editing the statement, click "Execute" to save it.
1770
1771 **✎Note:** The statement line can edit up to 64 characters, and the statement can be downloaded to the PLC when downloading the ladder diagram.
1772
1773 [[image:image-20220623172907-41.jpeg]]
1774
1775 **Result:**
1776
1777 [[image:image-20220623172913-42.jpeg]]
1778
1779 == **Program compilation** ==
1780
1781 This chapter mainly introduces the program compilation function.
1782
1783 The program compilation menu has three functions, including compile, switch, and compile all, as shown in the figure below:
1784
1785 (% style="text-align:center" %)
1786 [[image:image-20220624090820-2.jpeg]]
1787
1788 === **Compile** ===
1789
1790 Function: Refers to the form of converting the ladder diagram (program) of the current program page into the instruction list (IL).
1791
1792 Steps: After compiling the ladder diagram, click compile or use the hot key F4.
1793
1794 Results:
1795
1796 * Compiling correctly will prompt that the compilation is successful.
1797
1798 (% style="text-align:center" %)
1799 [[image:image-20220624091026-3.jpeg]]
1800
1801 * Failure will prompt compilation failure. Locate the error and go to the information output window. You coulc modify the ladder diagram according to the prompts.
1802
1803 (% style="text-align:center" %)
1804 [[image:image-20220624091132-4.jpeg]]
1805
1806 (% style="text-align:center" %)
1807 [[image:image-20220624091200-5.jpeg]]
1808
1809 * Double coil inspection, manifested in the form of warning.
1810
1811 (% style="text-align:center" %)
1812 [[image:image-20220624092222-6.png]]
1813
1814 === **Switch** ===
1815
1816 Function: refers to switching the current program page between the ladder diagram interface and the instruction list (IL) interface.
1817
1818 Steps: Click the switch button on the program page interface.
1819
1820 Results:
1821
1822 * In the compiled program page, click to switch to the instruction list interface.
1823
1824 (% style="text-align:center" %)
1825 [[image:image-20220624093016-7.jpeg]]
1826
1827 * In the uncompiled program page, the prompt "TheI current ladder diagram is not compiledI. Do you want to abandon the current ladder diagram?" Click "Yes" to abandon the editing ladder diagram and convert it to the instruction list, click "No" not to switch.
1828
1829 [[image:image-20220624094410-9.jpeg]]
1830
1831 === **Compile all** ===
1832
1833 Function: Refers to converting the ladder diagram of all programs under the current project into the form of instruction list (IL).
1834
1835 Steps: Click the compile all button or use the shortcut key Ctrl+F4.
1836
1837 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.
1838
1839 [[image:image-20220624095005-10.jpeg]]
1840
1841 == **Ladder monitoring ** ==
1842
1843 Function: monitor the value of the devices on the ladder diagram, modify and debug the program.
1844
1845 **Step:**
1846
1847 * Connect to the PLC and switch to monitoring mode.
1848
1849 [[image:image-20220624095815-11.jpeg]]
1850
1851 1. Right-click the menu, click "Debug" to modify the value of the device.
1852
1853 (% style="text-align:center" %)
1854 [[image:image-20220624095855-12.jpeg]]
1855
1856 * Click the ON, OFF, or ON/OFF inversion to set the device.
1857
1858 (% style="text-align:center" %)
1859 [[image:image-20220624100037-13.jpeg]]
1860
1861 === **Monitor edit** ===
1862
1863 PLC Editor2 provides the "Monitor edit" function. You could edit ladder program in the state of monitoring it.
1864
1865 Steps:
1866
1867 * Connect to PLC and switch to "Monitor edit" mode.
1868
1869 (% style="text-align:center" %)
1870 [[image:image-20220624101413-14.jpeg]]
1871
1872 * Modify ladder diagram
1873
1874 (% style="text-align:center" %)
1875 [[image:image-20220624101446-15.jpeg]]
1876
1877 * Compile the ladder diagram
1878
1879 (% style="text-align:center" %)
1880 [[image:image-20220624101510-16.jpeg]]
1881
1882 * After the compilation, download it to PLC.
1883
1884 (% style="text-align:center" %)
1885 [[image:image-20220624101609-17.jpeg]]
1886
1887 **✎Note:** The firmware version requires above v2.000 version.
1888
1889 == **Online menu** ==
1890
1891 The online menu provdes rich fucntions. It is mainly divided into 10 parts: Transfer settings, Read from PLC,Write to PLC, Checksum PLC, PLC Diagnosis, Remote operation, Device monitor, Module monitoring, Clear PLC memory, and PLC clock set.
1892
1893 (% style="text-align:center" %)
1894 [[image:image-20220624103113-18.jpeg]]
1895
1896 === **Transfer settings** ===
1897
1898 Function: The main purpose is to improve the stability of the PLC and PC, and to avoid force majeure problems during transmission that could lead to losses.
1899
1900 **Steps:**
1901
1902 Open PLC Editor2, and click "Online" ->"Transfer Settings". As shown below:
1903
1904 (% style="text-align:center" %)
1905 [[image:image-20220624103242-19.jpeg]]
1906
1907 "Transfer setting" dialog box will pop up. When using USB connection, select the specified port, it is as shown in the figure below.
1908
1909 (% style="text-align:center" %)
1910 [[image:image-20220624103637-20.jpeg]]
1911
1912 When using Ethernet configuration, you could click "Devices research" to select the corresponding NIC and configure the IP address to connect the PLC with Ethernet function,
1913
1914 **✎Note:** Currently Ethernet configuration is only supported by 5V-N series and 6V series.
1915
1916 (% style="text-align:center" %)
1917 [[image:image-20220624105239-21.jpeg]]
1918
1919 Click "Devices research" to pop up a search page, as shown below.
1920
1921 (% style="text-align:center" %)
1922 [[image:image-20220624105429-22.jpeg]]
1923
1924 **Description: **Clicking "Device search", it will automatically search for all PLC devices supporting Ethernet in the network segment matching subnet mask, i.e., the host computor and PLC must be in the same subnet to be recognized.
1925 **The subnet mask matches the network segment:**
1926
1927 * If the IP of this machine is 192.168.56.237 and the subnet mask is 255.255.255.0, the PLC within the 192.168.56 network segment will be searched.
1928 * If the IP of this machine is 172.16.56.1 and the subnet mask is 255.255.0.0, the PLC in the 172.16 network segment will be searched.
1929 * If the IP of this machine is 10.244.56.9 and the subnet mask is 255.0.0.0, then the PLC in the 10 network segment will be searched.
1930
1931 **✎Note:** The NIC used for the IP search function is the NIC selected by the user of the NIC selection interface.
1932 **Use:** Click "Device search" to search for devices in the LAN, and the searched devices are displayed on the interface. Selecting the corresponding line and clicking the "OK", the corresponding IP information will be displayed in the IP address input box of the Ethernet configuration. Please refer to the PLC programming manual for the specific PC network address configuration.
1933
1934 When using the serial port to connect, select the specified port and check the "Detailed setting", the detailed settings window will pop up as below.
1935
1936 (% style="text-align:center" %)
1937 [[image:image-20220624111046-23.jpeg]]
1938
1939 You could set the data according to their needs.
1940
1941 **✎Note: **The range of communication time check is 0 to 9999, and the number of repetitions is 0 to 5. Please do not exceed the limited range.
1942
1943 After completing the settings, you could click the "Communication Test" or "OK" to perform a connection test.
1944
1945 If the test fails, the system will prompt as below.
1946
1947 (% style="text-align:center" %)
1948 [[image:image-20220624111448-24.jpeg]]
1949
1950 Successful connection is shown as below.
1951
1952 (% style="text-align:center" %)
1953 [[image:image-20220624111451-25.jpeg||height="186" width="285"]]
1954
1955 After successful communication, you can click "Device Info" to view the device information.
1956
1957 (% style="text-align:center" %)
1958 [[image:image-20220624111617-26.jpeg]]
1959
1960 === **Read from PLC** ===
1961
1962 **Function: **Upload the data in the series PLC to the software through the communication line.
1963
1964 (% style="text-align:center" %)
1965 [[image:image-20220624114311-27.jpeg]]
1966
1967 **Interface introduction:**
1968
1969 * **Para + program: **Upload parameters and programs from the PLC to the software.
1970 * **Select all:** Upload parameters, programs, comments, devices memory area settings and electronic cam tables from the PLC to the software.
1971 * **Cancel all select:** Cancel all selections.
1972 * **Execute: **Start the upload operation.
1973 * **Stop: **Stop the upload operation.
1974 * **Close:** Exit the current window.
1975 * **Execute (upload):** Upload the data of the lower computer to the software.
1976 * **Display/Hide: **Display/hide the upload progress and other information, as shown in the figure below:
1977
1978 (% style="text-align:center" %)
1979 [[image:image-20220624114427-28.jpeg]]
1980
1981 **Steps:**
1982
1983 Check the data items that need to be uploaded.
1984
1985 * If the selected data item is device memory, you could click "set" to set the title of the uploaded device memory and the range of the device to be uploaded.
1986
1987 [[image:image-20220624114632-29.jpeg]]
1988
1989 * If the selected data item is electronic cam table, you could click "set" to set the title of the uploaded electronic cam table and the uploaded cam table.
1990
1991 [[image:image-20220624114647-30.jpeg]]
1992
1993 Click "Execute" to start uploading. At this time, the PLC needs to be in the stop state.
1994
1995 (% style="text-align:center" %)
1996 [[image:image-20220624114918-31.jpeg]]
1997
1998 Keep communication and wait for the upload to complete.
1999
2000 (% style="text-align:center" %)
2001 [[image:image-20220624114941-32.jpeg]]
2002
2003 === **Write to PLC** ===
2004
2005 **Function: **Download the ladder diagram program or other configuration to the PLC.
2006
2007 (% style="text-align:center" %)
2008 [[image:image-20220624115206-33.jpeg]]
2009
2010 **Interface introduction:**
2011
2012 * **Para + program:** Download parameters and programs to the PLC.
2013 * **Select all: **Download parameters, programs, comments, and devices memory area settings to the PLC.
2014 * **Cancel all selections:** Cancel all selections.
2015 * **Execute: **start the download operation.
2016 * **Stop: **stop the download operation.
2017 * **Close:** Exit the current window.
2018 * **Calculated 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.
2019 * **Display/Hide:** Display/hide the download progress and other information, as shown in the figure below.
2020
2021 (% style="text-align:center" %)
2022 [[image:image-20220624115419-34.jpeg]]
2023
2024 **Step:**
2025
2026 Check the data items that need to be downloaded.
2027
2028 * If the selected data item is device memory, you could click "set" to set the title of the uploaded device memory and the range of the device to be downloaded.
2029
2030 (% style="text-align:center" %)
2031 [[image:image-20220624115440-35.jpeg]]
2032
2033 The PLC needs to be in the stop state when downloading.
2034
2035 (% style="text-align:center" %)
2036 [[image:image-20220624115451-36.jpeg]]
2037
2038 Keep communication and wait for the downpload to complete.
2039
2040 (% style="text-align:center" %)
2041 [[image:image-20220624115455-37.jpeg]]
2042
2043 === **PLC device monitoring** ===
2044
2045 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.
2046
2047 (% style="text-align:center" %)
2048 [[image:5V帮助文档_中性_html_839955581a08901c.png||height="718" width="1200" class="img-thumbnail"]]
2049
2050 **Interface description:**
2051
2052 Monitoring start: start the current monitoring, allowing to view or modify the value of the register.
2053
2054 End of monitoring: End the current monitoring, you cannot view or modify the value of the register.
2055
2056 Edit current value: After clicking, a dialog box named [Modify Device Value] will pop up, and you can modify
2057
2058 Close: Close the [Device Monitor] interface.
2059
2060 **Step:**
2061
2062 1. Open the device monitoring interface.
2063
2064 (% style="text-align:center" %)
2065 [[image:5V帮助文档_中性_html_c516f54635196dd6.png||height="110" width="300" class="img-thumbnail"]]
2066
2067 1. Click the monitoring start button under the premise of communicating with the PLC.
2068
2069 (% style="text-align:center" %)
2070 [[image:5V帮助文档_中性_html_2f129e6ffdd675cb.png||height="549" width="1200" class="img-thumbnail"]]
2071
2072 1. The devices can be monitored by modifying the monitoring form, display, value and bit sequence.
2073
2074 (% style="text-align:center" %)
2075 [[image:5V帮助文档_中性_html_a2dd50ba89a54576.png||height="504" width="200" class="img-thumbnail"]]
2076
2077 1. Switch device, search device and switch to monitor buffer memory.
2078
2079 (% style="text-align:center" %)
2080 [[image:5V帮助文档_中性_html_71a82c63fe904fae.png||height="518" width="1200" class="img-thumbnail"]]
2081
2082 === **Clear PLC memory** ===
2083
2084 **Function**: Clear the data of the lower computer.
2085
2086 (% style="text-align:center" %)
2087 [[image:5V帮助文档_中性_html_63566bf52138ea07.png||height="320" width="500" class="img-thumbnail"]]
2088
2089 **Step:**
2090
2091 1. Before clearing the PLC memory, the PLC needs to be in the stop state.
2092 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.
2093 1. Click Execute and wait for the PLC to clear the data.
2094
2095 === **PLC clock setting** ===
2096
2097 Function: Set the PLC clock, you can customize the internal time of the PLC to achieve the purpose of accurate calculation.
2098
2099 Click [Clock setting] to open the Clock setting interface.
2100
2101 (% style="text-align:center" %)
2102 [[image:5V帮助文档_中性_html_1d1fdcb0af06a7b4.png||height="374" width="500" class="img-thumbnail"]]
2103
2104 **Module explanation:**
2105
2106 Connection target: display the information of the currently linked PLC, read the parameters of this PLC, and cannot be changed.
2107
2108 Time and calendar area: you can easily select time information and match freely.
2109
2110 Get PC time: Let the software automatically read the current PC time without manual calibration.
2111
2112 Set the clock: After finishing the setting, click this button to save the current operation setting to the PLC.
2113
2114 Close: Do not save the current operating data, and exit to close this window.
2115
2116 **Set time:**
2117
2118 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.
2119 1. Click [Clock setting] to open the time setting window.
2120 1. Select the time required by the user in the time control panel or in the calendar panel.
2121 1. The time interval of the year is 2000-2099; the interval of the month is January-December;
2122 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.
2123 1. You can also click [Get PC Time] to quickly match the current time (provided that the PC time is accurate).
2124 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:
2125
2126 (% style="text-align:center" %)
2127 [[image:5V帮助文档_中性_html_967b5841c25d204c.png||height="158" width="250" class="img-thumbnail"]]
2128
2129 === **PLC remote operation** ===
2130
2131 Function: Remote operation can quickly change the state of the PLC online and control the switch of the PLC.
2132
2133 (% style="text-align:center" %)
2134 [[image:5V帮助文档_中性_html_237d4162b4a38587.png||height="212" width="400" class="img-thumbnail"]]
2135
2136 === **PLC diagnosis** ===
2137
2138 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.
2139
2140 (% style="text-align:center" %)
2141 [[image:5V帮助文档_中性_html_55c44a5c8690dbf5.png||height="412" width="700" class="img-thumbnail"]]
2142
2143 === **PLC verification** ===
2144
2145 Function: The user can select the items that need to be verified by the PLC, as shown in the figure below:
2146
2147 (% style="text-align:center" %)
2148 [[image:5V帮助文档_中性_html_ec72bcd11572003e.png||height="587" width="700" class="img-thumbnail"]]
2149
2150 Compare the difference between the program in the current PC software and the program in the PLC, as shown in the figure below:
2151
2152 (% style="text-align:center" %)
2153 [[image:5V帮助文档_中性_html_1cc43a035d93c05b.png||height="286" width="700" class="img-thumbnail"]]
2154
2155 By double-clicking the list, you can view the specific differences of the program, as shown in the following figure:
2156
2157 (% style="text-align:center" %)
2158 [[image:5V帮助文档_中性_html_b18231acc57a461f.png||height="252" width="700" class="img-thumbnail"]]
2159
2160 === **Module monitoring** ===
2161
2162 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.
2163
2164 **Interface description:**
2165
2166 (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.
2167
2168 (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.
2169
2170 (3) Help: Open the instruction manual of the module, which can be used to find the detailed instructions of the module on it.
2171
2172 (4) Refresh: You can update the module information of the current PLC connection and refresh the module information list.
2173
2174 **(5) Working mode:**
2175
2176 ① 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;
2177
2178 ② 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.
2179
2180 **Step:**
2181
2182 1. Click Module Monitoring.
2183
2184 (% style="text-align:center" %)
2185 [[image:5V帮助文档_中性_html_7e64d17a4a480165.png||height="112" width="300" class="img-thumbnail"]]
2186
2187 1. Select the module you want to monitor.
2188 1. To view and modify the value.
2189
2190 (% style="text-align:center" %)
2191 [[image:5V帮助文档_中性_html_70be57a90d675c22.png||height="453" width="1200" class="img-thumbnail"]]
2192
2193 **7)Tool**
2194
2195 === **PLC encryption tool** ===
2196
2197 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.
2198
2199 **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:
2200
2201 (% style="text-align:center" %)
2202 [[image:5V帮助文档_中性_html_1e4c37ba99b3d4f4.png||height="368" width="500" class="img-thumbnail"]]
2203
2204 **~1. Set a password Note:**
2205
2206 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).
2207 1. The length of the password can only be 8 characters, no more or less than.
2208 1. When setting a new password, the first time password and the second confirmation password must be the same.
2209 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).
2210 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.
2211
2212 **2. Steps to set password:**
2213
2214 1. Make the PLC and PC connect normally, and run the compiler at the same time;
2215 1. Turn off the RUN of the PLC;
2216 1. Click [PLC Encryption Tool] in the [Tools] panel;
2217 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;
2218 1. Select the type of password that needs to be set, and click [Set Password]. (The following PLC takes uploading password as an example)
2219
2220 (% style="text-align:center" %)
2221 [[image:5V帮助文档_中性_html_1e4c37ba99b3d4f4.png||height="368" width="500" class="img-thumbnail"]]
2222
2223 1. Please follow the instructions to fill in the correct password.
2224 1. If the password length is not enough, there will be a prompt as follows:
2225
2226 (% style="text-align:center" %)
2227 [[image:5V帮助文档_中性_html_5852c5dbdd8ee45d.png||height="185" width="300" class="img-thumbnail"]]
2228
2229 1. If the secondary password is inconsistent, there will be a prompt as shown below:
2230
2231 (% style="text-align:center" %)
2232 [[image:5V帮助文档_中性_html_e90ecbf41cadf882.png||height="149" width="400" class="img-thumbnail"]]
2233
2234 1. If the password is successfully set, there will be a prompt as shown below:
2235
2236 (% style="text-align:center" %)
2237 [[image:5V帮助文档_中性_html_32b27e2bc1d9673d.png||height="199" width="300" class="img-thumbnail"]]
2238
2239 **3. Clear password:**
2240
2241 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.
2242
2243 (% style="text-align:center" %)
2244 [[image:5V帮助文档_中性_html_ee1ff864f7dcecdf.png||height="188" width="300" class="img-thumbnail"]]
2245
2246 **4. Steps to clear the password:**
2247
2248 1. Make the PLC and PC connect normally and run the compiler at the same time.
2249 1. Turn off the RUN of the PLC.
2250 1. Click [Decice encryption] in the [Tools] panel.
2251 1. Select the PLC password to be cleared in [Type], and click [Clear].
2252 1. After opening a new window, please enter the specified password in the [Please enter password] area, and then click [Execute].
2253 1. If you clear the upload password input error, there will be a prompt as shown below:
2254
2255 (% style="text-align:center" %)
2256 [[image:5V帮助文档_中性_html_249fce69e20fccd1.png||height="157" width="300" class="img-thumbnail"]]
2257
2258 1. If the password is correct, there will be a prompt as shown below:
2259
2260 (% style="text-align:center" %)
2261 [[image:5V帮助文档_中性_html_4e99c8ea17c1b1ce.png||height="202" width="300" class="img-thumbnail"]]
2262
2263 === **Engineering encryption tool** ===
2264
2265 In the PLC Editor, you can set a password for the project file to maintain security. As shown below:
2266
2267 (% style="text-align:center" %)
2268 [[image:5V帮助文档_中性_html_9b7bcf11a5a5ddf1.png||height="299" width="400" class="img-thumbnail"]]
2269
2270 **~1. Precautions for setting password:**
2271
2272 1. The length of the password can only be 8 characters, no more or less than.
2273 1. When setting a new password, the first time password and the second confirmation password must be the same.
2274 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.
2275
2276 **2. Steps to set password:**
2277
2278 1. Click [Project Encryption Tool] in the [Tools] panel;
2279 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;
2280 1. Select the password that needs to be entered, and click [Set Password].
2281
2282 (% style="text-align:center" %)
2283 [[image:5V帮助文档_中性_html_d0ae32303af041be.png||height="302" width="400" class="img-thumbnail"]]
2284
2285 1. Please follow the instructions to fill in the correct password.
2286 1. If the password is not long enough, there will be a prompt as shown below:
2287
2288 (% style="text-align:center" %)
2289 [[image:5V帮助文档_中性_html_97efb9eaa38c6172.png||height="179" width="500" class="img-thumbnail"]]
2290
2291 1. If the secondary password is inconsistent, there will be a prompt as shown below:
2292
2293 (% style="text-align:center" %)
2294 [[image:5V帮助文档_中性_html_e90ecbf41cadf882.png||height="186" width="500" class="img-thumbnail"]]
2295
2296 1. If the password is successfully set, there will be a prompt as shown below:
2297
2298 (% style="text-align:center" %)
2299 [[image:5V帮助文档_中性_html_852b3ed602bbc480.png||height="199" width="300" class="img-thumbnail"]]
2300
2301 **3. Clear password:**
2302
2303 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.
2304
2305 (% style="text-align:center" %)
2306 [[image:5V帮助文档_中性_html_ae5bcabb06629168.png||height="188" width="300" class="img-thumbnail"]]
2307
2308 **4. Steps to clear the password:**
2309
2310 1. Click [Project Encryption Tool] in the [Tools] panel.
2311 1. In the opened window panel, click [Clear].
2312 1. After opening a new window, please enter the specified password in the [Please enter password] area, and then click [Execute].
2313 1. If the password is entered incorrectly, there will be a prompt as shown below:
2314
2315 (% style="text-align:center" %)
2316 [[image:5V帮助文档_中性_html_249fce69e20fccd1.png||height="157" width="300" class="img-thumbnail"]]
2317
2318 1. If the password is correct, there will be a prompt as shown below:
2319
2320 (% style="text-align:center" %)
2321 [[image:5V帮助文档_中性_html_4bbbe8646e6aa1ad.png||height="202" width="300" class="img-thumbnail"]]
2322
2323 === **USB download** ===
2324
2325 Function: Generate a bin file, the user can use the file to download programs and other configurations through the HMI screen.
2326
2327 **Step:**
2328
2329 1. Click on the U disk to download and open the interface.
2330
2331 (% style="text-align:center" %)
2332 [[image:5V帮助文档_中性_html_b3b419b08b029beb.png||height="90" width="300" class="img-thumbnail"]]
2333
2334 1. Check the items that need to be downloaded, set the communication port parameters, and select the location of the U disk.
2335
2336 (% style="text-align:center" %)
2337 [[image:5V帮助文档_中性_html_d6612d208a751e0d.png||height="636" width="600" class="img-thumbnail"]]
2338
2339 1. Click Make to generate the bin file.
2340 1. Insert the U disk into the HMI screen to download.
2341
2342 === **Automatic backup** ===
2343
2344 **Function**: Back up project files, users can view and retrieve historical versions through this function.
2345
2346 **Step:**
2347
2348 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.
2349
2350 (% style="text-align:center" %)
2351 [[image:5V帮助文档_中性_html_f2c0da12068ac370.png||height="602" width="1200" class="img-thumbnail"]]
2352
2353 1. Click the remark information to add remarks to the historical version, and click Execute to save it.
2354 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:
2355
2356 (% style="text-align:center" %)
2357 [[image:5V帮助文档_中性_html_f0355b539ee43c1b.png||height="185" width="300" class="img-thumbnail"]]
2358
2359 === **Generate download file** ===
2360
2361 Function: Generate a file for download only, the file cannot be viewed and uploaded.
2362
2363 **Step:**
2364
2365 1. Compile all the program pages, click to generate the download file.
2366 1. Select the path and file name.
2367 1. Open the generated .swcp2 file and click download.
2368
2369 (% style="text-align:center" %)
2370 [[image:5V帮助文档_中性_html_64ff2d2ca21a855f.png||height="123" width="1200" class="img-thumbnail"]]
2371
2372 === **Reset window layout** ===
2373
2374 Function: Restore all floating windows in the program to the default position.
2375
2376 Steps: Click the reset window layout button in the view.
2377
2378 **Before reset:**
2379
2380 (% style="text-align:center" %)
2381 [[image:5V帮助文档_中性_html_3b2e61a7dc00f421.png||height="715" width="1200" class="img-thumbnail"]]
2382
2383 **After reset:**
2384
2385 (% style="text-align:center" %)
2386 [[image:5V帮助文档_中性_html_f5648ea83791419a.png||height="719" width="1200" class="img-thumbnail"]]
2387
2388 == **Program editing area** ==
2389
2390 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.
2391
2392 **1)Ladder Diagram Work Area**
2393
2394 **Insert or delete Rows/Columns**
2395
2396 **~1. Insert a new row**
2397
2398 1. Select the position where you want to insert the row +1.
2399 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].
2400
2401 (% style="text-align:center" %)
2402 [[image:5V帮助文档_中性_html_fe3e14b543c5cd59.png||height="283" width="1200" class="img-thumbnail"]]
2403
2404 (% style="text-align:center" %)
2405 [[image:5V帮助文档_中性_html_e1fe303f61871b4a.png||height="486" width="1200" class="img-thumbnail"]]
2406
2407 **2. Insert the statement line**
2408
2409 Select the position where you want to insert the row.
2410
2411 Method 1: Use the keyboard shortcut [Shift]+[Ctrl]+[Insert].
2412
2413 (% style="text-align:center" %)
2414 [[image:5V帮助文档_中性_html_38c17655daa7e99d.png||height="266" width="1200" class="img-thumbnail"]]
2415
2416 Method 2: 【Ctrl】+【F7】.
2417
2418 (% style="text-align:center" %)
2419 [[image:5V帮助文档_中性_html_8fd6a5c0dbd0c1f1.png||height="316" width="1200" class="img-thumbnail"]]
2420
2421 Method 3: Right-click, select [Edit], and then click [Insert Statement].
2422
2423 (% style="text-align:center" %)
2424 [[image:5V帮助文档_中性_html_71abb0a50efacc03.png||height="419" width="1200" class="img-thumbnail"]]
2425
2426 **3. Delete the program line**
2427
2428 (% style="text-align:center" %)
2429 [[image:5V帮助文档_中性_html_4eca87fd2e8ea6b9.png||height="339" width="800" class="img-thumbnail"]]
2430
2431 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.
2432
2433 (% style="text-align:center" %)
2434 [[image:5V帮助文档_中性_html_4f121787d41b35e7.png||height="227" width="800" class="img-thumbnail"]]
2435
2436 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].
2437
2438 (% style="text-align:center" %)
2439 [[image:5V帮助文档_中性_html_5372d242118587ad.png||height="369" width="1200" class="img-thumbnail"]]
2440
2441 **4. Deletion of the statement line**
2442
2443 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].
2444
2445 **5. Insert column**
2446
2447 1. Select the position where you want to insert the column.
2448 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].
2449
2450 (% style="text-align:center" %)
2451 [[image:5V帮助文档_中性_html_689dfd75a992c94c.png||height="340" width="800" class="img-thumbnail"]]
2452
2453 (% style="text-align:center" %)
2454 [[image:5V帮助文档_中性_html_8a1a1069716f5bce.png||height="213" width="800" class="img-thumbnail"]]
2455
2456 **6 Delete column**
2457
2458 1. Select the position of the column to be deleted.
2459 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].
2460
2461 **Before deleting:**
2462
2463 (% style="text-align:center" %)
2464 [[image:5V帮助文档_中性_html_1dc378107dafcc54.png||height="341" width="800" class="img-thumbnail"]]
2465
2466 **After deleting:**
2467
2468 (% style="text-align:center" %)
2469 [[image:5V帮助文档_中性_html_cfd75e5eede2e139.png||height="206" width="800" class="img-thumbnail"]]
2470
2471 **Copy and paste function**
2472
2473 The copy and paste function can save time and reduce the time spent on repeated operations.
2474
2475 **Steps for usage:**
2476
2477 1. Move the mouse to the ladder editing area.
2478 1. Select the specified cell or drag the mouse to select an area.
2479
2480 (% style="text-align:center" %)
2481 [[image:5V帮助文档_中性_html_d5aa6c70c096349a.png||height="155" width="700" class="img-thumbnail"]]
2482
2483 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.
2484
2485 (% style="text-align:center" %)
2486 [[image:5V帮助文档_中性_html_b9fa9a54a94c1613.png||height="435" width="900" class="img-thumbnail"]]
2487
2488 1. After completing the third operation, copy the specified area to the clipboard.
2489 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.
2490
2491 (% style="text-align:center" %)
2492 [[image:5V帮助文档_中性_html_78c29e0dd8cb401a.png||height="458" width="900" class="img-thumbnail"]]
2493
2494 **Delete and modify ladder diagram components**
2495
2496 **~1. Modify the ladder diagram components**
2497
2498 **Steps to modify ladder diagram components:**
2499
2500 1. It must be ensured that the ladder diagram components can be modified in the [write mode] in the current state.
2501
2502 (% style="text-align:center" %)
2503 [[image:5V帮助文档_中性_html_12c88470e88f68bf.png||height="119" width="400" class="img-thumbnail"]]
2504
2505 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.
2506 1. After performing step 2, the output command dialog box will pop up.
2507 1. Enter the command corresponding to the selected component into the dialog box.
2508 1. Click [Execute] to save the modification.
2509
2510 **✎Note: **
2511
2512 1. The modified instruction must be able to pass the correct instruction verification before it can be saved.
2513 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.
2514 1. All contact components cannot be modified mutually with coils or application instructions.
2515
2516 **2. Delete ladder diagram components**
2517
2518 **Steps to delete ladder diagram components:**
2519
2520 1. It must be ensured that the ladder diagram components can be deleted in the [write mode] in the current state.
2521 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.
2522 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.
2523 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.
2524
2525 **Enter ladder diagram instructions**
2526
2527 There are 5 ways to input ladder diagram instructions:
2528
2529 * Direct input method
2530 * Input method through instruction set
2531 * Double-click cell method
2532 * Instruction help
2533 * Ladder Symbol/Shortcut Method
2534
2535 **~1. Direct input method**
2536
2537 1. Move the mouse and left-click the specified cell.
2538 1. Directly use the keyboard to input the specified instruction, the system will automatically pop up the ladder diagram input box.
2539 1. Enter the complete instructions and parameters in the dialog box.
2540 1. Click [Execute] or the [Enter] button on the keyboard.
2541 1. The system verifies the correctness of the input, and generates the graphic element represented by the instruction after the verification is correct.
2542 1. If the instruction is wrong, the instruction help interface will pop up.
2543
2544 (% style="text-align:center" %)
2545 [[image:5V帮助文档_中性_html_40e677f14ea9fae6.png||height="53" width="600" class="img-thumbnail"]]
2546
2547 **2. Through the instruction set input method**
2548
2549 1. Move the mouse to the [Project Management] interface on the left side of the window.
2550 1. Expand [Instruction Set].
2551 1. Open the instruction tree required by the user.
2552 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.
2553 1. After completing step (4), [Edit] will pop up.
2554 1. Enter the correct operand in the input box.
2555 1. Click [Execute] or the keyboard [Enter].
2556
2557 (% style="text-align:center" %)
2558 [[image:5V帮助文档_中性_html_5bdac8caa5ecd1bb.png||height="217" width="900" class="img-thumbnail"]]
2559
2560 **3. Double-click the cell method**
2561
2562 1. Move the mouse to the designated area and double-click the left button.
2563 1. [Ladder Diagram Input] pops up, enter the correct command in the input box.
2564 1. Click [Execute] or the keyboard [Enter].
2565 1. If the instruction is wrong, the instruction help interface will pop up.
2566
2567 (% style="text-align:center" %)
2568 [[image:5V帮助文档_中性_html_68679c1a58f52c04.png||height="242" width="800" class="img-thumbnail"]]
2569
2570 **4. Command help method**
2571
2572 1. Move the mouse to the designated area and double-click the left button.
2573 1. [Ladder Diagram Input] pops up.
2574 1. Click [Help] to pop up [Command Help]
2575 1. After selecting the instruction that needs to be entered, click the [Detail] button to pop up the [Instruction Wizard].
2576 1. The instruction guide interface selects the correct operand according to different instructions.
2577 1. After selecting the specified command, click [Execute] to save the data and complete the command input.
2578
2579 (% style="text-align:center" %)
2580 [[image:5V帮助文档_中性_html_1e72f783a4402ac0.png||height="592" width="1200" class="img-thumbnail"]]
2581
2582
2583 (% style="text-align:center" %)
2584 [[image:5V帮助文档_中性_html_296b88f4766c787d.png||height="199" width="700" class="img-thumbnail"]]
2585
2586 **5. Ladder diagram symbol/shortcut method**
2587
2588 The ladder diagram symbol is located in the PLC menu, as shown in the figure below:
2589
2590 (% style="text-align:center" %)
2591 [[image:5V帮助文档_中性_html_4708bb852d0e898f.png||height="141" width="300" class="img-thumbnail"]]
2592
2593 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]]
2594
2595 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.
2596
2597 **✎Note: **
2598
2599 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.
2600 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.
2601 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.
2602 1. The maximum number of input columns in the ladder diagram is 13 columns.
2603
2604 **2)Instruction list workspace**
2605
2606 **Instruction list editor**
2607
2608 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:
2609
2610 (% style="text-align:center" %)
2611 [[image:5V帮助文档_中性_html_550c5cb7f37a8b23.png||height="190" width="300" class="img-thumbnail"]]
2612
2613 **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.
2614
2615 **Ladder diagram-instruction list switching:** If there is an error in the program logic, it cannot be switched.
2616
2617 **3)Program editing shortcut menu**
2618
2619 **Function description of right key in program edit area**
2620
2621 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.
2622
2623 (% style="text-align:center" %)
2624 [[image:5V帮助文档_中性_html_c665b55b77356626.png||height="349" width="200" class="img-thumbnail"]]
2625
2626 * Undo: Undo the current operation and roll back the previous step.
2627 * Redo: roll back the undo operation.
2628 * Cut: Cut the selected ladder diagram in the ladder diagram and put the content on the clipboard.
2629 * Copy: Copy the selected ladder diagram in the ladder diagram and put the content on the clipboard.
2630 * 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.
2631 * Delete: Ladder diagram, delete the selected ladder diagram content.
2632 * Compile: Compile the current program page.
2633
2634 **Editing options:**
2635
2636 * Program line insertion: Insert an empty table line in the currently selected line in the ladder diagram.
2637 * Insert declaration line: insert a blank declaration line in the currently selected line in the ladder diagram.
2638 * Row delete: delete the currently selected row in the ladder diagram.
2639 * Column insertion: In the ladder diagram, a blank node is added to the selected instruction, and other instructions move one grid to the right.
2640 * Column deletion: In the ladder diagram, delete the currently selected instruction, and other instructions move one space to the left.
2641
2642 **Search:**
2643
2644 * 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.
2645 * 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.
2646 * 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.
2647
2648 **View:**
2649
2650 * Comment display: In the ladder diagram, the comment of the device is displayed.
2651 * Alias display: In the ladder diagram, display the alias of the device.
2652
2653 **Debugging:**
2654
2655 * 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.
2656
2657 == **Project Management Area** ==
2658
2659 **1)program**
2660
2661 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.
2662
2663 (% style="text-align:center" %)
2664 [[image:5V帮助文档_中性_html_c994cf26a619747a.png||height="289" width="300" class="img-thumbnail"]]
2665
2666 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:
2667
2668 (% style="text-align:center" %)
2669 [[image:5V帮助文档_中性_html_a8e9017d31a283f4.png||height="253" width="300" class="img-thumbnail"]]
2670
2671
2672 (% style="text-align:center" %)
2673 [[image:5V帮助文档_中性_html_e5f29f0a4a8e987a.png||height="375" width="300" class="img-thumbnail"]]
2674
2675 Program page operations: Right-click the program page with the mouse to perform corresponding operations on the program page.
2676
2677 (% style="text-align:center" %)
2678 [[image:5V帮助文档_中性_html_77f4622516b9586b.png||height="283" width="300" class="img-thumbnail"]]
2679
2680 1. Delete: delete the program page.
2681 1. Rename: Rename the program page.
2682 1. Program encryption: Encrypt and decrypt the program page.
2683
2684 * 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.
2685
2686 (% style="text-align:center" %)
2687 [[image:5V帮助文档_中性_html_dd6dac658ce9f761.png||height="263" width="500" class="img-thumbnail"]]
2688
2689 (% style="text-align:center" %)
2690 [[image:5V帮助文档_中性_html_d35d37b5c5f1b474.png||height="211" width="300" class="img-thumbnail"]]
2691
2692
2693 (% style="text-align:center" %)
2694 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||height="259" width="300" class="img-thumbnail"]]
2695
2696 * Cancel encryption: After entering the correct password, cancel the encryption of the program page.
2697
2698 (% style="text-align:center" %)
2699 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||height="211" width="300" class="img-thumbnail"]]
2700
2701 * Modify password: After entering the original program page password, set a new program page password.
2702
2703 (% style="text-align:center" %)
2704 [[image:5V帮助文档_中性_html_9c6f7d5b041a8b03.png||height="211" width="300" class="img-thumbnail"]]
2705
2706 * 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.
2707
2708 (% style="text-align:center" %)
2709 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||height="211" width="300" class="img-thumbnail"]]
2710
2711 (% style="text-align:center" %)
2712 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||height="259" width="300" class="img-thumbnail"]]
2713
2714 1. Settings: You can view the author, date of creation, and remarks on the program page.
2715
2716 (% style="text-align:center" %)
2717 [[image:5V帮助文档_中性_html_c759000c8e559104.png||height="372" width="300" class="img-thumbnail"]]
2718
2719 * Configuration: The time and interrupt program page can click the configuration button to set the trigger condition.
2720
2721 (% style="text-align:center" %)
2722 [[image:5V帮助文档_中性_html_3dfaca311d1985d9.png||height="401" width="600" class="img-thumbnail"]]
2723
2724 1. Move up: Move the program page up, used to adjust the execution order of the program page.
2725
2726 (% style="text-align:center" %)
2727 [[image:5V帮助文档_中性_html_94faf2e95ee9b671.png||height="256" width="300" class="img-thumbnail"]]
2728
2729
2730 (% style="text-align:center" %)
2731 [[image:5V帮助文档_中性_html_d07ec8d22a4d2124.png||height="262" width="300" class="img-thumbnail"]]
2732
2733 1. Move down: Move the program page down to adjust the execution order of the program page.
2734
2735 (% style="text-align:center" %)
2736 [[image:5V帮助文档_中性_html_5cbaa91e1de6507d.png||height="287" width="300" class="img-thumbnail"]]
2737
2738
2739 (% style="text-align:center" %)
2740 [[image:5V帮助文档_中性_html_26f9c3fcfd8bcf9.png||height="288" width="300" class="img-thumbnail"]]
2741
2742 **2)Device comment**
2743
2744 Device comment module: A .wcp2 file has and only one module named COMMENT "device comment".
2745
2746 Double-click "COMMENT" and the following interface will appear:
2747
2748 (% style="text-align:center" %)
2749 [[image:5V帮助文档_中性_html_394b0adad39bfa55.png||height="682" width="1200" class="img-thumbnail"]]
2750
2751 **Interface label description:**
2752
2753 **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.
2754
2755 **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.
2756
2757 **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:
2758
2759 (% style="text-align:center" %)
2760 [[image:5V帮助文档_中性_html_44cc58ed200be21d.png||height="688" width="300" class="img-thumbnail"]]
2761
2762 **Interface button description:**
2763
2764 Display commented devices: The comment list displays all devices with comments or aliases.
2765
2766 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).
2767
2768 Export EXCEL: Export and save all the devices information of edit devices comments or aliases as *.xls files to local disk.
2769
2770 **3)Parameter**
2771
2772 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.
2773
2774 Double-click the "PLC Parameters" node and the interface as shown on the left will appear:
2775
2776 (% style="text-align:center" %)
2777 [[image:5V帮助文档_中性_html_9125c6e25b27de33.png||height="415" width="700" class="img-thumbnail"]]
2778
2779 **Interface button description:**
2780
2781 * 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.
2782 * Reset: Click this button to restore the default settings.
2783 * OK: Complete the correct PLC parameter change and set it.
2784 * Cancel: Cancel the PLC parameter setting and keep the parameter setting before the change.
2785
2786 **~1. Devices latch**
2787
2788 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.
2789
2790 (% style="text-align:center" %)
2791 [[image:5V帮助文档_中性_html_6e4356d226d3b009.png||height="416" width="700" class="img-thumbnail"]]
2792
2793 **2. COM1 settings**
2794
2795 (% style="text-align:center" %)
2796 [[image:5V帮助文档_中性_html_84b7a9f11d75a88c.png||height="416" width="700" class="img-thumbnail"]]
2797
2798 Whether to set: whether to enable the COM1 port configuration.
2799 Baud rate: select the data transmission rate.
2800
2801 Data bits: select the data length.
2802
2803 Stops: select the number of stop bits.
2804
2805 Check bit: Select the check digit.
2806
2807 Station No.: Set the station number, ranging from 1 to 47.
2808
2809 **3. COM2 settings**
2810
2811 (% style="text-align:center" %)
2812 [[image:5V帮助文档_中性_html_ef25b614b6b21364.png||height="414" width="700" class="img-thumbnail"]]
2813
2814 Whether to set: whether to enable the COM1 port configuration.
2815
2816 **(1), communication settings**
2817
2818 Baud rate: select the data transmission rate.
2819
2820 Data bits: select the data length.
2821
2822 Stops: select the number of stop bits.
2823
2824 Check bit: Select the check digit.
2825
2826 Timeout: Set the timeout time, the range is 0~~32767.
2827
2828 Sending interval: Set the sending interval, the range is 0~~32767.
2829
2830 Protocol: Select the communication protocol.
2831
2832 **(2), agreement related**
2833
2834 Station No.: Set the station number. According to different protocols, the station number setting range is different.
2835
2836 Whether to enable the start character: used to customize the protocol.
2837
2838 Header: set the end character for custom protocol.
2839
2840 Whether to enable terminator: used to customize the protocol.
2841
2842 Terminator: Set the terminator to customize the agreement.
2843
2844 Timeout between characters: used to customize the protocol.
2845
2846 **4)Devices memory**
2847
2848 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.
2849
2850 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:
2851
2852 (% style="text-align:center" %)
2853 [[image:5V帮助文档_中性_html_a6e26997559e3d17.png||height="682" width="1200" class="img-thumbnail"]]
2854
2855 **Interface label description:**
2856
2857 **Please input the device:** input the device to be searched, and press Enter to locate the device to be searched.
2858
2859 **List of Device intervals:** Divided into 10 intervals C, D, HSC, LC, M, R, S, T, V, Z.
2860
2861 (% style="text-align:center" %)
2862 [[image:5V帮助文档_中性_html_b83cc213845b2ee0.png||height="369" width="300" class="img-thumbnail"]]
2863
2864 **Device value display area**: currently editing operations are prohibited.
2865
2866 (% style="text-align:center" %)
2867 [[image:5V帮助文档_中性_html_41e88cb8867d2780.png||height="682" width="1200" class="img-thumbnail"]]
2868
2869 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).
2870
2871 The data can be expressed in size: 16 bits and 32 bits.
2872
2873 **The data size that each format can represent when the length is 16 bits:**
2874
2875 1. Binary: 0000000000000000 ~~1111111111111111;
2876 1. Octal: 0~~1777777;
2877 1. Decimal: -32768~~32767;
2878 1. Hexadecimal: 0~~FFFF;
2879 1. String: the size of 2 characters in length;
2880 1. ASCII: 2 ASCII code values.
2881
2882 **The data size that each format can represent when the length is 32 bits:**
2883
2884 1. Binary: 00000000 00000000 00000000 00000000 ~~11111111 11111111 11111111 11111111;
2885 1. Octal: 0~~37777777777;
2886 1. Decimal: -2147483648~~2147483647;
2887 1. Hexadecimal: 0 ~~ FFFF FFFF FFFF FFFF;
2888 1. String: the size of the length of 4 strings;
2889 1. ASCII: 4 ASCII code values;
2890 1. Real number: ±1.175495E-38 ~~±3.402823E+38.
2891
2892 **5)Electronic cam**
2893
2894 1. In the project management window, right-click the electronic cam node to create a new electronic cam table.
2895
2896 (% style="text-align:center" %)
2897 [[image:5V帮助文档_中性_html_772b0f2c063c7bdf.png||height="305" width="300" class="img-thumbnail"]]
2898
2899
2900 (% style="text-align:center" %)
2901 [[image:5V帮助文档_中性_html_eec94f52f6d7038e.png||height="203" width="300" class="img-thumbnail"]]
2902
2903 1. Open the electronic cam interface and set the data.
2904
2905 (% style="text-align:center" %)
2906 [[image:5V帮助文档_中性_html_b1e3be1ad040658e.png||height="696" width="1200" class="img-thumbnail"]]
2907
2908 1. Click the parameter setting to set the parameters, such as the starting device, which indicates the starting position of the download time.
2909
2910 (% style="text-align:center" %)
2911 [[image:5V帮助文档_中性_html_1dd63794eea30141.png||height="555" width="700" class="img-thumbnail"]]
2912
2913 1. Through import and export, the electronic cam table information written by other programs can be imported into the electronic cam table.
2914 1. Download the electronic cam, you can download the electronic cam to the lower computer.
2915
2916 **6)Instruction Set**
2917
2918 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.
2919
2920 (% style="text-align:center" %)
2921 [[image:5V帮助文档_中性_html_e604a54f978bf5c9.png||height="479" width="300" class="img-thumbnail"]]
2922
2923 == **Output window** ==
2924
2925 **1)Output window**
2926
2927 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.
2928
2929 (% style="text-align:center" %)
2930 [[image:5V帮助文档_中性_html_90e91b513b595ebb.png||height="256" width="800" class="img-thumbnail"]]
2931
2932 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.
2933
2934 == **Search and replace window** ==
2935
2936 **1)Search and replace function**
2937
2938 **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.
2939
2940 **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:
2941
2942 (% style="text-align:center" %)
2943 [[image:5V帮助文档_中性_html_b92476f464af9b7d.png||height="336" width="700" class="img-thumbnail"]]
2944
2945 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.
2946
2947 == **Device value modification** ==
2948
2949 **1)Device value modification**
2950
2951 Modify the device value: modify the PLC internal register and coil value; modify the expansion device register value.
2952
2953 As shown below:
2954
2955 (% style="text-align:center" %)
2956 [[image:5V帮助文档_中性_html_7587d5d838501899.png||height="487" width="500" class="img-thumbnail"]]
2957
2958 **The above figure is explained in detail as follows:**
2959
2960 **PLC internal devices:**
2961
2962 **~1. Devices:**
2963
2964 1. "Devicess" are registers and coils (such as C0, M1, etc.) whose values need to be modified within the PLC range.
2965 1. "Data type" includes Word (single word), Bit (binary 0 or 1), Double Word (double word), Float (single precision floating point number).
2966 1. "Value" is the specific value to be modified (corresponding to the number in the range of "Data Type"), such as -120.
2967 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).
2968 1. Click "Set" to write the set value within the correct range to the selected device.
2969
2970 **2. Execution result: **record the successfully modified "device", "data type" and "set value" in the form of a list.
2971
2972 **3. Record list:** Click any one in the list, click "Delete" to delete it.
2973
2974 Click "Clear List" to clear the record list.
2975
2976 Select any one in the record list and click "**Reflect to Input Field**" to reflect the items in [1, device].
2977
2978 **PLC external expansion module:**
2979
2980 1. "Module start" is the extension module number (such as module 0).
2981 1. "Address" is the internal writable address of the expansion module, and the address type can be decimal or hexadecimal.
2982 1. "Data type" includes Word (single word), Double Word (double word), Float (single precision floating point number).
2983 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.
2984 1. Range: decimal (single word -32768~~32767, double word -2147483648~~2147483647), or hexadecimal (single word 0~~FFFF, double word 0~~FFFFFFFF).
2985 1. Click "Set" to write the set value within the correct range to the selected device.
2986
2987 **✎Note: **
2988
2989 1. Modification of the device value must be completed in the case of communication with the PLC.
2990 1. The device must be within the available range of the corresponding PLC model.
2991 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).
2992
2993 == **Print ladder diagram** ==
2994
2995 The print function is divided into: print, print preview, and print settings.
2996
2997 **1)Preconditions for printing function**
2998
2999 (1) Open the project file (not the project file generated by the "Generate Download File" function).
3000
3001 (2) The program has all been compiled.
3002
3003 (3) The program is in edit mode.
3004
3005 Only when the above three conditions are met, the print button can be clicked:
3006
3007 (% style="text-align:center" %)
3008 [[image:5V帮助文档_中性_html_4a3514f38a7f788c.png||height="350" width="150" class="img-thumbnail"]]
3009
3010 **2)Printing preview**
3011
3012 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:
3013
3014 (% style="text-align:center" %)
3015 [[image:5V帮助文档_中性_html_358b997f8596889a.png||height="535" width="700" class="img-thumbnail"]]
3016
3017 **Print preview interface:**
3018
3019 (% style="text-align:center" %)
3020 [[image:5V帮助文档_中性_html_a4bfbcc21b73893c.png||height="305" width="700" class="img-thumbnail"]]
3021
3022 **3)Print out**
3023
3024 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.
3025
3026 (% style="text-align:center" %)
3027 [[image:5V帮助文档_中性_html_aca7cc53d9a9c6a4.png||height="363" width="500" class="img-thumbnail"]]
3028
3029 **4)Printer settings**
3030
3031 Set print information. As shown below:
3032
3033 (% style="text-align:center" %)
3034 [[image:5V帮助文档_中性_html_4509367d76861edf.png||height="378" width="500" class="img-thumbnail"]]
3035
3036 == **Status Bar** ==
3037
3038 **1)Status Bar**
3039
3040 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.
3041
3042 (% style="text-align:center" %)
3043 [[image:5V帮助文档_中性_html_e600547de77c9c6c.png||height="27" width="800" class="img-thumbnail"]]
3044
3045 * Language: The language type displayed by the software. Highlighted means enabled.
3046 * Case status: English input status.
3047 * Numeric keypad lock: Whether the numeric keypad is available.
3048 * Rewrite/insert state: ladder diagram editing mode.
3049 * Communication port: communication COM port, click to pop up the communication setting window.
3050 * Project Type: Display the PLC model of the current project.
3051 * Current program steps/total program steps: Program editing page, program steps of the currently selected instruction/total program steps.
3052
3053 == **Device usage list** ==
3054
3055 **1)Device usage list**
3056
3057 The device usage list mainly displays the specified type of device, check the usage, and the corresponding comment and alias of the device.
3058
3059 (% style="text-align:center" %)
3060 [[image:5V帮助文档_中性_html_cdf7d5cd84a2e8dd.png||height="454" width="1200" class="img-thumbnail"]]
3061
3062 **Instructions for using the list of devices:**
3063
3064 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).
3065
3066 (% style="text-align:center" %)
3067 [[image:5V帮助文档_中性_html_913e6ee52eb6e334.png||height="346" width="300" class="img-thumbnail"]]
3068
3069 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.
3070
3071 (% style="text-align:center" %)
3072 [[image:5V帮助文档_中性_html_47cd0e948e54519c.png||height="65" width="200" class="img-thumbnail"]]
3073
3074 1. Search button: perform a search operation. When the starting device is empty, it will prompt to input a device.
3075
3076 (% style="text-align:center" %)
3077 [[image:5V帮助文档_中性_html_66a6f580b9c0c44c.png||height="45" width="100" class="img-thumbnail"]]
3078
3079 1. Search range: Specify the search range of the device.
3080
3081 (% style="text-align:center" %)
3082 [[image:5V帮助文档_中性_html_88d6e92e19a0506e.png||height="63" width="200" class="img-thumbnail"]]
3083
3084 Current program page: Search only for the currently active program page.
3085
3086 Current program type: only for all program pages of the same type in the currently activated program page.
3087
3088 Entire project: for all program pages of the current project.
3089
3090 (The program page types are divided into: scan, event, subroutine, interrupt)
3091
3092 1. Expand and close the sub-items of the device usage list.
3093
3094 (% style="text-align:center" %)
3095 [[image:5V帮助文档_中性_html_20f51e155751f6fb.png||height="53" width="700" class="img-thumbnail"]]
3096
3097 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.
3098
3099 (% style="text-align:center" %)
3100 [[image:5V帮助文档_中性_html_af6f863da7a6a1f8.png||height="73" width="700" class="img-thumbnail"]]
3101
3102 1. Device comment and alias column: (the background color is white) shows the comment or alias of the device.
3103
3104 (% style="text-align:center" %)
3105 [[image:5V帮助文档_中性_html_6141a76952650a78.png||height="76" width="700" class="img-thumbnail"]]
3106
3107 **Display options:**
3108
3109 1. All devicess: After selecting, search all devicess of this type.
3110
3111 (% style="text-align:center" %)
3112 [[image:5V帮助文档_中性_html_fbaecf403347d02b.png||height="65" width="400" class="img-thumbnail"]]
3113
3114 1. Use devices: After selecting, search for the used devices of this type according to the contact and coil options.
3115
3116 (% style="text-align:center" %)
3117 [[image:5V帮助文档_中性_html_305d195aeaed9291.png||height="65" width="400" class="img-thumbnail"]]
3118
3119 Neither the contact nor the coil is selected, and all the devicess of this type that have been used in the program are displayed.
3120
3121 Select the contact (coil) to display the type of devices as the contact (coil) in the program.
3122
3123 Select both contacts and coils, and display the type of devices that are used as contacts and coils in the program.
3124
3125 1. Unused devices: After selecting, display all the devicess of this type that are not used in the program.
3126
3127 (% style="text-align:center" %)
3128 [[image:5V帮助文档_中性_html_fd0d9a97419875b3.png||height="65" width="400" class="img-thumbnail"]]
3129
3130 = **Shortcut keys list** =
3131
3132 == **Universal shortcut keys** ==
3133
3134 **The general shortcut keys are as follows:**
3135
3136 (% class="table-bordered" %)
3137 |**hot key**|(% style="width:343px" %)**Corresponding menu (function name)**|(% style="width:641px" %)**summary**
3138 |Ctrl + N|(% style="width:343px" %)New Project|(% style="width:641px" %)New Project
3139 |Ctrl + O|(% style="width:343px" %)Open the project|(% style="width:641px" %)Open an existing project
3140 |Ctrl + S|(% style="width:343px" %)Save the project|(% style="width:641px" %)Save the project
3141 |Ctrl + X|(% style="width:343px" %)Cut|(% style="width:641px" %)Cut selected data and range
3142 |Ctrl + C|(% style="width:343px" %)Copy|(% style="width:641px" %)Copy selected data and range
3143 |Ctrl + V|(% style="width:343px" %)Paste|(% style="width:641px" %)Cut/paste the copied data at the cursor position
3144 |Ctrl + Z|(% style="width:343px" %)Revoke|(% style="width:641px" %)Undo the previous operation
3145 |Ctrl + Y|(% style="width:343px" %)restore|(% style="width:641px" %)Resume the operation cancelled by [Undo]
3146 |Ctrl + F|(% style="width:343px" %)Search|(% style="width:641px" %)Search
3147 |Ctrl + F1|(% style="width:343px" %)Show/hide menu toolbar|(% style="width:641px" %)Show/hide menu toolbar
3148 |F3|(% style="width:343px" %)Start Monitoring|(% style="width:641px" %)Currently, start to monitor the window that is the target of the operation
3149 |Ctrl + F3|(% style="width:343px" %)Monitoring stop|(% style="width:641px" %)Currently, stop monitoring the window that is the target of operation
3150 |F4|(% style="width:343px" %)Compile|(% style="width:641px" %)Compile (transform) the program page currently being edited
3151 |Ctrl+F4|(% style="width:343px" %)Compile all|(% style="width:641px" %)Compile (transform) all program pages in the current project
3152 |Alt+F4|(% style="width:343px" %)Exit the software|(% style="width:641px" %)Exit the software
3153
3154 **A.Shortcut keys of the ladder diagram editor**
3155
3156 **The shortcut keys that can be used in the ladder diagram editor are as follows:**
3157
3158 (% class="table-bordered" %)
3159 |**hot key**|**Corresponding menu (function name)**|**summary**
3160 |F5|Normally open contact|Write the normally open contact to the cursor position
3161 |Shift + F5|Normally open contact OR|Write the normally open contact OR to the cursor position
3162 |F6|Normally closed contact|Write the normally closed contact to the cursor position
3163 |Shift + F6|Normally closed contact OR|Write the normally closed contact OR to the cursor position
3164 |F7|Coil|Write the coil to the cursor position
3165 |F8|Application instructions|Write application instructions to the cursor position
3166 |F9|Horizontal line input|Write horizontal line to cursor position
3167 |F11|Vertical line input|Write the vertical line to the cursor position
3168 |Ctrl + F9|Delete horizontal line|Delete the horizontal line at the cursor position
3169 |Ctrl + F11|Delete vertical line|Delete the vertical line at the cursor position
3170 |Shift + F7|Rising edge pulse|Write the rising edge pulse to the cursor position
3171 |Shift + F8|Falling edge pulse|Write the falling edge pulse to the cursor position
3172 |Ctrl + Alt + F7|Parallel rising edge pulse|Write the parallel rising edge pulse to the cursor position
3173 |Ctrl + Alt + F8|Parallel falling edge pulse|Write the parallel falling edge pulse to the cursor position
3174 |Ctrl + Alt + F11|Invert the result of the operation|Write the result of the calculation to the cursor position
3175 |Ctrl + Shift + Insert|Insert statement between lines|Insert the declaration line at the cursor position
3176 |Shift + Insert|Program line insertion|Insert the program line at the cursor position
3177 |Shift + Delete|Row delete|Delete the line at the cursor position
3178 |Ctrl + Insert|Column insert|Insert column at cursor position
3179 |Ctrl + Delete|Column delete|Delete the column at the cursor position
3180 |Ctrl + →|Enter/delete horizontal line in the right direction|Enter/delete horizontal line from the cursor position to the right
3181 |Ctrl + ←|Horizontal line input/delete in the left direction|Enter/delete horizontal line from the cursor position to the left
3182 |Ctrl + ↓|Enter/delete the vertical line in the downward direction|Enter/delete the vertical line from the cursor position down
3183 |Ctrl + ↑|Upward vertical line input/delete|Enter/delete the vertical line up from the cursor position
3184 |Ctrl + /|Normally open/normally closed contact switch|Switch between normally open contact and normally closed contact
3185 |Ctrl + G|Jump|Display jump to the instruction position corresponding to the specified number of steps
3186 |Ctrl + F5|Comment display|Display device comments and label comments
3187 |Ctrl + F7|Statement display|Show statement
3188 |F1|Open instruction help|Show command help