L_MC1P_VelocityFilter

This FB is used to filter or delay a speed signal according to the PT1 principle. The resulting position loss is compensated by an internal overflow buffer.

 

 

 

L_MC1P_VelocityFilter

 

 

 

BOOL

-

xEnable

lrSetVelOut

-

LREAL

LREAL

-

lrCycVel

LREAL

-

lrFilterTime

LREAL

-

lrCompVel

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

xEnable

BOOL

FALSE รค TRUE

Activating the function

FALSE

Filter is deactivated.

Use these settings during the acceleration and deceleration phases to prevent a drifting of the position.

TRUE

Filter activated

lrCycVel

LREAL

Selection of speed

lrFilterTime

LREAL

Filter time constant [s]

lrCompVel

LREAL

Compensating speed for the compensation of angular differences [unit/s].

Compensating speed as the maximum permissible amount of the excess speed from the resulting speed lrSetVelOut compared to the speed specified, lrCycVel , for compensating the angular or position differences [unit/s] generated by the filtering process. The input is reasonable if integration from the speed filtered to a position must take place.

Outputs

Name

Data type

Value/meaning

lrSetVelOut

LREAL

Output signal

Exemplary characteristics of the resulting speed with and without the compensating speed: