Alarm on Low Disk Space

VTScada requires available disk space in order to continue logging and continue operating. Rather than checking the disk regularly, you might create an alarm that will warn you when the available space runs low.

The amount of space required for VTScada, and the setpoint at which you want to be notified so that you have time to take action will vary according to your application. For this example, 50Mb is used, but that number is randomly chosen for the sake of the example.

 

  1. Create a Workstation Status Tag
    The workstation name should match the machine you want to monitor.
    To monitor several workstations, create a Workstation Status tag for each.
  2. Create a new I/O and Calculations tag as a child of the Workstation Status tag.
    The remaining steps refer to the configuration of this tag.
  3. On the ID tab, set the mode to Analog.
  4. On the I/O tab, set the Read Address to FreeDiskSpaceC
    (Or, FreeDiskSpaceD if monitoring a D: drive. Refer to Workstation Status Driver I/O Addressing)
  5. On the Scaling tab, ensure that both Unscaled and Scaled process data values range from 0 to 100.
    The numbers chosen do not matter, so long as both the unscaled range and the scaled range match.
    If you prefer to work in Mb or Gb rather than bytes, configure the scaling as appropriate.
  6. On the logging tab, either disable logging, or if you choose to log this tag, set the deadband to a value of at least 1Mb (1048576) if not 10Mb (10485760).
    There is no need to log every one-byte change in the available space.
  7. On the Alarms tab, select a Low Alarm priority as appropriate.
  8. Configure the setpoint of that Low Alarm to be 52428800
    (50Mb in this example. You may choose a setpoint as seems appropriate.)