This function is used to filter the speed of a master. Unlike the filter_lp() function it retrieves the position error introduced by the filter.
Syntax |
i32 master_filter (stru_masterF stru [, i32 nAx=0] [, real period=0]) |
||||||||
---|---|---|---|---|---|---|---|---|---|
stru |
Structure of type stru_masterF containing input/output parameters |
||||||||
nAx |
Master axis number if real axis or 0 if virtual axis. (optional, default 0) |
||||||||
period |
Time interval between two consecutive executions of this function. If 0 is assumed to be equal to SI. (optional, default 0) |
||||||||
Result |
Returns:
|
||||||||
Validity |
Rule |
||||||||
Note |
Example of use:
|