
TFloatSignal, unit ObjectSignals.pas
Component that represent analog signal in system.
PROPERTIES
Alarm: TAlarmProperties This property object that is used for signal alarm setup. It has next properties:
ConvertProperties: TConvertProperties This property object that is used for signal conversion setup. It has next properties:
OnChangeRange: double Defines amount of signal EUvalue change to trigger OnChange event. Its value can be from 0 to1 (for example: 0.15 represents 15% from EU range).
TagName: String Auxiliary mark that is used for compatibility with standard marks that are used in process. It is used to label signal name in technological schemas.
Value: double Variable that contains raw signal value that is taken from source (OPC server and other sources). In addition, this variable is used to proceed value to source (OPC server).
EUValue: double Variable that contains EU signal value that is a result of RowToEU conversion function.. In addition, this variable is used to proceed value to source (OPC server).
Filter: double Low band filter. Its value can be between 0 and 1, where zero means there is no filtration, and 1 means that there are no changes. Amount of filtration directly depends on speed of signal value refreshing (refresh rate depends on process timer that is used in module where signals are defined)
Clamp: boolean If this property is set to True, EUValue will be clamped to HighEU and LowEU when raw value overrides its limit values..
AsString: string Returns Value of the signal as string value (formatted as it is defined by Format property)
AsInteger: integer Returns Value of the signal as integer value.
AsFloat: double Returns Value of the signal as float value.
EUAsString: string Returns EUValue of the signal as string value (formatted as it is defined by Format property).
EUAsInteger: integer Returns EUValue of the signal as integer value.
EUAsFloat: double Returns EUValue of the signal as float value.
EVENTS
OnRawToEUConvert: TRawToEUEvent This user function will be executed every time when raw value is changed and ConvertStatus is set to csUser. Programmer sets his own conversion function.
OnEUToRawConvert: TEUToRawEvent This user function will be executed every time when EUValue is changed and ConvertStatus is set to csUser. Programmer sets his own conversion function. |