Wiki source code of 02 PLC editor2 software help

Version 14.1 by Stone Wu on 2022/06/25 11:48

Show last authors
1 (((
2 = **1 Quick start** =
3 )))
4
5 This chapter briefly introduces the use of our PLC programming software (PLC editor2) to write a simple PLC control program and programming operations to help beginners get familiar with and master the operation of our programming software as soon as possible. The following are the development steps of PLC:
6
7 * Step 1: Start our PLC editor2 and enter the programming window.
8 * Step 2: Click "New" to pop up the "New Project" window, and set "PLC Series", "PLC Type" and "Program Language".
9 * Step 3: Click "Program" in the "Project Management" area to start writing the ladder diagram program.
10 * Step 4: Add instructions.
11 * Step 5: Save the program project (when the program has a specified save path, the software will save the current program regularly).
12 * Step 6: Compile the program.
13 * Step 7: Establish a communication connection with PLC.
14 * Step 8: Download the program to the PLC.
15 * Step 9: Start the PLC (RUN state).
16
17 == **Start the software** ==
18
19 After PLC editor 2 is correctly installed, click on PLC Editor2 in the Windows start menu to start the PLC programming software and enter the main programming screen, which is shown in the following figure:
20
21 [[image:image-20220623161849-29.jpeg]]
22
23 == **Create a project** ==
24
25 After starting the programming environment, you first need to create a new project. Click "New" to pop up the "New Program" window, you can select or create a new project:
26
27 * PLC series
28 * PLC type
29 * PLC language
30
31 **To create a new project, please operate as shown in the figure below:**
32
33 1. Move the mouse to the upper left corner of the program, and click the "File" menu.
34 1. After clicking the "File"  menu, a new dialog box will pop up.
35
36 (% style="text-align:center" %)
37 [[image:image-20220623134722-3.jpeg||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 the user can edit the program.
1185
1186 (% style="text-align:center" %)
1187 [[image:5V帮助文档_中性_html_c994cf26a619747a.png||height="289" width="300" class="img-thumbnail"]]
1188
1189 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:
1190
1191 (% style="text-align:center" %)
1192 [[image:5V帮助文档_中性_html_a8e9017d31a283f4.png||height="253" width="300" class="img-thumbnail"]]
1193
1194
1195 (% style="text-align:center" %)
1196 [[image:5V帮助文档_中性_html_e5f29f0a4a8e987a.png||height="375" width="300" class="img-thumbnail"]]
1197
1198 Program page operations: Right-click the program page with the mouse to perform corresponding operations on the program page.
1199
1200 (% style="text-align:center" %)
1201 [[image:5V帮助文档_中性_html_77f4622516b9586b.png||height="283" width="300" class="img-thumbnail"]]
1202
1203 1. Delete: delete the program page.
1204 1. Rename: Rename the program page.
1205 1. Program encryption: Encrypt and decrypt the program page.
1206
1207 * 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.
1208
1209 (% style="text-align:center" %)
1210 [[image:5V帮助文档_中性_html_dd6dac658ce9f761.png||height="263" width="500" class="img-thumbnail"]]
1211
1212 (% style="text-align:center" %)
1213 [[image:5V帮助文档_中性_html_d35d37b5c5f1b474.png||height="211" width="300" class="img-thumbnail"]]
1214
1215
1216 (% style="text-align:center" %)
1217 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||height="259" width="300" class="img-thumbnail"]]
1218
1219 * Cancel encryption: After entering the correct password, cancel the encryption of the program page.
1220
1221 (% style="text-align:center" %)
1222 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||height="211" width="300" class="img-thumbnail"]]
1223
1224 * Modify password: After entering the original program page password, set a new program page password.
1225
1226 (% style="text-align:center" %)
1227 [[image:5V帮助文档_中性_html_9c6f7d5b041a8b03.png||height="211" width="300" class="img-thumbnail"]]
1228
1229 * 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.
1230
1231 (% style="text-align:center" %)
1232 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||height="211" width="300" class="img-thumbnail"]]
1233
1234 (% style="text-align:center" %)
1235 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||height="259" width="300" class="img-thumbnail"]]
1236
1237 1. Settings: You can view the author, date of creation, and remarks on the program page.
1238
1239 (% style="text-align:center" %)
1240 [[image:5V帮助文档_中性_html_c759000c8e559104.png||height="372" width="300" class="img-thumbnail"]]
1241
1242 * Configuration: The time and interrupt program page can click the configuration button to set the trigger condition.
1243
1244 (% style="text-align:center" %)
1245 [[image:5V帮助文档_中性_html_3dfaca311d1985d9.png||height="401" width="600" class="img-thumbnail"]]
1246
1247 1. Move up: Move the program page up, used to adjust the execution order of the program page.
1248
1249 (% style="text-align:center" %)
1250 [[image:5V帮助文档_中性_html_94faf2e95ee9b671.png||height="256" width="300" class="img-thumbnail"]]
1251
1252
1253 (% style="text-align:center" %)
1254 [[image:5V帮助文档_中性_html_d07ec8d22a4d2124.png||height="262" width="300" class="img-thumbnail"]]
1255
1256 1. Move down: Move the program page down to adjust the execution order of the program page.
1257
1258 (% style="text-align:center" %)
1259 [[image:5V帮助文档_中性_html_5cbaa91e1de6507d.png||height="287" width="300" class="img-thumbnail"]]
1260
1261
1262 (% style="text-align:center" %)
1263 [[image:5V帮助文档_中性_html_26f9c3fcfd8bcf9.png||height="288" width="300" class="img-thumbnail"]]
1264
1265 **2)Device comment**
1266
1267 Device comment module: A .wcp2 file has and only one module named COMMENT "device comment".
1268
1269 Double-click "COMMENT" and the following interface will appear:
1270
1271 (% style="text-align:center" %)
1272 [[image:5V帮助文档_中性_html_394b0adad39bfa55.png||height="682" width="1200" class="img-thumbnail"]]
1273
1274 **Interface label description:**
1275
1276 **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.
1277
1278 **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.
1279
1280 **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:
1281
1282 (% style="text-align:center" %)
1283 [[image:5V帮助文档_中性_html_44cc58ed200be21d.png||height="688" width="300" class="img-thumbnail"]]
1284
1285 **Interface button description:**
1286
1287 Display commented devices: The comment list displays all devices with comments or aliases.
1288
1289 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).
1290
1291 Export EXCEL: Export and save all the devices information of edit devices comments or aliases as *.xls files to local disk.
1292
1293 **3)Parameter**
1294
1295 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.
1296
1297 Double-click the "PLC Parameters" node and the interface as shown on the left will appear:
1298
1299 (% style="text-align:center" %)
1300 [[image:5V帮助文档_中性_html_9125c6e25b27de33.png||height="415" width="700" class="img-thumbnail"]]
1301
1302 **Interface button description:**
1303
1304 * 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.
1305 * Reset: Click this button to restore the default settings.
1306 * OK: Complete the correct PLC parameter change and set it.
1307 * Cancel: Cancel the PLC parameter setting and keep the parameter setting before the change.
1308
1309 **~1. Devices latch**
1310
1311 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.
1312
1313 (% style="text-align:center" %)
1314 [[image:5V帮助文档_中性_html_6e4356d226d3b009.png||height="416" width="700" class="img-thumbnail"]]
1315
1316 **2. COM1 settings**
1317
1318 (% style="text-align:center" %)
1319 [[image:5V帮助文档_中性_html_84b7a9f11d75a88c.png||height="416" width="700" class="img-thumbnail"]]
1320
1321 Whether to set: whether to enable the COM1 port configuration.
1322 Baud rate: select the data transmission rate.
1323
1324 Data bits: select the data length.
1325
1326 Stops: select the number of stop bits.
1327
1328 Check bit: Select the check digit.
1329
1330 Station No.: Set the station number, ranging from 1 to 47.
1331
1332 **3. COM2 settings**
1333
1334 (% style="text-align:center" %)
1335 [[image:5V帮助文档_中性_html_ef25b614b6b21364.png||height="414" width="700" class="img-thumbnail"]]
1336
1337 Whether to set: whether to enable the COM1 port configuration.
1338
1339 **(1), communication settings**
1340
1341 Baud rate: select the data transmission rate.
1342
1343 Data bits: select the data length.
1344
1345 Stops: select the number of stop bits.
1346
1347 Check bit: Select the check digit.
1348
1349 Timeout: Set the timeout time, the range is 0~~32767.
1350
1351 Sending interval: Set the sending interval, the range is 0~~32767.
1352
1353 Protocol: Select the communication protocol.
1354
1355 **(2), agreement related**
1356
1357 Station No.: Set the station number. According to different protocols, the station number setting range is different.
1358
1359 Whether to enable the start character: used to customize the protocol.
1360
1361 Header: set the end character for custom protocol.
1362
1363 Whether to enable terminator: used to customize the protocol.
1364
1365 Terminator: Set the terminator to customize the agreement.
1366
1367 Timeout between characters: used to customize the protocol.
1368
1369 **4)Devices memory**
1370
1371 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.
1372
1373 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:
1374
1375 (% style="text-align:center" %)
1376 [[image:5V帮助文档_中性_html_a6e26997559e3d17.png||height="682" width="1200" class="img-thumbnail"]]
1377
1378 **Interface label description:**
1379
1380 **Please input the device:** input the device to be searched, and press Enter to locate the device to be searched.
1381
1382 **List of Device intervals:** Divided into 10 intervals C, D, HSC, LC, M, R, S, T, V, Z.
1383
1384 (% style="text-align:center" %)
1385 [[image:5V帮助文档_中性_html_b83cc213845b2ee0.png||height="369" width="300" class="img-thumbnail"]]
1386
1387 **Device value display area**: currently editing operations are prohibited.
1388
1389 (% style="text-align:center" %)
1390 [[image:5V帮助文档_中性_html_41e88cb8867d2780.png||height="682" width="1200" class="img-thumbnail"]]
1391
1392 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).
1393
1394 The data can be expressed in size: 16 bits and 32 bits.
1395
1396 **The data size that each format can represent when the length is 16 bits:**
1397
1398 1. Binary: 0000000000000000 ~~1111111111111111;
1399 1. Octal: 0~~1777777;
1400 1. Decimal: -32768~~32767;
1401 1. Hexadecimal: 0~~FFFF;
1402 1. String: the size of 2 characters in length;
1403 1. ASCII: 2 ASCII code values.
1404
1405 **The data size that each format can represent when the length is 32 bits:**
1406
1407 1. Binary: 00000000 00000000 00000000 00000000 ~~11111111 11111111 11111111 11111111;
1408 1. Octal: 0~~37777777777;
1409 1. Decimal: -2147483648~~2147483647;
1410 1. Hexadecimal: 0 ~~ FFFF FFFF FFFF FFFF;
1411 1. String: the size of the length of 4 strings;
1412 1. ASCII: 4 ASCII code values;
1413 1. Real number: ±1.175495E-38 ~~±3.402823E+38.
1414
1415 **5)Electronic cam**
1416
1417 1. In the project management window, right-click the electronic cam node to create a new electronic cam table.
1418
1419 (% style="text-align:center" %)
1420 [[image:5V帮助文档_中性_html_772b0f2c063c7bdf.png||height="305" width="300" class="img-thumbnail"]]
1421
1422
1423 (% style="text-align:center" %)
1424 [[image:5V帮助文档_中性_html_eec94f52f6d7038e.png||height="203" width="300" class="img-thumbnail"]]
1425
1426 1. Open the electronic cam interface and set the data.
1427
1428 (% style="text-align:center" %)
1429 [[image:5V帮助文档_中性_html_b1e3be1ad040658e.png||height="696" width="1200" class="img-thumbnail"]]
1430
1431 1. Click the parameter setting to set the parameters, such as the starting device, which indicates the starting position of the download time.
1432
1433 (% style="text-align:center" %)
1434 [[image:5V帮助文档_中性_html_1dd63794eea30141.png||height="555" width="700" class="img-thumbnail"]]
1435
1436 1. Through import and export, the electronic cam table information written by other programs can be imported into the electronic cam table.
1437 1. Download the electronic cam, you can download the electronic cam to the lower computer.
1438
1439 **6)Instruction Set**
1440
1441 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.
1442
1443 (% style="text-align:center" %)
1444 [[image:5V帮助文档_中性_html_e604a54f978bf5c9.png||height="479" width="300" class="img-thumbnail"]]
1445
1446 == **Output window** ==
1447
1448 **1)Output window**
1449
1450 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.
1451
1452 (% style="text-align:center" %)
1453 [[image:5V帮助文档_中性_html_90e91b513b595ebb.png||height="256" width="800" class="img-thumbnail"]]
1454
1455 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.
1456
1457 == **Search and replace window** ==
1458
1459 **1)Search and replace function**
1460
1461 **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.
1462
1463 **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:
1464
1465 (% style="text-align:center" %)
1466 [[image:5V帮助文档_中性_html_b92476f464af9b7d.png||height="336" width="700" class="img-thumbnail"]]
1467
1468 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.
1469
1470 == **Device value modification** ==
1471
1472 **1)Device value modification**
1473
1474 Modify the device value: modify the PLC internal register and coil value; modify the expansion device register value.
1475
1476 As shown below:
1477
1478 (% style="text-align:center" %)
1479 [[image:5V帮助文档_中性_html_7587d5d838501899.png||height="487" width="500" class="img-thumbnail"]]
1480
1481 **The above figure is explained in detail as follows:**
1482
1483 **PLC internal devices:**
1484
1485 **~1. Devices:**
1486
1487 1. "Devicess" are registers and coils (such as C0, M1, etc.) whose values need to be modified within the PLC range.
1488 1. "Data type" includes Word (single word), Bit (binary 0 or 1), Double Word (double word), Float (single precision floating point number).
1489 1. "Value" is the specific value to be modified (corresponding to the number in the range of "Data Type"), such as -120.
1490 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).
1491 1. Click "Set" to write the set value within the correct range to the selected device.
1492
1493 **2. Execution result: **record the successfully modified "device", "data type" and "set value" in the form of a list.
1494
1495 **3. Record list:** Click any one in the list, click "Delete" to delete it.
1496
1497 Click "Clear List" to clear the record list.
1498
1499 Select any one in the record list and click "**Reflect to Input Field**" to reflect the items in [1, device].
1500
1501 **PLC external expansion module:**
1502
1503 1. "Module start" is the extension module number (such as module 0).
1504 1. "Address" is the internal writable address of the expansion module, and the address type can be decimal or hexadecimal.
1505 1. "Data type" includes Word (single word), Double Word (double word), Float (single precision floating point number).
1506 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.
1507 1. Range: decimal (single word -32768~~32767, double word -2147483648~~2147483647), or hexadecimal (single word 0~~FFFF, double word 0~~FFFFFFFF).
1508 1. Click "Set" to write the set value within the correct range to the selected device.
1509
1510 **✎Note: **
1511
1512 1. Modification of the device value must be completed in the case of communication with the PLC.
1513 1. The device must be within the available range of the corresponding PLC model.
1514 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).
1515
1516 == **Print ladder diagram** ==
1517
1518 The print function is divided into: print, print preview, and print settings.
1519
1520 **1)Preconditions for printing function**
1521
1522 (1) Open the project file (not the project file generated by the "Generate Download File" function).
1523
1524 (2) The program has all been compiled.
1525
1526 (3) The program is in edit mode.
1527
1528 Only when the above three conditions are met, the print button can be clicked:
1529
1530 (% style="text-align:center" %)
1531 [[image:5V帮助文档_中性_html_4a3514f38a7f788c.png||height="350" width="150" class="img-thumbnail"]]
1532
1533 **2)Printing preview**
1534
1535 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:
1536
1537 (% style="text-align:center" %)
1538 [[image:5V帮助文档_中性_html_358b997f8596889a.png||height="535" width="700" class="img-thumbnail"]]
1539
1540 **Print preview interface:**
1541
1542 (% style="text-align:center" %)
1543 [[image:5V帮助文档_中性_html_a4bfbcc21b73893c.png||height="305" width="700" class="img-thumbnail"]]
1544
1545 **3)Print out**
1546
1547 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.
1548
1549 (% style="text-align:center" %)
1550 [[image:5V帮助文档_中性_html_aca7cc53d9a9c6a4.png||height="363" width="500" class="img-thumbnail"]]
1551
1552 **4)Printer settings**
1553
1554 Set print information. As shown below:
1555
1556 (% style="text-align:center" %)
1557 [[image:5V帮助文档_中性_html_4509367d76861edf.png||height="378" width="500" class="img-thumbnail"]]
1558
1559 == **Status Bar** ==
1560
1561 **1)Status Bar**
1562
1563 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.
1564
1565 (% style="text-align:center" %)
1566 [[image:5V帮助文档_中性_html_e600547de77c9c6c.png||height="27" width="800" class="img-thumbnail"]]
1567
1568 * Language: The language type displayed by the software. Highlighted means enabled.
1569 * Case status: English input status.
1570 * Numeric keypad lock: Whether the numeric keypad is available.
1571 * Rewrite/insert state: ladder diagram editing mode.
1572 * Communication port: communication COM port, click to pop up the communication setting window.
1573 * Project Type: Display the PLC model of the current project.
1574 * Current program steps/total program steps: Program editing page, program steps of the currently selected instruction/total program steps.
1575
1576 == **Device usage list** ==
1577
1578 **1)Device usage list**
1579
1580 The device usage list mainly displays the specified type of device, check the usage, and the corresponding comment and alias of the device.
1581
1582 (% style="text-align:center" %)
1583 [[image:5V帮助文档_中性_html_cdf7d5cd84a2e8dd.png||height="454" width="1200" class="img-thumbnail"]]
1584
1585 **Instructions for using the list of devices:**
1586
1587 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).
1588
1589 (% style="text-align:center" %)
1590 [[image:5V帮助文档_中性_html_913e6ee52eb6e334.png||height="346" width="300" class="img-thumbnail"]]
1591
1592 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.
1593
1594 (% style="text-align:center" %)
1595 [[image:5V帮助文档_中性_html_47cd0e948e54519c.png||height="65" width="200" class="img-thumbnail"]]
1596
1597 1. Search button: perform a search operation. When the starting device is empty, it will prompt to input a device.
1598
1599 (% style="text-align:center" %)
1600 [[image:5V帮助文档_中性_html_66a6f580b9c0c44c.png||height="45" width="100" class="img-thumbnail"]]
1601
1602 1. Search range: Specify the search range of the device.
1603
1604 (% style="text-align:center" %)
1605 [[image:5V帮助文档_中性_html_88d6e92e19a0506e.png||height="63" width="200" class="img-thumbnail"]]
1606
1607 Current program page: Search only for the currently active program page.
1608
1609 Current program type: only for all program pages of the same type in the currently activated program page.
1610
1611 Entire project: for all program pages of the current project.
1612
1613 (The program page types are divided into: scan, event, subroutine, interrupt)
1614
1615 1. Expand and close the sub-items of the device usage list.
1616
1617 (% style="text-align:center" %)
1618 [[image:5V帮助文档_中性_html_20f51e155751f6fb.png||height="53" width="700" class="img-thumbnail"]]
1619
1620 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.
1621
1622 (% style="text-align:center" %)
1623 [[image:5V帮助文档_中性_html_af6f863da7a6a1f8.png||height="73" width="700" class="img-thumbnail"]]
1624
1625 1. Device comment and alias column: (the background color is white) shows the comment or alias of the device.
1626
1627 (% style="text-align:center" %)
1628 [[image:5V帮助文档_中性_html_6141a76952650a78.png||height="76" width="700" class="img-thumbnail"]]
1629
1630 **Display options:**
1631
1632 1. All devicess: After selecting, search all devicess of this type.
1633
1634 (% style="text-align:center" %)
1635 [[image:5V帮助文档_中性_html_fbaecf403347d02b.png||height="65" width="400" class="img-thumbnail"]]
1636
1637 1. Use devices: After selecting, search for the used devices of this type according to the contact and coil options.
1638
1639 (% style="text-align:center" %)
1640 [[image:5V帮助文档_中性_html_305d195aeaed9291.png||height="65" width="400" class="img-thumbnail"]]
1641
1642 Neither the contact nor the coil is selected, and all the devicess of this type that have been used in the program are displayed.
1643
1644 Select the contact (coil) to display the type of devices as the contact (coil) in the program.
1645
1646 Select both contacts and coils, and display the type of devices that are used as contacts and coils in the program.
1647
1648 1. Unused devices: After selecting, display all the devicess of this type that are not used in the program.
1649
1650 (% style="text-align:center" %)
1651 [[image:5V帮助文档_中性_html_fd0d9a97419875b3.png||height="65" width="400" class="img-thumbnail"]]
1652
1653 = **PLC function menu** =
1654
1655 == **Clipboard** ==
1656
1657 Clipboard is a basic function of PLC Editor2 and has a very important function. This chapter will explain the basic description of the clipboard.
1658
1659 The clipboard has five functions: "Cut", "Copy", "Paste", "Undo" and "Redo".
1660
1661 (% style="text-align:center" %)
1662 [[image:image-20220623170127-36.jpeg]]
1663
1664 * **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.
1665 * **Copy:** After selecting the ladder diagram, you could use the "Ctrl+C" command or the right mouse button to copy the specified data.
1666 * **Paste: **After selecting the ladder diagram, you can use the "Ctrl+V" command or the right mouse button to paste the specified data.
1667 * **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.
1668 * **Redo: **Through the "Ctrl+Y" or the right mouse button, you could return to the previous action after canceling the event.
1669
1670 == **Ladder symbol** ==
1671
1672 PLC Eidtor provides powerful and complete functions in the menu bar, which can greatly improve programming efficiency, as shown in the following figure:
1673
1674 (% style="text-align:center" %)
1675 [[image:image-20220623171113-37.jpeg||height="120" width="247"]]
1676
1677 **The following table is a detailed description of the ladder diagram.**
1678
1679 (% class="table-bordered" %)
1680 |(% style="width:70px" %)**Image**|(% style="width:361px" %)**Instruction**|(% style="width:382px" %)**Command function description**|(% style="width:263px" %)**Hot key**
1681 |(% 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
1682 |(% 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
1683 |(% 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
1684 |(% 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
1685 |(% 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
1686 |(% 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
1687 |(% 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
1688 |(% 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
1689 |(% 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
1690 |(% 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
1691 |(% 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
1692 |(% 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
1693 |(% 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
1694 |(% 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
1695 |(% 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
1696 |(% 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
1697 |(% 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
1698 |(% 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
1699 |(% 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
1700
1701 == **Comment&statement** ==
1702
1703 Editing comments or statement is mainly to comment the code in the project to better interpret the project.
1704
1705 As shown in the figure below, it enters the editing state.
1706
1707 (% style="text-align:center" %)
1708 [[image:image-20220623172114-38.jpeg||height="129" width="125"]]
1709
1710 == **Edit comment** ==
1711
1712 Function: Comment on the device.
1713
1714 Prerequisite: devices are required on the ladder diagram.
1715
1716 Step:
1717
1718 1. Click the "Comment" button, when the button color becomes darker, it will enter the editing state.
1719 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.
1720 1. At this time, you could enter the specified comment in the column input box.
1721 1. After editing the comment, click “Execute" to save it.
1722
1723 **✎Note:** The comment can be edited up to 128 characters, and the alias can be edited up to 8 characters.
1724
1725 (% style="text-align:center" %)
1726 [[image:image-20220623172401-39.jpeg]]
1727
1728 **Result:**
1729
1730 (% style="text-align:center" %)
1731 [[image:image-20220623172710-40.jpeg]]
1732
1733 === **Edit statement** ===
1734
1735 Function: Annotate the ladder diagram block.
1736
1737 **Step:**
1738
1739 1. Click the "Statement" button, when the button color becomes darker, it will enter the editing state.
1740 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.
1741 1. At this time, you could enter the specified statement in the previous input box.
1742 1. After editing the statement, click "Execute" to save it.
1743
1744 **✎Note:** The statement line can edit up to 64 characters, and the statement can be downloaded to the PLC when downloading the ladder diagram.
1745
1746 [[image:image-20220623172907-41.jpeg]]
1747
1748 **Result:**
1749
1750 [[image:image-20220623172913-42.jpeg]]
1751
1752 == **Program compilation** ==
1753
1754 This chapter mainly introduces the program compilation function.
1755
1756 The program compilation menu has three functions, including compile, switch, and compile all, as shown in the figure below:
1757
1758 (% style="text-align:center" %)
1759 [[image:image-20220624090820-2.jpeg]]
1760
1761 === **Compile** ===
1762
1763 Function: Refers to the form of converting the ladder diagram (program) of the current program page into the instruction list (IL).
1764
1765 Steps: After compiling the ladder diagram, click compile or use the hot key F4.
1766
1767 Results:
1768
1769 * Compiling correctly will prompt that the compilation is successful.
1770
1771 (% style="text-align:center" %)
1772 [[image:image-20220624091026-3.jpeg]]
1773
1774 * 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.
1775
1776 (% style="text-align:center" %)
1777 [[image:image-20220624091132-4.jpeg]]
1778
1779 (% style="text-align:center" %)
1780 [[image:image-20220624091200-5.jpeg]]
1781
1782 * Double coil inspection, manifested in the form of warning.
1783
1784 (% style="text-align:center" %)
1785 [[image:image-20220624092222-6.png]]
1786
1787 === **Switch** ===
1788
1789 Function: refers to switching the current program page between the ladder diagram interface and the instruction list (IL) interface.
1790
1791 Steps: Click the switch button on the program page interface.
1792
1793 Results:
1794
1795 * In the compiled program page, click to switch to the instruction list interface.
1796
1797 (% style="text-align:center" %)
1798 [[image:image-20220624093016-7.jpeg]]
1799
1800 * 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.
1801
1802 [[image:image-20220624094410-9.jpeg]]
1803
1804 === **Compile all** ===
1805
1806 Function: Refers to converting the ladder diagram of all programs under the current project into the form of instruction list (IL).
1807
1808 Steps: Click the compile all button or use the shortcut key Ctrl+F4.
1809
1810 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.
1811
1812 [[image:image-20220624095005-10.jpeg]]
1813
1814 == **Ladder monitoring ** ==
1815
1816 Function: monitor the value of the devices on the ladder diagram, modify and debug the program.
1817
1818 **Step:**
1819
1820 * Connect to the PLC and switch to monitoring mode.
1821
1822 [[image:image-20220624095815-11.jpeg]]
1823
1824 1. Right-click the menu, click "Debug" to modify the value of the device.
1825
1826 (% style="text-align:center" %)
1827 [[image:image-20220624095855-12.jpeg]]
1828
1829 * Click the ON, OFF, or ON/OFF inversion to set the device.
1830
1831 (% style="text-align:center" %)
1832 [[image:image-20220624100037-13.jpeg]]
1833
1834 === **Monitor edit** ===
1835
1836 PLC Editor2 provides the "Monitor edit" function. You could edit ladder program in the state of monitoring it.
1837
1838 Steps:
1839
1840 * Connect to PLC and switch to "Monitor edit" mode.
1841
1842 (% style="text-align:center" %)
1843 [[image:image-20220624101413-14.jpeg]]
1844
1845 * Modify ladder diagram
1846
1847 (% style="text-align:center" %)
1848 [[image:image-20220624101446-15.jpeg]]
1849
1850 * Compile the ladder diagram
1851
1852 (% style="text-align:center" %)
1853 [[image:image-20220624101510-16.jpeg]]
1854
1855 * After the compilation, download it to PLC.
1856
1857 (% style="text-align:center" %)
1858 [[image:image-20220624101609-17.jpeg]]
1859
1860 **✎Note:** The firmware version requires above v2.000 version.
1861
1862 == **Online menu** ==
1863
1864 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.
1865
1866 (% style="text-align:center" %)
1867 [[image:image-20220624103113-18.jpeg]]
1868
1869 === **Transfer settings** ===
1870
1871 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.
1872
1873 **Steps:**
1874
1875 Open PLC Editor2, and click "Online" ->"Transfer Settings". As shown below:
1876
1877 (% style="text-align:center" %)
1878 [[image:image-20220624103242-19.jpeg]]
1879
1880 "Transfer setting" dialog box will pop up. When using USB connection, select the specified port, it is as shown in the figure below.
1881
1882 (% style="text-align:center" %)
1883 [[image:image-20220624103637-20.jpeg]]
1884
1885 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,
1886
1887 **✎Note:** Currently Ethernet configuration is only supported by 5V-N series and 6V series.
1888
1889 (% style="text-align:center" %)
1890 [[image:image-20220624105239-21.jpeg]]
1891
1892 Click "Devices research" to pop up a search page, as shown below.
1893
1894 (% style="text-align:center" %)
1895 [[image:image-20220624105429-22.jpeg]]
1896
1897 **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.
1898 **The subnet mask matches the network segment:**
1899
1900 * 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.
1901 * 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.
1902 * 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.
1903
1904 **✎Note:** The NIC used for the IP search function is the NIC selected by the user of the NIC selection interface.
1905 **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.
1906
1907 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.
1908
1909 (% style="text-align:center" %)
1910 [[image:image-20220624111046-23.jpeg]]
1911
1912 You could set the data according to their needs.
1913
1914 **✎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.
1915
1916 After completing the settings, you could click the "Communication Test" or "OK" to perform a connection test.
1917
1918 If the test fails, the system will prompt as below.
1919
1920 (% style="text-align:center" %)
1921 [[image:image-20220624111448-24.jpeg]]
1922
1923 Successful connection is shown as below.
1924
1925 (% style="text-align:center" %)
1926 [[image:image-20220624111451-25.jpeg||height="186" width="285"]]
1927
1928 After successful communication, you can click "Device Info" to view the device information.
1929
1930 (% style="text-align:center" %)
1931 [[image:image-20220624111617-26.jpeg]]
1932
1933 === **Read from PLC** ===
1934
1935 **Function: **Upload the data in the series PLC to the software through the communication line.
1936
1937 (% style="text-align:center" %)
1938 [[image:image-20220624114311-27.jpeg]]
1939
1940 **Interface introduction:**
1941
1942 * **Para + program: **Upload parameters and programs from the PLC to the software.
1943 * **Select all:** Upload parameters, programs, comments, devices memory area settings and electronic cam tables from the PLC to the software.
1944 * **Cancel all select:** Cancel all selections.
1945 * **Execute: **Start the upload operation.
1946 * **Stop: **Stop the upload operation.
1947 * **Close:** Exit the current window.
1948 * **Execute (upload):** Upload the data of the lower computer to the software.
1949 * **Display/Hide: **Display/hide the upload progress and other information, as shown in the figure below:
1950
1951 (% style="text-align:center" %)
1952 [[image:image-20220624114427-28.jpeg]]
1953
1954 **Steps:**
1955
1956 Check the data items that need to be uploaded.
1957
1958 * 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.
1959
1960 [[image:image-20220624114632-29.jpeg]]
1961
1962 * 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.
1963
1964 [[image:image-20220624114647-30.jpeg]]
1965
1966 Click "Execute" to start uploading. At this time, the PLC needs to be in the stop state.
1967
1968 (% style="text-align:center" %)
1969 [[image:image-20220624114918-31.jpeg]]
1970
1971 Keep communication and wait for the upload to complete.
1972
1973 (% style="text-align:center" %)
1974 [[image:image-20220624114941-32.jpeg]]
1975
1976 === **Write to PLC** ===
1977
1978 **Function: **Download the ladder diagram program or other configuration to the PLC.
1979
1980 (% style="text-align:center" %)
1981 [[image:image-20220624115206-33.jpeg]]
1982
1983 **Interface introduction:**
1984
1985 * **Para + program:** Download parameters and programs to the PLC.
1986 * **Select all: **Download parameters, programs, comments, and devices memory area settings to the PLC.
1987 * **Cancel all selections:** Cancel all selections.
1988 * **Execute: **start the download operation.
1989 * **Stop: **stop the download operation.
1990 * **Close:** Exit the current window.
1991 * **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.
1992 * **Display/Hide:** Display/hide the download progress and other information, as shown in the figure below.
1993
1994 (% style="text-align:center" %)
1995 [[image:image-20220624115419-34.jpeg]]
1996
1997 **Step:**
1998
1999 Check the data items that need to be downloaded.
2000
2001 * 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.
2002
2003 (% style="text-align:center" %)
2004 [[image:image-20220624115440-35.jpeg]]
2005
2006 The PLC needs to be in the stop state when downloading.
2007
2008 (% style="text-align:center" %)
2009 [[image:image-20220624115451-36.jpeg]]
2010
2011 Keep communication and wait for the downpload to complete.
2012
2013 (% style="text-align:center" %)
2014 [[image:image-20220624115455-37.jpeg]]
2015
2016 === **PLC device monitoring** ===
2017
2018 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.
2019
2020 (% style="text-align:center" %)
2021 [[image:5V帮助文档_中性_html_839955581a08901c.png||height="718" width="1200" class="img-thumbnail"]]
2022
2023 **Interface description:**
2024
2025 Monitoring start: start the current monitoring, allowing to view or modify the value of the register.
2026
2027 End of monitoring: End the current monitoring, you cannot view or modify the value of the register.
2028
2029 Edit current value: After clicking, a dialog box named [Modify Device Value] will pop up, and you can modify
2030
2031 Close: Close the [Device Monitor] interface.
2032
2033 **Step:**
2034
2035 1. Open the device monitoring interface.
2036
2037 (% style="text-align:center" %)
2038 [[image:5V帮助文档_中性_html_c516f54635196dd6.png||height="110" width="300" class="img-thumbnail"]]
2039
2040 1. Click the monitoring start button under the premise of communicating with the PLC.
2041
2042 (% style="text-align:center" %)
2043 [[image:5V帮助文档_中性_html_2f129e6ffdd675cb.png||height="549" width="1200" class="img-thumbnail"]]
2044
2045 1. The devices can be monitored by modifying the monitoring form, display, value and bit sequence.
2046
2047 (% style="text-align:center" %)
2048 [[image:5V帮助文档_中性_html_a2dd50ba89a54576.png||height="504" width="200" class="img-thumbnail"]]
2049
2050 1. Switch device, search device and switch to monitor buffer memory.
2051
2052 (% style="text-align:center" %)
2053 [[image:5V帮助文档_中性_html_71a82c63fe904fae.png||height="518" width="1200" class="img-thumbnail"]]
2054
2055 === **Clear PLC memory** ===
2056
2057 **Function**: Clear the data of the lower computer.
2058
2059 (% style="text-align:center" %)
2060 [[image:5V帮助文档_中性_html_63566bf52138ea07.png||height="320" width="500" class="img-thumbnail"]]
2061
2062 **Step:**
2063
2064 1. Before clearing the PLC memory, the PLC needs to be in the stop state.
2065 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.
2066 1. Click Execute and wait for the PLC to clear the data.
2067
2068 === **PLC clock setting** ===
2069
2070 Function: Set the PLC clock, you can customize the internal time of the PLC to achieve the purpose of accurate calculation.
2071
2072 Click [Clock setting] to open the Clock setting interface.
2073
2074 (% style="text-align:center" %)
2075 [[image:5V帮助文档_中性_html_1d1fdcb0af06a7b4.png||height="374" width="500" class="img-thumbnail"]]
2076
2077 **Module explanation:**
2078
2079 Connection target: display the information of the currently linked PLC, read the parameters of this PLC, and cannot be changed.
2080
2081 Time and calendar area: you can easily select time information and match freely.
2082
2083 Get PC time: Let the software automatically read the current PC time without manual calibration.
2084
2085 Set the clock: After finishing the setting, click this button to save the current operation setting to the PLC.
2086
2087 Close: Do not save the current operating data, and exit to close this window.
2088
2089 **Set time:**
2090
2091 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.
2092 1. Click [Clock setting] to open the time setting window.
2093 1. Select the time required by the user in the time control panel or in the calendar panel.
2094 1. The time interval of the year is 2000-2099; the interval of the month is January-December;
2095 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.
2096 1. You can also click [Get PC Time] to quickly match the current time (provided that the PC time is accurate).
2097 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:
2098
2099 (% style="text-align:center" %)
2100 [[image:5V帮助文档_中性_html_967b5841c25d204c.png||height="158" width="250" class="img-thumbnail"]]
2101
2102 === **PLC remote operation** ===
2103
2104 Function: Remote operation can quickly change the state of the PLC online and control the switch of the PLC.
2105
2106 (% style="text-align:center" %)
2107 [[image:5V帮助文档_中性_html_237d4162b4a38587.png||height="212" width="400" class="img-thumbnail"]]
2108
2109 === **PLC diagnosis** ===
2110
2111 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.
2112
2113 (% style="text-align:center" %)
2114 [[image:5V帮助文档_中性_html_55c44a5c8690dbf5.png||height="412" width="700" class="img-thumbnail"]]
2115
2116 === **PLC verification** ===
2117
2118 Function: The user can select the items that need to be verified by the PLC, as shown in the figure below:
2119
2120 (% style="text-align:center" %)
2121 [[image:5V帮助文档_中性_html_ec72bcd11572003e.png||height="587" width="700" class="img-thumbnail"]]
2122
2123 Compare the difference between the program in the current PC software and the program in the PLC, as shown in the figure below:
2124
2125 (% style="text-align:center" %)
2126 [[image:5V帮助文档_中性_html_1cc43a035d93c05b.png||height="286" width="700" class="img-thumbnail"]]
2127
2128 By double-clicking the list, you can view the specific differences of the program, as shown in the following figure:
2129
2130 (% style="text-align:center" %)
2131 [[image:5V帮助文档_中性_html_b18231acc57a461f.png||height="252" width="700" class="img-thumbnail"]]
2132
2133 === **Module monitoring** ===
2134
2135 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.
2136
2137 **Interface description:**
2138
2139 (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.
2140
2141 (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.
2142
2143 (3) Help: Open the instruction manual of the module, which can be used to find the detailed instructions of the module on it.
2144
2145 (4) Refresh: You can update the module information of the current PLC connection and refresh the module information list.
2146
2147 **(5) Working mode:**
2148
2149 ① 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;
2150
2151 ② 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.
2152
2153 **Step:**
2154
2155 1. Click Module Monitoring.
2156
2157 (% style="text-align:center" %)
2158 [[image:5V帮助文档_中性_html_7e64d17a4a480165.png||height="112" width="300" class="img-thumbnail"]]
2159
2160 1. Select the module you want to monitor.
2161 1. To view and modify the value.
2162
2163 (% style="text-align:center" %)
2164 [[image:5V帮助文档_中性_html_70be57a90d675c22.png||height="453" width="1200" class="img-thumbnail"]]
2165
2166 **7)Tool**
2167
2168 === **PLC encryption tool** ===
2169
2170 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.
2171
2172 **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:
2173
2174 (% style="text-align:center" %)
2175 [[image:5V帮助文档_中性_html_1e4c37ba99b3d4f4.png||height="368" width="500" class="img-thumbnail"]]
2176
2177 **~1. Set a password Note:**
2178
2179 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).
2180 1. The length of the password can only be 8 characters, no more or less than.
2181 1. When setting a new password, the first time password and the second confirmation password must be the same.
2182 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).
2183 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.
2184
2185 **2. Steps to set password:**
2186
2187 1. Make the PLC and PC connect normally, and run the compiler at the same time;
2188 1. Turn off the RUN of the PLC;
2189 1. Click [PLC Encryption Tool] in the [Tools] panel;
2190 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;
2191 1. Select the type of password that needs to be set, and click [Set Password]. (The following PLC takes uploading password as an example)
2192
2193 (% style="text-align:center" %)
2194 [[image:5V帮助文档_中性_html_1e4c37ba99b3d4f4.png||height="368" width="500" class="img-thumbnail"]]
2195
2196 1. Please follow the instructions to fill in the correct password.
2197 1. If the password length is not enough, there will be a prompt as follows:
2198
2199 (% style="text-align:center" %)
2200 [[image:5V帮助文档_中性_html_5852c5dbdd8ee45d.png||height="185" width="300" class="img-thumbnail"]]
2201
2202 1. If the secondary password is inconsistent, there will be a prompt as shown below:
2203
2204 (% style="text-align:center" %)
2205 [[image:5V帮助文档_中性_html_e90ecbf41cadf882.png||height="149" width="400" class="img-thumbnail"]]
2206
2207 1. If the password is successfully set, there will be a prompt as shown below:
2208
2209 (% style="text-align:center" %)
2210 [[image:5V帮助文档_中性_html_32b27e2bc1d9673d.png||height="199" width="300" class="img-thumbnail"]]
2211
2212 **3. Clear password:**
2213
2214 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.
2215
2216 (% style="text-align:center" %)
2217 [[image:5V帮助文档_中性_html_ee1ff864f7dcecdf.png||height="188" width="300" class="img-thumbnail"]]
2218
2219 **4. Steps to clear the password:**
2220
2221 1. Make the PLC and PC connect normally and run the compiler at the same time.
2222 1. Turn off the RUN of the PLC.
2223 1. Click [Decice encryption] in the [Tools] panel.
2224 1. Select the PLC password to be cleared in [Type], and click [Clear].
2225 1. After opening a new window, please enter the specified password in the [Please enter password] area, and then click [Execute].
2226 1. If you clear the upload password input error, there will be a prompt as shown below:
2227
2228 (% style="text-align:center" %)
2229 [[image:5V帮助文档_中性_html_249fce69e20fccd1.png||height="157" width="300" class="img-thumbnail"]]
2230
2231 1. If the password is correct, there will be a prompt as shown below:
2232
2233 (% style="text-align:center" %)
2234 [[image:5V帮助文档_中性_html_4e99c8ea17c1b1ce.png||height="202" width="300" class="img-thumbnail"]]
2235
2236 === **Engineering encryption tool** ===
2237
2238 In the PLC Editor, you can set a password for the project file to maintain security. As shown below:
2239
2240 (% style="text-align:center" %)
2241 [[image:5V帮助文档_中性_html_9b7bcf11a5a5ddf1.png||height="299" width="400" class="img-thumbnail"]]
2242
2243 **~1. Precautions for setting password:**
2244
2245 1. The length of the password can only be 8 characters, no more or less than.
2246 1. When setting a new password, the first time password and the second confirmation password must be the same.
2247 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.
2248
2249 **2. Steps to set password:**
2250
2251 1. Click [Project Encryption Tool] in the [Tools] panel;
2252 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;
2253 1. Select the password that needs to be entered, and click [Set Password].
2254
2255 (% style="text-align:center" %)
2256 [[image:5V帮助文档_中性_html_d0ae32303af041be.png||height="302" width="400" class="img-thumbnail"]]
2257
2258 1. Please follow the instructions to fill in the correct password.
2259 1. If the password is not long enough, there will be a prompt as shown below:
2260
2261 (% style="text-align:center" %)
2262 [[image:5V帮助文档_中性_html_97efb9eaa38c6172.png||height="179" width="500" class="img-thumbnail"]]
2263
2264 1. If the secondary password is inconsistent, there will be a prompt as shown below:
2265
2266 (% style="text-align:center" %)
2267 [[image:5V帮助文档_中性_html_e90ecbf41cadf882.png||height="186" width="500" class="img-thumbnail"]]
2268
2269 1. If the password is successfully set, there will be a prompt as shown below:
2270
2271 (% style="text-align:center" %)
2272 [[image:5V帮助文档_中性_html_852b3ed602bbc480.png||height="199" width="300" class="img-thumbnail"]]
2273
2274 **3. Clear password:**
2275
2276 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.
2277
2278 (% style="text-align:center" %)
2279 [[image:5V帮助文档_中性_html_ae5bcabb06629168.png||height="188" width="300" class="img-thumbnail"]]
2280
2281 **4. Steps to clear the password:**
2282
2283 1. Click [Project Encryption Tool] in the [Tools] panel.
2284 1. In the opened window panel, click [Clear].
2285 1. After opening a new window, please enter the specified password in the [Please enter password] area, and then click [Execute].
2286 1. If the password is entered incorrectly, there will be a prompt as shown below:
2287
2288 (% style="text-align:center" %)
2289 [[image:5V帮助文档_中性_html_249fce69e20fccd1.png||height="157" width="300" class="img-thumbnail"]]
2290
2291 1. If the password is correct, there will be a prompt as shown below:
2292
2293 (% style="text-align:center" %)
2294 [[image:5V帮助文档_中性_html_4bbbe8646e6aa1ad.png||height="202" width="300" class="img-thumbnail"]]
2295
2296 === **USB download** ===
2297
2298 Function: Generate a bin file, the user can use the file to download programs and other configurations through the HMI screen.
2299
2300 **Step:**
2301
2302 1. Click on the U disk to download and open the interface.
2303
2304 (% style="text-align:center" %)
2305 [[image:5V帮助文档_中性_html_b3b419b08b029beb.png||height="90" width="300" class="img-thumbnail"]]
2306
2307 1. Check the items that need to be downloaded, set the communication port parameters, and select the location of the U disk.
2308
2309 (% style="text-align:center" %)
2310 [[image:5V帮助文档_中性_html_d6612d208a751e0d.png||height="636" width="600" class="img-thumbnail"]]
2311
2312 1. Click Make to generate the bin file.
2313 1. Insert the U disk into the HMI screen to download.
2314
2315 === **Automatic backup** ===
2316
2317 **Function**: Back up project files, users can view and retrieve historical versions through this function.
2318
2319 **Step:**
2320
2321 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.
2322
2323 (% style="text-align:center" %)
2324 [[image:5V帮助文档_中性_html_f2c0da12068ac370.png||height="602" width="1200" class="img-thumbnail"]]
2325
2326 1. Click the remark information to add remarks to the historical version, and click Execute to save it.
2327 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:
2328
2329 (% style="text-align:center" %)
2330 [[image:5V帮助文档_中性_html_f0355b539ee43c1b.png||height="185" width="300" class="img-thumbnail"]]
2331
2332 === **Generate download file** ===
2333
2334 Function: Generate a file for download only, the file cannot be viewed and uploaded.
2335
2336 **Step:**
2337
2338 1. Compile all the program pages, click to generate the download file.
2339 1. Select the path and file name.
2340 1. Open the generated .swcp2 file and click download.
2341
2342 (% style="text-align:center" %)
2343 [[image:5V帮助文档_中性_html_64ff2d2ca21a855f.png||height="123" width="1200" class="img-thumbnail"]]
2344
2345 === **Reset window layout** ===
2346
2347 Function: Restore all floating windows in the program to the default position.
2348
2349 Steps: Click the reset window layout button in the view.
2350
2351 **Before reset:**
2352
2353 (% style="text-align:center" %)
2354 [[image:5V帮助文档_中性_html_3b2e61a7dc00f421.png||height="715" width="1200" class="img-thumbnail"]]
2355
2356 **After reset:**
2357
2358 (% style="text-align:center" %)
2359 [[image:5V帮助文档_中性_html_f5648ea83791419a.png||height="719" width="1200" class="img-thumbnail"]]
2360
2361 == **Program editing area** ==
2362
2363 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.
2364
2365 **1)Ladder Diagram Work Area**
2366
2367 **Insert or delete Rows/Columns**
2368
2369 **~1. Insert a new row**
2370
2371 1. Select the position where you want to insert the row +1.
2372 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].
2373
2374 (% style="text-align:center" %)
2375 [[image:5V帮助文档_中性_html_fe3e14b543c5cd59.png||height="283" width="1200" class="img-thumbnail"]]
2376
2377 (% style="text-align:center" %)
2378 [[image:5V帮助文档_中性_html_e1fe303f61871b4a.png||height="486" width="1200" class="img-thumbnail"]]
2379
2380 **2. Insert the statement line**
2381
2382 Select the position where you want to insert the row.
2383
2384 Method 1: Use the keyboard shortcut [Shift]+[Ctrl]+[Insert].
2385
2386 (% style="text-align:center" %)
2387 [[image:5V帮助文档_中性_html_38c17655daa7e99d.png||height="266" width="1200" class="img-thumbnail"]]
2388
2389 Method 2: 【Ctrl】+【F7】.
2390
2391 (% style="text-align:center" %)
2392 [[image:5V帮助文档_中性_html_8fd6a5c0dbd0c1f1.png||height="316" width="1200" class="img-thumbnail"]]
2393
2394 Method 3: Right-click, select [Edit], and then click [Insert Statement].
2395
2396 (% style="text-align:center" %)
2397 [[image:5V帮助文档_中性_html_71abb0a50efacc03.png||height="419" width="1200" class="img-thumbnail"]]
2398
2399 **3. Delete the program line**
2400
2401 (% style="text-align:center" %)
2402 [[image:5V帮助文档_中性_html_4eca87fd2e8ea6b9.png||height="339" width="800" class="img-thumbnail"]]
2403
2404 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.
2405
2406 (% style="text-align:center" %)
2407 [[image:5V帮助文档_中性_html_4f121787d41b35e7.png||height="227" width="800" class="img-thumbnail"]]
2408
2409 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].
2410
2411 (% style="text-align:center" %)
2412 [[image:5V帮助文档_中性_html_5372d242118587ad.png||height="369" width="1200" class="img-thumbnail"]]
2413
2414 **4. Deletion of the statement line**
2415
2416 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].
2417
2418 **5. Insert column**
2419
2420 1. Select the position where you want to insert the column.
2421 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].
2422
2423 (% style="text-align:center" %)
2424 [[image:5V帮助文档_中性_html_689dfd75a992c94c.png||height="340" width="800" class="img-thumbnail"]]
2425
2426 (% style="text-align:center" %)
2427 [[image:5V帮助文档_中性_html_8a1a1069716f5bce.png||height="213" width="800" class="img-thumbnail"]]
2428
2429 **6 Delete column**
2430
2431 1. Select the position of the column to be deleted.
2432 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].
2433
2434 **Before deleting:**
2435
2436 (% style="text-align:center" %)
2437 [[image:5V帮助文档_中性_html_1dc378107dafcc54.png||height="341" width="800" class="img-thumbnail"]]
2438
2439 **After deleting:**
2440
2441 (% style="text-align:center" %)
2442 [[image:5V帮助文档_中性_html_cfd75e5eede2e139.png||height="206" width="800" class="img-thumbnail"]]
2443
2444 **Copy and paste function**
2445
2446 The copy and paste function can save time and reduce the time spent on repeated operations.
2447
2448 **Steps for usage:**
2449
2450 1. Move the mouse to the ladder editing area.
2451 1. Select the specified cell or drag the mouse to select an area.
2452
2453 (% style="text-align:center" %)
2454 [[image:5V帮助文档_中性_html_d5aa6c70c096349a.png||height="155" width="700" class="img-thumbnail"]]
2455
2456 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.
2457
2458 (% style="text-align:center" %)
2459 [[image:5V帮助文档_中性_html_b9fa9a54a94c1613.png||height="435" width="900" class="img-thumbnail"]]
2460
2461 1. After completing the third operation, copy the specified area to the clipboard.
2462 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.
2463
2464 (% style="text-align:center" %)
2465 [[image:5V帮助文档_中性_html_78c29e0dd8cb401a.png||height="458" width="900" class="img-thumbnail"]]
2466
2467 **Delete and modify ladder diagram components**
2468
2469 **~1. Modify the ladder diagram components**
2470
2471 **Steps to modify ladder diagram components:**
2472
2473 1. It must be ensured that the ladder diagram components can be modified in the [write mode] in the current state.
2474
2475 (% style="text-align:center" %)
2476 [[image:5V帮助文档_中性_html_12c88470e88f68bf.png||height="119" width="400" class="img-thumbnail"]]
2477
2478 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.
2479 1. After performing step 2, the output command dialog box will pop up.
2480 1. Enter the command corresponding to the selected component into the dialog box.
2481 1. Click [Execute] to save the modification.
2482
2483 **✎Note: **
2484
2485 1. The modified instruction must be able to pass the correct instruction verification before it can be saved.
2486 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.
2487 1. All contact components cannot be modified mutually with coils or application instructions.
2488
2489 **2. Delete ladder diagram components**
2490
2491 **Steps to delete ladder diagram components:**
2492
2493 1. It must be ensured that the ladder diagram components can be deleted in the [write mode] in the current state.
2494 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.
2495 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.
2496 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.
2497
2498 **Enter ladder diagram instructions**
2499
2500 There are 5 ways to input ladder diagram instructions:
2501
2502 * Direct input method
2503 * Input method through instruction set
2504 * Double-click cell method
2505 * Instruction help
2506 * Ladder Symbol/Shortcut Method
2507
2508 **~1. Direct input method**
2509
2510 1. Move the mouse and left-click the specified cell.
2511 1. Directly use the keyboard to input the specified instruction, the system will automatically pop up the ladder diagram input box.
2512 1. Enter the complete instructions and parameters in the dialog box.
2513 1. Click [Execute] or the [Enter] button on the keyboard.
2514 1. The system verifies the correctness of the input, and generates the graphic element represented by the instruction after the verification is correct.
2515 1. If the instruction is wrong, the instruction help interface will pop up.
2516
2517 (% style="text-align:center" %)
2518 [[image:5V帮助文档_中性_html_40e677f14ea9fae6.png||height="53" width="600" class="img-thumbnail"]]
2519
2520 **2. Through the instruction set input method**
2521
2522 1. Move the mouse to the [Project Management] interface on the left side of the window.
2523 1. Expand [Instruction Set].
2524 1. Open the instruction tree required by the user.
2525 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.
2526 1. After completing step (4), [Edit] will pop up.
2527 1. Enter the correct operand in the input box.
2528 1. Click [Execute] or the keyboard [Enter].
2529
2530 (% style="text-align:center" %)
2531 [[image:5V帮助文档_中性_html_5bdac8caa5ecd1bb.png||height="217" width="900" class="img-thumbnail"]]
2532
2533 **3. Double-click the cell method**
2534
2535 1. Move the mouse to the designated area and double-click the left button.
2536 1. [Ladder Diagram Input] pops up, enter the correct command in the input box.
2537 1. Click [Execute] or the keyboard [Enter].
2538 1. If the instruction is wrong, the instruction help interface will pop up.
2539
2540 (% style="text-align:center" %)
2541 [[image:5V帮助文档_中性_html_68679c1a58f52c04.png||height="242" width="800" class="img-thumbnail"]]
2542
2543 **4. Command help method**
2544
2545 1. Move the mouse to the designated area and double-click the left button.
2546 1. [Ladder Diagram Input] pops up.
2547 1. Click [Help] to pop up [Command Help]
2548 1. After selecting the instruction that needs to be entered, click the [Detail] button to pop up the [Instruction Wizard].
2549 1. The instruction guide interface selects the correct operand according to different instructions.
2550 1. After selecting the specified command, click [Execute] to save the data and complete the command input.
2551
2552 (% style="text-align:center" %)
2553 [[image:5V帮助文档_中性_html_1e72f783a4402ac0.png||height="592" width="1200" class="img-thumbnail"]]
2554
2555
2556 (% style="text-align:center" %)
2557 [[image:5V帮助文档_中性_html_296b88f4766c787d.png||height="199" width="700" class="img-thumbnail"]]
2558
2559 **5. Ladder diagram symbol/shortcut method**
2560
2561 The ladder diagram symbol is located in the PLC menu, as shown in the figure below:
2562
2563 (% style="text-align:center" %)
2564 [[image:5V帮助文档_中性_html_4708bb852d0e898f.png||height="141" width="300" class="img-thumbnail"]]
2565
2566 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]]
2567
2568 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.
2569
2570 **✎Note: **
2571
2572 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.
2573 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.
2574 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.
2575 1. The maximum number of input columns in the ladder diagram is 13 columns.
2576
2577 **2)Instruction list workspace**
2578
2579 **Instruction list editor**
2580
2581 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:
2582
2583 (% style="text-align:center" %)
2584 [[image:5V帮助文档_中性_html_550c5cb7f37a8b23.png||height="190" width="300" class="img-thumbnail"]]
2585
2586 **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.
2587
2588 **Ladder diagram-instruction list switching:** If there is an error in the program logic, it cannot be switched.
2589
2590 **3)Program editing shortcut menu**
2591
2592 **Function description of right key in program edit area**
2593
2594 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.
2595
2596 (% style="text-align:center" %)
2597 [[image:5V帮助文档_中性_html_c665b55b77356626.png||height="349" width="200" class="img-thumbnail"]]
2598
2599 * Undo: Undo the current operation and roll back the previous step.
2600 * Redo: roll back the undo operation.
2601 * Cut: Cut the selected ladder diagram in the ladder diagram and put the content on the clipboard.
2602 * Copy: Copy the selected ladder diagram in the ladder diagram and put the content on the clipboard.
2603 * 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.
2604 * Delete: Ladder diagram, delete the selected ladder diagram content.
2605 * Compile: Compile the current program page.
2606
2607 **Editing options:**
2608
2609 * Program line insertion: Insert an empty table line in the currently selected line in the ladder diagram.
2610 * Insert declaration line: insert a blank declaration line in the currently selected line in the ladder diagram.
2611 * Row delete: delete the currently selected row in the ladder diagram.
2612 * Column insertion: In the ladder diagram, a blank node is added to the selected instruction, and other instructions move one grid to the right.
2613 * Column deletion: In the ladder diagram, delete the currently selected instruction, and other instructions move one space to the left.
2614
2615 **Search:**
2616
2617 * 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.
2618 * 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.
2619 * 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.
2620
2621 **View:**
2622
2623 * Comment display: In the ladder diagram, the comment of the device is displayed.
2624 * Alias display: In the ladder diagram, display the alias of the device.
2625
2626 **Debugging:**
2627
2628 * 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.
2629
2630 == **Project Management Area** ==
2631
2632 **1)program**
2633
2634 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.
2635
2636 (% style="text-align:center" %)
2637 [[image:5V帮助文档_中性_html_c994cf26a619747a.png||height="289" width="300" class="img-thumbnail"]]
2638
2639 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:
2640
2641 (% style="text-align:center" %)
2642 [[image:5V帮助文档_中性_html_a8e9017d31a283f4.png||height="253" width="300" class="img-thumbnail"]]
2643
2644
2645 (% style="text-align:center" %)
2646 [[image:5V帮助文档_中性_html_e5f29f0a4a8e987a.png||height="375" width="300" class="img-thumbnail"]]
2647
2648 Program page operations: Right-click the program page with the mouse to perform corresponding operations on the program page.
2649
2650 (% style="text-align:center" %)
2651 [[image:5V帮助文档_中性_html_77f4622516b9586b.png||height="283" width="300" class="img-thumbnail"]]
2652
2653 1. Delete: delete the program page.
2654 1. Rename: Rename the program page.
2655 1. Program encryption: Encrypt and decrypt the program page.
2656
2657 * 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.
2658
2659 (% style="text-align:center" %)
2660 [[image:5V帮助文档_中性_html_dd6dac658ce9f761.png||height="263" width="500" class="img-thumbnail"]]
2661
2662 (% style="text-align:center" %)
2663 [[image:5V帮助文档_中性_html_d35d37b5c5f1b474.png||height="211" width="300" class="img-thumbnail"]]
2664
2665
2666 (% style="text-align:center" %)
2667 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||height="259" width="300" class="img-thumbnail"]]
2668
2669 * Cancel encryption: After entering the correct password, cancel the encryption of the program page.
2670
2671 (% style="text-align:center" %)
2672 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||height="211" width="300" class="img-thumbnail"]]
2673
2674 * Modify password: After entering the original program page password, set a new program page password.
2675
2676 (% style="text-align:center" %)
2677 [[image:5V帮助文档_中性_html_9c6f7d5b041a8b03.png||height="211" width="300" class="img-thumbnail"]]
2678
2679 * 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.
2680
2681 (% style="text-align:center" %)
2682 [[image:5V帮助文档_中性_html_1fa6c9b9e704123e.png||height="211" width="300" class="img-thumbnail"]]
2683
2684 (% style="text-align:center" %)
2685 [[image:5V帮助文档_中性_html_e02828a01a47d034.png||height="259" width="300" class="img-thumbnail"]]
2686
2687 1. Settings: You can view the author, date of creation, and remarks on the program page.
2688
2689 (% style="text-align:center" %)
2690 [[image:5V帮助文档_中性_html_c759000c8e559104.png||height="372" width="300" class="img-thumbnail"]]
2691
2692 * Configuration: The time and interrupt program page can click the configuration button to set the trigger condition.
2693
2694 (% style="text-align:center" %)
2695 [[image:5V帮助文档_中性_html_3dfaca311d1985d9.png||height="401" width="600" class="img-thumbnail"]]
2696
2697 1. Move up: Move the program page up, used to adjust the execution order of the program page.
2698
2699 (% style="text-align:center" %)
2700 [[image:5V帮助文档_中性_html_94faf2e95ee9b671.png||height="256" width="300" class="img-thumbnail"]]
2701
2702
2703 (% style="text-align:center" %)
2704 [[image:5V帮助文档_中性_html_d07ec8d22a4d2124.png||height="262" width="300" class="img-thumbnail"]]
2705
2706 1. Move down: Move the program page down to adjust the execution order of the program page.
2707
2708 (% style="text-align:center" %)
2709 [[image:5V帮助文档_中性_html_5cbaa91e1de6507d.png||height="287" width="300" class="img-thumbnail"]]
2710
2711
2712 (% style="text-align:center" %)
2713 [[image:5V帮助文档_中性_html_26f9c3fcfd8bcf9.png||height="288" width="300" class="img-thumbnail"]]
2714
2715 **2)Device comment**
2716
2717 Device comment module: A .wcp2 file has and only one module named COMMENT "device comment".
2718
2719 Double-click "COMMENT" and the following interface will appear:
2720
2721 (% style="text-align:center" %)
2722 [[image:5V帮助文档_中性_html_394b0adad39bfa55.png||height="682" width="1200" class="img-thumbnail"]]
2723
2724 **Interface label description:**
2725
2726 **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.
2727
2728 **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.
2729
2730 **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:
2731
2732 (% style="text-align:center" %)
2733 [[image:5V帮助文档_中性_html_44cc58ed200be21d.png||height="688" width="300" class="img-thumbnail"]]
2734
2735 **Interface button description:**
2736
2737 Display commented devices: The comment list displays all devices with comments or aliases.
2738
2739 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).
2740
2741 Export EXCEL: Export and save all the devices information of edit devices comments or aliases as *.xls files to local disk.
2742
2743 **3)Parameter**
2744
2745 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.
2746
2747 Double-click the "PLC Parameters" node and the interface as shown on the left will appear:
2748
2749 (% style="text-align:center" %)
2750 [[image:5V帮助文档_中性_html_9125c6e25b27de33.png||height="415" width="700" class="img-thumbnail"]]
2751
2752 **Interface button description:**
2753
2754 * 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.
2755 * Reset: Click this button to restore the default settings.
2756 * OK: Complete the correct PLC parameter change and set it.
2757 * Cancel: Cancel the PLC parameter setting and keep the parameter setting before the change.
2758
2759 **~1. Devices latch**
2760
2761 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.
2762
2763 (% style="text-align:center" %)
2764 [[image:5V帮助文档_中性_html_6e4356d226d3b009.png||height="416" width="700" class="img-thumbnail"]]
2765
2766 **2. COM1 settings**
2767
2768 (% style="text-align:center" %)
2769 [[image:5V帮助文档_中性_html_84b7a9f11d75a88c.png||height="416" width="700" class="img-thumbnail"]]
2770
2771 Whether to set: whether to enable the COM1 port configuration.
2772 Baud rate: select the data transmission rate.
2773
2774 Data bits: select the data length.
2775
2776 Stops: select the number of stop bits.
2777
2778 Check bit: Select the check digit.
2779
2780 Station No.: Set the station number, ranging from 1 to 47.
2781
2782 **3. COM2 settings**
2783
2784 (% style="text-align:center" %)
2785 [[image:5V帮助文档_中性_html_ef25b614b6b21364.png||height="414" width="700" class="img-thumbnail"]]
2786
2787 Whether to set: whether to enable the COM1 port configuration.
2788
2789 **(1), communication settings**
2790
2791 Baud rate: select the data transmission rate.
2792
2793 Data bits: select the data length.
2794
2795 Stops: select the number of stop bits.
2796
2797 Check bit: Select the check digit.
2798
2799 Timeout: Set the timeout time, the range is 0~~32767.
2800
2801 Sending interval: Set the sending interval, the range is 0~~32767.
2802
2803 Protocol: Select the communication protocol.
2804
2805 **(2), agreement related**
2806
2807 Station No.: Set the station number. According to different protocols, the station number setting range is different.
2808
2809 Whether to enable the start character: used to customize the protocol.
2810
2811 Header: set the end character for custom protocol.
2812
2813 Whether to enable terminator: used to customize the protocol.
2814
2815 Terminator: Set the terminator to customize the agreement.
2816
2817 Timeout between characters: used to customize the protocol.
2818
2819 **4)Devices memory**
2820
2821 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.
2822
2823 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:
2824
2825 (% style="text-align:center" %)
2826 [[image:5V帮助文档_中性_html_a6e26997559e3d17.png||height="682" width="1200" class="img-thumbnail"]]
2827
2828 **Interface label description:**
2829
2830 **Please input the device:** input the device to be searched, and press Enter to locate the device to be searched.
2831
2832 **List of Device intervals:** Divided into 10 intervals C, D, HSC, LC, M, R, S, T, V, Z.
2833
2834 (% style="text-align:center" %)
2835 [[image:5V帮助文档_中性_html_b83cc213845b2ee0.png||height="369" width="300" class="img-thumbnail"]]
2836
2837 **Device value display area**: currently editing operations are prohibited.
2838
2839 (% style="text-align:center" %)
2840 [[image:5V帮助文档_中性_html_41e88cb8867d2780.png||height="682" width="1200" class="img-thumbnail"]]
2841
2842 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).
2843
2844 The data can be expressed in size: 16 bits and 32 bits.
2845
2846 **The data size that each format can represent when the length is 16 bits:**
2847
2848 1. Binary: 0000000000000000 ~~1111111111111111;
2849 1. Octal: 0~~1777777;
2850 1. Decimal: -32768~~32767;
2851 1. Hexadecimal: 0~~FFFF;
2852 1. String: the size of 2 characters in length;
2853 1. ASCII: 2 ASCII code values.
2854
2855 **The data size that each format can represent when the length is 32 bits:**
2856
2857 1. Binary: 00000000 00000000 00000000 00000000 ~~11111111 11111111 11111111 11111111;
2858 1. Octal: 0~~37777777777;
2859 1. Decimal: -2147483648~~2147483647;
2860 1. Hexadecimal: 0 ~~ FFFF FFFF FFFF FFFF;
2861 1. String: the size of the length of 4 strings;
2862 1. ASCII: 4 ASCII code values;
2863 1. Real number: ±1.175495E-38 ~~±3.402823E+38.
2864
2865 **5)Electronic cam**
2866
2867 1. In the project management window, right-click the electronic cam node to create a new electronic cam table.
2868
2869 (% style="text-align:center" %)
2870 [[image:5V帮助文档_中性_html_772b0f2c063c7bdf.png||height="305" width="300" class="img-thumbnail"]]
2871
2872
2873 (% style="text-align:center" %)
2874 [[image:5V帮助文档_中性_html_eec94f52f6d7038e.png||height="203" width="300" class="img-thumbnail"]]
2875
2876 1. Open the electronic cam interface and set the data.
2877
2878 (% style="text-align:center" %)
2879 [[image:5V帮助文档_中性_html_b1e3be1ad040658e.png||height="696" width="1200" class="img-thumbnail"]]
2880
2881 1. Click the parameter setting to set the parameters, such as the starting device, which indicates the starting position of the download time.
2882
2883 (% style="text-align:center" %)
2884 [[image:5V帮助文档_中性_html_1dd63794eea30141.png||height="555" width="700" class="img-thumbnail"]]
2885
2886 1. Through import and export, the electronic cam table information written by other programs can be imported into the electronic cam table.
2887 1. Download the electronic cam, you can download the electronic cam to the lower computer.
2888
2889 **6)Instruction Set**
2890
2891 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.
2892
2893 (% style="text-align:center" %)
2894 [[image:5V帮助文档_中性_html_e604a54f978bf5c9.png||height="479" width="300" class="img-thumbnail"]]
2895
2896 == **Output window** ==
2897
2898 **1)Output window**
2899
2900 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.
2901
2902 (% style="text-align:center" %)
2903 [[image:5V帮助文档_中性_html_90e91b513b595ebb.png||height="256" width="800" class="img-thumbnail"]]
2904
2905 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.
2906
2907 == **Search and replace window** ==
2908
2909 **1)Search and replace function**
2910
2911 **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.
2912
2913 **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:
2914
2915 (% style="text-align:center" %)
2916 [[image:5V帮助文档_中性_html_b92476f464af9b7d.png||height="336" width="700" class="img-thumbnail"]]
2917
2918 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.
2919
2920 == **Device value modification** ==
2921
2922 **1)Device value modification**
2923
2924 Modify the device value: modify the PLC internal register and coil value; modify the expansion device register value.
2925
2926 As shown below:
2927
2928 (% style="text-align:center" %)
2929 [[image:5V帮助文档_中性_html_7587d5d838501899.png||height="487" width="500" class="img-thumbnail"]]
2930
2931 **The above figure is explained in detail as follows:**
2932
2933 **PLC internal devices:**
2934
2935 **~1. Devices:**
2936
2937 1. "Devicess" are registers and coils (such as C0, M1, etc.) whose values need to be modified within the PLC range.
2938 1. "Data type" includes Word (single word), Bit (binary 0 or 1), Double Word (double word), Float (single precision floating point number).
2939 1. "Value" is the specific value to be modified (corresponding to the number in the range of "Data Type"), such as -120.
2940 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).
2941 1. Click "Set" to write the set value within the correct range to the selected device.
2942
2943 **2. Execution result: **record the successfully modified "device", "data type" and "set value" in the form of a list.
2944
2945 **3. Record list:** Click any one in the list, click "Delete" to delete it.
2946
2947 Click "Clear List" to clear the record list.
2948
2949 Select any one in the record list and click "**Reflect to Input Field**" to reflect the items in [1, device].
2950
2951 **PLC external expansion module:**
2952
2953 1. "Module start" is the extension module number (such as module 0).
2954 1. "Address" is the internal writable address of the expansion module, and the address type can be decimal or hexadecimal.
2955 1. "Data type" includes Word (single word), Double Word (double word), Float (single precision floating point number).
2956 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.
2957 1. Range: decimal (single word -32768~~32767, double word -2147483648~~2147483647), or hexadecimal (single word 0~~FFFF, double word 0~~FFFFFFFF).
2958 1. Click "Set" to write the set value within the correct range to the selected device.
2959
2960 **✎Note: **
2961
2962 1. Modification of the device value must be completed in the case of communication with the PLC.
2963 1. The device must be within the available range of the corresponding PLC model.
2964 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).
2965
2966 == **Print ladder diagram** ==
2967
2968 The print function is divided into: print, print preview, and print settings.
2969
2970 **1)Preconditions for printing function**
2971
2972 (1) Open the project file (not the project file generated by the "Generate Download File" function).
2973
2974 (2) The program has all been compiled.
2975
2976 (3) The program is in edit mode.
2977
2978 Only when the above three conditions are met, the print button can be clicked:
2979
2980 (% style="text-align:center" %)
2981 [[image:5V帮助文档_中性_html_4a3514f38a7f788c.png||height="350" width="150" class="img-thumbnail"]]
2982
2983 **2)Printing preview**
2984
2985 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:
2986
2987 (% style="text-align:center" %)
2988 [[image:5V帮助文档_中性_html_358b997f8596889a.png||height="535" width="700" class="img-thumbnail"]]
2989
2990 **Print preview interface:**
2991
2992 (% style="text-align:center" %)
2993 [[image:5V帮助文档_中性_html_a4bfbcc21b73893c.png||height="305" width="700" class="img-thumbnail"]]
2994
2995 **3)Print out**
2996
2997 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.
2998
2999 (% style="text-align:center" %)
3000 [[image:5V帮助文档_中性_html_aca7cc53d9a9c6a4.png||height="363" width="500" class="img-thumbnail"]]
3001
3002 **4)Printer settings**
3003
3004 Set print information. As shown below:
3005
3006 (% style="text-align:center" %)
3007 [[image:5V帮助文档_中性_html_4509367d76861edf.png||height="378" width="500" class="img-thumbnail"]]
3008
3009 == **Status Bar** ==
3010
3011 **1)Status Bar**
3012
3013 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.
3014
3015 (% style="text-align:center" %)
3016 [[image:5V帮助文档_中性_html_e600547de77c9c6c.png||height="27" width="800" class="img-thumbnail"]]
3017
3018 * Language: The language type displayed by the software. Highlighted means enabled.
3019 * Case status: English input status.
3020 * Numeric keypad lock: Whether the numeric keypad is available.
3021 * Rewrite/insert state: ladder diagram editing mode.
3022 * Communication port: communication COM port, click to pop up the communication setting window.
3023 * Project Type: Display the PLC model of the current project.
3024 * Current program steps/total program steps: Program editing page, program steps of the currently selected instruction/total program steps.
3025
3026 == **Device usage list** ==
3027
3028 **1)Device usage list**
3029
3030 The device usage list mainly displays the specified type of device, check the usage, and the corresponding comment and alias of the device.
3031
3032 (% style="text-align:center" %)
3033 [[image:5V帮助文档_中性_html_cdf7d5cd84a2e8dd.png||height="454" width="1200" class="img-thumbnail"]]
3034
3035 **Instructions for using the list of devices:**
3036
3037 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).
3038
3039 (% style="text-align:center" %)
3040 [[image:5V帮助文档_中性_html_913e6ee52eb6e334.png||height="346" width="300" class="img-thumbnail"]]
3041
3042 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.
3043
3044 (% style="text-align:center" %)
3045 [[image:5V帮助文档_中性_html_47cd0e948e54519c.png||height="65" width="200" class="img-thumbnail"]]
3046
3047 1. Search button: perform a search operation. When the starting device is empty, it will prompt to input a device.
3048
3049 (% style="text-align:center" %)
3050 [[image:5V帮助文档_中性_html_66a6f580b9c0c44c.png||height="45" width="100" class="img-thumbnail"]]
3051
3052 1. Search range: Specify the search range of the device.
3053
3054 (% style="text-align:center" %)
3055 [[image:5V帮助文档_中性_html_88d6e92e19a0506e.png||height="63" width="200" class="img-thumbnail"]]
3056
3057 Current program page: Search only for the currently active program page.
3058
3059 Current program type: only for all program pages of the same type in the currently activated program page.
3060
3061 Entire project: for all program pages of the current project.
3062
3063 (The program page types are divided into: scan, event, subroutine, interrupt)
3064
3065 1. Expand and close the sub-items of the device usage list.
3066
3067 (% style="text-align:center" %)
3068 [[image:5V帮助文档_中性_html_20f51e155751f6fb.png||height="53" width="700" class="img-thumbnail"]]
3069
3070 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.
3071
3072 (% style="text-align:center" %)
3073 [[image:5V帮助文档_中性_html_af6f863da7a6a1f8.png||height="73" width="700" class="img-thumbnail"]]
3074
3075 1. Device comment and alias column: (the background color is white) shows the comment or alias of the device.
3076
3077 (% style="text-align:center" %)
3078 [[image:5V帮助文档_中性_html_6141a76952650a78.png||height="76" width="700" class="img-thumbnail"]]
3079
3080 **Display options:**
3081
3082 1. All devicess: After selecting, search all devicess of this type.
3083
3084 (% style="text-align:center" %)
3085 [[image:5V帮助文档_中性_html_fbaecf403347d02b.png||height="65" width="400" class="img-thumbnail"]]
3086
3087 1. Use devices: After selecting, search for the used devices of this type according to the contact and coil options.
3088
3089 (% style="text-align:center" %)
3090 [[image:5V帮助文档_中性_html_305d195aeaed9291.png||height="65" width="400" class="img-thumbnail"]]
3091
3092 Neither the contact nor the coil is selected, and all the devicess of this type that have been used in the program are displayed.
3093
3094 Select the contact (coil) to display the type of devices as the contact (coil) in the program.
3095
3096 Select both contacts and coils, and display the type of devices that are used as contacts and coils in the program.
3097
3098 1. Unused devices: After selecting, display all the devicess of this type that are not used in the program.
3099
3100 (% style="text-align:center" %)
3101 [[image:5V帮助文档_中性_html_fd0d9a97419875b3.png||height="65" width="400" class="img-thumbnail"]]
3102
3103 = **Shortcut keys list** =
3104
3105 == **Universal shortcut keys** ==
3106
3107 **The general shortcut keys are as follows:**
3108
3109 (% class="table-bordered" %)
3110 |**hot key**|(% style="width:343px" %)**Corresponding menu (function name)**|(% style="width:641px" %)**summary**
3111 |Ctrl + N|(% style="width:343px" %)New Project|(% style="width:641px" %)New Project
3112 |Ctrl + O|(% style="width:343px" %)Open the project|(% style="width:641px" %)Open an existing project
3113 |Ctrl + S|(% style="width:343px" %)Save the project|(% style="width:641px" %)Save the project
3114 |Ctrl + X|(% style="width:343px" %)Cut|(% style="width:641px" %)Cut selected data and range
3115 |Ctrl + C|(% style="width:343px" %)Copy|(% style="width:641px" %)Copy selected data and range
3116 |Ctrl + V|(% style="width:343px" %)Paste|(% style="width:641px" %)Cut/paste the copied data at the cursor position
3117 |Ctrl + Z|(% style="width:343px" %)Revoke|(% style="width:641px" %)Undo the previous operation
3118 |Ctrl + Y|(% style="width:343px" %)restore|(% style="width:641px" %)Resume the operation cancelled by [Undo]
3119 |Ctrl + F|(% style="width:343px" %)Search|(% style="width:641px" %)Search
3120 |Ctrl + F1|(% style="width:343px" %)Show/hide menu toolbar|(% style="width:641px" %)Show/hide menu toolbar
3121 |F3|(% style="width:343px" %)Start Monitoring|(% style="width:641px" %)Currently, start to monitor the window that is the target of the operation
3122 |Ctrl + F3|(% style="width:343px" %)Monitoring stop|(% style="width:641px" %)Currently, stop monitoring the window that is the target of operation
3123 |F4|(% style="width:343px" %)Compile|(% style="width:641px" %)Compile (transform) the program page currently being edited
3124 |Ctrl+F4|(% style="width:343px" %)Compile all|(% style="width:641px" %)Compile (transform) all program pages in the current project
3125 |Alt+F4|(% style="width:343px" %)Exit the software|(% style="width:641px" %)Exit the software
3126
3127 **A.Shortcut keys of the ladder diagram editor**
3128
3129 **The shortcut keys that can be used in the ladder diagram editor are as follows:**
3130
3131 (% class="table-bordered" %)
3132 |**hot key**|**Corresponding menu (function name)**|**summary**
3133 |F5|Normally open contact|Write the normally open contact to the cursor position
3134 |Shift + F5|Normally open contact OR|Write the normally open contact OR to the cursor position
3135 |F6|Normally closed contact|Write the normally closed contact to the cursor position
3136 |Shift + F6|Normally closed contact OR|Write the normally closed contact OR to the cursor position
3137 |F7|Coil|Write the coil to the cursor position
3138 |F8|Application instructions|Write application instructions to the cursor position
3139 |F9|Horizontal line input|Write horizontal line to cursor position
3140 |F11|Vertical line input|Write the vertical line to the cursor position
3141 |Ctrl + F9|Delete horizontal line|Delete the horizontal line at the cursor position
3142 |Ctrl + F11|Delete vertical line|Delete the vertical line at the cursor position
3143 |Shift + F7|Rising edge pulse|Write the rising edge pulse to the cursor position
3144 |Shift + F8|Falling edge pulse|Write the falling edge pulse to the cursor position
3145 |Ctrl + Alt + F7|Parallel rising edge pulse|Write the parallel rising edge pulse to the cursor position
3146 |Ctrl + Alt + F8|Parallel falling edge pulse|Write the parallel falling edge pulse to the cursor position
3147 |Ctrl + Alt + F11|Invert the result of the operation|Write the result of the calculation to the cursor position
3148 |Ctrl + Shift + Insert|Insert statement between lines|Insert the declaration line at the cursor position
3149 |Shift + Insert|Program line insertion|Insert the program line at the cursor position
3150 |Shift + Delete|Row delete|Delete the line at the cursor position
3151 |Ctrl + Insert|Column insert|Insert column at cursor position
3152 |Ctrl + Delete|Column delete|Delete the column at the cursor position
3153 |Ctrl + →|Enter/delete horizontal line in the right direction|Enter/delete horizontal line from the cursor position to the right
3154 |Ctrl + ←|Horizontal line input/delete in the left direction|Enter/delete horizontal line from the cursor position to the left
3155 |Ctrl + ↓|Enter/delete the vertical line in the downward direction|Enter/delete the vertical line from the cursor position down
3156 |Ctrl + ↑|Upward vertical line input/delete|Enter/delete the vertical line up from the cursor position
3157 |Ctrl + /|Normally open/normally closed contact switch|Switch between normally open contact and normally closed contact
3158 |Ctrl + G|Jump|Display jump to the instruction position corresponding to the specified number of steps
3159 |Ctrl + F5|Comment display|Display device comments and label comments
3160 |Ctrl + F7|Statement display|Show statement
3161 |F1|Open instruction help|Show command help