User's Manual

uniFLOW Release Station
20
.INI Configuration
[PORTS]
The Digital Input Port can be configured in the a .INI file on the uniFLOW Release
Station. The general configuration is in the [PORT] section as follows:
REVERSE - Set to 1 if the bit order of the I/O port pins shall be reversed, e.g.
b101000 instead of b000101. Otherwise, set to 0. This means that for example the
port pin previously addressed as [DIPORT0] would then be addressed as
[DIPORT5].
INVERT - Set to 1 if the bits on the I/O port pins shall be inverted, e.g. b001000
instead of b110111. Otherwise, set to 0.
[DIPORTn]
Each pin on the I/O port can be configured under [DIPORT0] ... [DIPORT5]. The
following settings are available:
Interpreter Parameters
DEBOUNCE - The number of milliseconds after a signal edge has been detected, to
suspend monitoring. Helps to solve double-click problems because of signal
bouncing.
TIMEOUT - period since last edge after which an open multi-click sequence is
terminated. A multi-click sequence is regarded as open after the first matching
event.
EDGE - 0 for valid signal event on rising edge, 1 for falling edge, 2 for both edges.
RULEn - defines rules for pattern matching as explained below. n may be within 1
to 16. The sequence must be continuous or the rules won't be used after the
discontinuity. For example if RULE1, RULE2, RULE3, RULE5 are defined, only
RULE1, 2 and 3 will be used.
Interpreter Rules
Different Rules can be defined for each port pin in the respective [DIPORTn] sections.
Rules must be defined under the port which holds the clock signal in order to trigger
port events. The rule format is
RULE{number}={product}: {mask}, {pattern}, {counter}, {clicks} where
{number}: 1,2,3,... up to 16. Do not use a leading 0, i.e. do not use RULE01, RULE02
… but instead RULE1, RULE2 …
{product}: Product index which is used for click counting if the rule matches. The
product index is calculated directly as mask&x if the value is set to -1, where x is
the data word on the I/O port and "&" denotes the binary AND operator. The data
bits in x may occur reversed or inverted or both if configured as explained under
[PORTS] above.
{mask}, {pattern}: The rule match condition holds true if mask&x = pattern, where
x is the data word on the I/O port. Again, "&" denotes the binary AND operator.