
-
61
Based on these setup conditions, the following events will occur:
Frame A will execute the message list it contains. At the end of frame A, a frame gap delay will
occur if a number other than 0 was loaded into register 20. At the end of the frame gap delay, The
alternate frame, in this case B, will execute the message list it contains. At the end of frame B, the
sequence will end and the BC will go off line.
Note: The alternate frame is the frame which is NOT the current frame. If the current frame is B,
then the alternate frame is A. The alternate bus is the bus which is NOT the active bus.
This method is applicable if each message list contains many messages, tens or hundreds;
however, each message list may only contain 10 or 20 messages and we would like to run a
number of the small message lists automatically.
For the case of running many small message lists automatically, the approach is slightly different.
Lets say we want to run 10 different message lists automatically.
First create a super message list which contains all the addresses of the 10 smaller sub message
lists. If we want to know when each of the sublists is completed, set the last message in each sub
list to fire the interrupt. If we want to examine some of the data before the next sub list begins,
set the inter message gap on the last message of the sub list to what ever delay is required.
Then:
Load the address of the super message list into register 13, Frame A.
Load the total number of messages in the super list into register 14, Frame length A.
Set the mode to BC in register 9.
Set the default frame to A in register 9.
Set the "Default bus" in register 9.
Set "int on EOF" in register 14.
Set "Stop at EOF" in register 14.
Set "Start BC" in register 9.
All the messages in the super list will be executed and an interrupt will be issued at the end of
each sub list. An intermessage gap of some defined value will separate each sub list of
messages.
Instead of stopping at the end of frame A, we could have elected to "Go alternate frame", in which
case, frame B would then execute what ever message lists were in frame B. If we then selected
the "Go alternate frame" option at the end of frame B, frame A would be executed.
Note: The default frame is the frame selected in configuration register 1. The default bus is
the bus selected in the BC control word.
8.1.10
SAMPLE BUS CONTROLLER MEMORY MAP
BC Registers
REGISTERS
DATA(hex)
CONFIGURATION 1
0900
CONFIGURATION 2
0000
CONFIGURATION 3
0003