Citect time based pressure control

Hi,

I am new to schneider citect and we have an existing SCADA citect v7.3. We have added one control valve and we wish to set the pressure based on different time example

7AM=1.2bar,

12pm=1.5bar

14pm=1.7bar etc

operator should have the option to enter time and pressure how can i implement this please

sandeep

  • Hi Sandeep,

    I would suggest checking out the Equipment States and Scheduler control (part of standard Citect SCADA install). You could then setup states with actions for setting your pressure on your valve equipment and then let the operator use the Scheduler to control the schedule.

    The state engine is programmable via cicode as well to give you more flexibility. The Example project shows what can be done with the Scheduler and how you can use the state engine. The Scheduler and State system requires Equipment to be used.

    Cheers,

    bradley
  • hi

    where do i get the example project

    regards
    Sandeep
  • It is installed by default with Citect SCADA.

    If you have deleted it, find the ISO/Zip file. It will be in the:

    Citect\CommonAppData\Schneider Electric\CitectSCADA 7.30\Data folder.

  • I suggest to make a training before making changes on a system you need for production or ask your Schneider sales guy to get the Vijeo Citect - Quick Start Tutorial to have an overview.
  • Hello Mr.Dirk,

    I have integrated the valve to citect and its working well in both Auto/manual, now I just need to create a time based operation as some other stations have a predefined script but its not citect. If there are no options available I will have to get support from citect guy

    Regards
    Sandeep
  • Normally something like this would be done in your PLC.
    You have 3 setpoints on SCADA passed to PLC and PLC will select the setpoints based on time of day.

    If you must do it in Citect, then it would be best to write a function specific to you needs in Cicode. Use CASE or IF THEN ELSE to select setpoints to be used.

    Cicode is a powerful programming language that is simple to use and will allow you to do anything you want. The help files give great detail on all available functions.
  • Hi sandeep;
    If your PLC have a real time clock, you can send the data to it and create rungs to set the set point.

    In Citect:
    1. Create array tag for time, and one for set point.
    2. Create a function that check the current time and pass the arrays and find the desire set point.
    3. Create event that operate the function every hour.
  • Hi,

    there are several ways to do it.

    1. Use Equipment States and the Scheduler like Bradley said. Best practice!
    2. Use events with a Cicode funktion and a time in that Cicode entered by the user on a Grafic page.
    3. Use TaskNew to Start a Function in the Background at startup and a Cicode function (2.)
    4. If it is an important process, do it inside the PLC.

    Best Regards
    Dirk