AcroBASIC Program Priority and Timing
Products: ACR9000, 9030,9040,9600,9630,9640, Aries CE, IPA
16 AcroBasic programs are available for use in ACR controllers. In the ACR9xxx's and IPA, Programs 0-7 are high priority and 8-15 are low priority. In the AriesCE Program 0 is high priority, 1-15 are low priority.
Controller Type | High Priority Programs | Low Priority Programs |
IPA | Â 0 - 7 | Â 8 - 15 |
ACR9xxx(all variants) | Â 0 - 7 | Â 8 - 15 |
Aries Controller | Â 0 | Â Â 1 - 15 Â |
High priority programs each have a dedicated time slice, where the low priority programs share a time slice. Communications also have a dedicated high priority task. Each time slice is 1ms, within that time the programs will execute anywhere from 1-10 lines of code before switching to the next program in the queue.
An example of the operation order where 0-9 are all being used would proceed as follows:
0,1,2,3,4,5,6,7,COM,8
0,1,2,3,4,5,6,7,COM,9
0,1,2,3,4,5,6,7,COM,8
Â
Notes:
Programs will only utilize their time slices when they are actually running.
The program priorities are fixed in the controller, there is no provision for adjusting the priorities for the user.Â
DWL statements in low priority programs will cause the entire low priority slice to DWL
INH statements in low priority programs will inhibit the entire low priority slice
PROG15 is used by the ACR-View to store the configuration. Users should avoid using this program for other purposes.
Â
Â
edit 6-jan-2016 Â jw...add ipa