Fast Sample Time (600 ms is too slow)

Hi,
Goog day!

I need to sample data faster, to do system identification, I can do it with Matlab / Simulink, but I want to do it using Indusoft (8.1SP5), also, it is very
slow to collect data, 600 ms is a long time, I need to sample faster, Is it possible? How do I do it?

Thanks!

Fernando. :)
  • Here's an extract from Help document.

    Tip: By default, the project will scan the communication worksheet every 600 milliseconds, which is the rate at which the system tag BlinkSlow toggles. To adjust the rate, manually edit the project file (i.e., <project name>.APP) to add the following entry:

    [Options]
    MainDrvAlwaysTrigger=tagname

    tagname can be either another system tag (e.g., BlinkFast, Second, Minute) or a tag that you have created. Whenever the value of the tag changes, the worksheet will be scanned and the tags will be read.
  • Thank you very much for the quick answer. That is, if I put in tagname Second, it changes every 1 second, then the sheet and all the tags will be updated every 1 second. If I want to scan every 50 ms, for example, do I have to create a tag that is Timer with a period of 50 ms? Thank you.

    Regards,

    Fernando.
  • Yes. You are correct. Create a tag and toggle it from Scheduler. As far as I know, the fastest that you can achieve in InduSoft v81.5 is 100ms. Below is an extract from Help document for the Scheduler topic.

    Time field: This field is used with the Calendar and Clock Event types.
    If the Event type is Calendar, then Time is a specific time of the day on Date. When that Date and Time occurs, the specified Expression is evaluated.

    If the Event type is Clock, then Time is a time interval starting from when the project was run. Every time the interval occurs, the specified Expression is evaluated.

    Either way, type a time using the HH:MM:SS.ms format. Valid values are 00 to 23 for hours, 00 to 59 for minutes, 00 to 59 for seconds, and 1 to 9 for milliseconds . (Milliseconds are optional.) Examples: 03:00:00 is every three hours, 00:00:00.1 is every 100 milliseconds.
  • Thanks!!!!!!

    I did it !!! Thanks to your help, I have created a tag myTrigger, every 00: 00: 00.1, and in expression myTrigger + 1, to increase myTrigger by 1 every 100ms. This is NOT optional (myTrigger = myTrigger + 1 it is necessary). Then I edited the .APP file with notepad ++ and under [Options], I added MainDrvAlwaysTrigger = myTrigger. I stopped the project and started it and everything went away. Many thanks.

    Best regards,

    Fernando