Changes for page 05 Timer and counter

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

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

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.admin
1 +XWiki.Stone
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
11 11  
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 -
18 +(% class="table-bordered" style="width:1111px" %)
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 -
34 +(% class="table-bordered" %)
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
50 50  
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 -
60 -|Error code|Content
59 +(% class="table-bordered" %)
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 -
81 -|Parameter|Content|Range|Data type|Data type (label)
80 +(% class="table-bordered" %)
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**
87 87  
88 -|(% rowspan="2" %)Instruction|(% rowspan="2" %)Parameter|(% colspan="12" %)Devices|(((
89 -Offset
90 -
91 -modification
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 -
114 -|Error code|Content
113 +(% class="table-bordered" %)
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,22 +132,24 @@
132 132  
133 133  **Content, range and data type**
134 134  
135 -|Parameter|Content|Range|Data type|Data type (label)
135 +(% class="table-bordered" %)
136 +|**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
136 136  |(d)|Long counter device number|-|Counter|ANY
137 137  |(value)|Long counter setting value|0 to 4294967295|Unsigned BIN 32 bit|ANY_INT
138 138  
139 139  **Device used**
140 140  
141 -|(% rowspan="2" %)Instruction|(% rowspan="2" %)Parameter|(% colspan="12" %)Devices|(((
142 -Offset
142 +(% class="table-bordered" %)
143 +|(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="12" %)**Devices**|(((
144 +**Offset**
143 143  
144 -modification
146 +**modification**
145 145  )))|(((
146 -Pulse
148 +**Pulse**
147 147  
148 -extension
150 +**extension**
149 149  )))
150 -|KnX|KnY|KnM|KnS|T|D|R|SD|LC|K|H|E|[D]|XXP
152 +|**KnX**|**KnY**|**KnM**|**KnS**|**T**|**D**|**R**|**SD**|**LC**|**K**|**H**|**E**|**[D]**|**XXP**
151 151  |(% rowspan="2" %)OUT LC|Parameter 1| | | | | | | | |●| | | | |
152 152  |Parameter 2|●|●|●|●|●|●|●|●| |●|●|●| |
153 153  
... ... @@ -163,8 +163,8 @@
163 163  
164 164  **Error code**
165 165  
166 -
167 -|Error code|Content
168 +(% class="table-bordered" %)
169 +|**Error code**|**Content**
168 168  |4085H|The (value) parameter exceeds the device range
169 169  
170 170  **Example**