crystal User Manual
Version: 6.6.0/2
361/459
19. Configuring Custom Logical Behaviour
19.21
PRIO
"Logic -> PRIO"
The
PRIO
element is similar to a
but with prioritised switching. It can be be used to create inter-
cancelling button groups, where signal prioritisation is required. The element includes 16 inputs and 16 outputs,
where In 1 has lowest priority and In 16 highest priority.
For example: If
In 1
is set to a logical “1”, and all other inputs set to “0”, then
Out 1
is active and all other
outputs are set to “0”. If
In 3
then becomes set to a logical “1”,
Out 3
becomes active and
Out 1
is set back to
logical “0”. If
In 1
and
In 3
are both set to logical “1”, then
In 3
has higher priority so
Out 3
is the active output.
General Parameters
PRIO
Reference name for the element.
In 1 to 16
A rising edge at an input sets the corresponding control output to logical “1”, and any other
active control output to logical “0” providing it is of a lower priority.
In 16 has highest priority.
The control outputs appear under the “Logic -> <GroupName> -> PRIO” branch of the 'Tree Selection' window.
The default state after power on is logical “0” on all outputs.