Changes for page 04 Program flow

Last modified by Devin Chen on 2024/01/28 11:38

From version 9.1
edited by Devin Chen
on 2024/01/28 11:38
Change comment: There is no comment for this version
To version 7.1
edited by Mora Zhou
on 2023/11/22 15:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.DevinChen
1 +XWiki.Mora
Content
... ... @@ -241,8 +241,6 @@
241 241  (% style="text-align:center" %)
242 242  [[image:4_html_29c8e378dfb34066.png||class="img-thumbnail"]]
243 243  
244 -(% class="box infomessage" %)
245 -(((
246 246  **✎Note: **
247 247  
248 248  • Multiple CALL(P) instructions can call the same subprogram, but subprograms with the same program name are not allowed.
... ... @@ -252,7 +252,6 @@
252 252  • If the 1ms accumulative timer is used in a subroutine (the same in an interrupt program), when it reaches the set value, the output contact will act when the first coil instruction is executed (when the subroutine is executed), so be careful.
253 253  
254 254  • The devices that are turned on in the subprogram (the same in the interrupt program) will be retained after the program ends. Therefore, these devices should be reset in the main program after the end of the program.
255 -)))
256 256  
257 257  **Error code**
258 258  
... ... @@ -264,7 +264,7 @@
264 264  
265 265  **(1) New subroutine**
266 266  
267 -Project management→Subroutine→Right click to create
264 +Project management→Subroutine→ Scan→Right click to create
268 268  
269 269  (% style="text-align:center" %)
270 270  [[image:4_html_3d0d21476f0bb476.png||class="img-thumbnail"]]