Control Outputs with Windows

You can tie windows to the module outputs. You can tie a window to as many as two outputs.
You can configure a window to turn an output On or Off based on configurable count, frequency/pulse width/acceleration value designation, and the module count. The state change, that is, from Off to On or On to Off, occurs in less than 10 μs for hardware-based windows.
Windows Behavior Example
To configure an output to turn On or Off, complete the following steps:
  1. Set the Output On value in the
    O.Windowxx.On
    tag.
    This value represents the number of counts that must be reported to the window to trigger an output state change from Off to On.
  2. Set the Output Off value in the
    O.Windowxx.Off
    tag.
    This value represents the number of counts that must be reported to the window to trigger an output state change from On to Off.
  3. Select the outputs that the window controls.
A window that is tied to an output controls the output and triggers its behavior as determined by the module configuration and system conditions. If any of the windows that are tied to an output is On, the output is On.
For example, the following occurs when a window operates in Count mode:
  • When the count value is within the range that is created by the
    O.Windowxx.On
    and
    O.Windowxx.Off
    tags, the output turns On.
  • When the count value is outside the range that is created by the
    O.Windowxx.On
    and
    O.Windowxx.Off
    tags, the output turns Off.
IMPORTANT:
You can control the output in the following ways:
  • Controlled by Window – Locally in the module
  • Override – Via user program
If a Window controls an output, the user program can override it.
If an Override controls an output, a Window cannot change it.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal