Changes for page 05 Registers

Last modified by Mora Zhou on 2024/12/05 16:04

From version 4.1
edited by Devin Chen
on 2024/01/25 22:23
Change comment: There is no comment for this version
To version 2.6
edited by Leo Wei
on 2022/07/28 11:27
Change comment: Update document after refactoring.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.DevinChen
1 +XWiki.admin
Content
... ... @@ -12,13 +12,21 @@
12 12  |(% style="width:58px" %)3|(% style="width:263px" %)M - Intermediate|(% style="width:761px" %)(((
13 13  Common intermediate register; System special register;
14 14  )))
15 -|(% style="width:58px" %)4|(% style="width:263px" %)S - State|(% style="width:761px" %)PLC internal states flag for step control;
16 -|(% style="width:58px" %)5|(% style="width:263px" %)T - Timer|(% style="width:761px" %)16-bit timer (1, 10 and 100ms)
17 -|(% style="width:58px" %)6|(% style="width:263px" %)C - Counter|(% style="width:761px" %)16-bit and 32-bit up/down counter; High speed counter;
18 -|(% style="width:58px" %)7|(% style="width:263px" %)D – Data register|(% style="width:761px" %)Data register; String register; Indirect addressing address;
19 -|(% style="width:58px" %)8|(% style="width:263px" %)P, I - Pointer|(% style="width:761px" %)Jump pointer; Sub-program pointer; Interrupt pointer (high speed, );
20 -|(% style="width:58px" %)9|(% style="width:263px" %)K, H - Constant|(% style="width:761px" %)Binary, decimal, hexadecimal, floating point, etc.
21 21  
16 +(% class="table-bordered" %)
17 +|=(% style="width: 58px;" %)4|=(% style="width: 268px;" %)S - State|=(% style="width: 756px;" %)PLC internal states flag for step control;
18 +|(% style="width:58px" %)5|(% style="width:268px" %)T - Timer|(% style="width:756px" %)16-bit timer (1, 10 and 100ms)
19 +|(% style="width:58px" %)6|(% style="width:268px" %)C - Counter|(% style="width:756px" %)(((
20 +16-bit and 32-bit up/down counter; High speed counter;
21 +)))
22 +|(% style="width:58px" %)7|(% style="width:268px" %)D – Data register|(% style="width:756px" %)(((
23 +Data register; String register; Indirect addressing address;
24 +)))
25 +|(% style="width:58px" %)8|(% style="width:268px" %)P, I - Pointer|(% style="width:756px" %)(((
26 +Jump pointer; Sub-program pointer; Interrupt pointer (high speed, );
27 +)))
28 +|(% style="width:58px" %)9|(% style="width:268px" %)K, H - Constant|(% style="width:756px" %)Binary, decimal, hexadecimal, floating point, etc.
29 +
22 22  Table 2
23 23  
24 24  (% border="2" class="table-bordered" %)
... ... @@ -26,9 +26,9 @@
26 26  |X - input|X0~~X13 (Max. 12)|X0~~X43 (Max. 36)|X0~~X43 (Max. 36)|X0~~X43 (Max. 36)|X0~~X77 (Max.128)
27 27  |Y - output|Y0~~Y7 (Max. 8)|Y0~~Y27 (Max. 24)|Y0~~Y27 (Max. 24)|Y0~~Y27 (Max. 24)|Y0~~Y77 (Max.128)
28 28  
29 -= **Relay X & Y** =
37 += **5.1 Relay X & Y** =
30 30  
31 -== **Input relay X** ==
39 +== **5.1.1 Input relay X** ==
32 32  
33 33  The input relay X represents the physical inputs to PLC. It could detect the external signal states. 0 is for open circuit, 1 is for closed circuit.
34 34  
... ... @@ -57,7 +57,7 @@
57 57  |LX3V-3624MR/MT-A(D)|X0~~X43|Y0~~Y27|LX3VE-2424MR/MT-A(D)|X0~~X27|Y0~~Y27
58 58  | | | |LX3VE-3624MR/MT-A(D)|X0~~X43|Y0~~Y27
59 59  
60 -== **Output replay Y** ==
68 +== **5.1.2 Output replay Y** ==
61 61  
62 62  The output relay Y represents physical outputs from PLC. 0 is for open circuit, 1 is for closed circuit.
63 63  
... ... @@ -67,13 +67,13 @@
67 67  
68 68  Devices numbered in: Octal, i.e. Y0 to Y7, Y10 to Y17.
69 69  
70 -= **Relay M** =
78 += **5.2 Relays M** =
71 71  
72 72  Auxiliary Relay M device is used as an intermediate variable during the execution of a program, as auxiliary relays in the practical power control system which is used to transfer the state messages. It could use the word variable formed by M variables. M variables is not directly linked with any external ports, but it could contact with the outside world by the manners of copying X to M or M to Y through the program coding. A variable M could be used repeatedly.
73 73  
74 74  Devices numbered in: Decimal, i.e. M0 to M9, M10 to M19. The variables that are more than M8000 are the system-specific variables, which are used to interact with the PLC user program with the system states; part of the M variables have the feature of power-saving.
75 75  
76 -== **General stable state suxiliary relays** ==
84 +== **5.2.1 General Stable State Auxiliary Relays** ==
77 77  
78 78  The general stable state Auxiliary relays in LX3V series PLC are M0 ~~ M499, there are total of 500 points. The type of auxiliary relay is related to its part number and PLC serial.
79 79  
... ... @@ -154,7 +154,7 @@
154 154  
155 155  ※3, The non-latched or latched feature couldn’t be changed.
156 156  
157 -== **Latched auxiliary relays** ==
165 +== **5.2.2 Latched auxiliary relays** ==
158 158  
159 159  There are a number of latched relays whose state is retained. If a power failure should occur all output and general purpose relays are switched off. When operation is resumed the previous state of these relays is restored.
160 160  
... ... @@ -161,9 +161,9 @@
161 161  As below pictures show, in (a), relay M500 is activated when X0 is turned ON. If X0 is turned OFF after the activation of M500, the ON state of M500 is self-retained. (b) shows Circuit Waveform diagram of (a). For using this function, (c) could makes M500 “Turn ON” all the time.
162 162  
163 163  (% style="text-align:center" %)
164 -[[image:1650081615924-404.png||height="107" width="600" class="img-thumbnail"]]
172 +[[image:1650081615924-404.png||class="img-thumbnail" height="107" width="600"]]
165 165  
166 -== **System-specific auxiliary relays** ==
174 +== **5.2.3 System-specific auxiliary relays** ==
167 167  
168 168  A PLC has a number of special auxiliary relays. These relays all have specific functions such as provide clock pulse and sign, set PLC operation mode, or use for step control, prohibit interrupt, set counter is adding count or subtract count, etc. And they are classified into the following two types.
169 169  
... ... @@ -182,7 +182,7 @@
182 182  ** M8034: All outputs are disabled;
183 183  ** M8039: The PLC operates under constant scould mode;
184 184  
185 -= **Relay S** =
193 += **5.3 Relays S** =
186 186  
187 187  State relays S is used to design and handle step procedures, controls transfer of step by STL step instructions to simplify programming design. S also could be used as M, if there is no STL instruction. Part of the S has the feature of power-saving.
188 188  
... ... @@ -276,11 +276,11 @@
276 276  
277 277  ※3, The non-latched or latched feature couldn’t be changed.
278 278  
279 -== **General State Relays** ==
287 +== **5.3.1 General State Relays** ==
280 280  
281 281  As above picture shows, when X0=ON, then S0 set ON, and Y0 is activated. When X1=ON, then S11 set ON, and Y1 is activated. When X2=ON, S12 set ON, then Y2 is activated, as Figure 3-2 shows.
282 282  
283 -== **Latched State Relays** ==
291 +== **5.3.2 Latched State Relays** ==
284 284  
285 285  There are a number of latched relays whose state is retained. If a power failure should occur all output and general purpose relays are switched off. When operation is resumed the previous state of these relays is restored.
286 286  
... ... @@ -289,18 +289,18 @@
289 289  Figure 2
290 290  
291 291  (% style="text-align:center" %)
292 -[[image:1650087341412-765.png||height="392" width="500" class="img-thumbnail"]]
300 +[[image:1650087341412-765.png||class="img-thumbnail" height="392" width="500"]]
293 293  
294 -== **Annunciator Flags** ==
302 +== **5.3.3 Annunciator Flags** ==
295 295  
296 296  Some state flags could be used as outputs for external diagnosis (called annunciation) when certain applied instructions are used.
297 297  
298 298  (% style="text-align:center" %)
299 -[[image:1650087434137-885.png||height="84" width="400" class="img-thumbnail"]]
307 +[[image:1650087434137-885.png||class="img-thumbnail" height="84" width="400"]]
300 300  
301 301  If X1 and X2 set ON at the same time and keep more than 1 seconds, S900 is activated, if X1 or X2 is turned OFF after the activation of S900, the ON state of S900 is self-retained. If X1 and X2 set ON at the same time less than 1 seconds, S900 is not activated.
302 302  
303 -= **Timer** =
311 += **5.4 Timer** =
304 304  
305 305  The timer is used to perform the timing function. Each timer contains coils, contacts, and counting time value register. A driven coil sets internal PLC contacts. Various timer resolutions are possible, from 1 to 100ms. If the coil power shuts off (insufficient power), the contacts will restore to their initial states and the value will automatically be cleared. Some timers have the feature of accumulation and power-saving.
306 306  
... ... @@ -416,38 +416,38 @@
416 416  (T192–T199)
417 417  )))
418 418  
419 -== **General timer (T0~~T245)** ==
427 +== **5.4.1 General timer (T0~~T245)** ==
420 420  
421 421  The timer output contact is activated when the count data reaches the value set by the constant K.
422 422  
423 423  (% style="text-align:center" %)
424 -[[image:1650087703091-787.png||height="133" width="500" class="img-thumbnail"]]
432 +[[image:1650087703091-787.png||class="img-thumbnail" height="133" width="500"]]
425 425  
426 426  Figure 2
427 427  
428 428  As above picture shows, when X0 is on, T200 counts from zero and accumulates 10ms clock pulses. When the current value is equal to the set value 223, timer output contact is activated; the output contact of the T200 is actuated after its coil is driven by 2.23s.
429 429  
430 -== **Retentive Timers (T246~~T255)** ==
438 +== **5.4.2 Retentive Timers (T246~~T255)** ==
431 431  
432 432  (% style="text-align:center" %)
433 -[[image:1650087743260-243.png||height="150" width="500" class="img-thumbnail"]]
441 +[[image:1650087743260-243.png||class="img-thumbnail" height="150" width="500"]]
434 434  
435 435  Figure 3
436 436  
437 437  As above picture shows, T250 has the ability to retain the currently reached present value even after X1 has been removed. If T1+T2=42s, T250 (open contact) set on. When X2 set ON, timer T250 will be reset.
438 438  
439 -== **Set value** ==
447 +== **5.4.3 Set value** ==
440 440  
441 441  The set value of the timer could be determined by constant (K, H) in the program memory and could also be specified indirectly with the contents of the data register (D).
442 442  
443 443  (% style="text-align:center" %)
444 -[[image:1650087806303-500.png||height="176" width="400" class="img-thumbnail"]]
452 +[[image:1650087806303-500.png||class="img-thumbnail" height="176" width="400"]]
445 445  
446 446  As above program shows, D3 is set value for T10, D3=D0*2.
447 447  
448 -= **Counter** =
456 += **5.5 Counter** =
449 449  
450 -== **Counter** ==
458 +== **5.5.1 Counter** ==
451 451  
452 452  Counter performs counting function, it contains coil, contact and count value register. The current value of the counter increases each time coil C0 is turned ON. The output contact is activated when count value reach to preset value.
453 453  
... ... @@ -476,7 +476,7 @@
476 476  
477 477  ※3, The non-latched or latched feature couldn’t be changed.
478 478  
479 -=== **16bit up counter** ===
487 +=== **5.5.1.1 16bit up counter** ===
480 480  
481 481  16bit counters: 1 to +32,767, as below picture shows, the current value of the counter increases each time coil C0 is turned ON by X2. The output contact is activated when the coil is turned ON for the tenth time.
482 482  
... ... @@ -483,17 +483,17 @@
483 483  After this, the counter data remains unchanged when X2 is turned ON. The counter current value is reset to ‘0’ (zero) when the RST instruction is executed by turning ON X1 in the example. The output contact Y0 is also reset at the same time.
484 484  
485 485  (% style="text-align:center" %)
486 -[[image:1650088012596-185.png||height="169" width="500" class="img-thumbnail"]]
494 +[[image:1650088012596-185.png||class="img-thumbnail" height="169" width="500"]]
487 487  
488 488  Figure 2
489 489  
490 -=== **32bit bi-directional counter** ===
498 +=== **5.5.1.2 32bit bi-directional counter** ===
491 491  
492 492  32bit bi-directional counters: -2,147,483,648 to +2,147,483,647. C200- 219 are general, C220- 234 are latched.
493 493  
494 494  The counting direction is designated with special auxiliary relays M8200 to M8234. When the special auxiliary relay is ON, it is decremented; otherwise, it is counting up.
495 495  
496 -== **High speed counter** ==
504 +== **5.5.2 High speed counter** ==
497 497  
498 498  Although counters C235 to C255 (21 points) are all high speed counters, they share the same range of high speed inputs. Therefore, if an input is already being used by a high speed counter, it couldnot be used for any other high speed counters or for any other purpose, i.e as an interrupt input.
499 499  
... ... @@ -511,7 +511,7 @@
511 511  Table 3
512 512  
513 513  (% style="text-align:center" %)
514 -[[image:1650088093463-330.png||height="209" width="1000" class="img-thumbnail"]]
522 +[[image:1650088093463-330.png||class="img-thumbnail" height="209" width="1000"]]
515 515  
516 516  U: up counter input
517 517  
... ... @@ -526,11 +526,11 @@
526 526  B: B phase counter input
527 527  
528 528  (((
529 -=== **1 phase** ===
537 +=== **5.5.2.1 1 phase** ===
530 530  )))
531 531  
532 532  (% style="text-align:center" %)
533 -[[image:1650088151106-380.png||height="192" width="300" class="img-thumbnail"]]
541 +[[image:1650088151106-380.png||class="img-thumbnail" height="192" width="300"]]
534 534  
535 535  Figure 4
536 536  
... ... @@ -537,11 +537,11 @@
537 537  As above program shows, C244 is 1 phase high speed counter with start, stop and reset functions. From the table, X1~~X6 are for start and reset. C244 start counting when X12 and X6 are turned ON, the counter input terminal is X0, set value for C244 is determined by D0 (D1), so C244 could be reset by X0 or X11.
538 538  
539 539  (((
540 -=== **2 phase** ===
548 +=== **5.5.2.2 2 phase** ===
541 541  )))
542 542  
543 543  (% style="text-align:center" %)
544 -[[image:1650088187166-773.png||height="208" width="500" class="img-thumbnail"]]
552 +[[image:1650088187166-773.png||class="img-thumbnail" height="208" width="500"]]
545 545  
546 546  Figure 5
547 547  
... ... @@ -549,12 +549,12 @@
549 549  
550 550  While A phase is turned ON, if B changes state from OFF to ON, C251 executes up count operation. While A phase is turn ON, if B changes state from ON to OFF, C251 executes down count operation. According to this principle, C251 executes up count operation while machine forward, and C251 executes down count operation while machine reverse. The M8251 monitors the C251's up / down counting status, OFF is for up counting, ON is for down counting.
551 551  
552 -=== **Output Y: high speed pulse output transistor** ===
560 +=== **5.5.2.3 Output Y: high speed pulse output transistor** ===
553 553  
554 554  * It supports up to 4 channels, and each channel maximum output frequency is 200K;
555 555  * The output frequency could be used for controlling inverter, stepper and servo motors and so on;
556 556  
557 -=== **Input X: one phase** ===
565 +=== **5.5.2.4 Input X: one phase** ===
558 558  
559 559  * X0, X1 hardware counters (C235, C236, C246), could support 200K pulse input at the same time;
560 560  * X0, X1 software counters (C241, C244, C247, C249), could support the input of 100K pulses at the same time;
... ... @@ -561,7 +561,7 @@
561 561  * The hardware counter could be switched to software counting using HSCS, HSCR, HSZ instructions;
562 562  * The last four X points are software counting, which could support the input of 10K pulses at the same time.
563 563  
564 -=== **Input X: A/B phase** ===
572 +=== **5.5.2.5 Input X: A/B phase** ===
565 565  
566 566  * X0, X1 hardware counter (C251), can support 100K pulse input;
567 567  * X0, X1 software counters (C252, C254) support the simultaneous input of 50K pulses at the same time;
... ... @@ -579,7 +579,7 @@
579 579  (two times)
580 580  )))|(((
581 581  (% style="text-align:center" %)
582 -[[image:1650088281669-717.png||height="153" width="500" class="img-thumbnail"]]
590 +[[image:1650088281669-717.png||class="img-thumbnail" height="153" width="500"]]
583 583  )))
584 584  |(((
585 585  K4 or others
... ... @@ -589,42 +589,41 @@
589 589  (default)
590 590  )))|(((
591 591  (% style="text-align:center" %)
592 -[[image:1650088272392-475.png||height="149" width="500" class="img-thumbnail"]]
600 +[[image:1650088272392-475.png||class="img-thumbnail" height="149" width="500"]]
593 593  )))
594 594  
595 -(% class="box infomessage" %)
596 -(((
597 -✎Note: 
598 -HSCS, HSCR and HSCZ couldn’t be used with Frequency multiplication
599 -Program example1:
603 +**✎Note: **
604 +//**HSCS, HSCR and HSCZ couldn’t be used with Frequency multiplication**//
605 +
606 +//**Program example1:**//
607 +
600 600  If X0 input pulse number >=800,The Y0 will set ON.
609 +
601 601  X6 means reset C235.
611 +
602 602  X7 means reset Y0.
613 +
603 603  You also could use M register instead of X registers.(M is a auxiliary register
604 -)))
605 605  
606 -(% class="box infomessage" %)
607 -(((
608 608  **✎Note:** Wecon PLC X input need power DC24V signal.X0 and X1 support upto 200KHZ.X2~-~-~-~--X5 upto 10K.
609 -)))
610 610  
611 611  (% style="text-align:center" %)
612 -[[image:1650088411761-720.png||height="315" width="800" class="img-thumbnail"]]
619 +[[image:1650088411761-720.png||class="img-thumbnail" height="315" width="800"]]
613 613  
614 614  //**Program example2: AB encoder**//
615 615  
616 616  
617 617  (% style="text-align:center" %)
618 -[[image:1650088448077-686.png||height="137" width="850" class="img-thumbnail"]]
625 +[[image:1650088448077-686.png||class="img-thumbnail" height="137" width="850"]]
619 619  
620 620  
621 621  (% style="text-align:center" %)
622 -[[image:1650088461137-192.png||height="333" width="700" class="img-thumbnail"]]
629 +[[image:1650088461137-192.png||class="img-thumbnail" height="333" width="700"]]
623 623  
624 624  (% style="text-align:center" %)
625 -[[image:1650088478181-407.png||height="683" width="850" class="img-thumbnail"]]
632 +[[image:1650088478181-407.png||class="img-thumbnail" height="683" width="850"]]
626 626  
627 -= **Register D** =
634 += **5.6 Register D** =
628 628  
629 629  Data registers, as the name suggests, store data. The stored data could be interpreted as a numerical value or as a series of bits, being either ON or OFF. A single data register contains 16bits or one word. However, two consecutive data registers could be used to form a 32bit device more commonly known as a double word. If the contents of the data register are being considered numerically then the Most Significouldt Bit (MSB) is used to indicate if the data has a positive or negative bias. As bit devices could only be ON or OFF, 1 or 0 the MSB convention used is, 0 is equal to a positive number and 1 is equal to a negative number.
630 630  
... ... @@ -753,29 +753,29 @@
753 753  
754 754  ※3, The non-latched or latched feature couldnot be changed.
755 755  
756 -== **General** ==
763 +== **5.6.1 General** ==
757 757  
758 758  A single data register contains 16bits or one word. However, two consecutive data registers could be used to form a 32bit device more commonly known as a double word. Data remains the same until the next time it is rewritten. When switch the PLC state (RUN to STOP or STOP to RUN), the data will be erased. If the special auxiliary relay M8033 is ON, the data in general data register will be retained while switch PLC state.
759 759  
760 -== **Latched** ==
767 +== **5.6.2 Latched** ==
761 761  
762 762  The data in register will be retained while switch PLC state. The latched register range could be modified by parameters.
763 763  
764 -== **System-special** ==
771 +== **5.6.3 System-special** ==
765 765  
766 766  System-special data register D8000 ~~ D8255 are used for controlling and monitoring a variety of work methods and components in PLC, such as battery voltage, scould time, and is the state of action and so on. The default value will be written into those registers while PLC power on.
767 767  
768 -== **Index registers V, Z** ==
775 +== **5.6.4 Index registers V, Z** ==
769 769  
770 770  The index registers are same as common data registers, is 16-bit registers for data reading and writing. There are totally 64 registers, V0-V31, Z0-Z31.
771 771  
772 772  The index registers could be used in combination with other registers or values by application instructions. But they couldnot be used in combination with the basic instructions and step ladder diagram instruction.
773 773  
774 -== **File registers D** ==
781 +== **5.6.5 File registers D** ==
775 775  
776 776  The file registers start from D1000 to D7999. File registers could be secured in the program memory in units of 500 points. File registers are actually setup in the parameter area of the PLC. For every block of 500 file registers allocated and equivalent block of 500 program steps are lost.
777 777  
778 -= **Register P,I** =
785 += **5.7 Register P,I** =
779 779  
780 780  Pointers register P is used for entry address of jump program, and identification of sub-program starting address.
781 781  
... ... @@ -892,19 +892,18 @@
892 892  (I010, I020, I030, I040, I050, I060)
893 893  )))
894 894  
895 -(% class="box infomessage" %)
896 -(((
897 -**✎Note: **The input X for interrupt register couldn’t be used for [high speed counter] and [SPD] instruction as the same time.
898 -)))
902 +**✎Note: **
899 899  
904 +The input X for interrupt register couldn’t be used for [high speed counter] and [SPD] instruction as the same time.
905 +
900 900  1. Sub-program pointer
901 901  
902 902  As below demos show, the left one is for conditional jump with [CJ] instruction, the right one is for Sub-program call with [CALL] instruction.
903 903  
904 904  (% style="text-align:center" %)
905 -[[image:1650093462249-520.png||height="399" width="700" class="img-thumbnail"]]
911 +[[image:1650093462249-520.png||class="img-thumbnail" height="399" width="700"]]
906 906  
907 -== **Interrupt pointer** ==
913 +== **5.7.1 Interrupt pointer** ==
908 908  
909 909  An interrupt pointer and various usage of three, dedicated interrupt applied instructions;
910 910  
... ... @@ -912,7 +912,7 @@
912 912  * EI: enable interrupt
913 913  * DI: disable interrupt
914 914  
915 -== **Usage of interrupt** ==
921 +== **5.7.2 Usage of interrupt** ==
916 916  
917 917  * Input Interrupt: Receive signals from a particular input without being affected by the scould cycle of PLC;
918 918  * Timer Interrupt: The interrupt is repeatedly triggered at intervals of the specified time (10ms~~99ms);
... ... @@ -936,27 +936,27 @@
936 936  |BIN float|BIN float is used for calculation in PLC internal.
937 937  |Decimal float|It is only used for monitoring and improving readability.
938 938  
939 -= **Constant K** =
945 += **5.8.1 Constant K** =
940 940  
941 941  [K] is decimal integer symbol, mainly used for setting the value of the timer or counter or application instruction operand values. The value range in 16-bit is -32,768 – 32,767, the value range in 32-bit is -2, 147,483, 648 – 2, 147, 483, 647.
942 942  
943 -= **Constant H** =
949 += **5.8.2 Constant H** =
944 944  
945 945  [H] is hexadecimal numbers symbol, mainly used for setting the value of application instruction operand value. The value range in 16-bit instruction is 0000-FFFF, the value range in 32-bit instruction is 0000, 0000– FFFF, FFFF.
946 946  
947 -= **Constant E** =
953 += **5.8.3 Constant E** =
948 948  
949 949  [E] is single-precision floating symbol, mainly used for setting the value of application instruction operand value. It is only available in DECMP、DEZCP、DSINH、DCOSH、DTANH、DEBCD、DEBIN、DEADD、DESUB、DEMUL、DEDIV、DEXP、DLOGE、DLOG10、DESQR、DINT、DSIN、DCOS、DTAN、DASIN、DACOS、 DATAN、DRAD、DDEG instructions in LX3VP and LX3VE series. The value range is ±1.175495 E-38~±3.402823 E+38.
950 950  
951 951  (% style="text-align:center" %)
952 -[[image:1650093586748-193.png||height="62" width="500" class="img-thumbnail"]]
958 +[[image:1650093586748-193.png||class="img-thumbnail" height="62" width="500"]]
953 953  
954 -= **System-special address** =
960 += **5.9 System-special address** =
955 955  
956 956  (% class="table-bordered" %)
957 957  |=**M**|=(% colspan="2" %)**Description**|=**LX1S**|=**LX2N or later**|=**D**|=(% colspan="3" %)**Description**|=**LX1S**|=**LX2N or later**|=
958 958  |(% colspan="11" %)(((
959 -== **System operation** ==
965 +== **5.9.1 System operation** ==
960 960  )))|
961 961  
962 962  (% class="table-bordered" %)
... ... @@ -991,7 +991,7 @@
991 991  |M8008|(% colspan="2" %)Power loss has occurred|-|O|D8008|(% colspan="3" %)The time period before shutdown when a power failure occurs (default 10ms)|-|O|
992 992  |M8009|(% colspan="2" %)Power failure of 24V DC service supply|-|O|D8009|(% colspan="3" %)The device number of module, which affected by 24VDC power failure|-|O|
993 993  |(% colspan="11" %)(((
994 -== **Clock Devices** ==
1000 +== **5.9.2 Clock Devices** ==
995 995  )))|
996 996  |M8010|(% colspan="2" %)Reserved|O|O|D8010|(% colspan="3" %)Current operation cycle / scould time in units of 0.1 msec|O|O|
997 997  |M8011|(% colspan="2" %)Oscillates in 10 msec cycles|O|O|D8011|(% colspan="3" %)Minimum cycle/ scould time in units of 0.1 msec|O|O|
... ... @@ -1012,7 +1012,7 @@
1012 1012  |M8018|(% colspan="2" %)When ON Real Time Clockis installed|O|O|D8018|(% colspan="3" %)Year data for use with an RTC (2000-2099)|O|O|
1013 1013  |M8019|(% colspan="2" %)Clock data has been set outof range|O|O|D8019|(% colspan="3" %)Weekday data for use with an RTC (0-6)|O|O|
1014 1014  |(% colspan="11" %)(((
1015 -== **Operation Flags** ==
1021 +== **5.9.3 Operation Flags** ==
1016 1016  )))|
1017 1017  |M8020|(% colspan="2" %)Set when the result of anADDor SUBis “0”|O|O|D8020|(% colspan="3" %)Input filter setting for devicesX000 to X007 default is 10msec, (0-60)|O|O|
1018 1018  |M8021|(% colspan="2" %)(((
... ... @@ -1029,7 +1029,7 @@
1029 1029  |M8028|(% colspan="2" %)Switch100ms/10ms timer|O|-|D8028|(% colspan="3" %)Current value of the Z index register|O|O|
1030 1030  |M8029|(% colspan="2" %)Instruction execution complete such as PLSR|O|O|D8029|(% colspan="3" %)Current value of the V index register|O|O|
1031 1031  |(% colspan="11" %)(((
1032 -== **PLC Operation Mode** ==
1038 +== **5.9.4 PLC Operation Mode** ==
1033 1033  )))|
1034 1034  |M8030|(% colspan="2" %)Battery voltage is low but BATT.V LED not lit|-|O|D8030|(% colspan="3" %)Reserved| | |
1035 1035  |M8031|(% colspan="2" %)Clear all unsaved memory|O|O|D8031|(% colspan="3" %)Reserved| | |
... ... @@ -1042,7 +1042,7 @@
1042 1042  |M8038|(% colspan="2" %)Communication parameter setting flag|O|O|D8038|(% colspan="3" %)Reserved| | |
1043 1043  |M8039|(% colspan="2" %)Constant scould|O|O|D8039|(% colspan="3" %)Constant scould time, default 0, in units of MS|O|O|
1044 1044  |(% colspan="11" %)(((
1045 -== **Step Ladder (STL) Flags** ==
1051 +== **5.9.5 Step Ladder (STL) Flags** ==
1046 1046  )))|
1047 1047  |M8040|(% colspan="2" %)When ON STL state transfer is disabled|O|O|D8040|(% colspan="3" rowspan="8" %)Up to 8 active STL states, from the range S0 to S899, are stored in D8040 to D8047 in ascending numerical order (Updated at END)|O|O|
1048 1048  |M8041|(% colspan="2" %)When ON STL transfer from initial state is enabled during automatic operation|O|O|D8041|O|O|
... ... @@ -1055,7 +1055,7 @@
1055 1055  |M8048|(% colspan="2" %)ON when annunciator monitoring has been enabled (M8049) and there is an active annunciator flag|-|O|D8048|(% colspan="3" %)Reserved| | |
1056 1056  |M8049|(% colspan="2" %)When ON D8049 is enabled for actove annunciator state monitoring.|-|O|D8049|(% colspan="3" %)Stores the lowest currently active annunciator from the range S900 to S999 (Updated at END)|-|O|
1057 1057  |(% colspan="11" %)(((
1058 -== **Interrupt Control Flags** ==
1064 +== **5.9.6 Interrupt Control Flags** ==
1059 1059  )))|
1060 1060  |M8050|(% colspan="2" %)I00□ disabled|O|O|D8050|(% colspan="3" %)Reserved| | |
1061 1061  |M8051|(% colspan="2" %)I10□ disabled|O|O|D8051|(% colspan="3" %)Reserved| | |
... ... @@ -1068,7 +1068,7 @@
1068 1068  |M8058|(% colspan="2" %)I8□□ disabled|-|O|D8058|(% colspan="3" %)Reserved| | |
1069 1069  |M8059|(% colspan="2" %)Counters disabled|-|O|D8059|(% colspan="3" %)Reserved| | |
1070 1070  |(% colspan="11" %)(((
1071 -== **Error Detection** ==
1077 +== **5.9.7 Error Detection** ==
1072 1072  )))|
1073 1073  |M8060|(% colspan="2" %)I/O configuration error|-|O|D8060|(% colspan="3" %)The first I/O number of the unit or block causing the error|-|O|
1074 1074  |M8061|(% colspan="2" %)PLC hardware error|O|O|D8061|(% colspan="3" %)Error code for hardware error|O|O|
... ... @@ -1081,11 +1081,11 @@
1081 1081  |M8068|(% colspan="2" %)Operation error latch|O|O|D8068|(% colspan="3" %)Operation error step number latched|O|O|
1082 1082  |M8069|(% colspan="2" %)Reserved| | |D8069|(% colspan="3" %)Step numbers for found errors corresponding to flags M8065 to M8067|O|O|
1083 1083  |(% colspan="11" %)(((
1084 -== **High-speed ring counter** ==
1090 +== **5.9.8 High-speed ring counter** ==
1085 1085  )))|
1086 1086  |M8099|(% colspan="2" %)High-speed ring counter operation|O|O|D8099|(% colspan="3" %)High-speed ring counter, range: 0 to 32,767 in units of 0.1 ms|O|O|
1087 1087  |(% colspan="11" %)(((
1088 -== **Other functions** ==
1094 +== **5.9.9 Other functions** ==
1089 1089  )))|
1090 1090  |M8100|(% colspan="2" %)SPD (X000) pulse/ minute|O|O|D8100|(% colspan="3" %)Reserved|O|O|
1091 1091  |M8101|(% colspan="2" %)SPD (X001) pulse/ minute|O|O|D8101|(% colspan="3" %)(((
... ... @@ -1106,7 +1106,7 @@
1106 1106  |M8108|(% colspan="2" %)Reserved| | |D8108|(% colspan="3" %)Reserved| | |
1107 1107  |M8109|(% colspan="2" %)Output refresh error|O|O|D8109|(% colspan="3" %)Output refresh error device number;|O|O|
1108 1108  |(% colspan="11" %)(((
1109 -== **COM1 communication settings** ==
1115 +== **5.9.10 COM1 communication settings** ==
1110 1110  )))|
1111 1111  |M8110|(% colspan="2" %)Reserved| | |D8110|(% colspan="3" %)Com1 port setting (only available in 22319, 24320, 25007 or later)|O|O|
1112 1112  |M8111|(% colspan="2" %)Reserved| | |D8111|(% colspan="3" %)Reserved| | |
... ... @@ -1119,7 +1119,7 @@
1119 1119  |M8118|(% colspan="2" %)BD module 2 channel 3 flag bit| | |D8118|(% colspan="3" %)BD module 2 channel 3 data| | |
1120 1120  |M8119|(% colspan="2" %)BD module 2 channel 4 flag bit| | |D8119|(% colspan="3" %)BD module 2 channel 4 data| | |
1121 1121  |(% colspan="11" %)(((
1122 -== **COM2 communication settings** ==
1128 +== **5.9.11 COM2 communication settings** ==
1123 1123  )))|
1124 1124  |M8120|(% colspan="2" %)Reserved| | |D8120|(% colspan="3" %)Com2 port setting, the default value is 0|O|O|
1125 1125  |M8121|(% colspan="2" %)Sending and waiting (RS instruction)|O|O|D8121|(% colspan="3" %)Station number settings, the default value is 1|O|O|
... ... @@ -1140,7 +1140,7 @@
1140 1140  |M8128|(% colspan="2" %)Reserved| | |D8128|(% colspan="3" %)Data length for PC protocol|O|O|
1141 1141  |M8129|(% colspan="2" %)Timeout judgement|O|O|D8129|(% colspan="3" %)Timeout judgement, default value is 10 (100ms)|O|O|
1142 1142  |(% colspan="11" %)(((
1143 -== **High speed & Position** ==
1149 +== **5.9.12 High speed & Position** ==
1144 1144  )))|
1145 1145  |M8130|(% colspan="2" rowspan="2" %)Selects comparison tables to be used with the HSZ instruction|O|O|D8130|(% colspan="3" %)Contains the number of the current record being processed in the HSZ comparison table|O|O|
1146 1146  |M8131|O|O|D8131|(% colspan="3" %)HSZ&PLSY speed mode|O|O|
... ... @@ -1169,7 +1169,7 @@
1169 1169  |M8154|(% colspan="2" %)Reserved| | |D8154|(% colspan="3" %)Reserved| | |
1170 1170  |M8155|(% colspan="2" %)Reserved| | |D8155|(% colspan="3" %)Reserved| | |
1171 1171  |(% colspan="11" %)(((
1172 -== **Extend function** ==
1178 +== **5.9.13 Extend function** ==
1173 1173  )))|
1174 1174  |M8156|(% colspan="2" %)Reserved| | |D8156|(% colspan="3" %)Define clear signal in Y0 (ZRN) (default is 5=Y5)|O|O|
1175 1175  |M8157|(% colspan="2" %)Reserved| | |D8157|(% colspan="3" %)Define clear signal in Y1 (ZRN) (default is 6=Y6)|O|O|