Hi All,
There used to be training that indicated the M Series AI cards had a 65 ms anti aliasing filter. I have a time sensitive application using CHARMs and it will help with the design / simulation to know what the corresponding filter time constant is for CHARMs.
Thanks!
In reply to Petrisky:
Hi, could you provide details on how your module is built? I created a control module with 3 blocks - AI, PID and AO with the AO/OUT connected to the AI/SIMULATE_IN parameter, and used the PID/OUT in manual mode to change the AI block's value. The first OUT step was with PV_FTIME = 0, the second with PV_FTIME = 20 seconds. I have added two pictures: one with the control module, one with a chart from Process History View. Maybe a comparison will help find a reason.
J.D.
In reply to JDWheelis:
In reply to Mark Coughran:
In reply to James Beall:
Andre Dicaire
We are all stumped as having a filter configured on the AI block should result in a filtered value for PV and OUT.
The Filter is applied after the L_TYPE selector that applies the direct value, EU ranged value or Square root converted value. The PV is subject to the IO OPTS which allows low cut off to be enabled. OUT follows PV in AUTO.
Based on the simplified execution logic diagram above, PV should be affected by Filter even if value is simulated or from the defined source. There is no option or separate parameter to enable or disable Filter time. PV_FTIME set to 0 disables the filter.
But you still are seeing something anomalous. The AI block does not allow ROUT or CAS, or RCAS. It can't really be manipulated externally. You can set it out of service and write to the OUT value, but it would have a bad status Out of Service. That would be pretty obvious. Setting Simulate enabled still passes value thought Filter, which is what JD demonstrated.
The FIELD_VAL is before the filter, and if this were being referenced, it would not be filtered. This is the calculated Percent value of the incoming signal. But if you are monitoring PV or OUT, then filter is in play.
Can you post a picture of the AI block properties and the diagram? I can't think of anything that can explain what you are observing. Maybe a picture would reveal something we are not seeing. Is this a real controller or a VM controller or module running no App station?
Are you seeing this behavior in any other AI block on your system? If not, what's different about this module? What version are you running and what firmware is on it. Have you tried reconfiguring the AI block and a total download?
Here is a weird and likely not valid explanation? The module actually has an embedded block named AI1 that is built to look like an AI block and has all the parameters that an AI block looks for, but the module has been modified to have an actual AI block, which has not been downloaded. Online view shows you data where it is supposed to be, but the running module is ignoring the filter and you don't see that. You download the module with the native AI block and now everyting works. (not saying this is the issue, but grasping at straws to explain this).
Find this module in the POWER UP directory (search for module name in File Explorer) and save this file. After the download you can compare the new version with the old version. If it is the above, the files will be significantly different.
Or its something much simpler that we just can't see from the information provided.
In reply to Andre Dicaire: