I want to be able to log the amp draw of a motor during startup during the last 5 starts, and then display these trends overlapping on the same time-base chart (0-90sec). This is an edge panel, so I can't query the historical database (as there isn't one).
My first thought was to use parallel arrays of REALs inside the PLC to store this historical data and then bring them into Ignition to show them on an overlapping chart. However, I'm worried about the sheer volume of tags that this would require. The PLC would log the value every 60ms, up to 1500 samples (90 seconds total). 5 arrays would be used to hold the last 5 instances of previously logged values. So, we're talking 7500 tags (per motor) coming into Ignition. To limit the on-change tag reads to one array of values, I would use an integer that holds the "latest data index" so that only one array of values is updating at a time.
Is that many tags a bad idea? Is something like this really doable for an Edge panel, or is this something that just needs to be left to the supervisory system that has a full Ignition install?