L_sdrampgenerator, 5function blocks – Lenze E94A User Manual

Page 504

Advertising
background image

5

Function blocks

5.133

L_SdRampGenerator - ramp function generator - S-ramp

504

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

5.133

L_SdRampGenerator - ramp function generator - S-ramp

This FB is a ramp function generator with S-shaped ramps for limiting the increase of analog signals

over time. The S-shape of the ramps results from a trapezoidal acceleration.

• The ramp function generator has a setting function for directly loading the value into the inter-

nal ramp generator.

• The acceleration/deceleration times are set via C04340.
• An S-ramp time for a jerk-free acceleration can be set in C04341.
• At the output dnDeltaOut_n the gradient dy/dt of the output signals dnOut_n is shown. This si-

gnal can for instance be used for torque feedforward control after a gain via the

L_TbGainLim

FB.

• An advanced version, the

L_SdRampGeneratorAny

FB, is available from library V02.09.xx.xx.

This FB can be used to also process speeds (_s) and to set separate acceleration and deceleration

times.

Inputs

Outputs

Function library:

LenzeServoDrive

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

dnIn_n

DINT

Scaled input signal

bLoadStartValue

BOOL

Initialising ramp function generator

FALSE The ramp function generator runs with the Ti times set from the va-

lue loaded via dnStartValue_n to the value at dnIn_n.

TRUE At the output dnOut_n dnStartValue_n is output, dnDeltaOut_n re-

mains on 0 %.

dnStartValue_n

DINT

Scaled starting value for the ramp function generator

• Acceptance when bLoadStartValue = TRUE

Identifier/data type

Value/meaning

dnOut_n

DINT

Scaled output signal

• Internally limited to ±200 %

dnDeltaOut_n

DINT

Scaled acceleration of the ramp function generator

• Time reference: 62.5 μs, i. e. 0.01 % correspond to a change of 160 % in the output

signal within 1 s.

• Internally limited to ±200 %

GQ2XWBQ

GQ'HOWD2XWBQ

/B6G5DPS*HQHUDWRU

GQ6WDUW9DOXHBQ

E/RDG6WDUW9DOXH

GQ,QBQ

&

&

&

&

Advertising