Wiki source code of 02 PLC editor2 software help

Version 39.1 by Stone Wu on 2022/06/29 11:02

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