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