
66
Epsilon EP-P Drive and FM-3/4 Module Reference Manual
Queue Full – The Queue Full source will activate if the number of pieces of data in the queue equals or exceeds the Full
Level parameter. The source will deactivate when the number of pieces of data in the queue is less than the Full Level.
Queue Overflow – This source activates when there is no more room in the queue to store data. The maximum number of
pieces of data is determined by the Queue Size parameter.
Destinations
Queue Clear – This destination automatically clears all of the data out of the queue. The cleared data is not saved and there
is no way to recover the cleared data. This is typically activated on power-up of the system to make sure no old data remains
in the queue.
Queue Compare Enable – The Compare Enable causes the comparitor internal to the queue to function. If the Compare
Enable is inactive, then the Queue Exit source will never activate. If activated, then the Queue Exit source will activate when
the Queue Data plus the Queue Offset is greater than or equal to the Comparitor Select parameter.
To fully understand the operation of the queue, the diagram below has a more detailed view of the Queue object.
Figure 61: Detailed Queue Diagram
User Variables View
User variables allow the user to store data related to their system into a parameter, which the user can name. The user must
define each user variable by giving it a name, resolution (number of decimal places), and initial value. All user variables are
signed 32-bit parameters. Setup for the User Variables is done on the User Variables view located under the Setup group in
the Hierarchy Tree. The User Variables view is shown in Figure 62 below.
Set # of Queue Objects = 0
and clear data in queue
Data In
Source Select:
MasterPosn
FeedbackPosn
CommandPosn
Comparitor
Offset
Sum
QueueClear
CompareEnable
IF (# of Queue
Objects = 0)
QueueEmpty
QueueExit
Data Out
Queue
Size
Full
Level
IF (# of Queue
Objects = or > Full Level)
QueueFull
IF (# of Queue
Objects = Queue Size)
QueueOverflow
Comentarios a estos manuales