Changes for page 04 Program flow
Last modified by Devin Chen on 2024/01/28 11:38
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. admin1 +XWiki.Stone - Content
-
... ... @@ -157,41 +157,33 @@ 157 157 In the above program, if each input changes during the jump, the action of each coil is shown in the following table. 158 158 159 159 (% class="table-bordered" %) 160 -|**Content**|**Contact state before jump**|**Coil action in jump** 161 -|(% rowspan="2" %)((( 162 -Y,M,S 163 - 164 -(Y1, M1, S1) 165 -)))|X1, X2, X3 OFF|Y1, M1, S1 OFF 166 -|X1, X2, X3 ON|Y1, M1, S1 ON 167 -|(% rowspan="2" %)((( 168 -1ms, 10ms, 100ms timer 169 - 170 -(T0) 171 -)))|X4 OFF|Timer not working 172 -|X4 ON|Timer interrupt (continue after X0 OFF) 173 -|(% rowspan="2" %)((( 174 -Program timer 175 - 176 -(T192) 177 -)))|X5 OFF, X6 OFF|Timer not working, but the timer is reset when X13 is ON 178 -|X5 OFF, X6 ON|Timing continues (contact action after X0 OFF) 179 -|(% rowspan="2" %)((( 180 -Counter 181 - 182 -(C0) 183 -)))|X7 OFF, X10 OFF|{{id name="OLE_LINK160"/}}Counting interrupt, but it is reset when X13 is ON 184 -|X7 OFF, X10 ON|Count interruption (continue after X0 OFF) 185 -|(% rowspan="2" %)((( 160 +|(% style="width:235px" %)**Content**|(% style="width:292px" %)**Contact state before jump**|(% style="width:549px" %)**Coil action in jump** 161 +|(% rowspan="2" style="width:235px" %)((( 162 +Y,M,S (Y1, M1, S1) 163 +)))|(% style="width:292px" %)X1, X2, X3 OFF|(% style="width:549px" %)Y1, M1, S1 OFF 164 +|(% style="width:292px" %)X1, X2, X3 ON|(% style="width:549px" %)Y1, M1, S1 ON 165 +|(% rowspan="2" style="width:235px" %)((( 166 +1ms, 10ms, 100ms timer (T0) 167 +)))|(% style="width:292px" %)X4 OFF|(% style="width:549px" %)Timer not working 168 +|(% style="width:292px" %)X4 ON|(% style="width:549px" %)Timer interrupt (continue after X0 OFF) 169 +|(% rowspan="2" style="width:235px" %)((( 170 +Program timer (T192) 171 +)))|(% style="width:292px" %)X5 OFF, X6 OFF|(% style="width:549px" %)Timer not working, but the timer is reset when X13 is ON 172 +|(% style="width:292px" %)X5 OFF, X6 ON|(% style="width:549px" %)Timing continues (contact action after X0 OFF) 173 +|(% rowspan="2" style="width:235px" %)((( 174 +Counter (C0) 175 +)))|(% style="width:292px" %)X7 OFF, X10 OFF|(% style="width:549px" %){{id name="OLE_LINK160"/}}Counting interrupt, but it is reset when X13 is ON 176 +|(% style="width:292px" %)X7 OFF, X10 ON|(% style="width:549px" %)Count interruption (continue after X0 OFF) 177 +|(% rowspan="2" style="width:235px" %)((( 186 186 Application instructions 187 187 188 188 (MOV) 189 -)))|X11 OFF|(% rowspan="2" %)((( 181 +)))|(% style="width:292px" %)X11 OFF|(% rowspan="2" style="width:549px" %)((( 190 190 Single-cycle application instructions are not executed in the jump 191 191 192 192 Multi-cycle application instructions are partially executable (such as high-speed pulse instructions) 193 193 ))) 194 -|X11 ON 186 +|(% style="width:292px" %)X11 ON 195 195 196 196 **(3) The relationship between CJ instruction and MC to MCR jump** 197 197 ... ... @@ -221,15 +221,13 @@ 221 221 (% class="table-bordered" %) 222 222 |(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|((( 223 223 **Offset modification** 224 -)))|((( 216 +)))|(% style="width:211px" %)((( 225 225 **Pulse extension** 226 -)))|**other** 227 -|**[D]**|**XXP**|((( 228 -**Subroutine** 229 - 230 -**name** 218 +)))|(% style="width:214px" %)**other** 219 +|**[D]**|(% style="width:211px" %)**XXP**|(% style="width:214px" %)((( 220 +**Subroutine name** 231 231 ))) 232 -|CALL|Parameter 1| |●|● 222 +|CALL|Parameter 1| |(% style="width:211px" %)●|(% style="width:214px" %)● 233 233 234 234 Parameter 1 can only use the subroutine name. 235 235 ... ... @@ -333,7 +333,7 @@ 333 333 • When the EI and DI instructions are not enabled, they all maintain the original enabled or forbidden interrupt program execution status. The currently disabled interrupt priority can be viewed in SD151. 334 334 335 335 (% class="table-bordered" %) 336 -|SD151|Currently disabled interrupt priority|((( 326 +|SD151|(% style="width:273px" %)Currently disabled interrupt priority|(% style="width:595px" %)((( 337 337 According to the interrupt prohibition instruction (DI instruction), the interrupt prohibition instruction (DI instruction) below the specified priority, and the interrupt enable instruction (EI instruction), the priority of the interrupt prohibition will be stored. 338 338 339 339 0: All priority interrupts are disabled (default); ... ... @@ -343,7 +343,7 @@ 343 343 2: Priority 2 interrupt is prohibited; 344 344 345 345 3: All priority interrupts are allowed 346 -)))|R(read only) 336 +)))|(% style="width:148px" %)R(read only) 347 347 348 348 A: Sequence control program 349 349