Back

Topic

[KB698]Configuring a cyclic action for fractional seconds

Tags: Cyclic

11 years ago
By RM
Options
Print
Applies to:

All PcVue versions (including version 11)


Summary:

How to configure a cyclic action for fractional seconds.
Originator: AK


Details:

When configuring a cyclic action in the Application Explorer the interval is entered in seconds as an integer. Fractional seconds are not allowed.

If an interval is required that is not a multiple of a full second the following method can be used.

  1. Create the cyclic action in the normal manner with an interval of 1 second.
  2. Stop PcVue.
  3. Open CYCLIC.DAT in the C-folder of the PcVue project.
  4. Replace the value in the 8th column with the desired value.

cyclic dat

 Important notes

  • The Application Explorer can only show the full second value. For example 2.5 seconds will be displayed as 2 seconds.
  • The best resolution that can be obtained is around 0.2 seconds.
  • You must be very careful when creating cyclic action of less than 1 second. You should only create the absolute minimum quantity and you must check check that the corresponding SCADA Basic code can be executed within the desired period otherwise this may lead to unpredictable results.
  • Event actions are always preferable to cyclic ones!

 

If you later modify the cyclic configuration using the Application Explorer (adding or removing a cyclic, modifying the existing cyclic) the fractional second will be rounded down to the nearest second. Therefore it is essential to make backup copies of the cyclic.dat file when it contains such customized configurations.

 ae cyclic

 


Created on: 29 Jan 2014 Last update: 13 May 2024