Wiki source code of 02 PLC editor2 software help

Version 15.23 by Stone Wu on 2022/06/25 15:32

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