Changes for page 05 Timer and counter

Last modified by Leo Wei on 2024/12/24 22:38

From version 4.2
edited by Stone Wu
on 2022/07/13 20:55
Change comment: Update document after refactoring.
To version 4.7
edited by Leo Wei
on 2024/12/24 22:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -PLC Editor2.1 User manual.2\.1 LX5V user manual.WebHome
1 +PLC Editor2.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Stone
1 +XWiki.admin
Content
... ... @@ -8,14 +8,14 @@
8 8  
9 9  **Content, range and data type**
10 10  
11 -(% class="table-bordered" style="width:1200px" %)
12 -|**Parameter**|(% style="width:324px" %)**Content**|(% style="width:197px" %)**Range**|(% style="width:245px" %)**Data type**|(% style="width:283px" %)**Data type (label)**
13 -|(d)|(% style="width:324px" %)Timer device number|(% style="width:197px" %)-|(% style="width:245px" %)Counter|(% style="width:283px" %)ANY
14 -|(value)|(% style="width:324px" %)Timer setting value|(% style="width:197px" %)0 to 32767|(% style="width:245px" %)Unsigned BIN 16 bit|(% style="width:283px" %)ANY16
15 15  
12 +|Parameter|Content|Range|Data type|Data type (label)
13 +|(d)|Timer device number|-|Counter|ANY
14 +|(value)|Timer setting value|0 to 32767|Unsigned BIN 16 bit|ANY16
15 +
16 16  **Device used**
17 17  
18 -(% class="table-bordered" style="width:1111px" %)
18 +
19 19  |(% rowspan="2" %)**Instruction**|(% rowspan="2" style="width:130px" %)**Parameter**|(% colspan="11" style="width:486px" %)**Devices**|(% style="width:201px" %)(((
20 20  **Offset modification**
21 21  )))|(% style="width:169px" %)(((
... ... @@ -31,7 +31,7 @@
31 31  
32 32  When the operation result before the OUT instruction changes from ON to OFF, the situation is as follows.
33 33  
34 -(% class="table-bordered" %)
34 +
35 35  |(% rowspan="2" style="width:168px" %)**Timer type**|(% rowspan="2" style="width:101px" %)**Timer coil**|(% rowspan="2" style="width:220px" %)**The current value of the timer**|(% colspan="2" style="width:301px" %)**Before the time limit**|(% colspan="2" style="width:286px" %)**After the time limit**
36 36  |(% style="width:149px" %)**Normally open contact**|(% style="width:151px" %)**Normally closed contact**|(% style="width:141px" %)**Normally open contact**|(% style="width:145px" %)**Normally closed contact**
37 37  |(% style="width:168px" %)Timer|(% style="width:101px" %)OFF|(% style="width:220px" %)0|(% style="width:149px" %)Non-conductive|(% style="width:151px" %)Conduction|(% style="width:141px" %)Non-conductive|(% style="width:145px" %)Conduction
... ... @@ -47,17 +47,17 @@
47 47  
48 48  • Description of each timer:
49 49  
50 -(% class="table-bordered" %)
51 -|(% style="width:171px" %)**Device number**|(% style="width:516px" %)**Timer specifications**|(% style="width:176px" %)**Device number**|(% style="width:213px" %)**Timer specifications**
52 -|(% style="width:171px" %)T0 to T191|(% style="width:516px" %)100ms timer|(% style="width:176px" %)T246 to T249|(% style="width:213px" %)1ms accumulative timer
53 -|(% rowspan="2" style="width:171px" %)T192 to T199|(% rowspan="2" style="width:516px" %)100ms subroutine timer (used in the subroutine, even if the subroutine is not called, it will still be updated)|(% style="width:176px" %)T250 to T255|(% style="width:213px" %)10ms cumulative timer
54 -|(% style="width:176px" %)T256 to T383|(% style="width:213px" %)1ms timer
55 -|(% style="width:171px" %)T200 to T245|(% style="width:516px" %)10ms timer|(% style="width:176px" %)T384 to T511|(% style="width:213px" %)0.1ms timer
56 56  
51 +|Device number|Timer specifications|Device number|Timer specifications
52 +|T0 to T191|100ms timer|T246 to T249|1ms accumulative timer
53 +|(% rowspan="2" %)T192 to T199|(% rowspan="2" %)100ms subroutine timer (used in the subroutine, even if the subroutine is not called, it will still be updated)|T250 to T255|10ms cumulative timer
54 +|T256 to T383|1ms timer
55 +|T200 to T245|10ms timer|T384 to T511|0.1ms timer
56 +
57 57  **Error code**
58 58  
59 -(% class="table-bordered" %)
60 -|**Error code**|**Content**
59 +
60 +|Error code|Content
61 61  |4084H|The parameter setting in (value) is out of range
62 62  
63 63  **Example**
... ... @@ -77,24 +77,24 @@
77 77  
78 78  **Content, range and data type**
79 79  
80 -(% class="table-bordered" %)
81 -|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
80 +
81 +|Parameter|Content|Range|Data type|Data type (label)
82 82  |(d)|Counter device number|-|Counter|ANY
83 83  |(value)|Counter setting value|0 to 32767|Unsigned BIN 16 bit|ANY_INT
84 84  
85 85  **Device used**
86 86  
87 -(% class="table-bordered" %)
88 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="12" %)**Devices**|(((
89 -**Offset**
90 90  
91 -**modification**
88 +|(% rowspan="2" %)Instruction|(% rowspan="2" %)Parameter|(% colspan="12" %)Devices|(((
89 +Offset
90 +
91 +modification
92 92  )))|(((
93 -**Pulse**
93 +Pulse
94 94  
95 -**extension**
95 +extension
96 96  )))
97 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**E**|**[D]**|**XXP**
97 +|KnX|KnY|KnM|KnS|T|C|D|R|SD|K|H|E|[D]|XXP
98 98  |(% rowspan="2" %)OUT C|Parameter 1| | | | | |●| | | | | | | |
99 99  |Parameter 2|●|●|●|●|●| |●|●|●|●|●|●| |
100 100  
... ... @@ -110,8 +110,8 @@
110 110  
111 111  **Error code**
112 112  
113 -(% class="table-bordered" %)
114 -|**Error code**|**Content**
113 +
114 +|Error code|Content
115 115  |4084H|The parameter setting in (value) is out of range
116 116  |4085H|The (value) parameter exceeds the device range
117 117  
... ... @@ -132,24 +132,22 @@
132 132  
133 133  **Content, range and data type**
134 134  
135 -(% class="table-bordered" %)
136 -|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
135 +|Parameter|Content|Range|Data type|Data type (label)
137 137  |(d)|Long counter device number|-|Counter|ANY
138 138  |(value)|Long counter setting value|0 to 4294967295|Unsigned BIN 32 bit|ANY_INT
139 139  
140 140  **Device used**
141 141  
142 -(% class="table-bordered" %)
143 -|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="12" %)**Devices**|(((
144 -**Offset**
141 +|(% rowspan="2" %)Instruction|(% rowspan="2" %)Parameter|(% colspan="12" %)Devices|(((
142 +Offset
145 145  
146 -**modification**
144 +modification
147 147  )))|(((
148 -**Pulse**
146 +Pulse
149 149  
150 -**extension**
148 +extension
151 151  )))
152 -|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**D**|**R**|**SD**|**LC**|**K**|**H**|**E**|**[D]**|**XXP**
150 +|KnX|KnY|KnM|KnS|T|D|R|SD|LC|K|H|E|[D]|XXP
153 153  |(% rowspan="2" %)OUT LC|Parameter 1| | | | | | | | |●| | | | |
154 154  |Parameter 2|●|●|●|●|●|●|●|●| |●|●|●| |
155 155  
... ... @@ -165,8 +165,8 @@
165 165  
166 166  **Error code**
167 167  
168 -(% class="table-bordered" %)
169 -|**Error code**|**Content**
166 +
167 +|Error code|Content
170 170  |4085H|The (value) parameter exceeds the device range
171 171  
172 172  **Example**