FB_BA_ScheduleAnalog

The function block FB_BA_ScheduleAnalog represents an analog schedule. It consists essentially of the base class FB_BA_ScheduleBase.
The function block uses the base class to determine the analog output value. If the output value fPresentValue is not determined within the base class, fDefaultValue = fPresentValue.
Inputs CONSTANT PERSISTENT
VAR_INPUT CONSTANT PERSISTENT
{region 'Fixed Parameters'}
{attribute 'parameterCategory':='Value'}
fDefaultValue : REAL;
{endregion}
END_VAR
Name | Type | Description |
---|---|---|
fDefaultValue
| REAL | The default value fDefaultValue is active in the following cases: fPresentValue = fDefaultValue if the output value fPresentValue is not determined within the base class FB_BA_ScheduleBase. |
Outputs
VAR_OUTPUT
fPresentValue : REAL;
END_VAR
Name | Type | Description |
---|---|---|
fPresentValue | REAL | Current value It consists essentially of the base class FB_BA_ScheduleBase. The numerical output value for fPresentValue is determined within the base class. If the output value fPresentValue is not determined within the base class, fDefaultValue = fPresentValue. |
Prerequisites
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.62 | Tc3_BA2 from v5.5.14.0 |