L_MC1P_IntegrateAxis
This FB integrates a speed to a position.
- Via the xLoadStartPos input, the starting position pending at the lrStartPos input is loaded to the integrator.
- In addition to the position, the resulting speed is shown at the lrSetVelOut output.
- The FB can be used for all measuring systems (modulo/limited).
- The actual speed of an axis is not average-free when the regulator is switched off. If this value is connected to the lrCycVel input, position drift occurs at the lrsetposout output. To avoid drift, the modulo-differentiated actual position of the axis should be used at the lrCycVel input.
|
|
|
|
L_MC1P_IntegrateAxis |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
LREAL |
- |
|
lrCycVel |
lrSetPosOut |
|
- |
LREAL |
|
BOOL |
- |
|
xLoadStartPos |
lrSetVelOut |
|
- |
LREAL |
|
LREAL |
- |
|
lrStartPos |
xError |
|
- |
BOOL |
|
LREAL |
- |
|
lrCycleLength |
eErrorID |
|
- |
L_IE1P_Error |
|
|
|
|
|
|
|
|
|