Convert I/O Device to Memory Device w/Custom Data

I am looking to make a training version of a current project, but convert all the actual field I/O devices (mostly DNPR and Modnet) to memory devices.  So I can create a custom, changeable point data and then setup mock events for operator training.

Is there an way to convert an existing IOdevice to something like this or do I need to create new devices and re-map my points?

Thanks

Andy

  • Hi Andrew
    Simply open the I/O Device configuration, and set Memory Mode to TRUE. You don't have to change any other configuration. Just compile and run your project. Please note that all values will default to 0. You will have to use either cicode or external application (most likely via CTAPI) to input data simulation.

  • Hi Andrew, in addition to Olivier, you could set Persistence to TRUE in the I/O Device configuration first and restart the system. Then turn on the Memory mode as Olivier described. Now all tags are filled with the last production values .
  • Thanks for the quick replies. I'm familiar with how I'd add the data with cicode but have not done anything with the CTAPI yet. Any chance the variable's state is stored in a database that can be manipulated with Excel like other aspects of Citect?

    Andy
  • Hi Andy, There are a couple of options for reading and writing data:
    You can read and write from excel using DDE.
    You can read and write to the Citect ODBC server via SQL queries.
    Neither of them are really designed for a lot of throughput, but they might suit your needs.
    You will also need to enable them as I think both of them are disabled by default