Changes for page 17 LX3V/5V/5S comparsion

Last modified by Jim on 2025/02/11 11:34

From version 9.1
edited by Leo Wei
on 2022/06/14 15:25
Change comment: There is no comment for this version
To version 17.1
edited by Stone Wu
on 2022/07/13 23:55
Change comment: Renamed from xwiki:PLC Editor2.1 User manual.Difference between 3V and 5V.WebHome

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.admin
1 +XWiki.Stone
Content
... ... @@ -38,11 +38,10 @@
38 38  |=Linear Interpolation|√|√|N/A
39 39  |=Circular Interpolation|√|√|N/A
40 40  |=sub-rotine|√|√|N/A
41 -|= | | |
42 42  
43 43  = **2 Software interface difference between 5S and 5V** =
44 44  
45 -== **2.1 High speed counter configuration** ==
44 +== **High speed counter configuration** ==
46 46  
47 47  **5V as below**
48 48  
... ... @@ -56,7 +56,7 @@
56 56  
57 57  = **3** **Functions that 3V has but 5V does not** =
58 58  
59 -== **3.1 BD board** ==
58 +== **BD board** ==
60 60  
61 61  LX5V does not support RS485 BD
62 62  
... ... @@ -64,15 +64,15 @@
64 64  
65 65  LX5V does not support CAN BD
66 66  
67 -== **3.2 Analog BD board expansion address** ==
66 +== **Analog BD board expansion address** ==
68 68  
69 69  Provides the function of analog board BD to modify parameters such as filtering. For specific functions, please refer to the BD board manual.
70 70  
71 -== **3.3 PLDID** ==
70 +== **PLDID** ==
72 72  
73 73  Program label function, when the label of the program corresponds to the label of the PLC, the ladder diagram can be uploaded and downloaded. Clearing the memory does not clear this tag either. It is mainly to limit the ladder diagram used by PLC.
74 74  
75 -== **3.4 Instructions** ==
74 +== **Instructions** ==
76 76  
77 77  (1) NOP instruction (null instruction)
78 78  
... ... @@ -96,14 +96,13 @@
96 96  
97 97  (11) CPAVL instruction(communication BD configuration)
98 98  
99 -== **3.5 Unsupported special register function (M8000, D8000)** ==
98 +== **Unsupported special register function (M8000, D8000)** ==
100 100  
101 -=== **3.5.1 Clock related** ===
100 +=== **Clock related** ===
102 102  
103 103  Clock function not supported by LX5V
104 104  
105 -(% class="table-bordered" %)
106 -|=(% scope="row" %)M8014|Oscillation clock with 1 minute clock period
104 +|=M8014|Oscillation clock with 1 minute clock period
107 107  |=M8015|Clock stop and preset
108 108  |=M8016|Stop time to read the display
109 109  |=M8017|±30 seconds correction
... ... @@ -110,16 +110,14 @@
110 110  |=M8018|install and examine
111 111  |=M8019|Real-time clock (RTC) error
112 112  
113 -=== **3.5.2 High-speed counter ring counting function** ===
111 +=== **High-speed counter ring counting function** ===
114 114  
115 -(% class="table-bordered" %)
116 -|=(% scope="row" %)M8099|High-speed ring counter count start
113 +|=M8099|High-speed ring counter count start
117 117  |=M8099|Ring count configuration
118 118  
119 -=== **3.5.3 X0~~X5 pulse capture function** ===
116 +=== **X0~~X5 pulse capture function** ===
120 120  
121 -(% class="table-bordered" %)
122 -|=(% scope="row" %)M8170|X000 pulse capture
118 +|=M8170|X000 pulse capture
123 123  |=M8171|X001 pulse capture
124 124  |=M8172|X002 pulse capture
125 125  |=M8173|X003 pulse capture
... ... @@ -126,16 +126,19 @@
126 126  |=M8174|X004 pulse capture
127 127  |=M8175|X005 pulse capture
128 128  
129 -= **4. 5V function under development** =
125 += **4 5V function under development** =
130 130  
131 131  N:N communication protocol
132 132  
133 133  Interpolation instructions (G90G01, G90G02, G90G03, G91G01, G91G02, G91G03)
134 134  
135 -= **5. 3V and 5V incompatible functions (These can be automatically converted in the future)** =
131 += **5 3V and 5V incompatible functions** =
136 136  
137 -== **5.1 General register** ==
133 +(% class="wikigeneratedid" %)
134 +**(These can be automatically converted in the future)**
138 138  
136 +== **General register** ==
137 +
139 139  (% class="table-bordered" %)
140 140  |=(% scope="row" %)**register**|=**LX3V**|=**LX5V**|=**Remarks**
141 141  |=Input|X0~~X377|X0~~X1777|
... ... @@ -164,10 +164,13 @@
164 164  
165 165  5. Pointer I is cancelled in LX5V, please check the programming mode for details.
166 166  
167 -== **5.2 Programming method** ==
166 +== **Programming method** ==
168 168  
169 -=== **5.2.1 Subroutine (For details, please refer to LX5V Programming Manual Chapter 1.4-Subroutine Branch)** ===
168 +=== **Subroutine** ===
170 170  
170 +(% class="wikigeneratedid" %)
171 +**(For details, please refer to LX5V Programming Manual Chapter 1.4-Subroutine Branch)**
172 +
171 171  **Use of LX3V subroutines**
172 172  [[image:1652684087594-147.png]]
173 173  
... ... @@ -181,8 +181,11 @@
181 181  
182 182  [[image:1652684829740-769.png]]
183 183  
184 -=== **5.2.2 Interrupt (For details, please refer to LX5V Programming Manual Chapter 1.4-Branch)** ===
186 +=== **Interrupt** ===
185 185  
188 +(% class="wikigeneratedid" %)
189 +**(For details, please refer to LX5V Programming Manual Chapter 1.4-Branch)**
190 +
186 186  **LX3V interrupt**
187 187  
188 188  The interrupt program is under FEND and returns with IRET. The meaning of the specific interrupt is distinguished by the pointer I number.(Refer to EI/DI instruction in 3V)
... ... @@ -201,9 +201,9 @@
201 201  
202 202  [[image:1652685809566-630.png]]
203 203  
204 -=== **5.2.3 Instructions** ===
209 +=== **Instructions** ===
205 205  
206 -**OUT command**
211 +**OUT instruction**
207 207  
208 208  Double word counter[[image:file:///C:\Users\ANNAXU~~1\AppData\Local\Temp\ksohtml14432\wps28.png]]
209 209  
... ... @@ -269,9 +269,9 @@
269 269  
270 270  [[image:1652689626279-240.png]]
271 271  
272 -= **6High-speed input function** =
277 += **6 High-speed input function** =
273 273  
274 -== **6.1 Use on LX3V** ==
279 +== **Use on LX3V** ==
275 275  
276 276  Find the high-speed input counter you need to use according to the following table:
277 277  
... ... @@ -283,7 +283,7 @@
283 283  
284 284  [[image:1652690126303-800.png]]
285 285  
286 -== **6.2 Use on LX5V** ==
291 +== **Use on LX5V** ==
287 287  
288 288  According to channel, select the HSC register to use:
289 289  
... ... @@ -297,11 +297,10 @@
297 297  
298 298  [[image:1652692388207-617.png]]
299 299  
300 -== **6.3 Difference between high-speed counters on LX5V and LX3V** ==
305 +== **Difference between high-speed counters on LX5V and LX3V** ==
301 301  
302 302  LX3V updates the count value when the OUT instruction is executed, which is affected by the scan cycle.
303 303  
304 -
305 305  LX5V is updated in the 100us interrupt, not affected by the scan cycle, and provides the REF instruction to refresh the current high-speed counter value immediately.
306 306  
307 307  LX5V single-phase high-speed counter supports filtering function, configurable 0~~17us.
... ... @@ -308,7 +308,7 @@
308 308  
309 309  LX5V high-speed input counter will update the input frequency in the special soft element (SD) every 100us.
310 310  
311 -= **7. High-speed output function** =
315 += **7 High-speed output function** =
312 312  
313 313  **High-speed pulse commands are the same in the use of commands.**
314 314  
... ... @@ -455,7 +455,7 @@
455 455  
456 456  ⑨Support direction reversal (can set the forward direction to low level)
457 457  
458 -= **8. Communication function** =
462 += **8 Communication function** =
459 459  
460 460  **~1. Communication parameter configuration**
461 461  
... ... @@ -480,13 +480,13 @@
480 480  5V settings:
481 481  
482 482  (% class="table-bordered" %)
483 -|**SD2592 value setting**|**Protocol**
484 -|0 H|Wecon Modbus slave
485 -|2 H|ModbusRTU slave
486 -|3 H|ModbusASCII slave
487 -|10 H|User-defined protocol
488 -|20 H|ModbusRTU master station
489 -|30 H|(((
487 +|=(% scope="row" %)**SD2592 value setting**|=**Protocol**
488 +|=0 H|Wecon Modbus slave
489 +|=2 H|ModbusRTU slave
490 +|=3 H|ModbusASCII slave
491 +|=10 H|User-defined protocol
492 +|=20 H|ModbusRTU master station
493 +|=30 H|(((
490 490  ModbusASCII master
491 491  
492 492  
... ... @@ -503,34 +503,31 @@
503 503  5V address:
504 504  
505 505  (% class="table-bordered" %)
506 -|Port|Occupy|(% style="width:240px" %)Address range|(% style="width:221px" %)(((
510 +|=(% scope="row" %)Port|=Occupy|=(% style="width: 240px;" %)Address range|=(% style="width: 221px;" %)(((
507 507  10 hex Register
508 -)))|(((
512 +)))|=(((
509 509  Total reserved land Address size
510 510  )))
511 -|**Word address**| |(% style="width:240px" %) |(% style="width:221px" %) |
512 -|T0~~T511|512 WORD|(% style="width:240px" %)0x0000-0x01ff|(% style="width:221px" %)0|1536
513 -|C0~~C255|256 WORD|(% style="width:240px" %)0x0600-0x06ff|(% style="width:221px" %)1536|1024
514 -|LC0~~LC255|512 WORD|(% style="width:240px" %)0x0A00-0x0BFF|(% style="width:221px" %)2560|1024
515 -|HSC0~~HSC15|128 WORD|(% style="width:240px" %)0x0E00-0x0E1F|(% style="width:221px" %)3584|512
516 -|D0~~D7999|8000 WORD|(% style="width:240px" %)0x1000-0x2F3F|(% style="width:221px" %)4096|16384
517 -|SD0~~SD4095|4096 WORD|(% style="width:240px" %)0x5000-0x5FFF|(% style="width:221px" %)20480|12288
518 -|R0~~R30000|30000 WORD|(% style="width:240px" %)0x8000-0xF52F|(% style="width:221px" %)32768|30000
519 -|**Bit address**| |(% style="width:240px" %) |(% style="width:221px" %) |
520 -|T0~~T511|512 bit|(% style="width:240px" %)0x0000-0x01ff|(% style="width:221px" %) |1536
521 -|C0~~C255|256 bit|(% style="width:240px" %)0x0600-0x06ff|(% style="width:221px" %)1536|1024
522 -|LC0~~LC255|256 bit|(% style="width:240px" %)0x0A00-0x0AFF|(% style="width:221px" %)2560|1024
523 -|HSC0~~HSC15|64 bit|(% style="width:240px" %)0x0E00-0x0E0F|(% style="width:221px" %)3584|512
524 -|M0~~M8000|8192bit|(% style="width:240px" %)0x1000-0x2F3F|(% style="width:221px" %)4096|16384
525 -|SM0~~SM4095|4096bit|(% style="width:240px" %)0x5000-0x5FFF|(% style="width:221px" %)20480|12288
526 -|Reserved| |(% style="width:240px" %)0x8000-0xBFFF|(% style="width:221px" %) |16383
527 -|S0~~S4095|4096bit|(% style="width:240px" %)0xC000-0xCFFF|(% style="width:221px" %)49152|8192
528 -|X0~~X1023|1024bit|(% style="width:240px" %)0xE000-0xE3FF|(% style="width:221px" %)57344|4096
529 -|Y0~~Y1023|1024bit|(% style="width:240px" %)0xF000-0xF3FF|(% style="width:221px" %)61440|4096
515 +|=**Word address**| |(% style="width:240px" %) |(% style="width:221px" %) |
516 +|=T0~~T511|512 WORD|(% style="width:240px" %)0x0000-0x01ff|(% style="width:221px" %)0|1536
517 +|=C0~~C255|256 WORD|(% style="width:240px" %)0x0600-0x06ff|(% style="width:221px" %)1536|1024
518 +|=LC0~~LC255|512 WORD|(% style="width:240px" %)0x0A00-0x0BFF|(% style="width:221px" %)2560|1024
519 +|=HSC0~~HSC15|128 WORD|(% style="width:240px" %)0x0E00-0x0E1F|(% style="width:221px" %)3584|512
520 +|=D0~~D7999|8000 WORD|(% style="width:240px" %)0x1000-0x2F3F|(% style="width:221px" %)4096|16384
521 +|=SD0~~SD4095|4096 WORD|(% style="width:240px" %)0x5000-0x5FFF|(% style="width:221px" %)20480|12288
522 +|=R0~~R30000|30000 WORD|(% style="width:240px" %)0x8000-0xF52F|(% style="width:221px" %)32768|30000
523 +|=**Bit address**| |(% style="width:240px" %) |(% style="width:221px" %) |
524 +|=T0~~T511|512 bit|(% style="width:240px" %)0x0000-0x01ff|(% style="width:221px" %) |1536
525 +|=C0~~C255|256 bit|(% style="width:240px" %)0x0600-0x06ff|(% style="width:221px" %)1536|1024
526 +|=LC0~~LC255|256 bit|(% style="width:240px" %)0x0A00-0x0AFF|(% style="width:221px" %)2560|1024
527 +|=HSC0~~HSC15|64 bit|(% style="width:240px" %)0x0E00-0x0E0F|(% style="width:221px" %)3584|512
528 +|=M0~~M8000|8192bit|(% style="width:240px" %)0x1000-0x2F3F|(% style="width:221px" %)4096|16384
529 +|=SM0~~SM4095|4096bit|(% style="width:240px" %)0x5000-0x5FFF|(% style="width:221px" %)20480|12288
530 +|=Reserved| |(% style="width:240px" %)0x8000-0xBFFF|(% style="width:221px" %) |16383
531 +|=S0~~S4095|4096bit|(% style="width:240px" %)0xC000-0xCFFF|(% style="width:221px" %)49152|8192
532 +|=X0~~X1023|1024bit|(% style="width:240px" %)0xE000-0xE3FF|(% style="width:221px" %)57344|4096
533 +|=Y0~~Y1023|1024bit|(% style="width:240px" %)0xF000-0xF3FF|(% style="width:221px" %)61440|4096
530 530  
531 531  **5. LX5V added functions**
532 532  
533 533  Modify serial communication parameters during RUN. For example, use PROTOCOL instruction to modify the protocol during run. The corresponding instruction description can also find the method of setting without instruction. For details, please refer to the relevant instructions of the instruction. Commands are PROTOCOL (set serial port protocol), PROTPARA (set serial port parameters), STATION (set station number)
534 -
535 -
536 -