Changes for page 02 Devices
Last modified by Mora Zhou on 2023/11/22 14:13
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -49,11 +49,11 @@ 49 49 50 50 The auxiliary relay M is identified by Signs such as M0, M1........., M7999, and its serial number is numbered in decimal system. 51 51 52 -== {{id name="_Toc17874"/}}**{{id name="_Toc25205"/}}{{id name="_Toc13491"/}}{{id name="_Toc17840"/}}Status relay (S)** ==52 +== **Status relay (S)** == 53 53 54 54 The state relay S is used for the design and execution of the step program. The STL step instruction is used to control the transfer of the step state S, simplifying the programming design. If STL programming is not used, S can be used as an M variable. State S variables are identified by Signs such as S0, S1...S4095, and their serial numbers are numbered in decimal system. 55 55 56 -== {{id name="_Toc30874"/}}**{{id name="_Toc6544"/}}{{id name="_Toc14641"/}}{{id name="_Toc32436"/}}Timer (T)** ==56 +== **Timer (T)** == 57 57 58 58 The timer T is equivalent to the time relay in the relay system and is used to complete the timing function. The timer is an addition expression. When the timer expires, the current value and the set value are the same value. 59 59 ... ... @@ -73,7 +73,7 @@ 73 73 **(1) General-purpose timer (T0 to T245)**{{id name="OLE_LINK328"/}} 74 74 75 75 (% style="text-align:center" %) 76 -[[image:02(1)_html_b1b48247f79e373c.gif|| class="img-thumbnail" height="214" width="800"]]76 +[[image:02(1)_html_b1b48247f79e373c.gif||height="214" width="800" class="img-thumbnail"]] 77 77 78 78 As shown in the figure above: when the normally open contact of X0 is turned on, the current value counter of T200 starts timing from zero and counts up the 10ms clock pulse. When the current value is equal to the set value 223, the timer's normally open contact is turned on and the normally closed contact is turned off, that is, the output contact of T200 will act after its coil is driven for 2.23s. After the normally open contact of X0 is disconnected, T200 is reset because the coil is de-energized. After reset, its normally open contact is disconnected, and the normally closed contact is connected, and the current value returns to zero. 79 79 ... ... @@ -80,7 +80,7 @@ 80 80 **(2) Accumulative timer (T246 to T255)** 81 81 82 82 (% style="text-align:center" %) 83 -[[image:02(1)_html_ad4dcbfaa1b0c0af.gif|| class="img-thumbnail" height="305" width="800"]]83 +[[image:02(1)_html_ad4dcbfaa1b0c0af.gif||height="305" width="800" class="img-thumbnail"]] 84 84 85 85 When the X1 normally open contact in Figure b is turned on, the current value counter of T250 accumulates the 10ms clock pulse. When the normally open contact of X1 is disconnected or stopped, the counting stops, and the current value remains unchanged. When the normally open contact of X1 is turned on again, counting continues. When the accumulated time t1+t2 is 4.2s, the current value is equal to the set value of 420, the normally open contact of T250 is turned on and the normally closed contact is turned off. When the normally open contact of X2 is turned on, T250 will reset (because the coil of the accumulative timer will not reset when the power is off, you need to use the normally open contact of X2 and the reset instruction to force T250 to reset). 86 86 ... ... @@ -89,7 +89,7 @@ 89 89 The timer time can use the constants (K, H) in the program memory as the set value, or can be specified indirectly by the content of the data register (D). 90 90 91 91 (% style="text-align:center" %) 92 -[[image:02(1)_html_dcbc4c6a61066b8e.png|| class="img-thumbnail" height="128" width="300"]]92 +[[image:02(1)_html_dcbc4c6a61066b8e.png||height="128" width="300" class="img-thumbnail"]] 93 93 94 94 After PLC is powered on, multiplication is performed, D3=D0*2. Use the data of D3 as the timing time value of T10. 95 95 ... ... @@ -102,7 +102,7 @@ 102 102 The counter (C) is a 16-bit counter. 103 103 104 104 (% style="text-align:center" %) 105 -[[image:02(1)_html_740e6ef971b9c6de.gif|| class="img-thumbnail" height="234" width="800"]]105 +[[image:02(1)_html_740e6ef971b9c6de.gif||height="234" width="800" class="img-thumbnail"]] 106 106 107 107 The setting value of the 16-bit up counter is 1 to 32767. As shown in the working process of the up counter in Figure c, after the normally open contact of X1 in the figure is turned on, C0 is reset, its corresponding bit storage unit is set to 0, the normally open contact of C0 is disconnected, and the normally closed contact Point is turned on, and its current counter value is set to 0 at the same time. X2 provides a counting input signal. When the reset input circuit of the counter is disconnected and the counting input circuit changes from disconnected to connected (that is, the rising edge of the counting pulse), the current value of counter C0 is increased by 1. After 10 count pulses, the current value of C0 is equal to the set value of 10, and its corresponding bit storage unit is set to 1, and the Y0 contact is turned on at this time. When counting pulses again, the current value does not change until the reset input signal is turned on, and the current value of the counter is set to 0. 108 108 ... ... @@ -119,7 +119,7 @@ 119 119 The corresponding parameter configuration can be configured through: “project management” -> “parameters” -> “high-speed counter configuration”: 120 120 121 121 (% style="text-align:center" %) 122 -[[image:02(1)_html_d2ac1dfce0424263.png|| class="img-thumbnail" height="198" width="300"]]122 +[[image:02(1)_html_d2ac1dfce0424263.png||height="198" width="300" class="img-thumbnail"]] 123 123 124 124 (% style="text-align:center" %) 125 125 [[image:02(1)_html_a2d0f82f3579adff.png||class="img-thumbnail"]] ... ... @@ -142,13 +142,13 @@ 142 142 143 143 The special relay SM is an internal relay with a certain specification inside the programmable controller, so it cannot be used in the program like ordinary internal relays. It can be turned ON/OFF as needed to control the PLC. 144 144 145 -{{id name="OLE_LINK152"/}}For details, please refer to [[(% class="wikiinternallink wikiinternallink" %)__Special relays (SM) list__>>path:#_Attachment 1 Special Relay (SM)]](%%). 145 +{{id name="OLE_LINK152"/}}For details, please refer to [[(% class="wikiinternallink wikiinternallink wikiinternallink" %)__Special relays (SM) list__>>path:#_Attachment 1 Special Relay (SM)]](%%). 146 146 147 147 == {{id name="_Toc7566"/}}**{{id name="_Toc3384"/}}{{id name="_Toc32434"/}}{{id name="_Toc20897"/}}Special Register (SD)** == 148 148 149 149 The special register SD is an internal register whose specifications are determined within the programmable controller, so it cannot be used in the program like a normal internal register, and the corresponding data can be written as needed to control the PLC. 150 150 151 -For details, please refer to [[(% class="wikiinternallink wikiinternallink" %)__Special register (SD) list__>>path:#_Appendix 2 Special Register (SD)]](%%). 151 +For details, please refer to [[(% class="wikiinternallink wikiinternallink wikiinternallink" %)__Special register (SD) list__>>path:#_Appendix 2 Special Register (SD)]](%%). 152 152 153 153 = {{id name="_Toc18802"/}}**Index Register** = 154 154