-

Y_YA_SLAU

Image

This function block generates an S-curve profile to the input value based on a moving average calculation. First, a slope is calculated based on the ramp input. Second, a moving average is applied to the ramp profile. The input value can be changed continuously on the fly.

Parameters:

* Parameter Data Type Description Default
VAR_INPUT
B Enable BOOL The function will continue to execute every scan while Enable is held high and there are no errors. FALSE
V Input LREAL Target Value. LREAL#0.0
V Rate LREAL Acceleration/Deceleration per scan. The time required for the Output to become the Input value profile depends on the Rate and S_Scans Inputs and the interval (Application task rate)at which the LAU function block is being run. LREAL#0.0
V S_Scans UINT Number of scans for the moving average calculation (S-Curve). UINT#0
VAR_OUTPUT
B Valid BOOL Indicates that the function is operating normally and the outputs of the function are valid.
B Error BOOL Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low.
E ErrorID UINT If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low.
V Output LREAL Target Value.

Error Description

See the Function Block ErrorID List

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.