Wiki source code of 02 PLC editor2 software help

Version 3.35 by Stone Wu on 2022/06/24 11:55

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