Changes for page 04 Program flow
Last modified by Devin Chen on 2024/01/28 11:38
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -241,6 +241,8 @@ 241 241 (% style="text-align:center" %) 242 242 [[image:4_html_29c8e378dfb34066.png||class="img-thumbnail"]] 243 243 244 +(% class="box infomessage" %) 245 +((( 244 244 **✎Note: ** 245 245 246 246 • Multiple CALL(P) instructions can call the same subprogram, but subprograms with the same program name are not allowed. ... ... @@ -250,6 +250,7 @@ 250 250 • 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. 251 251 252 252 • 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 +))) 253 253 254 254 **Error code** 255 255