Filter Objects
Introduction
A Filter object manages a single filter on a controller. It represents the control algorithm used to control a motor in a closed-loop system. The Filter contains an algorithm, a set of coefficients, inputs, and an output. Its primary responsibility is to take the difference between the command and actual positions and then calculate the output based on the control algorithm and coefficients.
For simple systems, there is a one-to-one relationship between the Axis, Filter, and Motor objects.
The Filter object contains up to 5 gain tables. For information, see Gain Tables.
| Error Messages |
Methods
Create, Delete, Validate Methods | ||
mpiFilterCreate | Create Filter object | |
mpiFilterDelete | Delete Filter object | |
mpiFilterValidate | Validate Filter object |
Configuration and Information Methods | ||
mpiFilterConfigGet | Get Filter configuration | |
mpiFilterConfigSet | Set Filter configuration | |
mpiFilterGainGet | Get gain coefficients | |
mpiFilterGainSet | Set current gain index | |
mpiFilterGainIndexGet | Get current gain index | |
mpiFilterGainIndexSet | Set current gain index |
Memory Methods | ||
mpiFilterMemory | Get address to Filter memory | |
mpiFilterMemoryGet | Copy data from Filter memory to application memory | |
mpiFilterMemorySet | Copy data from application memory to Filter memory |
Relational Methods | ||
mpiFilterControl | Return handle of Control that is assoiciated with Filter | |
mpiFilterNumber | Get index of Filter (for Control list) |
Action Methods | ||
mpiFilterIntegratorReset | Reset the integrators of filter. |
Postfilter Methods | ||
mpiFilterPostFilterGet | Reads postfilter information. | |
mpiFilterPostFilterSet | Writes postfilter information. | |
mpiFilterPostFilterSectionGet | Reads postfilter section information. | |
mpiFilterPostFilterSectionSet | Writes postfilter section information. |
Data Types
Constants
MPIFilterAxisInputCOUNT_MAX | ||
MPIFilterCoeffCOUNT_MAX | ||
MPIFilterGainCOUNT_MAX | ||
MPIFilterPostFilterSectionCOUNT_MAX |