Wiki source code of 16 PLC Editor2 help

Version 69.1 by Jim on 2023/08/10 14:13

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 (% style="text-align:center" %)
22 [[image:image-20220623161849-29.jpeg||height="861" width="1440"]]
23
24 == Create a project ==
25
26 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:
27
28 * PLC series
29 * PLC model
30 * PLC language
31
32 **To create a new project, please operate as shown in the figure below:**
33
34 1. Move the mouse to the upper left corner of the program, and click the "File" menu.
35 1. After clicking the "File"  menu, a new dialog box will pop up.
36
37 (% style="text-align:center" %)
38 [[image:image-20220623134722-3.jpeg||height="348" width="429"]]
39
40 (% start="3" %)
41 1. Select "PLC Series", "PLC Model" and "Program Language" through the drop-down box.
42 1. Click the "OK" button to create a new project.
43
44 (% style="text-align:center" %)
45 [[image:image-20220623134805-4.jpeg]]
46
47 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:
48
49 [[image:image-20220623135152-5.jpeg]]
50
51 (% class="box infomessage" %)
52 (((
53 **✎Note:** For the operation of specific project management function, please refer to the relevant chapters.
54 )))
55
56 == Add instructions ==
57
58 1. When a project is created, expand the directory tree of "Project Manager".
59
60 (% style="text-align:center" %)
61 [[image:image-20220629110655-2.jpeg]]
62
63 (% start="2" %)
64 1. After expanding "Project Manager", click "Instructions" ->"Basic instructions", select the specific instruction,such as "LD".
65
66 (% style="text-align:center" %)
67 [[image:image-20220623140414-8.jpeg||height="598" width="268"]]
68
69 (% start="3" %)
70 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".
71
72 (% style="text-align:center" %)
73 [[image:image-20220625113552-26.jpeg]]
74
75 (% style="text-align:center" %)
76 [[image:image-20220625113604-27.jpeg||height="184" width="916"]]
77
78 (% class="box infomessage" %)
79 (((
80 **✎Note: **
81
82 * 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.
83 * If you want to add multiple instructions, repeat the above operation until all the instructions are added.
84 )))
85
86 == Compile program ==
87
88 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.
89
90 (% style="text-align:center" %)
91 [[image:image-20220623144306-12.jpeg]]
92
93 If compiled successfully, it is shown as below.
94
95 (% style="text-align:center" %)
96 [[image:image-20220623144157-11.jpeg]]
97
98 If compilation fails, it is shown as below.
99
100 (% style="text-align:center" %)
101 [[image:image-20220623153633-19.jpeg]]
102
103 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.
104
105 (% class="box infomessage" %)
106 (((
107 **✎Note:** The program could be downloaded to the PLC only when the compilation is successful or there are no errors.
108 )))
109
110 == Communication test ==
111
112 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.
113
114 **Preparation steps:**
115
116 1. Open and run PLC Editor.
117 1. Click "Transfer Settings] of "Online" module above the program panel. As shown below:
118
119 (% style="text-align:center" %)
120 [[image:image-20220623145502-14.jpeg]]
121
122 (% start="3" %)
123 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.
124
125 (% style="text-align:center" %)
126 [[image:image-20220623154113-20.jpeg]]
127
128 * **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.
129 * **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!
130 ** **✎Note:** Currently Ethernet is only supported by 5V-N series and 6V series.
131 * **Serial port (COM) connection**: Used when downloading programs or monitoring device using the PLC's round head (8-pin head).
132
133 (% start="4" %)
134 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.
135
136 (% style="text-align:center" %)
137 [[image:image-20220623154122-21.jpeg]]
138
139 **✎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.
140
141 (% start="5" %)
142 1. After completing the settings, you could click the "Communication Test" or "OK" to perform a connection test.
143 1. If the test fails, the system will prompt as below.
144
145 (% style="text-align:center" %)
146 [[image:image-20220623153332-17.jpeg]]
147
148 (% start="7" %)
149 1. The connection is successful as shown in the figure below:
150
151 (% style="text-align:center" %)
152 [[image:image-20220623153337-18.jpeg]]
153
154 (% start="8" %)
155 1. After successful communication, you could click “Device Info“ to view the device information.
156
157 (% style="text-align:center" %)
158 [[image:image-20220623154456-22.jpeg]]
159
160 == Download program ==
161
162 **Work to be done before downloading:**
163
164 1. Open the compiler;
165 1. Create a new project and make the project compile successfully;
166 1. Install the corresponding PLC driver on the PC and connect the PLC and PC;
167 1. Complete the communication setting through the compiler.
168
169 **Start downloading**
170
171 * 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:
172
173 (% style="text-align:center" %)
174 [[image:image-20220623155646-23.jpeg]]
175
176 * The online operation window is shown in the figure below:
177
178 (% style="text-align:center" %)
179 [[image:image-20220623160440-24.jpeg]]
180
181 * 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:
182
183 (% style="text-align:center" %)
184 [[image:image-20220623160446-25.jpeg]]
185
186 * 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:
187
188 (% style="text-align:center" %)
189 [[image:image-20220623160453-26.jpeg]]
190
191 * After clicking "Yes", the download and compile window will start to run. As shown below:
192
193 (% style="text-align:center" %)
194 [[image:image-20220623160458-27.jpeg||height="619" width="742"]]
195
196 * When the progress bar in the download window completes the progress, the system will promt "Write to PLC(Complete)". As shown below:
197
198 (% style="text-align:center" %)
199 [[image:image-20220623160503-28.jpeg]]
200
201 = **2 Overall introduction** =
202
203 After the software is started, enter the main interface, as shown in the figure below:
204
205 [[image:image-20220623161945-30.jpeg]]
206
207 == Toolbar ==
208
209 Most of the functions of the software can be found here, which are divided into PLC, view and help.
210
211 [[image:image-20220625155137-1.jpeg]]
212
213 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.
214 1. Functions such as each floating window and ladder diagram display scale can be enabled in the view classification.
215 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.
216
217 == Project management ==
218
219 It is used to create new programs, operate program pages or program blocks, and configure PLC parameters.
220
221 (% style="text-align:center" %)
222 [[image:image-20220623162814-32.jpeg]]
223
224 == Ladder editing ==
225
226 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.
227
228 (% style="text-align:center" %)
229 [[image:image-20220625113828-28.jpeg||height="197" width="983"]]
230
231 == Floating windows ==
232
233 It is used to display or realize a specific function, which will be explained in detail in the following chapters.
234
235 (% style="text-align:center" %)
236 [[image:image-20220629110748-3.jpeg]]
237
238 **Status bar:** used to display the status of the PLC or program page.
239
240 (% style="text-align:center" %)
241 [[image:image-20220623163359-35.jpeg]]
242
243 = **3 PLC function menu** =
244
245 == Clipboard ==
246
247 Clipboard is a basic function of PLC Editor2 and has a very important function. This chapter will explain the basic description of the clipboard.
248
249 The clipboard has five functions: "Cut", "Copy", "Paste", "Undo" and "Redo".
250
251 (% style="text-align:center" %)
252 [[image:image-20220623170127-36.jpeg]]
253
254 * **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.
255 * **Copy:** After selecting the ladder diagram, you could use the "Ctrl+C" command or the right mouse button to copy the specified data.
256 * **Paste: **After selecting the ladder diagram, you can use the "Ctrl+V" command or the right mouse button to paste the specified data.
257 * **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.
258 * **Redo: **Through the "Ctrl+Y" or the right mouse button, you could return to the previous action after canceling the event.
259
260 == Ladder symbol ==
261
262 PLC Eidtor provides powerful and complete functions in the menu bar, which can greatly improve programming efficiency, as shown in the following figure:
263
264 (% style="text-align:center" %)
265 [[image:image-20220623171113-37.jpeg||height="120" width="247"]]
266
267 **The following table is a detailed description of the ladder diagram.**
268
269 |=(% scope="row" style="width: 107px;" %)**Image**|=(% style="width: 378px;" %)**Instruction**|=(% style="width: 371px;" %)**Command function description**|=(% style="width: 220px;" %)**Hot key**
270 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_17467c64c59b7dcc.jpg||height="35" width="35"]]|(% style="width:378px" %)LD AND|(% style="width:371px" %)Input series normally open |(% style="width:220px" %)F5
271 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_78ee1c120297f15c.jpg||height="35" width="35"]]|(% style="width:378px" %)OR|(% style="width:371px" %)Input parallel normally open|(% style="width:220px" %)SHIFT+F5
272 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_6d69b74c12b3d4ac.jpg||height="35" width="35"]]|(% style="width:378px" %)LDI ANI|(% style="width:371px" %)Input series normally close|(% style="width:220px" %)F6
273 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_16ca0a4e28932a25.jpg||height="35" width="35"]]|(% style="width:378px" %)ORI|(% style="width:371px" %)Input parallel normally open|(% style="width:220px" %)SHIFT+F6
274 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_91ad97fbb1766cde.jpg||height="35" width="35"]]|(% style="width:378px" %)OUT|(% style="width:371px" %)Ladder diagram output coil|(% style="width:220px" %)F7
275 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_bb11bf59792412cb.jpg||height="35" width="35"]]|(% style="width:378px" %)CJ/CALL and other application instructions|(% style="width:371px" %)Inpuyt application instructions|(% style="width:220px" %)F8
276 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_e11c169668fbc3d7.jpg||height="35" width="35"]]|(% style="width:378px" %) |(% style="width:371px" %)Ladder diagram input horizontal line|(% style="width:220px" %)F9
277 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_25d3575219c37c40.jpg||height="35" width="35"]]|(% style="width:378px" %) |(% style="width:371px" %)Ladder diagram input vertical line|(% style="width:220px" %)F11
278 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_e1fd81d831e4cc1e.jpg||height="35" width="35"]]|(% style="width:378px" %) |(% style="width:371px" %)Delete horizontal line in ladder diagram|(% style="width:220px" %)CTRL+F9
279 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_50a964bc9aa2388f.jpg||height="35" width="35"]]|(% style="width:378px" %) |(% style="width:371px" %)Delete vertical line in ladder diagram|(% style="width:220px" %)CTRL+F11
280 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_4c194d2b4c3e9166.jpg||height="35" width="35"]]|(% style="width:378px" %)LDP ANP|(% style="width:371px" %)Input series rising edge pulse|(% style="width:220px" %)SHIFT+F7
281 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_4e945174029d8824.jpg||height="35" width="35"]]|(% style="width:378px" %)LDF ANF|(% style="width:371px" %)Input series falling edge pulse|(% style="width:220px" %)SHIFT+F8
282 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_94c5f7c4566eeb6e.jpg||height="35" width="35"]]|(% style="width:378px" %)ORP|(% style="width:371px" %)Input parallel rising edge pulse|(% style="width:220px" %)CTRL+ALT+F7
283 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_fe027a1353a855e2.jpg||height="35" width="35"]]|(% style="width:378px" %)ORF|(% style="width:371px" %)Input parallel falling edge pulse|(% style="width:220px" %)CTRL+ALT+F8
284 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_8213f80a4dec5ecc.jpg||height="35" width="35"]]|(% style="width:378px" %)INV|(% style="width:371px" %)Invert the result of the operation|(% style="width:220px" %)CTRL+ALT+F11
285 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_bd63cbbc541dc1c9.png||height="35" width="35"]]|(% style="width:378px" %) |(% style="width:371px" %)Line segment input|(% style="width:220px" %)SHIFT+F9
286 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_fb82ee5fc2b94c23.png||height="42" width="35"]]|(% style="width:378px" %) |(% style="width:371px" %)Line segment deletion|(% style="width:220px" %)SHIFT+F11
287 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_236aac83ad0c365e.png||height="37" width="35"]]|(% style="width:378px" %)MEP|(% style="width:371px" %)Rising edge pulsing of operation results|(% style="width:220px" %)ALT+F5
288 |=(% style="width: 107px;" %)[[image:5V帮助文档_中性_html_fc7bf55c55a8fc75.png||height="35" width="35"]]|(% style="width:378px" %)MEF|(% style="width:371px" %)Falling edge pulsing of operation results|(% style="width:220px" %)CTRL+ALT+F5
289
290 == Comment&statement ==
291
292 Editing comments or statement is mainly to comment the code in the project to better interpret the project.
293
294 As shown in the figure below, it enters the editing state.
295
296 (% style="text-align:center" %)
297 [[image:image-20220623172114-38.jpeg||height="129" width="125"]]
298
299 === Edit comment ===
300
301 Function: Comment on the device.
302
303 Prerequisite: devices are required on the ladder diagram.
304
305 Step:
306
307 1. Click the "Comment" button, when the button color becomes darker, it will enter the editing state.
308 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.
309 1. At this time, you could enter the specified comment in the column input box.
310 1. After editing the comment, click “Execute" to save it.
311
312 **✎Note:** The comment can be edited up to 128 characters, and the alias can be edited up to 8 characters.
313
314 (% style="text-align:center" %)
315 [[image:image-20220623172401-39.jpeg]]
316
317 **Result:**
318
319 (% style="text-align:center" %)
320 [[image:image-20220623172710-40.jpeg]]
321
322 === Edit statement ===
323
324 Function: Annotate the ladder diagram block.
325
326 **Step:**
327
328 1. Click the "Statement" button, when the button color becomes darker, it will enter the editing state.
329 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.
330 1. At this time, you could enter the specified statement in the previous input box.
331 1. After editing the statement, click "Execute" to save it.
332
333 **✎Note:** The statement line can edit up to 64 characters, and the statement can be downloaded to the PLC when downloading the ladder diagram.
334
335 (% style="text-align:center" %)
336 [[image:image-20220623172907-41.jpeg]]
337
338 **Result:**
339
340 (% style="text-align:center" %)
341 [[image:image-20220623172913-42.jpeg]]
342
343 == Program compilation ==
344
345 This chapter mainly introduces the program compilation function.
346
347 The program compilation menu has three functions, including compile, switch, and compile all, as shown in the figure below:
348
349 (% style="text-align:center" %)
350 [[image:image-20220624090820-2.jpeg]]
351
352 === Compile ===
353
354 Function: Refers to the form of converting the ladder diagram (program) of the current program page into the instruction list (IL).
355
356 Steps: After compiling the ladder diagram, click compile or use the hot key F4.
357
358 Results:
359
360 * Compiling correctly will prompt that the compilation is successful.
361
362 (% style="text-align:center" %)
363 [[image:image-20220624091026-3.jpeg]]
364
365 * Failure will prompt compilation failure. Locate the error and go to the information output window. You could modify the ladder diagram according to the prompts.
366
367 (% style="text-align:center" %)
368 [[image:image-20220629110819-4.jpeg]]
369
370 (% style="text-align:center" %)
371 [[image:image-20220629110833-5.jpeg]]
372
373 * Double coil inspection, manifested in the form of warning.
374
375 (% style="text-align:center" %)
376 [[image:image-20220624092222-6.png||height="244" width="618"]]
377
378 === Switch ===
379
380 Function: refers to switching the current program page between the ladder diagram interface and the instruction list (IL) interface.
381
382 Steps: Click the switch button on the program page interface.
383
384 Results:
385
386 * In the compiled program page, click to switch to the instruction list interface.
387
388 (% style="text-align:center" %)
389 [[image:image-20220624093016-7.jpeg||class="img-thumbnail"]]
390
391 * In the uncompiled program page, the prompt "The current ladder diagram is not compiled. 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.
392
393 (% style="text-align:center" %)
394 [[image:image-20220624094410-9.jpeg||height="380" width="946"]]
395
396 === Compile all ===
397
398 Function: Refers to converting the ladder diagram of all programs under the current project into the form of instruction list (IL).
399
400 Steps: Click the compile all button or use the shortcut key Ctrl+F4.
401
402 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.
403
404 (% style="text-align:center" %)
405 [[image:image-20220624095005-10.jpeg]]
406
407 == Program mode ==
408
409 === Monitor mode ===
410
411 Function: monitor the value of the devices on the ladder diagram, modify and debug the program.
412
413 **Step:**
414
415 * Connect to the PLC and switch to monitoring mode.
416
417 (% style="text-align:center" %)
418 [[image:image-20220624095815-11.jpeg||height="860" width="1440"]]
419
420 * Right-click the menu, click "Debug" to modify the value of the device.
421
422 (% style="text-align:center" %)
423 [[image:image-20220624095855-12.jpeg||class="img-thumbnail"]]
424
425 * Click the ON, OFF, or ON/OFF inversion to set the device.
426
427 (% style="text-align:center" %)
428 [[image:image-20220624100037-13.jpeg]]
429
430 === Monitor edit ===
431
432 PLC Editor2 provides the "Monitor edit" function. You could edit ladder program in the state of monitoring it.
433
434 Steps:
435
436 * Connect to PLC and switch to "Monitor edit" mode.
437
438 (% style="text-align:center" %)
439 [[image:image-20220624101413-14.jpeg]]
440
441 * Modify ladder diagram
442
443 (% style="text-align:center" %)
444 [[image:image-20220624101446-15.jpeg]]
445
446 * Compile the ladder diagram
447
448 (% style="text-align:center" %)
449 [[image:image-20220624101510-16.jpeg||height="861" width="1440"]]
450
451 * After the compilation, download it to PLC.
452
453 (% style="text-align:center" %)
454 [[image:image-20220624101609-17.jpeg]]
455
456 **✎Note:** The firmware version requires above v2.000 version.
457
458 == Online ==
459
460 The online menu provides rich functions. 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.
461
462 (% style="text-align:center" %)
463 [[image:image-20220624103113-18.jpeg]]
464
465 === Transfer settings ===
466
467 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.
468
469 **Steps:**
470
471 Open PLC Editor2, and click "Online" ->"Transfer Settings". As shown below:
472
473 (% style="text-align:center" %)
474 [[image:image-20220624103242-19.jpeg]]
475
476 "Transfer setting" dialog box will pop up. When using USB connection, select the specified port, it is as shown in the figure below.
477
478 (% style="text-align:center" %)
479 [[image:image-20220624103637-20.jpeg]]
480
481 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,
482
483 **✎Note:** Currently Ethernet configuration is only supported by 5V-N series and 6V series.
484
485 (% style="text-align:center" %)
486 [[image:image-20220624105239-21.jpeg]]
487
488 Click "Devices research" to pop up a search page, as shown below.
489
490 (% style="text-align:center" %)
491 [[image:image-20220624105429-22.jpeg||height="367" width="627"]]
492
493 **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.
494 **The subnet mask matches the network segment:**
495
496 * 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.
497 * 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.
498 * 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.
499
500 **✎Note:** The NIC used for the IP search function is the NIC selected by the user of the NIC selection interface.
501 **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.
502
503 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.
504
505 (% style="text-align:center" %)
506 [[image:image-20220625114042-29.jpeg]]
507
508 You could set the data according to their needs.
509
510 **✎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.
511
512 After completing the settings, you could click the "Communication Test" or "OK" to perform a connection test.
513
514 If the test fails, the system will prompt as below.
515
516 (% style="text-align:center" %)
517 [[image:image-20220624111448-24.jpeg]]
518
519 Successful connection is shown as below.
520
521 (% style="text-align:center" %)
522 [[image:image-20220624111451-25.jpeg||height="186" width="285"]]
523
524 After successful communication, you can click "Device Info" to view the device information.
525
526 (% style="text-align:center" %)
527 [[image:image-20220624111617-26.jpeg]]
528
529 === Read from PLC ===
530
531 **Function: **Upload the data in the series PLC to the software through the communication line.
532
533 (% style="text-align:center" %)
534 [[image:image-20220624114311-27.jpeg]]
535
536 **Interface introduction:**
537
538 * **Para + program: **Upload parameters and programs from the PLC to the software.
539 * **Select all:** Upload parameters, programs, comments, devices memory area settings and electronic cam tables from the PLC to the software.
540 * **Cancel all select:** Cancel all selections.
541 * **Execute: **Start the upload operation.
542 * **Stop: **Stop the upload operation.
543 * **Close:** Exit the current window.
544 * **Execute (upload):** Upload the data of the lower computer to the software.
545 * **Display/Hide: **Display/hide the upload progress and other information, as shown in the figure below:
546
547 (% style="text-align:center" %)
548 [[image:image-20220624114427-28.jpeg]]
549
550 **Steps:**
551
552 Check the data items that need to be uploaded.
553
554 * 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.
555
556 [[image:image-20220624114632-29.jpeg]]
557
558 * 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.
559
560 (% style="text-align:center" %)
561 [[image:image-20220624114647-30.jpeg]]
562
563 Click "Execute" to start uploading. At this time, the PLC needs to be in the stop state.
564
565 (% style="text-align:center" %)
566 [[image:image-20220624114918-31.jpeg]]
567
568 Keep communication and wait for the upload to complete.
569
570 (% style="text-align:center" %)
571 [[image:image-20220624114941-32.jpeg]]
572
573 === Write to PLC ===
574
575 **Function: **Download the ladder diagram program or other configuration to the PLC.
576
577 (% style="text-align:center" %)
578 [[image:image-20220624115206-33.jpeg]]
579
580 **Interface introduction:**
581
582 * **Para + program:** Download parameters and programs to the PLC.
583 * **Select all: **Download parameters, programs, comments, and devices memory area settings to the PLC.
584 * **Cancel all selections:** Cancel all selections.
585 * **Execute: **start the download operation.
586 * **Stop: **stop the download operation.
587 * **Close:** Exit the current window.
588 * **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.
589 * **Display/Hide:** Display/hide the download progress and other information, as shown in the figure below.
590
591 (% style="text-align:center" %)
592 [[image:image-20220624115419-34.jpeg]]
593
594 **Step:**
595
596 Check the data items that need to be downloaded.
597
598 * 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.
599
600 (% style="text-align:center" %)
601 [[image:image-20220624115440-35.jpeg]]
602
603 The PLC needs to be in the stop state when downloading.
604
605 (% style="text-align:center" %)
606 [[image:image-20220624115451-36.jpeg]]
607
608 Keep communication and wait for the download to complete.
609
610 (% style="text-align:center" %)
611 [[image:image-20220624115455-37.jpeg]]
612
613 === Device monitor ===
614
615 **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.
616
617 [[image:image-20220624134515-1.jpeg]]
618
619 **Interface description:**
620
621 * Monitoring start: start the current monitoring, the value of the register can be viewed or modified.
622 * End of monitoring: End the current monitoring, the value of the register cannot be viewed or modified.
623 * Edit current value: After clicking, a dialog box named "Modify device value" will pop up, and you could modify it.
624 * Close: Close the "Device Monitor” interface.
625
626 **Step:**
627
628 * Click "device monitor" to open the interface.
629
630 (% style="text-align:center" %)
631 [[image:image-20220624135018-2.jpeg]]
632
633 * Click "monitoring start" button under the premise of communicating with the PLC.
634
635 (% style="text-align:center" %)
636 [[image:image-20220624135057-3.jpeg]]
637
638 * The devices can be monitored by modifying the monitoring form, display, numerial and bit order .
639
640 (% style="text-align:center" %)
641 [[image:image-20220624135102-4.jpeg]]
642
643 * Switch device, search device and switch to monitor buffer memory.
644
645 [[image:image-20220624135106-5.jpeg]]
646
647 === Clear PLC memory ===
648
649 **Function**: Clear the data of the PLC
650
651 (% style="text-align:center" %)
652 [[image:image-20220624135402-6.jpeg]]
653
654 **Step:**
655
656 1. Before clearing the PLC memory, the PLC needs to be in the stop state.
657 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.
658 1. Click "Execution" and wait for the PLC to clear the data.
659
660 === PLC clock set ===
661
662 **Function:** Set the PLC clock. You could customize the internal time of the PLC to achieve the purpose of accurate calculation.
663
664 Click “ PLC clock set" to open the clock setting interface.
665
666 (% style="text-align:center" %)
667 [[image:image-20220624143649-1.jpeg]]
668
669 **Explanation:**
670
671 * Connection: Display the information of the currently PLC, read the parameters of this PLC, and cannot be changed.
672 * Time and calendar area: you can easily select time information and match freely.
673 * Read PC time: The software will automatically read the current PC time without manual calibration.
674 * Set time: After finishing the setting, click this button to save the current operation setting to the PLC.
675 * Close: Do not save the current operating data, and exit to close this window.
676
677 **Set time:**
678
679 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.
680 1. Click "PLC clock set" to open the time setting window.
681 1. Select the time required by the user in the time control panel or in the calendar panel.
682 1. The time interval of the year is 2000 to 2099; The interval of the month is January to December;
683 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.
684 1. You can also click [Get PC Time] to quickly match the current time (provided that the PC time is accurate).
685 1. After completing the configuration, please click "Set time" to save, otherwise it will not be saved. Successful setting is shown below.
686
687 (% style="text-align:center" %)
688 [[image:image-20220624143711-2.jpeg]]
689
690 === Remote operation ===
691
692 **Function: **Remote operation can quickly change the state of the PLC online and control the switch of the PLC.
693
694 (% style="text-align:center" %)
695 [[image:image-20220624144217-3.jpeg]]
696
697 === PLC diagnostics ===
698
699 **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.
700
701 (% style="text-align:center" %)
702 [[image:image-20220624144649-4.jpeg||height="465" width="819"]]
703
704 === PLC checksum ===
705
706 **Function:** You could select the items that need to be verified by the PLC, as shown in the figure below:
707
708 (% style="text-align:center" %)
709 [[image:image-20220624145100-5.jpeg]]
710
711 Compare the difference between the program in the current PC software and the program in the PLC, as shown in the figure below:
712
713 (% style="text-align:center" %)
714 [[image:image-20220624145157-6.jpeg]]
715
716 Double-click the list, and you could view the specific differences of the program, as shown in the following figure:
717
718 (% style="text-align:center" %)
719 [[image:image-20220624145325-7.jpeg]]
720
721 === Module monitor ===
722
723 **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.
724
725 **Interface description:**
726
727 * **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.
728 * **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.
729 * **Help: **Open the instruction manual of the module where you could find the detailed instructions for the module.
730 * **Refresh: **You can update the module information of the current PLC connection and refresh the module information list.
731 * **Working mode:**
732 ** 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;
733 ** Online: Display the module information of the current PLC connection in the module information list, and monitor/modify the BFM value of the module.
734
735 **Step:**
736
737 * Click "Module Monitor".
738
739 (% style="text-align:center" %)
740 [[image:image-20220624151636-8.jpeg]]
741
742 * Select the module you want to monitor to o view and modify the value.
743
744 (% style="text-align:center" %)
745 [[image:5V帮助文档_中性_html_70be57a90d675c22.png||height="453" width="1200" class="img-thumbnail"]]
746
747 == Tool ==
748
749 === PLC encryption tool ===
750
751 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.
752
753 **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:
754
755 (% style="text-align:center" %)
756 [[image:image-20220624152122-9.jpeg]]
757
758 **Precautions for setting a password:**
759
760 * 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).
761 * The length of the password can only be 8 characters, no more or less than.
762 * When setting a new password, the first time password and the second confirmation password must be the same.
763 * 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).
764 * 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.
765
766 **Steps to set password:**
767
768 * Connect the PLC and PC normally, and run the compiler at the same time;
769 * Turn off the RUN of the PLC;
770 * Click "PLC Encryption Tool" in the "Tool" panel;
771 * After opening a new window, if the "old password" input box cannot be entered, it means that the PLC is not currently encrypted;
772 * Select the type of password that needs to be set, and click "Set". (The following PLC takes uploading password as an example)
773
774 (% style="text-align:center" %)
775 [[image:image-20220624153523-10.jpeg]]
776
777 * Please follow the instructions to fill in the correct password.
778 * If the password length is not enough, there will be a prompt as follows:
779
780 (% style="text-align:center" %)
781 [[image:image-20220624153725-11.jpeg]]
782
783 * If the secondary password is inconsistent, there will be a prompt as shown below:
784
785 (% style="text-align:center" %)
786 [[image:image-20220624153816-12.jpeg]]
787
788 * If the password is successfully set, there will be a prompt as shown below:
789
790 (% style="text-align:center" %)
791 [[image:image-20220624153830-13.jpeg]]
792
793 **Clear password**
794
795 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.
796
797 (% style="text-align:center" %)
798 [[image:image-20220624154242-16.jpeg]]
799
800 **Steps to clear the password:**
801
802 * Connect the PLC and PC normally, and run the compiler at the same time;
803 * Turn off the RUN of the PLC;
804 * Click "PLC Encryption Tool" in the "Tool" panel;
805 * Select the PLC password to be cleared in "Type", and click "Clear".
806 * After opening a new window, please enter the specified password in the "Please enter password" area, and then click "Execute".
807 * If you input the wrong upload password, there will be a prompt as shown below:
808
809 (% style="text-align:center" %)
810 [[image:image-20220624154309-17.jpeg]]
811
812 * If the password is correct, there will be a prompt as shown below:
813
814 (% style="text-align:center" %)
815 [[image:image-20220624154314-18.jpeg]]
816
817 === **Project encryption tool** ===
818
819 In the PLC Editor2, you could set a password for the project file to maintain security. As shown below:
820
821 (% style="text-align:center" %)
822 [[image:image-20220624154810-19.jpeg||class="img-thumbnail"]]
823
824 **Precautions for setting a password:**
825
826 * The length of the password can only be 8 characters, no more or less than.
827 * When setting a new password, the first time password and the second confirmation password must be the same.
828 * 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.
829
830 **Steps to set password:**
831
832 * Click "Project encryption tool" in the "Tool" panel;
833 * After opening a new window, if the "old password" input box cannot be entered, it means that the PLC is not currently encrypted;
834 * Select the password that needs to be entered, and click "Set".
835
836 (% style="text-align:center" %)
837 [[image:image-20220624155700-20.jpeg]]
838
839 * Please follow the instructions to fill in the correct password.
840 * If the password is not long enough, there will be a prompt as shown below:
841
842 (% style="text-align:center" %)
843 [[image:image-20220624155810-21.jpeg]]
844
845 * If the secondary password is inconsistent, there will be a prompt as shown below:
846
847 (% style="text-align:center" %)
848 [[image:image-20220624155815-22.jpeg]]
849
850 * If the password is successfully set, there will be a prompt as shown below:
851
852 (% style="text-align:center" %)
853 [[image:image-20220624155841-23.jpeg]]
854
855 **Clear password**
856
857 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.
858
859 (% style="text-align:center" %)
860 [[image:image-20220624155909-24.jpeg]]
861
862 **Steps to clear the password:**
863
864 * Click "PLC Encryption Tool" in the "Tool" panel, and click "Clear".
865 * After opening a new window, please enter the specified password in the "Please enter password" area, and then click "Execute".
866 * If you input the wrong upload password, there will be a prompt as shown below:
867
868 (% style="text-align:center" %)
869 [[image:image-20220624155915-25.jpeg]]
870
871 * If the password is correct, there will be a prompt as shown below:
872
873 (% style="text-align:center" %)
874 [[image:image-20220624155920-26.jpeg]]
875
876 === USB download ===
877
878 **Function:** Generate a bin file. You could use the file to download programs and other configurations through the HMI screen.
879
880 **Step:**
881
882 * Click on the U disk to download and open the interface.
883
884 (% style="text-align:center" %)
885 [[image:image-20220624161054-27.jpeg]]
886
887 * Check the items that need to be downloaded, set the communication port parameters, and select the location of the U disk.
888
889 (% style="text-align:center" %)
890 [[image:image-20220624161153-28.jpeg]]
891
892 * Click "Excute" to generate the bin file.
893 * Insert the U disk into the HMI screen to download.
894
895 === Automatic backup ===
896
897 **Function**: Back up project files. You could view and retrieve historical versions through this function.
898
899 **Step:**
900
901 * 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.
902
903 (% style="text-align:center" %)
904 [[image:image-20220624162512-29.jpeg]]
905
906 * Click the remark information to add remarks to the historical version, and click "OK" save it.
907 * 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:
908
909 (% style="text-align:center" %)
910 [[image:image-20220624162515-30.jpeg]]
911
912 === Generate download file ===
913
914 **Function:** Generate a file for download only, and the file cannot be viewed and uploaded.
915
916 **Step:**
917
918 1. Compile all the program pages, click to generate the download file.
919 1. Select the path and file name.
920 1. Open the generated **.swcp2** file and click download.
921
922 (% style="text-align:center" %)
923 [[image:image-20220624163706-1.jpeg]]
924
925 === Reset window layout ===
926
927 **Function:** Restore all floating windows in the program to the default position.
928
929 **Steps: **Click the reset window layout button in the view.
930
931 Before reset:
932
933 (% style="text-align:center" %)
934 [[image:image-20220624163720-2.jpeg]]
935
936 After reset:
937
938 (% style="text-align:center" %)
939 [[image:image-20220624163725-3.jpeg]]
940
941 = **4 Program editing area** =
942
943 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.
944
945 == Ladder work area ==
946
947 **Insert a new row**
948
949 * Select the position where you want to insert the row +1.
950 * 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)".
951
952 (% style="text-align:center" %)
953 [[image:image-20220625091617-1.jpeg]]
954
955 **Insert the statement**
956
957 Select the position where you want to insert the row.
958
959 * Method 1: Use the keyboard shortcut: Shift+Ctrl+Insert.
960
961 (% style="text-align:center" %)
962 [[image:image-20220625092707-2.jpeg]]
963
964 * Method 2: Keyboard shortcut "Ctrl+F7".
965
966 (% style="text-align:center" %)
967 [[image:image-20220625092847-3.jpeg]]
968
969 * Method 3: Right-click, select "Edit"->"Insert Statement".
970
971 (% style="text-align:center" %)
972 [[image:image-20220625092929-4.jpeg]]
973
974 **Delete row**
975
976 (% style="text-align:center" %)
977 [[image:image-20220625093015-5.jpeg]]
978
979 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.
980
981 (% style="text-align:center" %)
982 [[image:image-20220625093149-6.jpeg]]
983
984 You could also select the row to be deleted, right-click to select "edit"->"delete row".
985
986 (% style="text-align:center" %)
987 [[image:image-20220625093415-7.jpeg]]
988
989 **Delete the statement**
990
991 Same as row deletion.
992
993 **Insert column**
994
995 * Select the position where you want to insert the column.
996 * 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" -> "Insert column to the left".
997
998 (% style="text-align:center" %)
999 [[image:image-20220625094524-8.jpeg]]
1000
1001 (% style="text-align:center" %)
1002 [[image:image-20220625094809-10.jpeg]]
1003
1004 **Delete column**
1005
1006 1. Select the position of the column to be deleted.
1007 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".
1008
1009 Before deleting:
1010
1011 (% style="text-align:center" %)
1012 [[image:image-20220625094823-11.jpeg]]
1013
1014 After deleting:
1015
1016 (% style="text-align:center" %)
1017 [[image:image-20220625094828-12.jpeg]]
1018
1019 **Copy and paste**
1020
1021 The copy and paste function could save time and reduce the time on repeated operations.
1022
1023 **Steps**
1024
1025 * Move the mouse to the ladder editing area.
1026 * Select the specified cell or drag the mouse to select an area.
1027
1028 (% style="text-align:center" %)
1029 [[image:5V帮助文档_中性_html_d5aa6c70c096349a.png||height="155" width="700" class="img-thumbnail"]]
1030
1031 * Use the "Copy" button of "Clipboard" in the "PLC Menu", or use the right mouse button to "Copy", or use the keyboard "Ctrl+C".
1032
1033 (% style="text-align:center" %)
1034 [[image:image-20220625095651-14.jpeg]]
1035
1036 * After completing the third operation, copy the specified area to the clipboard.
1037 * Move the mouse to the designated position to be pasted, click the "Paste" button on the "Clipboard", or use the "Paste" 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.
1038
1039 (% style="text-align:center" %)
1040 [[image:image-20220625095656-15.jpeg]]
1041
1042 **Delete and modify ladder diagram devices**
1043
1044 Steps:
1045
1046 1. The ladder diagram can be modified only in the "Edit mode" state.
1047
1048 (% style="text-align:center" %)
1049 [[image:image-20220625100200-16.jpeg]]
1050
1051 (% start="2" %)
1052 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.
1053 1. After performing step 2, the output instruction dialog box will pop up.
1054 1. Enter the instruction corresponding to the selected component into the dialog box.
1055 1. Click "Execute" to save the modification.
1056
1057 **✎Note: **
1058
1059 1. The modified instruction must be able to pass the correct instruction verification before it can be saved.
1060 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.
1061 1. All contact components cannot be modified mutually with coils or application instructions.
1062
1063 **Delete ladder diagram components**
1064
1065 Steps:
1066
1067 1. The ladder diagram can be deleted only in the "Edit mode" state.
1068 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.
1069 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.
1070 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.
1071
1072 **Enter ladder diagram instructions**
1073
1074 There are 5 ways to input ladder diagram instructions:
1075
1076 1. Direct input
1077 1. Input through instruction set
1078 1. Double-click cell
1079 1. Instruction help
1080 1. Ladder symbol/Shortcut
1081
1082 Direct input method
1083
1084 * Move the mouse and left-click the specified cell.
1085 * Directly use the keyboard to input the specified instruction, the system will automatically pop up the ladder diagram input box.
1086
1087 (% style="text-align:center" %)
1088 [[image:image-20220625102401-17.jpeg]]
1089
1090 * Enter the complete instructions and parameters in the dialog box.
1091 * Click "Execute" or the "Enter" button on the keyboard.
1092 * The system verifies the correctness of the input, and generates the graphic element represented by the instruction after the verification is correct.
1093 * If the instruction is wrong, the instruction help interface will pop up.
1094
1095 (% style="text-align:center" %)
1096 [[image:image-20220625102414-18.jpeg]]
1097
1098 Input through instruction set
1099
1100 1. Move the mouse to the [Project Management] interface on the left side of the window.
1101 1. Expand "Instruction Set" and open the instruction tree you need
1102 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.
1103 1. After completing step above, a "ladder input " will pop up, then input the correct operand.
1104 1. Click "Execute" or "Enter" on the keyboard.
1105
1106 (% style="text-align:center" %)
1107 [[image:image-20220625103448-19.jpeg]]
1108
1109 Double-click the cell
1110
1111 1. Move the mouse to the specified area and double-click the left button.
1112 1. "Ladder input" pops up, enter the correct command in the input box.
1113 1. Click "Execute" or the keyboard "Enter".
1114 1. If the instruction is wrong, the instruction help interface will pop up.
1115
1116 (% style="text-align:center" %)
1117 [[image:image-20220625104404-20.jpeg||class="img-thumbnail"]]
1118
1119 Instruction help
1120
1121 1. Move the mouse to the designated area and double-click the left button to pop up “Ladder input”.
1122 1. Click “Help” to pop up “Instruction Help”。
1123 1. After selecting the instruction that needs to be entered, click the "Detail" button to pop up the "Instruction Wizard".
1124 1. The instruction guide interface selects the correct operand according to different instructions.
1125 1. After selecting the specified instruction, click "Execute" to save the data and complete the instruction input.
1126
1127 [[image:image-20220625105747-21.jpeg]]
1128
1129
1130 (% style="text-align:center" %)
1131 [[image:image-20220625105752-22.jpeg||class="img-thumbnail"]]
1132
1133 Ladder symbol/shortcut
1134
1135 The ladder diagram symbol is located in the PLC menu, as shown in the figure below:
1136
1137 (% style="text-align:center" %)
1138 [[image:image-20220625105848-23.jpeg||height="161" width="336"]]
1139
1140 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".
1141
1142 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.
1143
1144 **✎Note: **
1145
1146 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.
1147 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.
1148 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.
1149 1. The maximum number of input columns in the ladder diagram is 13 columns.
1150
1151 == Instruction list work area ==
1152
1153 Instruction list editor
1154
1155 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:
1156
1157 (% style="text-align:center" %)
1158 [[image:5V帮助文档_中性_html_550c5cb7f37a8b23.png||height="190" width="300" class="img-thumbnail"]]
1159
1160 * **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.
1161 * **Ladder diagram-instruction list switching:** If there is an error in the program logic, it cannot be switched.
1162
1163 == **Shortcut menu** ==
1164
1165 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.
1166
1167 (% style="text-align:center" %)
1168 [[image:image-20220625111835-24.jpeg]]
1169
1170 **Undo:** Undo the current operation and roll back the previous step.
1171
1172 **Redo: **Roll back the undo operation.
1173
1174 **Cut:** Cut the selected content in the ladder diagram and put it on the clipboard.
1175
1176 **Copy: **Copy the selected content in the ladder diagram and put it on the clipboard.
1177
1178 **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.
1179
1180 **Delete:** Delete the selected content in ladder diagram.
1181
1182 **Compile:** Compile the current program page.
1183
1184 **Editing options:**
1185
1186 * Insert row: Insert an blank row in the current selected row in the ladder diagram.
1187 * Insert statement: Insert a blank staement row in the current selected row in the ladder diagram.
1188 * Delete row: Delete the currently selected row in the ladder diagram.
1189 * 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.
1190 * Delete column: In the ladder diagram, delete the currently selected instruction, and other instructions move one space to the left.
1191
1192 **Search:**
1193
1194 * Device search: open the search/replace window, the default is the device search page, if the selected instruction in the ladder diagram contains a device, the "search device" defaults to the selected instruction's device, and it will be empty if there is none.
1195 * 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.
1196 * String search: Open the search/replace window, the default is the string search page, if a string is selected in the ladder diagram, the "search string" defaults to the selected string, and it is empty if there is no string.
1197
1198 **View:**
1199
1200 * Comment display: In the ladder diagram, the comment of the device is displayed.
1201 * Alias display: In the ladder diagram, display the alias of the device.
1202
1203 **Debugging:**
1204
1205 * Modify the current value: In the monitor mode (write mode is not available), open the device write dialog box. Modify the value of the device of the currently selected instruction.
1206
1207 = **5 Project management** =
1208
1209 == Program ==
1210
1211 MIAN is the default program page name for a new project. There can be multiple program pages in a project. Double-click the program page to open the ladder diagram editing area in the user area, and you could edit the program.
1212
1213 (% style="text-align:center" %)
1214 [[image:image-20220625134223-1.jpeg]]
1215
1216 **New program page:** select scan/event/subroutine/interrupt, right click"scan"->"new", you could open the new program window, as shown in the figure below:
1217
1218 (% style="text-align:center" %)
1219 [[image:5V帮助文档_中性_html_a8e9017d31a283f4.png||height="253" width="300" class="img-thumbnail"]]
1220
1221 (% style="text-align:center" %)
1222 [[image:image-20220625134350-3.jpeg]]
1223
1224 **Program page operations**: Right-click the program page with the mouse to perform corresponding operations.
1225
1226 (% style="text-align:center" %)
1227 [[image:image-20220625134542-5.jpeg]]
1228
1229 **Delete: **Delete the program page.
1230
1231 **Rename: **Rename the program page.
1232
1233 **Program encryption: **Encrypt and decrypt the program page.
1234
1235 * Encryption: select the program page to be encrypted and set the encryption password, After the encryption is executed, the program page is in the "encrypted" state, and the content of the program page is not displayed.
1236
1237 (% style="text-align:center" %)
1238 [[image:5-4.jpg||class="img-thumbnail"]]
1239
1240 (% style="text-align:center" %)
1241 [[image:5-5.jpg]]
1242
1243 (% style="text-align:center" %)
1244 [[image:5-6.jpg]]
1245
1246 * Cancel encryption: After entering the correct password, cancel the encryption of the program page.
1247
1248 (% style="text-align:center" %)
1249 [[image:image-20220625140048-6.jpeg||class="img-thumbnail"]]
1250
1251 (% style="text-align:center" %)
1252 [[image:image-20220625140150-7.jpeg]]
1253
1254 * Modify password: After entering the original program page password, set a new program page password.
1255
1256 (% style="text-align:center" %)
1257 [[image:image-20220625140231-9.jpeg||class="img-thumbnail"]]
1258
1259 (% style="text-align:center" %)
1260 [[image:image-20220625140328-10.jpeg]]
1261
1262 * Display encrypted content: Display the encrypted program page content. This function is only used to temporarily display the content of the program page without canceling the encryption status of the program page, which is convenient for editing the encrypted program page.
1263
1264 (% style="text-align:center" %)
1265 [[image:5-11.jpg||class="img-thumbnail"]]
1266
1267 (% style="text-align:center" %)
1268 [[image:image-20220625140706-11.jpeg||class="img-thumbnail"]]
1269
1270 Set: Right-click it, and you could view the author, date of creation, and remarks on the program page.
1271
1272 (% style="text-align:center" %)
1273 [[image:image-20220625141015-13.jpeg]]
1274
1275 * Configuration: The time and interrupt program page can click the configuration button to set the trigger condition.
1276
1277 (% style="text-align:center" %)
1278 [[image:image-20220625142325-15.jpeg||class="img-thumbnail"]]
1279
1280 Move up: Move the program page up, used to adjust the execution order of the program page.
1281
1282 [[image:5-15.jpg||class="img-thumbnail"]] [[image:5-16.jpg||class="img-thumbnail"]]
1283
1284 Move down: Move the program page down to adjust the execution order of the program page.
1285
1286 [[image:5-17.jpg||class="img-thumbnail"]] [[image:5-18.jpg||class="img-thumbnail"]]
1287
1288 == Device comment ==
1289
1290 Device comment module: A **.wcp2** file has one and only one module named "COMMENT" in "device comment".
1291
1292 Double-click "COMMENT" and shown as below.
1293
1294 [[image:image-20220625143125-16.jpeg||class="img-thumbnail"]]
1295
1296 **Interface label description:**
1297
1298 * **Enter device name:** Input the correct device name and press "Enter" to confirm, the comment list will locate the input device and select it.
1299 * **The comment list is divided into 3 columns: **device name, device comment, and device alias. Click the comment list, and select the device row, and double-click the device comment or alias to pop up an edit box for editing. The device comment value allows 128 characters, and the device alias only allows input of 8 characters.
1300 * **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:
1301
1302 (% style="text-align:center" %)
1303 [[image:image-20220625143652-17.jpeg]]
1304
1305 **Interface button description:**
1306
1307 * **Display commented devices:** The comment list displays all devices with comments or aliases.
1308 * **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).
1309 * **Export EXCEL: **Export and save all the devices information of edit devices comments or aliases as ***.xls** files to local disk.
1310
1311 == Parameter ==
1312
1313 You could set the latch range of the PLC devices and the COM port communications according to your needs. Click the "×" symbol in the upper right corner to close the dialog box and change without saving.
1314
1315 Double-click the "PLC Parameters" node and the interface is shown as below.
1316
1317 (% style="text-align:center" %)
1318 [[image:image-20220625144326-19.jpeg||class="img-thumbnail"]]
1319
1320 **Interface button description:**
1321
1322 * Check: Check the configuration of the current settings, respectively check the "device latch", "COM1 " and "COM2". If the check fails, click the "OK" button to report an error.
1323 * Reset: Click this button to restore the default settings.
1324 * OK: Complete the correct PLC parameter change and set it.
1325 * Cancel: Cancel the PLC parameter setting and keep the parameter setting before the change.
1326
1327 **Device latch**
1328
1329 The address range of various types of registers including PLC is set in the devices. You could set parameters in the white squares in the picture table, but not the gray ones (cannot be modified). By modifying the data at the beginning and end of the latch, the latch range of the register can be modified, and the modified data range must be within the latch range.
1330
1331 (% style="text-align:center" %)
1332 [[image:image-20220625145833-20.jpeg||class="img-thumbnail"]]
1333
1334 **COM1 settings**
1335
1336 (% style="text-align:center" %)
1337 [[image:image-20220625145902-21.jpeg]]
1338
1339 * Whether to set: Whether to enable the COM1 port configuration.
1340 * Baud rate: Select the data transmission rate.
1341 * Data bit: Select the data length.
1342 * Stop bit: Select the number of stop bits.
1343 * Parity: Select the number of parity.
1344 * Station No.: Set the station number, ranging from 1 to 47.
1345
1346 **COM2 settings**
1347
1348 (% style="text-align:center" %)
1349 [[image:image-20220625150016-22.jpeg]]
1350
1351 Whether to set: whether to enable the COM1 port configuration.
1352
1353 * **Communication settings**
1354 ** Baud rate: Select the data transmission rate.
1355 ** Data bit: Select the data length.
1356 ** Stop bit: Select the number of stop bits.
1357 ** Parity: Select the check digit.
1358 ** Timeout: Set the timeout time, ranging from 0 to 32767.
1359 ** Sending interval: Set the sending interval, ranging from 0 to 32767.
1360 ** Protocol: Select the communication protocol.
1361 * **Protocol related**
1362 ** Station No.: Set the station number. According to different protocols, the station number setting range is different.
1363 ** Whether to enable the start character: used to customize the protocol.
1364 ** Starter: set the end character for custom protocol.
1365 ** Whether to enable terminator: used to customize the protocol.
1366 ** Terminator: Set the terminator to customize the agreement.
1367 ** Timeout between characters: used to customize the protocol.
1368
1369 **Ethernet settings**
1370
1371 (% style="text-align:center" %)
1372 [[image:image-20220625150721-23.jpeg]]
1373
1374 **✎Note:** Currently Ethernet configuration is only supported by 5V-N series and 6V series.
1375
1376 * **Communication settings**
1377 ** Whether to set: Whether to enable communication configuration of Ethernet setttings.
1378 ** Whether to enable PLC automatic configuration IP (DHCP) function: automatic configuration IP (DHCP) function. **(only supported by 6V series currently)**
1379 ** IP address: Configure the IP address of PLC
1380 ** Subnet mask: Configure the subnet mask of PLC
1381 ** Default gateway: Configure the default gateway of PLC
1382 * **Protocol related**
1383 ** Whether to set: Whether to enable the protocol configuration of Ethernet settings.
1384 ** Maximum number of connections supported by modbusTCP server: Number of simultaneous connections available for other modbusTCP clients. **(only supported by 5V-N series currently)**
1385
1386 **Basic information settings**
1387
1388 (% style="text-align:center" %)
1389 [[image:image-20220625152250-24.jpeg]]
1390
1391 It is used to configure some basic information.
1392
1393 * Whether to set: Whether to enable the basic information settings.
1394 * PLC name: Used to set the name of PLC. The maximum number of characters allowed to be entered is 32; the range of illegal characters not allowed to be entered: /%$@&=~~`^<>? :{}[],;! *. \'"|
1395
1396 **✎Note:**
1397
1398 * The first one is a space, and a space is also an illegal character.
1399 * Currently, only PLCs with Ethernet function (5V-N series and 6V series) are supported.
1400
1401 == Device memory ==
1402
1403 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.
1404
1405 New devices memory: Right-click and select the "device memory" → "New" to create a new device 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 is as follows:
1406
1407 [[image:image-20220625170448-1.jpeg]]
1408
1409 **Interface label description:**
1410
1411 * **Please enter:** Enter the device to be searched, and press "Enter" to locate the device to be searched.
1412 * **Device list:** Divided into 10 intervals: C, D, HSC, LC, M, R, S, T, V, Z.
1413
1414 (% style="text-align:center" %)
1415 [[image:image-20220625171055-2.jpeg]]
1416
1417 * **Device value display area**: Currently editing operations are prohibited.
1418
1419 (% style="text-align:center" %)
1420 [[image:image-20220625171109-3.jpeg]]
1421
1422 * **Cell format:** 7 data formats: binary, decimal, hexadecimal, octal, real number, character string, ASCII code. One format and one color:
1423 ** Binary: red
1424 ** Octal : pink
1425 ** Decimal: blue
1426 ** Hexadecimal: brown
1427 ** Real number: orange
1428 ** Character string: cyan
1429 ** ASCII code: green
1430
1431 (% style="text-align:center" %)
1432 [[image:image-20220627105818-1.jpeg]]
1433
1434 * **The data can be expressed in size:** 16 bits and 32 bits.
1435 * **The data size that each format can represent when the length is 16 bits:**
1436 ** Binary: 0000000000000000 to 1111111111111111;
1437 ** Octal: 0 to 1777777;
1438 ** Decimal: -32768 to 32767;
1439 ** Hexadecimal: 0 to FFFF;
1440 ** String: the size of 2 characters in length;
1441 ** ASCII: 2 ASCII code values.
1442 * **The data size that each format can represent when the length is 32 bits:**
1443 ** Binary: 00000000 00000000 00000000 00000000 to 11111111 11111111 11111111 11111111;
1444 ** Octal: 0 to 37777777777;
1445 ** Decimal: -2147483648 to 2147483647;
1446 ** Hexadecimal: 0 to FFFF FFFF FFFF FFFF;
1447 ** String: the size of the length of 4 strings;
1448 ** ASCII: 4 ASCII code values;
1449 ** Real number: ±1.175495E-38 to ±3.402823E+38.
1450
1451 == Electronic cam ==
1452
1453 In the project management window, right-click “electronic cam table” to create a new electronic cam table (ECAM table).
1454
1455 [[image:5-31.jpg]] [[image:5-32.jpg]]
1456
1457 Open the ECAM interface and set the data.
1458
1459 (% style="text-align:center" %)
1460 [[image:image-20220627110623-2.jpeg||height="723" width="1226"]]
1461
1462 Click the parameter setting to set the parameters, such as the starting device, which indicates the starting position of the download time.
1463
1464 (% style="text-align:center" %)
1465 [[image:image-20220627110657-3.jpeg]]
1466
1467 The ECAM table information written by other programs can be imported into the ECAM table through import and export.
1468
1469 You could download the ECAM to the PLC.
1470
1471 == Instructions ==
1472
1473 Available instructions are as follows: all instructions; basic instructions; step ladder instruction; program flow; transfer and compare; Arithmetic; cycle and shift; data processing; high-speed processing; common instruction; peripheral device IO; peripheral device SER; floating; contact compare; high-speed pulse output; clock calculation; floating contact comparison; data table; data block; communication instruction; electrionic CAM; other instructions; string control; Ethernet.
1474
1475 (% style="text-align:center" %)
1476 [[image:image-20220627112121-4.jpeg]]
1477
1478 == PLCLINK table ==
1479
1480 **New table: **After create a new table, you could view "PLCLINK" in project manager window. Right-click it to create a PLCLINK table.
1481
1482 [[image:image-20220627113003-5.jpeg]]
1483
1484 (% class="wikigeneratedid" %)
1485 **Starting address settings:** You can select D or R device as the area for storing PLCLINK table contents, and edit the starting device address, which will occupy 22+5*n devices starting from this device. This occupancy information reflects the tabular operation in the list of device used.
1486 **New command**: Click "New command" to generate a PLCLINK command.
1487
1488 (% style="text-align:center" %)
1489 [[image:image-20220627115343-6.jpeg]]
1490
1491 (% class="wikigeneratedid" %)
1492 **Delete: **Select the PLCLINK command to be deleted to delete the command.
1493 **Modify station NO.:** You select the station number in the drop-list. The station numbers of station No.1 and station number No.2 cannot be the same. Range: 1 to 31.
1494
1495 (% style="text-align:center" %)
1496 [[image:image-20220627115946-7.jpeg||height="638" width="399" class="img-thumbnail"]]
1497
1498 (% class="wikigeneratedid" %)
1499 **Modify device name:** Select device name in the drop-list, note that the soft component type of station No.1 and station No.2 need to be the same.
1500 **Modify device address:** Edit the start address edit box and enter the value within the range of the device.
1501 **Modify the number of device:** Edit the number of device edit box, and enter the number of device.The number of double-word device ranges from 1 to 64. Device ranges from 1 to 128, and bit device ranges from 1 to 1024.
1502 **Modify instruction enable status:** Click "Station No. Enable" to edit the parameters of the two stations of this instruction. The master station is always enabled and cannot be modified.
1503
1504 * For example:
1505 ** Click "New Command" to create a PLCLINK command.
1506 ** Station NO.1 is selected as 2, station number NO.2 is selected as 3.
1507 ** Click 'Station NO. Enable". If station number NO.1 is checked to enable, but station NO.2 is not checked to enable, the command enable is invalid. Only when both station numbers are checked to enable, the command enable is valid.
1508
1509 (% style="text-align:center" %)
1510 [[image:image-20220627134639-8.jpeg]]
1511
1512 (% class="wikigeneratedid" %)
1513 **PLCLINK operation**
1514
1515 * **Check: **Check whether the data of PLCLINK is legal.
1516 * **Save:** Enabled under the condition that the program is consistent in monitoring mode, and it will compare once automatically when entering.
1517 * **Check Slave:** Send command to PLC to check slave information.
1518 * **Monitor Read:** Get PLCLINK table information from PLC.
1519 * **Monitor Write:** Write PLCLINK table to PLC
1520
1521 == Ethernet ==
1522
1523 Interface: Click "Project manager" -> "Extended function", and right-click "Ethernet" to open the "New-Ethernet configuration" window.
1524
1525 (% style="text-align:center" %)
1526 [[image:image-20220627141744-9.jpeg]]
1527
1528 (% class="wikigeneratedid" %)
1529 The introduction of parameters:
1530
1531 * **Whether to enable: **Whether to enable the Ethernet configuration
1532 * **Socket ID: **The number of socket supports a total of 6 ranging from K0 to K5. The socket ID is used to specify the link. Each ID is used for one link and cannot be defined repeatedly.
1533 * **Communication protocol: **TCP protocol and UDP protocol are supported.
1534 * **Operating mode: **For TCP, you could select client and server. For UDP, this does not work.
1535 * **Local port:**
1536 ** For TCP client mode, the local port will be automatically allocated by PLC without setting.
1537 ** For TCP server mode, the local port could be set within the range of 1 to 65,535. Port 502 is used by internal modbusTCP and cannot be set.
1538 ** For UDP mode, the local port could be set within the range of 1 to 65,535. Port 1092 is used by scanning protocol and cannot be set.
1539 * **Target ID: **Valid in TCP client mode or UDP mode, specifying the peer device IP to be linked.
1540 * **Target port: **Valid in TCP client mode or UDP mode, specifying the peer device port number to be linked.
1541 * **Receive timeout: **After PLC sending data, if the response of the peer device exceeds this timeout, the network is considered abnormal and the error flag bit is set.
1542 * **TCP keep-alive mechanism: **When TCP protocol is used for communication, If the communication line is idle in most cases and only a small amount of data is sent and received, but the link needs to be kept open, or disconnected in time in case of a drop, crash or forced termination of the process at the communication end, you can use the keep-alive mechanism for communication.
1543
1544 **Description: **Ethernet socket configuration, with Ethernet SOC series instructions, can achieve ModbusTCP client, TCP free protocol, UDP free protocol.
1545
1546 (% style="text-align:center" %)
1547 [[image:image-20220627153819-1.jpeg]]
1548
1549 **Use: **Configuring the corresponding properties to achieve the corresponding functions, and download to the PLC through the download interface and the program to. For specific use rules and configuration methods, please refer to the PLC programming manual.
1550
1551 == BD board configuration ==
1552
1553
1554 Function entry: In "Project Management" interface, expand "Extended Function", and double-click "BD Board Configuration".
1555
1556 (% style="text-align:center" %)
1557 [[image:image-20220915161952-1.jpeg]]
1558
1559 **Introduction of function interface**
1560
1561 The main interface is divided into two parts. One is the current configuration information list, and the other is device list for users to choose configuration.
1562
1563 (% style="text-align:center" %)
1564 [[image:image-20220915161952-2.jpeg]]
1565
1566 * **Device list: **It includes "PLC Host" and "BD Board". You can add device to the configuration list on the left by double-clicking the contents under the two nodes.
1567
1568 (% style="text-align:center" %)
1569 [[image:image-20220915161952-3.jpeg]]
1570
1571 "PLC Host" contains all the points existing in the actual device of PLC model set in the current project. Try to ensure that host points in the configuration list are consistent with the points actually connected to PLC, otherwise it may occur that the host computer is configured with two BD boards, but the actually connected PLC has only one BD board slot, resulting in the situation that the configuration of BD2 will not take effect.
1572
1573 (% style="text-align:center" %)
1574 [[image:image-20220915161952-4.jpeg]]
1575
1576 (% style="text-align:center" %)
1577 [[image:image-20220915161952-5.jpeg||class="img-thumbnail"]]
1578
1579 "BD Board" contains all BD board models that can be supported by 5V series PLC at present.
1580
1581 * **Configuration list:** Display the information of PLC host and BD board currently configured.
1582
1583 (% style="text-align:center" %)
1584 [[image:image-20220915161952-6.jpeg||class="img-thumbnail"]]
1585
1586 * Slot number: 0 is the host by default, 1 is BD1, and 2 is BD2.
1587 * Configure device name: Displays the device name.
1588 * Device description: Displays a brief description of the device.
1589 * Device occupancy: Displays the device occupancy of the configuration device.
1590 * Actual installation type: In monitoring mode, display the BD board model actually connected by PLC.
1591 * Device version number: In monitoring mode, display the BD board version number actually connected by PLC.
1592
1593 **Introduction to configuration operations**
1594
1595 (% style="text-align:center" %)
1596 [[image:image-20220915161952-7.jpeg||class="img-thumbnail"]]
1597
1598 * **Add BD board Configuration: **Add by double-clicking BD board in the device list on the right.
1599 * **Modify BD board configuration:** Open the BD board configuration window by right-clicking on the menu or double-clicking on the BD Board in the configuration list.
1600 * **Move up/down:** The positions of the BD boards configuration on slot 1 and slot 2 can be swapped.
1601 * **Delete BD board configuration:** Delete BD board configuration.
1602
1603 **Introduction of BD board configuration interface**
1604
1605 Module configuration: Used to configure the general configuration of BD board, applicable to all channels.
1606
1607 (% style="text-align:center" %)
1608 [[image:image-20220915161952-8.jpeg]]
1609
1610 BD board channel configuration: The enable status and parameter settings of each channel of BD board can be configured.
1611
1612 (% style="text-align:center" %)
1613 [[image:image-20220915161952-9.jpeg]]
1614
1615 I/O mapping: The channel value of the BD board is displayed by the device through mapping.
1616
1617 (% style="text-align:center" %)
1618 [[image:image-20220915161952-10.jpeg]]
1619
1620 Device information: Display device information of BD board.
1621
1622 (% style="text-align:center" %)
1623 [[image:image-20220915161952-11.jpeg]]
1624
1625 Reset: Initialize the configuration data of BD board, and the parameters are the same as when the BD board is added.
1626
1627 (% style="text-align:center" %)
1628 [[image:image-20220915161952-12.jpeg]]
1629
1630 **Other functions**
1631
1632 Device information: You can view the BD board model and corresponding version number currently connected by PLC.
1633
1634 (% style="text-align:center" %)
1635 [[image:image-20220915161952-13.jpeg]]
1636
1637 PLC calibration: Check the configuration of BD board and PLC.
1638
1639 [[image:image-20220915161952-14.jpeg]]
1640
1641 BD board monitoring
1642
1643 (% style="text-align:center" %)
1644 [[image:image-20220915161952-15.jpeg]]
1645
1646 U disk download: BD board configuration function supports U disk download, and the data will be packaged together with the program node.
1647
1648 (% style="text-align:center" %)
1649 [[image:image-20220915161952-16.jpeg]]
1650
1651 **✎Note:**
1652
1653 * The minimum software version number of the slave computer that supports the BD board configuration function: V2.051.
1654
1655 [[image:image-20220915161952-17.jpeg]]
1656
1657 * The BD board model and slot position of PLC currently connected to the host computer should be consistent with the configuration list of BD board of the host computer.
1658 * Ensure that host points in the configuration list is consistent with the number of points actually connected to PLC, otherwise it may occur that the host computer is configured with two BD boards, but the actually connected PLC has only one BD board slot.
1659
1660 = **6 Output window** =
1661
1662 == Information output ==
1663
1664 **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 switch.
1665
1666 (% style="text-align:center" %)
1667 [[image:image-20220628142118-1.jpeg]]
1668
1669 If there is an error in the program, the error will be listed in the "Information output" module at the bottom of the ladder diagram. Select the specified error item, and double-click to locate the error position of the ladder diagram.
1670
1671 == Search&Replace ==
1672
1673 **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.
1674
1675 **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:
1676
1677 (% style="text-align:center" %)
1678 [[image:image-20220628142601-2.jpeg]]
1679
1680 Buttons are divided into 4 categories: devices, instruction, string, and result, as shown in the figure above; clicking any one will switch to the corresponding operation interface.
1681
1682 = **7 Modify device value** =
1683
1684 **Modify device value**: modify the PLC internal register and coil value; modify the expansion device register value. As shown below:
1685
1686 (% style="text-align:center" %)
1687 [[image:image-20220628143453-3.jpeg]]
1688
1689 (% style="text-align:center" %)
1690 [[image:image-20220628143458-4.jpeg]]
1691
1692 **PLC internal devices:**
1693
1694 * **Devices:**
1695 ** "Devices" are registers and coils (such as C0, M1, etc.) whose values need to be modified within the range of PLC.
1696 ** "Data type" includes Word (single word) , Bit (binary 0 or 1), double Word, float (single precision floating point number).
1697 ** "Value" is the specific value to be modified (corresponding to the number in the range of "Data Type"), such as -120.
1698 ** The data format can be decimal (single word: -32768 to 32767; double word:  -2147483648 to 2147483647) or hexadecimal (single word: 0 to FFFF; double word:  0 to FFFFFFFF).
1699 ** Click "Set" to write the set value within the correct range to the selected device.
1700 * **Execution result: **Record the successfully modified "device", "data type" and "set value" in the form of a list.
1701 * **Record list:**
1702 ** Click any one in the list, and click "Delete" to delete it.
1703 ** Click "Clear List" to clear the record list.
1704 ** Select any one in the record list and click "**Response to Input Field**" to reflect the items in "device" .
1705
1706 **PLC external expansion module:**
1707
1708 * "Module start" is the extension module number (such as module 0).
1709 * "Address" is the internal writable address of the expansion module, and the address type can be decimal or hexadecimal.
1710 * "Data type" includes Word (single word), Double Word, Float (single precision floating point number) .
1711 * "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.
1712 * The data can be decimal (single word: -32768 to 32767; double word: -2147483648 to 2147483647) or hexadecimal (single word: 0 to FFFF; double word: 0 to FFFFFFFF).
1713 * Click "Set" to write the set value within the correct range to the selected device.
1714
1715 **✎Note: **
1716
1717 1. Modification of the device value must be executed in the case of communication with the PLC.
1718 1. The device must be within the available range of the corresponding PLC model.
1719 1. The input value must be within the allowable range.
1720 1*. Decimal: single word (-32768 to 32767), double word (-2147483648 to 2147483647)
1721 1*. Hexadecimal: single word (0 to FFFF); double word (0to FFFFFFFF)
1722 1*. Floating: ±1.175495E-38 to 3.402823E+38
1723
1724 = **8 Print ladder diagram** =
1725
1726 The print function is divided into: print, print preview, and print settings.
1727
1728 **Preconditions for printing**
1729
1730 1. Open the project file (not the project file generated by the "Generate Download File" function).
1731 1. The program has all been compiled.
1732 1. The program is in edit mode.
1733
1734 Only when the above three conditions are met, the print button can be clicked.
1735
1736 (% style="text-align:center" %)
1737 [[image:image-20220628145819-5.jpeg]]
1738
1739 == Printing preview ==
1740
1741 Before printing, you could preview the print on the screen. Click the "File" → "Print" → "Print Preview" to open the print preview window as shown in the figure below:
1742
1743 (% style="text-align:center" %)
1744 [[image:image-20220628145842-6.jpeg]]
1745
1746 **Print preview interface**
1747
1748 (% style="text-align:center" %)
1749 [[image:image-20220628145927-7.jpeg]]
1750
1751 == Print ==
1752
1753 When you need to print, please click the print button, and a standard print dialog box will pop up. You could set the print options here. After setting, you could click "OK" to output the current program to the printer.
1754
1755 (% style="text-align:center" %)
1756 [[image:image-20220628150306-8.jpeg]]
1757
1758 == Printer settings ==
1759
1760 Set print information. As shown below:
1761
1762 (% style="text-align:center" %)
1763 [[image:image-20220628150319-9.jpeg]]
1764
1765 = **9 Status bar** =
1766
1767 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.
1768
1769 (% style="text-align:center" %)
1770 [[image:image-20220628150551-10.jpeg]]
1771
1772 * **Language: **The language type displayed by the software. Highlighted means enabled.
1773 * **Case state:** English input state.
1774 * **Numeric keypad lock:** Whether the numeric keypad is available.
1775 * **Rewrite/insert state:** ladder diagram editing mode.
1776 * **Communication port:** communication COM port. Click it to pop up the communication setting window.
1777 * **Project type:** Display the PLC model of the current project.
1778 * **Current program steps/total program steps:** Program editing page, program steps of the currently selected instruction/total program steps.
1779
1780 = **10 Device usage list** =
1781
1782 The device usage list mainly displays the specified type of device. You could check the usage, and the corresponding comment and alias of the device.
1783
1784 (% style="text-align:center" %)
1785 [[image:image-20220628152232-11.jpeg]]
1786
1787 **Instructions for using the list of devices:**
1788
1789 * 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).
1790
1791 (% style="text-align:center" %)
1792 [[image:image-20220628152301-12.jpeg||class="img-thumbnail"]]
1793
1794 * Start devices drop-down box: You could 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 could perform the search again.
1795
1796 (% style="text-align:center" %)
1797 [[image:image-20220628152611-13.jpeg]]
1798
1799 * Search button: Perform a search operation. When the starting device is empty, it will prompt to input a device.
1800
1801 (% style="text-align:center" %)
1802 [[image:image-20220628152633-14.jpeg]]
1803
1804 * Search range: Specify the search range of the device.
1805 ** Current program page: Search only for the currently active program page.
1806 ** Current program type: Only for all program pages of the same type in the currently activated program page.
1807 ** Whole project: for all program pages of the current project. (The program page types are divided into: scan, event, subroutine, interrupt)
1808
1809 (% style="text-align:center" %)
1810 [[image:image-20220628152800-15.jpeg]]
1811
1812 * Expand and close the sub-items of the device usage list.
1813
1814 (% style="text-align:center" %)
1815 [[image:image-20220628153639-16.jpeg||class="img-thumbnail"]]
1816
1817 * The sub-items of the devices usage list includes 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.
1818
1819 (% style="text-align:center" %)
1820 [[image:image-20220628153730-17.jpeg||class="img-thumbnail"]]
1821
1822 * Device comment and alias column: (the background color is white) displays the comment or alias of the device.
1823
1824 (% style="text-align:center" %)
1825 [[image:image-20220628153741-18.jpeg||class="img-thumbnail"]]
1826
1827 **Display options:**
1828
1829 * All devices: After selecting, search all devices of this type.
1830
1831 (% style="text-align:center" %)
1832 [[image:image-20220628154043-19.jpeg]]
1833
1834 * Used devices: After selecting, search for the used devices of this type according to the contact and coil options.
1835 ** Neither the contact nor the coil is selected, and all the devicess of this type that have been used in the program are displayed.
1836 ** Select the contact (coil) to display the type of devices as the contact (coil) in the program.
1837 ** Select both contacts and coils, and display the type of devices that are used as contacts and coils in the program.
1838
1839 (% style="text-align:center" %)
1840 [[image:image-20220628154051-20.jpeg]]
1841
1842 * Unused devices: After selecting, display all the devicess of this type that are not used in the program.
1843
1844 (% style="text-align:center" %)
1845 [[image:image-20220628154101-21.jpeg]]
1846
1847 = **11 Shortcut keys list** =
1848
1849 == Universal shortcut keys ==
1850
1851 The universal shortcut keys are as follows:
1852
1853 (% class="table-bordered" %)
1854 |=(% scope="row" style="width: 149px;" %)**Hot key**|=(% style="width: 361px;" %)**Corresponding menu (function name)**|=(% style="width: 566px;" %)**Summary**
1855 |=(% style="width: 149px;" %)Ctrl + N|(% style="width:361px" %)New Project|(% style="width:566px" %)New Project
1856 |=(% style="width: 149px;" %)Ctrl + O|(% style="width:361px" %)Open the project|(% style="width:566px" %)Open an existing project
1857 |=(% style="width: 149px;" %)Ctrl + S|(% style="width:361px" %)Save the project|(% style="width:566px" %)Save the project
1858 |=(% style="width: 149px;" %)Ctrl + X|(% style="width:361px" %)Cut|(% style="width:566px" %)Cut selected data and range
1859 |=(% style="width: 149px;" %)Ctrl + C|(% style="width:361px" %)Copy|(% style="width:566px" %)Copy selected data and range
1860 |=(% style="width: 149px;" %)Ctrl + V|(% style="width:361px" %)Paste|(% style="width:566px" %)Cut/paste the copied data at the cursor position
1861 |=(% style="width: 149px;" %)Ctrl + Z|(% style="width:361px" %)Revoke|(% style="width:566px" %)Revoke the previous operation
1862 |=(% style="width: 149px;" %)Ctrl + Y|(% style="width:361px" %)Restore|(% style="width:566px" %)Resume the operation canceled by "Undo"
1863 |=(% style="width: 149px;" %)Ctrl + F|(% style="width:361px" %)Search device|(% style="width:566px" %)Search device
1864 |=(% style="width: 149px;" %)Ctrl + F1|(% style="width:361px" %)Display/hide menu toolbar|(% style="width:566px" %)Display/hide menu toolbar
1865 |=(% style="width: 149px;" %)F3|(% style="width:361px" %)Start Monitoring|(% style="width:566px" %)Currently, start to monitor the window that is the target of the operation
1866 |=(% style="width: 149px;" %)Ctrl + F3|(% style="width:361px" %)Monitoring stop|(% style="width:566px" %)Currently, stop monitoring the window that is the target of operation
1867 |=(% style="width: 149px;" %)F4|(% style="width:361px" %)Compile|(% style="width:566px" %)Compile (switch) the program page currently being edited
1868 |=(% style="width: 149px;" %)Ctrl+F4|(% style="width:361px" %)Compile all|(% style="width:566px" %)Compile (switch) all program pages in the current project
1869 |=(% style="width: 149px;" %)Alt+F4|(% style="width:361px" %)Exit the software|(% style="width:566px" %)Exit the software
1870
1871 == Shortcut keys for ladder editor ==
1872
1873 The shortcut keys that can be used in the ladder diagram editor are as follows:
1874
1875 (% class="table-bordered" %)
1876 |=(% scope="row" style="width: 150px;" %)**Shortcut key**|=(% style="width: 363px;" %)**Corresponding menu (function name)**|=(% style="width: 563px;" %)**Summary**
1877 |=(% style="width: 150px;" %)F5|(% style="width:363px" %)Normally open contact|(% style="width:563px" %)Write normally open contact to the cursor position
1878 |=(% style="width: 150px;" %)Shift + F5|(% style="width:363px" %)Normally open contact OR|(% style="width:563px" %)Write normally open contact OR to the cursor position
1879 |=(% style="width: 150px;" %)F6|(% style="width:363px" %)Normally closed contact|(% style="width:563px" %)Write normally closed contact to the cursor position
1880 |=(% style="width: 150px;" %)Shift + F6|(% style="width:363px" %)Normally closed contact OR|(% style="width:563px" %)Write normally closed contact OR to the cursor position
1881 |=(% style="width: 150px;" %)F7|(% style="width:363px" %)Coil|(% style="width:563px" %)Write coil to the cursor position
1882 |=(% style="width: 150px;" %)F8|(% style="width:363px" %)Application instructions|(% style="width:563px" %)Write application instructions to the cursor position
1883 |=(% style="width: 150px;" %)F9|(% style="width:363px" %)Horizontal line input|(% style="width:563px" %)Write horizontal line to cursor position
1884 |=(% style="width: 150px;" %)F11|(% style="width:363px" %)Vertical line input|(% style="width:563px" %)Write the vertical line to the cursor position
1885 |=(% style="width: 150px;" %)Ctrl + F9|(% style="width:363px" %)Delete horizontal line|(% style="width:563px" %)Delete the horizontal line at the cursor position
1886 |=(% style="width: 150px;" %)Ctrl + F11|(% style="width:363px" %)Delete vertical line|(% style="width:563px" %)Delete the vertical line at the cursor position
1887 |=(% style="width: 150px;" %)Shift + F7|(% style="width:363px" %)Rising edge pulse|(% style="width:563px" %)Write the rising edge pulse to the cursor position
1888 |=(% style="width: 150px;" %)Shift + F8|(% style="width:363px" %)Falling edge pulse|(% style="width:563px" %)Write the falling edge pulse to the cursor position
1889 |=(% style="width: 150px;" %)Ctrl + Alt + F7|(% style="width:363px" %)Parallel rising edge pulse|(% style="width:563px" %)Write the parallel rising edge pulse to the cursor position
1890 |=(% style="width: 150px;" %)Ctrl + Alt + F8|(% style="width:363px" %)Parallel falling edge pulse|(% style="width:563px" %)Write the parallel falling edge pulse to the cursor position
1891 |=(% style="width: 150px;" %)Ctrl + Alt + F11|(% style="width:363px" %)Invert the result of the operation|(% style="width:563px" %)Write the result of the calculation to the cursor position
1892 |=(% style="width: 150px;" %)Ctrl + Shift + Insert|(% style="width:363px" %)Insert statement between lines|(% style="width:563px" %)Insert the declaration line at the cursor position
1893 |=(% style="width: 150px;" %)Shift + Insert|(% style="width:363px" %)Insert program row|(% style="width:563px" %)Insert the  row at the cursor position
1894 |=(% style="width: 150px;" %)Shift + Delete|(% style="width:363px" %)Delete row|(% style="width:563px" %)Delete the row at the cursor position
1895 |=(% style="width: 150px;" %)Ctrl + Insert|(% style="width:363px" %)Insert column|(% style="width:563px" %)Insert the column at cursor position
1896 |=(% style="width: 150px;" %)Ctrl + Delete|(% style="width:363px" %)Delete column|(% style="width:563px" %)Delete the column at the cursor position
1897 |=(% style="width: 150px;" %)Ctrl + →|(% style="width:363px" %)Enter/delete horizontal line in the right direction|(% style="width:563px" %)Enter/delete horizontal line from the cursor position to the right
1898 |=(% style="width: 150px;" %)Ctrl + ←|(% style="width:363px" %)Horizontal line input/delete in the left direction|(% style="width:563px" %)Enter/delete horizontal line from the cursor position to the left
1899 |=(% style="width: 150px;" %)Ctrl + ↓|(% style="width:363px" %)Enter/delete the vertical line in the downward direction|(% style="width:563px" %)Enter/delete the vertical line from the cursor position down
1900 |=(% style="width: 150px;" %)Ctrl + ↑|(% style="width:363px" %)Upward vertical line input/delete|(% style="width:563px" %)Enter/delete the vertical line up from the cursor position
1901 |=(% style="width: 150px;" %)Ctrl + /|(% style="width:363px" %)Normally open/normally closed contact switching|(% style="width:563px" %)Switch between normally open contact and normally closed contact
1902 |=(% style="width: 150px;" %)Ctrl + G|(% style="width:363px" %)Jump|(% style="width:563px" %)Display jump to the instruction position corresponding to the specified number of steps
1903 |=(% style="width: 150px;" %)Ctrl + F5|(% style="width:363px" %)Comment display|(% style="width:563px" %)Display device comments and label comments
1904 |=(% style="width: 150px;" %)Ctrl + F7|(% style="width:363px" %)Statement display|(% style="width:563px" %)Display statement
1905 |=(% style="width: 150px;" %)F1|(% style="width:363px" %)Open instruction help|(% style="width:563px" %)Display instruction help