PcoAnaAlm (FB)
FUNCTION_BLOCK PcoAnaAlm
This function block is designed for controlling an analog input with limit supervision.
- InOut:
Scope
Name
Type
Initial
Comment
Input
LimHysREAL0.5
1: Dead band for Alarm Limit.
LimHhInhibBOOLFALSE
2: LimHhInhib=TRUE Causes no alarm for H2 LimHhInhib=FALSE Causes alarm for H2
LimHInhibBOOLFALSE
3: LimHInhib=TRUE Causes no alarm for H1 LIM__INHIB=FALSE Causes alarm for H1
LimLInhibBOOLFALSE
4: LimLInhib=TRUE Causes no alarm for L1 LimLInhib=FALSE Causes alarm for L1
LimLLInhibBOOLFALSE
5: LimLLInhib=TRUE Causes no alarm for L2 LimLLInhib=FALSE Causes alarm for L2
InINT0
6: Analog input (Rangemin->Rangemax is depending on signal type and I/O module type).
ScaleMaxREAL27648
7: Scaling parameter: Maximum value for output VALUE/Out. (Input will be rescaled from actual range to ScaleMin -> ScaleMax)
ScaleMinREAL0
8: Scaling parameter: Minimum value for output VALUE/Out. (Input will be rescaled from actual range to ScaleMin -> ScaleMax)
InHysREAL0.5
9: Dead band for input. Output would only change value, if input changes more than Hystersis (percent.)
EnLiveZeroBOOLFALSE
10: TRUE - Enable live zero for analogue input. An analogue input is connected to an IO-module or CPU and the module can’t detect live zero (2-10V)
InhibErrorBOOLFALSE
11: InhibError=TRUE : Suppress all alarm. InhibError=FALSE : No suppression
ForceScaleMinBOOLFALSE
12: VALUE/Out will be forced to ScaleMin
ForceScaleMaxBOOLFALSE
13: VALUE/Out will be forced to ScaleMax
FreezeBOOLFALSE
14: VALUE/Out will freeze on FreezeSp
FreezeSpINT0
15: Freeze setpoint, the output VALUE/Out is set to FreezeSp, if Freeze=TRUE
TempPT100PT1000BOOLFALSE
16: TempPT100PT1000 = TRUE: Analog input is a PT100 or a PT1000 transmitter.
PbBOOLFALSE
17: ProfibusPA = TRUE: Analog input is a Profibus PA transmitter.
PbStatusBYTE128
18: Status on Profibus PA transmitter. (128 = ok)
FilTimeTIMETIME#2s0ms
19: Filter time, PT1 filter of the input signal,minimum value is 1 second
Inout
Scada20: Structure variable for connection to Scada system
Output
ErrorBOOLFALSE
Operation continues with error. The output ErrorID gives more details about the error.
OutINT0
1: Scaled signal of the input signal, In
ErrorIDERROR_ID.NO_ERROR
2: Err number, Output provides an error identifier if an invalid value was applied to an input